你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
OrchestrationServiceStateInput 类
OrchestrationServiceState 的输入。
必须填充所有必需的参数才能发送到 Azure。
- 继承
-
azure.mgmt.compute._serialization.ModelOrchestrationServiceStateInput
构造函数
OrchestrationServiceStateInput(*, service_name: str | _models.OrchestrationServiceNames, action: str | _models.OrchestrationServiceStateAction, **kwargs: Any)
Keyword-Only Parameters
- service_name
- str 或 OrchestrationServiceNames
服务的名称。 必需。 已知值为:“AutomaticRepairs”和“DummyOrchestrationServiceName”。
- action
- str 或 OrchestrationServiceStateAction
要执行的操作。 必需。 已知值为:“Resume”和“Suspend”。
变量
- service_name
- str 或 OrchestrationServiceNames
服务的名称。 必需。 已知值为:“AutomaticRepairs”和“DummyOrchestrationServiceName”。
- action
- str 或 OrchestrationServiceStateAction
要执行的操作。 必需。 已知值为:“Resume”和“Suspend”。