public interface ContainersClient
| Modifier and Type | Method and Description |
|---|---|
ContainerAttachResponseInner |
attach(String resourceGroupName,
String containerGroupName,
String containerName)
Attach to the output stream of a specific container instance in a specified resource group and container group.
|
Mono<ContainerAttachResponseInner> |
attachAsync(String resourceGroupName,
String containerGroupName,
String containerName)
Attach to the output stream of a specific container instance in a specified resource group and container group.
|
com.azure.core.http.rest.Response<ContainerAttachResponseInner> |
attachWithResponse(String resourceGroupName,
String containerGroupName,
String containerName,
com.azure.core.util.Context context)
Attach to the output stream of a specific container instance in a specified resource group and container group.
|
Mono<com.azure.core.http.rest.Response<ContainerAttachResponseInner>> |
attachWithResponseAsync(String resourceGroupName,
String containerGroupName,
String containerName)
Attach to the output stream of a specific container instance in a specified resource group and container group.
|
ContainerExecResponseInner |
executeCommand(String resourceGroupName,
String containerGroupName,
String containerName,
ContainerExecRequest containerExecRequest)
Executes a command for a specific container instance in a specified resource group and container group.
|
Mono<ContainerExecResponseInner> |
executeCommandAsync(String resourceGroupName,
String containerGroupName,
String containerName,
ContainerExecRequest containerExecRequest)
Executes a command for a specific container instance in a specified resource group and container group.
|
com.azure.core.http.rest.Response<ContainerExecResponseInner> |
executeCommandWithResponse(String resourceGroupName,
String containerGroupName,
String containerName,
ContainerExecRequest containerExecRequest,
com.azure.core.util.Context context)
Executes a command for a specific container instance in a specified resource group and container group.
|
Mono<com.azure.core.http.rest.Response<ContainerExecResponseInner>> |
executeCommandWithResponseAsync(String resourceGroupName,
String containerGroupName,
String containerName,
ContainerExecRequest containerExecRequest)
Executes a command for a specific container instance in a specified resource group and container group.
|
LogsInner |
listLogs(String resourceGroupName,
String containerGroupName,
String containerName)
Get the logs for a specified container instance in a specified resource group and container group.
|
Mono<LogsInner> |
listLogsAsync(String resourceGroupName,
String containerGroupName,
String containerName)
Get the logs for a specified container instance in a specified resource group and container group.
|
Mono<LogsInner> |
listLogsAsync(String resourceGroupName,
String containerGroupName,
String containerName,
Integer tail,
Boolean timestamps)
Get the logs for a specified container instance in a specified resource group and container group.
|
com.azure.core.http.rest.Response<LogsInner> |
listLogsWithResponse(String resourceGroupName,
String containerGroupName,
String containerName,
Integer tail,
Boolean timestamps,
com.azure.core.util.Context context)
Get the logs for a specified container instance in a specified resource group and container group.
|
Mono<com.azure.core.http.rest.Response<LogsInner>> |
listLogsWithResponseAsync(String resourceGroupName,
String containerGroupName,
String containerName,
Integer tail,
Boolean timestamps)
Get the logs for a specified container instance in a specified resource group and container group.
|
Mono<com.azure.core.http.rest.Response<LogsInner>> listLogsWithResponseAsync(String resourceGroupName, String containerGroupName, String containerName, Integer tail, Boolean timestamps)
resourceGroupName - The name of the resource group.containerGroupName - The name of the container group.containerName - The name of the container instance.tail - The number of lines to show from the tail of the container instance log. If not provided, all
available logs are shown up to 4mb.timestamps - If true, adds a timestamp at the beginning of every line of log output. If not provided,
defaults to false.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<LogsInner> listLogsAsync(String resourceGroupName, String containerGroupName, String containerName, Integer tail, Boolean timestamps)
resourceGroupName - The name of the resource group.containerGroupName - The name of the container group.containerName - The name of the container instance.tail - The number of lines to show from the tail of the container instance log. If not provided, all
available logs are shown up to 4mb.timestamps - If true, adds a timestamp at the beginning of every line of log output. If not provided,
defaults to false.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<LogsInner> listLogsAsync(String resourceGroupName, String containerGroupName, String containerName)
resourceGroupName - The name of the resource group.containerGroupName - The name of the container group.containerName - The name of the container instance.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.LogsInner listLogs(String resourceGroupName, String containerGroupName, String containerName)
resourceGroupName - The name of the resource group.containerGroupName - The name of the container group.containerName - The name of the container instance.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<LogsInner> listLogsWithResponse(String resourceGroupName, String containerGroupName, String containerName, Integer tail, Boolean timestamps, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.containerGroupName - The name of the container group.containerName - The name of the container instance.tail - The number of lines to show from the tail of the container instance log. If not provided, all
available logs are shown up to 4mb.timestamps - If true, adds a timestamp at the beginning of every line of log output. If not provided,
defaults to false.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<ContainerExecResponseInner>> executeCommandWithResponseAsync(String resourceGroupName, String containerGroupName, String containerName, ContainerExecRequest containerExecRequest)
resourceGroupName - The name of the resource group.containerGroupName - The name of the container group.containerName - The name of the container instance.containerExecRequest - The request for the exec command.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<ContainerExecResponseInner> executeCommandAsync(String resourceGroupName, String containerGroupName, String containerName, ContainerExecRequest containerExecRequest)
resourceGroupName - The name of the resource group.containerGroupName - The name of the container group.containerName - The name of the container instance.containerExecRequest - The request for the exec command.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.ContainerExecResponseInner executeCommand(String resourceGroupName, String containerGroupName, String containerName, ContainerExecRequest containerExecRequest)
resourceGroupName - The name of the resource group.containerGroupName - The name of the container group.containerName - The name of the container instance.containerExecRequest - The request for the exec command.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<ContainerExecResponseInner> executeCommandWithResponse(String resourceGroupName, String containerGroupName, String containerName, ContainerExecRequest containerExecRequest, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.containerGroupName - The name of the container group.containerName - The name of the container instance.containerExecRequest - The request for the exec command.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<ContainerAttachResponseInner>> attachWithResponseAsync(String resourceGroupName, String containerGroupName, String containerName)
resourceGroupName - The name of the resource group.containerGroupName - The name of the container group.containerName - The name of the container instance.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<ContainerAttachResponseInner> attachAsync(String resourceGroupName, String containerGroupName, String containerName)
resourceGroupName - The name of the resource group.containerGroupName - The name of the container group.containerName - The name of the container instance.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.ContainerAttachResponseInner attach(String resourceGroupName, String containerGroupName, String containerName)
resourceGroupName - The name of the resource group.containerGroupName - The name of the container group.containerName - The name of the container instance.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<ContainerAttachResponseInner> attachWithResponse(String resourceGroupName, String containerGroupName, String containerName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.containerGroupName - The name of the container group.containerName - The name of the container instance.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.