@Beta(value=V1_3_0) public interface ContainerGroup extends com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource<com.microsoft.azure.management.containerinstance.implementation.ContainerInstanceManager,com.microsoft.azure.management.containerinstance.implementation.ContainerGroupInner>, com.microsoft.azure.management.resources.fluentcore.model.Refreshable<ContainerGroup>, com.microsoft.azure.management.resources.fluentcore.model.Updatable<ContainerGroup.Update>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ContainerGroup.Definition
Starts the exec command for a specific container instance within the current group asynchronously.
|
static interface |
ContainerGroup.DefinitionStages
Grouping of the container group definition stages.
|
static interface |
ContainerGroup.Update
The template for an update operation, containing all the settings that can be modified.
|
com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithRegion<T>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTags<T>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.UpdateWithTags<T>| Modifier and Type | Method and Description |
|---|---|
Map<String,Container> |
containers() |
String |
dnsPrefix() |
Set<Event> |
events() |
ContainerExecResponse |
executeCommand(String containerName,
String command,
int row,
int column)
Starts the exec command for a specific container instance.
|
rx.Observable<ContainerExecResponse> |
executeCommandAsync(String containerName,
String command,
int row,
int column)
Starts the exec command for a specific container instance within the container group.
|
Set<Port> |
externalPorts() |
int[] |
externalTcpPorts() |
int[] |
externalUdpPorts() |
String |
fqdn() |
String |
getLogContent(String containerName)
Get the log content for the specified container instance within the container group.
|
String |
getLogContent(String containerName,
int tailLineCount)
Get the log content for the specified container instance within the container group.
|
rx.Observable<String> |
getLogContentAsync(String containerName)
Get the log content for the specified container instance within the container group.
|
rx.Observable<String> |
getLogContentAsync(String containerName,
int tailLineCount)
Get the log content for the specified container instance within the container group.
|
Collection<String> |
imageRegistryServers() |
String |
ipAddress() |
boolean |
isIPAddressPublic() |
OperatingSystemTypes |
osType() |
String |
provisioningState() |
void |
restart()
Restarts all containers in a container group in place.
|
rx.Completable |
restartAsync()
Restarts all containers in a container group in place asynchronously.
|
ContainerGroupRestartPolicy |
restartPolicy() |
String |
state() |
void |
stop()
Stops all containers in a container group.
|
rx.Completable |
stopAsync()
Stops all containers in a container group asynchronously.
|
Map<String,Volume> |
volumes() |
region, regionName, tags, typekeyidnameresourceGroupNamemanagerinnerMap<String,Container> containers()
@Beta(value=V1_5_0) Set<Port> externalPorts()
int[] externalTcpPorts()
int[] externalUdpPorts()
Collection<String> imageRegistryServers()
@Beta(value=V1_5_0) ContainerGroupRestartPolicy restartPolicy()
@Beta(value=V1_7_0) String dnsPrefix()
@Beta(value=V1_7_0) String fqdn()
String ipAddress()
boolean isIPAddressPublic()
OperatingSystemTypes osType()
String state()
String provisioningState()
@Beta(value=V1_15_0) void restart()
@Beta(value=V1_15_0) rx.Completable restartAsync()
@Beta(value=V1_15_0) void stop()
@Beta(value=V1_15_0) rx.Completable stopAsync()
String getLogContent(String containerName)
containerName - the container instance nameIllegalArgumentException - thrown if parameters fail the validationString getLogContent(String containerName, int tailLineCount)
containerName - the container instance nametailLineCount - only get the last log lines up to thisIllegalArgumentException - thrown if parameters fail the validationrx.Observable<String> getLogContentAsync(String containerName)
containerName - the container instance nameIllegalArgumentException - thrown if parameters fail the validationrx.Observable<String> getLogContentAsync(String containerName, int tailLineCount)
containerName - the container instance nametailLineCount - only get the last log lines up to thisIllegalArgumentException - thrown if parameters fail the validation@Beta(value=V1_11_0) ContainerExecResponse executeCommand(String containerName, String command, int row, int column)
containerName - the container instance namecommand - the command to be executedrow - the row size of the terminalcolumn - the column size of the terminalIllegalArgumentException - thrown if parameters fail the validation@Beta(value=V1_11_0) rx.Observable<ContainerExecResponse> executeCommandAsync(String containerName, String command, int row, int column)
containerName - the container instance namecommand - the command to be executedrow - the row size of the terminalcolumn - the column size of the terminalIllegalArgumentException - thrown if parameters fail the validation/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/