ContainersOperations interface
表示容器操作的接口。
属性
| attach | 附加到指定资源组和容器组中特定容器实例的输出流。 |
| execute |
为指定资源组和容器组中的特定容器实例执行命令。 |
| list |
获取指定资源组和容器组中指定容器实例的日志。 |
属性详细信息
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>