ManagedComputeDeployments Interface

public interface ManagedComputeDeployments

Resource collection API of ManagedComputeDeployments.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new ManagedComputeDeployment resource.

abstract void delete(String resourceGroupName, String accountName, String deploymentName)

Deletes the specified managed compute deployment associated with the Cognitive Services account.

abstract void delete(String resourceGroupName, String accountName, String deploymentName, Context context)

Deletes the specified managed compute deployment associated with the Cognitive Services account.

abstract void deleteById(String id)

Deletes the specified managed compute deployment associated with the Cognitive Services account.

abstract void deleteByIdWithResponse(String id, Context context)

Deletes the specified managed compute deployment associated with the Cognitive Services account.

abstract ManagedComputeDeployment get(String resourceGroupName, String accountName, String deploymentName)

Gets the specified managed compute deployment associated with the Cognitive Services account.

abstract ManagedComputeDeployment getById(String id)

Gets the specified managed compute deployment associated with the Cognitive Services account.

abstract Response<ManagedComputeDeployment> getByIdWithResponse(String id, Context context)

Gets the specified managed compute deployment associated with the Cognitive Services account.

abstract Response<ManagedComputeDeployment> getWithResponse(String resourceGroupName, String accountName, String deploymentName, Context context)

Gets the specified managed compute deployment associated with the Cognitive Services account.

abstract PagedIterable<ManagedComputeDeployment> list(String resourceGroupName, String accountName)

Gets the managed compute deployments associated with the Cognitive Services account.

abstract PagedIterable<ManagedComputeDeployment> list(String resourceGroupName, String accountName, Context context)

Gets the managed compute deployments associated with the Cognitive Services account.

Method Details

define

public abstract ManagedComputeDeployment.DefinitionStages.Blank define(String name)

Begins definition for a new ManagedComputeDeployment resource.

Parameters:

name - resource name.

Returns:

the first stage of the new ManagedComputeDeployment definition.

delete

public abstract void delete(String resourceGroupName, String accountName, String deploymentName)

Deletes the specified managed compute deployment associated with the Cognitive Services account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
deploymentName - The name of the managed compute deployment associated with the Cognitive Services Account.

delete

public abstract void delete(String resourceGroupName, String accountName, String deploymentName, Context context)

Deletes the specified managed compute deployment associated with the Cognitive Services account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
deploymentName - The name of the managed compute deployment associated with the Cognitive Services Account.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Deletes the specified managed compute deployment associated with the Cognitive Services account.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Deletes the specified managed compute deployment associated with the Cognitive Services account.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

get

public abstract ManagedComputeDeployment get(String resourceGroupName, String accountName, String deploymentName)

Gets the specified managed compute deployment associated with the Cognitive Services account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
deploymentName - The name of the managed compute deployment associated with the Cognitive Services Account.

Returns:

the specified managed compute deployment associated with the Cognitive Services account.

getById

public abstract ManagedComputeDeployment getById(String id)

Gets the specified managed compute deployment associated with the Cognitive Services account.

Parameters:

id - the resource ID.

Returns:

the specified managed compute deployment associated with the Cognitive Services account along with Response<T>.

getByIdWithResponse

public abstract Response<ManagedComputeDeployment> getByIdWithResponse(String id, Context context)

Gets the specified managed compute deployment associated with the Cognitive Services account.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

the specified managed compute deployment associated with the Cognitive Services account along with Response<T>.

getWithResponse

public abstract Response<ManagedComputeDeployment> getWithResponse(String resourceGroupName, String accountName, String deploymentName, Context context)

Gets the specified managed compute deployment associated with the Cognitive Services account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
deploymentName - The name of the managed compute deployment associated with the Cognitive Services Account.
context - The context to associate with this operation.

Returns:

the specified managed compute deployment associated with the Cognitive Services account along with Response<T>.

list

public abstract PagedIterable<ManagedComputeDeployment> list(String resourceGroupName, String accountName)

Gets the managed compute deployments associated with the Cognitive Services account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.

Returns:

the managed compute deployments associated with the Cognitive Services account as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ManagedComputeDeployment> list(String resourceGroupName, String accountName, Context context)

Gets the managed compute deployments associated with the Cognitive Services account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
context - The context to associate with this operation.

Returns:

the managed compute deployments associated with the Cognitive Services account as paginated response with PagedIterable<T>.

Applies to