Containers interface

Interface representing a Containers.

Methods

attach(string, string, string, ContainersAttachOptionalParams)

Attach to the output stream of a specific container instance in a specified resource group and container group.

executeCommand(string, string, string, ContainerExecRequest, ContainersExecuteCommandOptionalParams)

Executes a command for a specific container instance in a specified resource group and container group.

listLogs(string, string, string, ContainersListLogsOptionalParams)

Get the logs for a specified container instance in a specified resource group and container group.

Method Details

attach(string, string, string, ContainersAttachOptionalParams)

Attach to the output stream of a specific container instance in a specified resource group and container group.

function attach(resourceGroupName: string, containerGroupName: string, containerName: string, options?: ContainersAttachOptionalParams): Promise<ContainerAttachResponse>

Parameters

resourceGroupName

string

The name of the resource group.

containerGroupName

string

The name of the container group.

containerName

string

The name of the container instance.

options
ContainersAttachOptionalParams

The options parameters.

Returns

executeCommand(string, string, string, ContainerExecRequest, ContainersExecuteCommandOptionalParams)

Executes a command for a specific container instance in a specified resource group and container group.

function executeCommand(resourceGroupName: string, containerGroupName: string, containerName: string, containerExecRequest: ContainerExecRequest, options?: ContainersExecuteCommandOptionalParams): Promise<ContainerExecResponse>

Parameters

resourceGroupName

string

The name of the resource group.

containerGroupName

string

The name of the container group.

containerName

string

The name of the container instance.

containerExecRequest
ContainerExecRequest

The request for the exec command.

options
ContainersExecuteCommandOptionalParams

The options parameters.

Returns

listLogs(string, string, string, ContainersListLogsOptionalParams)

Get the logs for a specified container instance in a specified resource group and container group.

function listLogs(resourceGroupName: string, containerGroupName: string, containerName: string, options?: ContainersListLogsOptionalParams): Promise<Logs>

Parameters

resourceGroupName

string

The name of the resource group.

containerGroupName

string

The name of the container group.

containerName

string

The name of the container instance.

options
ContainersListLogsOptionalParams

The options parameters.

Returns

Promise<Logs>