// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.developer.devcenter.generated;

import com.azure.core.http.rest.RequestOptions;
import com.azure.core.util.BinaryData;
import com.azure.core.util.polling.SyncPoller;
import com.azure.developer.devcenter.DevBoxesClient;
import com.azure.developer.devcenter.DevBoxesClientBuilder;
import com.azure.identity.DefaultAzureCredentialBuilder;

public class DevBoxesDeleteDevBox {
    public static void main(String[] args) {
        DevBoxesClient devBoxesClient =
                new DevBoxesClientBuilder()
                        .credential(new DefaultAzureCredentialBuilder().build())
                        .endpoint(
                                "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/")
                        .buildClient();
        // BEGIN:com.azure.developer.devcenter.generated.devboxesdeletedevbox.devboxesdeletedevbox
        RequestOptions requestOptions = new RequestOptions();
        SyncPoller<BinaryData, Void> response =
                devBoxesClient.beginDeleteDevBox("myProject", "me", "MyDevBox", requestOptions);
        // END:com.azure.developer.devcenter.generated.devboxesdeletedevbox.devboxesdeletedevbox
    }
}
