你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContainersOperations interface

表示容器操作的接口。

属性

attach

附加到指定资源组和容器组中特定容器实例的输出流。

executeCommand

为指定资源组和容器组中的特定容器实例执行命令。

listLogs

获取指定资源组和容器组中指定容器实例的日志。

属性详细信息

attach

附加到指定资源组和容器组中特定容器实例的输出流。

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

属性值

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

executeCommand

为指定资源组和容器组中的特定容器实例执行命令。

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

属性值

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

listLogs

获取指定资源组和容器组中指定容器实例的日志。

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

属性值

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