ContainerGroups Interface
Implements
public interface ContainerGroups
extends SupportsCreating<Blank>, HasManager<ContainerInstanceManager>, SupportsBatchCreation<ContainerGroup>, SupportsGettingByResourceGroup<ContainerGroup>, SupportsGettingById<ContainerGroup>, SupportsDeletingByResourceGroup, SupportsDeletingById, SupportsBatchDeletion, SupportsListingByResourceGroup<ContainerGroup>, SupportsListing<ContainerGroup>
Entry point to the container instance management API.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Container |
attachOutputStream(String resourceGroupName, String containerGroupName, String containerName)
Attaches to the output stream of a specific container instance in a specified container group. |
abstract
Mono<Container |
attachOutputStreamAsync(String resourceGroupName, String containerGroupName, String containerName)
Attaches to the output stream of a specific container instance in a specified container group. |
abstract String |
getLogContent(String resourceGroupName, String containerGroupName, String containerName)
Get the log content for the specified container instance within a container group. |
abstract String |
getLogContent(String resourceGroupName, String containerGroupName, String containerName, int tailLineCount)
Get the log content for the specified container instance within a container group. |
abstract Mono<String> |
getLogContentAsync(String resourceGroupName, String containerGroupName, String containerName)
Get the log content for the specified container instance within a container group. |
abstract Mono<String> |
getLogContentAsync(String resourceGroupName, String containerGroupName, String containerName, int tailLineCount)
Get the log content for the specified container instance within a container group. |
abstract
Paged |
listCachedImages(String location)
Lists cached images for a subscription in a region. |
abstract
Paged |
listCachedImagesAsync(String location)
Lists cached images for a subscription in a region. |
abstract
Paged |
listCapabilities(String location)
Lists the capabilities of a location. |
abstract
Paged |
listCapabilitiesAsync(String location)
Lists the capabilities of a location. |
abstract
Paged |
listOperations()
Lists all operations for Azure Container Instance service. |
abstract
Paged |
listOperationsAsync()
Lists all operations for Azure Container Instance service. |
abstract void |
start(String resourceGroupName, String containerGroupName)
Starts all containers in a container group. |
abstract Mono<Void> |
startAsync(String resourceGroupName, String containerGroupName)
Starts all containers in a container group. |
Method Details
attachOutputStream
public abstract ContainerAttachResult attachOutputStream(String resourceGroupName, String containerGroupName, String containerName)
Attaches to the output stream of a specific container instance in a specified container group.
Parameters:
Returns:
attachOutputStreamAsync
public abstract Mono
Attaches to the output stream of a specific container instance in a specified container group.
Parameters:
Returns:
getLogContent
public abstract String getLogContent(String resourceGroupName, String containerGroupName, String containerName)
Get the log content for the specified container instance within a container group.
Parameters:
Returns:
getLogContent
public abstract String getLogContent(String resourceGroupName, String containerGroupName, String containerName, int tailLineCount)
Get the log content for the specified container instance within a container group.
Parameters:
Returns:
getLogContentAsync
public abstract Mono
Get the log content for the specified container instance within a container group.
Parameters:
Returns:
getLogContentAsync
public abstract Mono
Get the log content for the specified container instance within a container group.
Parameters:
Returns:
listCachedImages
public abstract PagedIterable
Lists cached images for a subscription in a region.
Parameters:
Returns:
listCachedImagesAsync
public abstract PagedFlux
Lists cached images for a subscription in a region.
Parameters:
Returns:
listCapabilities
public abstract PagedIterable
Lists the capabilities of a location.
Parameters:
Returns:
listCapabilitiesAsync
public abstract PagedFlux
Lists the capabilities of a location.
Parameters:
Returns:
listOperations
public abstract PagedIterable
Lists all operations for Azure Container Instance service.
Returns:
listOperationsAsync
public abstract PagedFlux
Lists all operations for Azure Container Instance service.
Returns:
start
public abstract void start(String resourceGroupName, String containerGroupName)
Starts all containers in a container group.
Parameters:
startAsync
public abstract Mono
Starts all containers in a container group.
Parameters:
Returns: