Interface ContainerGroups
- All Superinterfaces:
HasInner<com.microsoft.azure.management.containerinstance.implementation.ContainerGroupsInner>
,HasManager<com.microsoft.azure.management.containerinstance.implementation.ContainerInstanceManager>
,SupportsBatchCreation<ContainerGroup>
,SupportsBatchDeletion
,SupportsCreating<ContainerGroup.DefinitionStages.Blank>
,SupportsDeletingById
,SupportsDeletingByResourceGroup
,SupportsGettingById<ContainerGroup>
,SupportsGettingByResourceGroup<ContainerGroup>
,SupportsListing<ContainerGroup>
,SupportsListingByResourceGroup<ContainerGroup>
@Beta(V1_23_0)
public interface ContainerGroups
extends SupportsCreating<ContainerGroup.DefinitionStages.Blank>, HasManager<com.microsoft.azure.management.containerinstance.implementation.ContainerInstanceManager>, HasInner<com.microsoft.azure.management.containerinstance.implementation.ContainerGroupsInner>, 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 TypeMethodDescriptiongetLogContent
(String resourceGroupName, String containerGroupName, String containerName) Get the log content for the specified container instance within a container group.getLogContent
(String resourceGroupName, String containerGroupName, String containerName, int tailLineCount) Get the log content for the specified container instance within a container group.rx.Observable<String>
getLogContentAsync
(String resourceGroupName, String containerGroupName, String containerName) Get the log content for the specified container instance within a container group.rx.Observable<String>
getLogContentAsync
(String resourceGroupName, String containerGroupName, String containerName, int tailLineCount) Get the log content for the specified container instance within a container group.com.microsoft.azure.PagedList<CachedImages>
listCachedImages
(String location) Lists cached images for a subscription in a region.rx.Observable<CachedImages>
listCachedImagesAsync
(String location) Lists cached images for a subscription in a region.com.microsoft.azure.PagedList<Capabilities>
listCapabilities
(String location) Lists the capabilities of a location.rx.Observable<Capabilities>
listCapabilitiesAsync
(String location) Lists the capabilities of a location.com.microsoft.azure.PagedList<Operation>
Lists all operations for Azure Container Instance service.rx.Observable<Operation>
Lists all operations for Azure Container Instance service.void
Starts all containers in a container group.rx.Completable
startAsync
(String resourceGroupName, String containerGroupName) Starts all containers in a container group.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
manager
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation
create, create, createAsync, createAsync, createAsync, createAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsBatchDeletion
deleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating
define
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsync, deleteByIdAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup
deleteByResourceGroup, deleteByResourceGroupAsync, deleteByResourceGroupAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync, getByIdAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup
getByResourceGroup, getByResourceGroupAsync, getByResourceGroupAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing
list, listAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByResourceGroup
listByResourceGroup, listByResourceGroupAsync
-
Method Details
-
getLogContent
@Beta(V1_5_0) 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 namecontainerGroupName
- the container group namecontainerName
- the container instance name- Returns:
- all available log lines
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getLogContent
@Beta(V1_5_0) 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 namecontainerGroupName
- the container group namecontainerName
- the container instance nametailLineCount
- only get the last log lines up to this- Returns:
- the log lines from the end, up to the number specified
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getLogContentAsync
@Beta(V1_5_0) rx.Observable<String> 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 namecontainerGroupName
- the container group namecontainerName
- the container instance name- Returns:
- a representation of the future computation of this call
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getLogContentAsync
@Beta(V1_5_0) rx.Observable<String> 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 namecontainerGroupName
- the container group namecontainerName
- the container instance nametailLineCount
- only get the last log lines up to this- Returns:
- a representation of the future computation of this call
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listOperations
Lists all operations for Azure Container Instance service.- Returns:
- all operations for Azure Container Instance service
-
listOperationsAsync
Lists all operations for Azure Container Instance service.- Returns:
- a representation of the future computation of this call
-
listCachedImages
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
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
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
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
-
start
Starts all containers in a container group.- Parameters:
resourceGroupName
- the name of the resource group of the container groupcontainerGroupName
- the name of the container group
-
startAsync
Starts all containers in a container group.- Parameters:
resourceGroupName
- the name of the resource group of the container groupcontainerGroupName
- the name of the container group- Returns:
- a representation of the future computation of this call
-