Partager via


ContainerInstance Class

Definition

Low-level API implementation for the ContainerInstance service.

public class ContainerInstance
type ContainerInstance = class
Public Class ContainerInstance
Inheritance
ContainerInstance

Constructors

ContainerInstance()

Methods

ContainerGroupsCreateOrUpdate(String, String, String, IContainerGroup, Func<HttpResponseMessage,Task<IContainerGroup>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Create or update container groups with specified configurations.

ContainerGroupsCreateOrUpdateViaIdentity(String, IContainerGroup, Func<HttpResponseMessage,Task<IContainerGroup>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Create or update container groups with specified configurations.

ContainerGroupsDelete(String, String, String, Func<HttpResponseMessage, Task<IContainerGroup>,Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Delete the specified container group in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.

ContainerGroupsDeleteViaIdentity(String, Func<HttpResponseMessage, Task<IContainerGroup>,Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Delete the specified container group in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.

ContainerGroupsGet(String, String, String, Func<HttpResponseMessage, Task<IContainerGroup>,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

ContainerGroupsGetOutboundNetworkDependenciesEndpoints(String, String, String, Func<HttpResponseMessage,Task<String[]>,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets all the network dependencies for this container group to allow complete control of network setting and configuration. For container groups, this will always be an empty list.

ContainerGroupsGetOutboundNetworkDependenciesEndpointsViaIdentity(String, Func<HttpResponseMessage,Task<String[]>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Gets all the network dependencies for this container group to allow complete control of network setting and configuration. For container groups, this will always be an empty list.

ContainerGroupsGetViaIdentity(String, Func<HttpResponseMessage, Task<IContainerGroup>,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

ContainerGroupsList(String, Func<HttpResponseMessage,Task<IContainerGroupListResult>, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Get a list of container groups in the specified subscription. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

ContainerGroupsListByResourceGroup(String, String, Func<HttpResponseMessage, Task<IContainerGroupListResult>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Get a list of container groups in a specified subscription and resource group. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

ContainerGroupsListByResourceGroupViaIdentity(String, Func<HttpResponseMessage, Task<IContainerGroupListResult>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Get a list of container groups in a specified subscription and resource group. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

ContainerGroupsListViaIdentity(String, Func<HttpResponseMessage, Task<IContainerGroupListResult>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Get a list of container groups in the specified subscription. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

ContainerGroupsRestart(String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Restarts all containers in a container group in place. If container image has updates, new image will be downloaded.

ContainerGroupsRestartViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Restarts all containers in a container group in place. If container image has updates, new image will be downloaded.

ContainerGroupsStart(String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Starts all containers in a container group. Compute resources will be allocated and billing will start.

ContainerGroupsStartViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Starts all containers in a container group. Compute resources will be allocated and billing will start.

ContainerGroupsStop(String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Stops all containers in a container group. Compute resources will be deallocated and billing will stop.

ContainerGroupsStopViaIdentity(String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Stops all containers in a container group. Compute resources will be deallocated and billing will stop.

ContainerGroupsUpdate(String, String, String, IResource, Func<HttpResponseMessage, Task<IContainerGroup>,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

Updates container group tags with specified values.

ContainerGroupsUpdateViaIdentity(String, IResource, Func<HttpResponseMessage, Task<IContainerGroup>,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

Updates container group tags with specified values.

ContainersAttach(String, String, String, String, Func<HttpResponseMessage, Task<IContainerAttachResponse>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Attach to the output stream of a specific container instance in a specified resource group and container group.

ContainersAttachViaIdentity(String, Func<HttpResponseMessage, Task<IContainerAttachResponse>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Attach to the output stream of a specific container instance in a specified resource group and container group.

ContainersExecuteCommand(String, String, String, String, IContainerExecRequest, Func<HttpResponseMessage,Task<IContainerExecResponse>,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Executes a command for a specific container instance in a specified resource group and container group.

ContainersExecuteCommandViaIdentity(String, IContainerExecRequest, Func<HttpResponseMessage,Task<IContainerExecResponse>,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Executes a command for a specific container instance in a specified resource group and container group.

ContainersListLogs(String, String, String, String, Nullable<Int32>, Nullable<Boolean>, Func<HttpResponseMessage,Task<ILogs>,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Get the logs for a specified container instance in a specified resource group and container group.

ContainersListLogsViaIdentity(String, Nullable<Int32>, Nullable<Boolean>, Func<HttpResponseMessage,Task<ILogs>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Get the logs for a specified container instance in a specified resource group and container group.

LocationListCachedImages(String, String, Func<HttpResponseMessage, Task<ICachedImagesListResult>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Get the list of cached images on specific OS type for a subscription in a region.

LocationListCachedImagesViaIdentity(String, Func<HttpResponseMessage, Task<ICachedImagesListResult>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Get the list of cached images on specific OS type for a subscription in a region.

LocationListCapabilities(String, String, Func<HttpResponseMessage, Task<ICapabilitiesListResult>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Get the list of CPU/memory/GPU capabilities of a region.

LocationListCapabilitiesViaIdentity(String, Func<HttpResponseMessage, Task<ICapabilitiesListResult>,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Get the list of CPU/memory/GPU capabilities of a region.

LocationListUsage(String, String, Func<HttpResponseMessage,Task<IUsageListResult>, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Get the usage for a subscription

LocationListUsageViaIdentity(String, Func<HttpResponseMessage, Task<IUsageListResult>,Task>, Func<HttpResponseMessage,Task<ICloudError>, Task>, IEventListener, ISendAsync)

Get the usage for a subscription

OperationsList(Func<HttpResponseMessage,Task<IOperationListResult>, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

List the operations for Azure Container Instance service.

OperationsListViaIdentity(String, Func<HttpResponseMessage,Task<IOperationListResult>, Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

List the operations for Azure Container Instance service.

SubnetServiceAssociationLinkDelete(String, String, String, String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

Delete container group virtual network association links. The operation does not delete other resources provided by the user.

SubnetServiceAssociationLinkDeleteViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<ICloudError>,Task>, IEventListener, ISendAsync)

Delete container group virtual network association links. The operation does not delete other resources provided by the user.

Applies to