@Beta(value=V1_23_0) public interface ContainerGroup extends GroupableResource<com.microsoft.azure.management.containerinstance.implementation.ContainerInstanceManager,com.microsoft.azure.management.containerinstance.implementation.ContainerGroupInner>, Refreshable<ContainerGroup>, 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.
|
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T>
Modifier and Type | Method and Description |
---|---|
Map<String,Container> |
containers() |
DnsConfiguration |
dnsConfig() |
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 |
isIPAddressPrivate() |
boolean |
isIPAddressPublic() |
boolean |
isManagedServiceIdentityEnabled() |
LogAnalytics |
logAnalytics() |
ResourceIdentityType |
managedServiceIdentityType() |
String |
networkProfileId() |
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.
|
String |
systemAssignedManagedServiceIdentityPrincipalId() |
String |
systemAssignedManagedServiceIdentityTenantId() |
Set<String> |
userAssignedManagedServiceIdentityIds() |
Map<String,Volume> |
volumes() |
region, regionName, tags, type
key
id
name
resourceGroupName
manager
inner
refresh, refreshAsync
Map<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()
boolean isIPAddressPrivate()
OperatingSystemTypes osType()
String state()
String provisioningState()
@Beta(value=V1_23_0) DnsConfiguration dnsConfig()
@Beta(value=V1_23_0) String networkProfileId()
@Beta(value=V1_23_0) boolean isManagedServiceIdentityEnabled()
@Beta(value=V1_23_0) String systemAssignedManagedServiceIdentityTenantId()
@Beta(value=V1_23_0) String systemAssignedManagedServiceIdentityPrincipalId()
@Beta(value=V1_23_0) ResourceIdentityType managedServiceIdentityType()
@Beta(value=V1_23_0) Set<String> userAssignedManagedServiceIdentityIds()
LogAnalytics logAnalytics()
@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 validationCopyright © 2019. All rights reserved.