Virtual Machine Scale Sets - Set Orchestration Service State
變更指定服務的 ServiceState 屬性
HTTP
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState?api-version=2021-04-01
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
resource
|
path | True |
string |
資源群組的名稱。 |
subscription
|
path | True |
string |
可唯一識別 Microsoft Azure 訂用帳戶的訂用帳戶認證。 訂用帳戶識別碼會構成每個服務呼叫 URI 的一部分。 |
vm
|
path | True |
string |
要建立或更新的虛擬機擴展集名稱。 |
api-version
|
query | True |
string |
用戶端 API 版本。 |
名稱 | 必要 | 類型 | Description |
---|---|---|---|
action | True |
要執行的動作。 |
|
serviceName | True |
服務的名稱。 |
名稱 | 類型 | Description |
---|---|---|
200 OK |
確定 |
|
202 Accepted |
已接受 |
Azure Active Directory OAuth2 Flow
類型:
oauth2
Flow:
implicit
授權 URL:
https://login.microsoftonline.com/common/oauth2/authorize
名稱 | Description |
---|---|
user_impersonation | 模擬您的用戶帳戶 |
名稱 | Description |
---|---|
Orchestration |
服務的名稱。 |
Orchestration |
要執行的動作。 |
Orchestration |
OrchestrationServiceState 的輸入 |
服務的名稱。
名稱 | 類型 | Description |
---|---|---|
AutomaticRepairs |
string |
要執行的動作。
名稱 | 類型 | Description |
---|---|---|
Resume |
string |
|
Suspend |
string |
OrchestrationServiceState 的輸入
名稱 | 類型 | Description |
---|---|---|
action |
要執行的動作。 |
|
serviceName |
服務的名稱。 |