Compartir a través de


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 ContainerAttachResult attachOutputStream(String resourceGroupName, String containerGroupName, String containerName)

Attaches to the output stream of a specific container instance in a specified container group.

abstract Mono<ContainerAttachResult> 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 PagedIterable<CachedImages> listCachedImages(String location)

Lists cached images for a subscription in a region.

abstract PagedFlux<CachedImages> listCachedImagesAsync(String location)

Lists cached images for a subscription in a region.

abstract PagedIterable<Capabilities> listCapabilities(String location)

Lists the capabilities of a location.

abstract PagedFlux<Capabilities> listCapabilitiesAsync(String location)

Lists the capabilities of a location.

abstract PagedIterable<Operation> listOperations()

Lists all operations for Azure Container Instance service.

abstract PagedFlux<Operation> 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:

resourceGroupName - the name of the resource group
containerGroupName - the name of the container group
containerName - the name of the container instance

Returns:

the information for the output stream

attachOutputStreamAsync

public abstract Mono attachOutputStreamAsync(String resourceGroupName, String containerGroupName, String containerName)

Attaches to the output stream of a specific container instance in a specified container group.

Parameters:

resourceGroupName - the name of the resource group
containerGroupName - the name of the container group
containerName - the name of the container instance

Returns:

the information for the output stream

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:

resourceGroupName - the Azure resource group name
containerGroupName - the container group name
containerName - the container instance name

Returns:

all available log lines

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:

resourceGroupName - the Azure resource group name
containerGroupName - the container group name
containerName - the container instance name
tailLineCount - only get the last log lines up to this

Returns:

the log lines from the end, up to the number specified

getLogContentAsync

public abstract Mono getLogContentAsync(String resourceGroupName, String containerGroupName, String containerName)

Get the log content for the specified container instance within a container group.

Parameters:

resourceGroupName - the Azure resource group name
containerGroupName - the container group name
containerName - the container instance name

Returns:

a representation of the future computation of this call

getLogContentAsync

public abstract Mono getLogContentAsync(String resourceGroupName, String containerGroupName, String containerName, int tailLineCount)

Get the log content for the specified container instance within a container group.

Parameters:

resourceGroupName - the Azure resource group name
containerGroupName - the container group name
containerName - the container instance name
tailLineCount - only get the last log lines up to this

Returns:

a representation of the future computation of this call

listCachedImages

public abstract PagedIterable listCachedImages(String location)

Lists cached images for a subscription in a region.

Parameters:

location - the identifier for the physical azure location.

Returns:

all cached images from the specified location

listCachedImagesAsync

public abstract PagedFlux listCachedImagesAsync(String location)

Lists cached images for a subscription in a region.

Parameters:

location - the identifier for the physical azure location.

Returns:

a representation of the future computation of this call

listCapabilities

public abstract PagedIterable listCapabilities(String location)

Lists the capabilities of a location.

Parameters:

location - the identifier for the physical azure location

Returns:

a list of all of the capabilities of the given location

listCapabilitiesAsync

public abstract PagedFlux listCapabilitiesAsync(String location)

Lists the capabilities of a location.

Parameters:

location - the identifier for the physical azure location

Returns:

a representation of the future computation of this call

listOperations

public abstract PagedIterable listOperations()

Lists all operations for Azure Container Instance service.

Returns:

all operations for Azure Container Instance service

listOperationsAsync

public abstract PagedFlux listOperationsAsync()

Lists all operations for Azure Container Instance service.

Returns:

a representation of the future computation of this call

start

public abstract void start(String resourceGroupName, String containerGroupName)

Starts all containers in a container group.

Parameters:

resourceGroupName - the name of the resource group of the container group
containerGroupName - the name of the container group

startAsync

public abstract Mono startAsync(String resourceGroupName, String containerGroupName)

Starts all containers in a container group.

Parameters:

resourceGroupName - the name of the resource group of the container group
containerGroupName - the name of the container group

Returns:

a representation of the future computation of this call

Applies to