This commit is contained in:
Jing-song 2024-03-13 13:53:39 +08:00
Родитель 9ff1ab5418
Коммит 849701c3d0
28 изменённых файлов: 842 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _cloud-service reimage_
Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.
## Versions
### [2022-09-04](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Nsb3Vkc2VydmljZXMve30vcmVpbWFnZQ==/2022-09-04.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/cloudservices/{}/reimage 2022-09-04 -->
#### examples
- Cloud service reimage
```bash
cloud-service reimage -g rg --cloud-service-name cloudservice --role-instances '[ContosoFrontend_IN_0]'
```

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _cloud-service os-family list_
List all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service.
## Versions
### [2022-09-04](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jbG91ZHNlcnZpY2Vvc2ZhbWlsaWVz/2022-09-04.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosfamilies 2022-09-04 -->
#### examples
- List os-family
```bash
cloud-service os-family list -l eastus
```

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _cloud-service os-family show_
Show guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.
## Versions
### [2022-09-04](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jbG91ZHNlcnZpY2Vvc2ZhbWlsaWVzL3t9/2022-09-04.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosfamilies/{} 2022-09-04 -->
#### examples
- Show os family
```bash
cloud-service os-family show -n os-family -l eastus
```

Просмотреть файл

@ -0,0 +1,11 @@
# [Group] _cloud-service os-family_
Manage cloud service os family
## Commands
- [list](/Commands/cloud-service/os-family/_list.md)
: List all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service.
- [show](/Commands/cloud-service/os-family/_show.md)
: Show guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _cloud-service os-version list_
List all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service.
## Versions
### [2022-09-04](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jbG91ZHNlcnZpY2Vvc3ZlcnNpb25z/2022-09-04.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosversions 2022-09-04 -->
#### examples
- List os version
```bash
cloud-service os-version list -l eastus
```

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _cloud-service os-version show_
Show guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.
## Versions
### [2022-09-04](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jbG91ZHNlcnZpY2Vvc3ZlcnNpb25zL3t9/2022-09-04.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosversions/{} 2022-09-04 -->
#### examples
- Show os version
```bash
cloud-service os-version show -n os-version -l westus
```

Просмотреть файл

@ -0,0 +1,11 @@
# [Group] _cloud-service os-version_
Manage cloud service os version
## Commands
- [list](/Commands/cloud-service/os-version/_list.md)
: List all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service.
- [show](/Commands/cloud-service/os-version/_show.md)
: Show guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service.

Просмотреть файл

@ -0,0 +1,19 @@
# [Group] _cloud-service_
Manage cloud service
## Subgroups
- [os-family](/Commands/cloud-service/os-family/readme.md)
: Manage cloud service os family
- [os-version](/Commands/cloud-service/os-version/readme.md)
: Manage cloud service os version
- [role-instance](/Commands/cloud-service/role-instance/readme.md)
: Manage role instance
## Commands
- [reimage](/Commands/cloud-service/_reimage.md)
: Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _cloud-service role-instance reimage_
The reimage role instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles.
## Versions
### [2022-09-04](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Nsb3Vkc2VydmljZXMve30vcm9sZWluc3RhbmNlcy97fS9yZWltYWdl/2022-09-04.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/cloudservices/{}/roleinstances/{}/reimage 2022-09-04 -->
#### examples
- Role instance reimage
```bash
cloud-service role-instance reimage -g rg --cloud-service-name cloudservice --role-instances-name name
```

Просмотреть файл

@ -0,0 +1,8 @@
# [Group] _cloud-service role-instance_
Manage role instance
## Commands
- [reimage](/Commands/cloud-service/role-instance/_reimage.md)
: The reimage role instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles.

Просмотреть файл

@ -47,6 +47,9 @@
- [change-analysis](/Commands/change-analysis/readme.md)
: List changes for resources
- [cloud-service](/Commands/cloud-service/readme.md)
: Manage cloud service
- [communication](/Commands/communication/readme.md)
: communication

Просмотреть файл

@ -11191,6 +11191,230 @@
"change-analysis"
]
},
"cloud-service": {
"commandGroups": {
"os-family": {
"commands": {
"list": {
"help": {
"short": "List all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service."
},
"names": [
"cloud-service",
"os-family",
"list"
],
"versions": [
{
"examples": [
{
"commands": [
"cloud-service os-family list -l eastus"
],
"name": "List os-family"
}
],
"name": "2022-09-04",
"resources": [
{
"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosfamilies",
"plane": "mgmt-plane",
"version": "2022-09-04"
}
]
}
]
},
"show": {
"help": {
"short": "Show guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service."
},
"names": [
"cloud-service",
"os-family",
"show"
],
"versions": [
{
"examples": [
{
"commands": [
"cloud-service os-family show -n os-family -l eastus"
],
"name": "Show os family"
}
],
"name": "2022-09-04",
"resources": [
{
"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosfamilies/{}",
"plane": "mgmt-plane",
"version": "2022-09-04"
}
]
}
]
}
},
"help": {
"short": "Manage cloud service os family"
},
"names": [
"cloud-service",
"os-family"
]
},
"os-version": {
"commands": {
"list": {
"help": {
"short": "List all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service."
},
"names": [
"cloud-service",
"os-version",
"list"
],
"versions": [
{
"examples": [
{
"commands": [
"cloud-service os-version list -l eastus"
],
"name": "List os version"
}
],
"name": "2022-09-04",
"resources": [
{
"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosversions",
"plane": "mgmt-plane",
"version": "2022-09-04"
}
]
}
]
},
"show": {
"help": {
"short": "Show guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service."
},
"names": [
"cloud-service",
"os-version",
"show"
],
"versions": [
{
"examples": [
{
"commands": [
"cloud-service os-version show -n os-version -l westus"
],
"name": "Show os version"
}
],
"name": "2022-09-04",
"resources": [
{
"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosversions/{}",
"plane": "mgmt-plane",
"version": "2022-09-04"
}
]
}
]
}
},
"help": {
"short": "Manage cloud service os version"
},
"names": [
"cloud-service",
"os-version"
]
},
"role-instance": {
"commands": {
"reimage": {
"help": {
"short": "The reimage role instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles."
},
"names": [
"cloud-service",
"role-instance",
"reimage"
],
"versions": [
{
"examples": [
{
"commands": [
"cloud-service role-instance reimage -g rg --cloud-service-name cloudservice --role-instances-name name"
],
"name": "Role instance reimage"
}
],
"name": "2022-09-04",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/cloudservices/{}/roleinstances/{}/reimage",
"plane": "mgmt-plane",
"version": "2022-09-04"
}
]
}
]
}
},
"help": {
"short": "Manage role instance"
},
"names": [
"cloud-service",
"role-instance"
]
}
},
"commands": {
"reimage": {
"help": {
"short": "Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles."
},
"names": [
"cloud-service",
"reimage"
],
"versions": [
{
"examples": [
{
"commands": [
"cloud-service reimage -g rg --cloud-service-name cloudservice --role-instances '[ContosoFrontend_IN_0]'"
],
"name": "Cloud service reimage"
}
],
"name": "2022-09-04",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/cloudservices/{}/reimage",
"plane": "mgmt-plane",
"version": "2022-09-04"
}
]
}
]
}
},
"help": {
"short": "Manage cloud service"
},
"names": [
"cloud-service"
]
},
"communication": {
"commandGroups": {
"email": {
@ -150792,6 +151016,35 @@
]
}
]
},
"update-domain-walk": {
"help": {
"short": "Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set."
},
"names": [
"vmss",
"update-domain-walk"
],
"versions": [
{
"examples": [
{
"commands": [
"vmss update-domain-walk -g rg --vmss-name vmss --platform-update-domain"
],
"name": "Force recovery service fabric platform update domain walk"
}
],
"name": "2023-07-01",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/forcerecoveryservicefabricplatformupdatedomainwalk",
"plane": "mgmt-plane",
"version": "2023-07-01"
}
]
}
]
}
},
"help": {

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _vmss update-domain-walk_
Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.
## Versions
### [2023-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2ZvcmNlcmVjb3ZlcnlzZXJ2aWNlZmFicmljcGxhdGZvcm11cGRhdGVkb21haW53YWxr/2023-07-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/forcerecoveryservicefabricplatformupdatedomainwalk 2023-07-01 -->
#### examples
- Force recovery service fabric platform update domain walk
```bash
vmss update-domain-walk -g rg --vmss-name vmss --platform-update-domain
```

Просмотреть файл

@ -47,3 +47,6 @@ Manage groupings of virtual machines in an Azure Virtual Machine Scale Set (VMSS
- [update](/Commands/vmss/_update.md)
: Update a VM scale set.
- [update-domain-walk](/Commands/vmss/_update-domain-walk.md)
: Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosfamilies", "version": "2022-09-04", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2xvdWRTZXJ2aWNlT3NGYW1pbGllcw==/V/MjAyMi0wOS0wNA=="}], "commandGroups": [{"name": "cloud-service os-family", "commands": [{"name": "list", "version": "2022-09-04", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosfamilies", "version": "2022-09-04", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2xvdWRTZXJ2aWNlT3NGYW1pbGllcw==/V/MjAyMi0wOS0wNA=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "CloudServiceOperatingSystems_ListOSFamilies", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-09-04"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "label"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "array<object>", "name": "versions", "item": {"type": "object", "props": [{"readOnly": true, "type": "boolean", "name": "isActive"}, {"readOnly": true, "type": "boolean", "name": "isDefault"}, {"readOnly": true, "type": "string", "name": "label"}, {"readOnly": true, "type": "string", "name": "version"}]}, "identifiers": ["version"]}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,65 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosfamilies" version="2022-09-04" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2xvdWRTZXJ2aWNlT3NGYW1pbGllcw==/V/MjAyMi0wOS0wNA=="/>
<commandGroup name="cloud-service os-family">
<command name="list" version="2022-09-04" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosfamilies" version="2022-09-04" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2xvdWRTZXJ2aWNlT3NGYW1pbGllcw==/V/MjAyMi0wOS0wNA=="/>
<argGroup name="">
<arg type="ResourceLocation" var="$Path.location" options="location l" required="True" idPart="name"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="CloudServiceOperatingSystems_ListOSFamilies">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies">
<request method="get">
<path>
<param type="string" name="location" arg="$Path.location" required="True"/>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2022-09-04&quot;"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop type="array<object>" name="value" required="True">
<item type="object">
<prop readOnly="True" type="string" name="id"/>
<prop readOnly="True" type="string" name="location"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="string" name="label"/>
<prop readOnly="True" type="string" name="name"/>
<prop readOnly="True" type="array<object>" name="versions" identifiers="version">
<item type="object">
<prop readOnly="True" type="boolean" name="isActive"/>
<prop readOnly="True" type="boolean" name="isDefault"/>
<prop readOnly="True" type="string" name="label"/>
<prop readOnly="True" type="string" name="version"/>
</item>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@ODataV4Format"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosfamilies/{}", "version": "2022-09-04", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2xvdWRTZXJ2aWNlT3NGYW1pbGllcy97b3NGYW1pbHlOYW1lfQ==/V/MjAyMi0wOS0wNA=="}], "commandGroups": [{"name": "cloud-service os-family", "commands": [{"name": "show", "version": "2022-09-04", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosfamilies/{}", "version": "2022-09-04", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2xvdWRTZXJ2aWNlT3NGYW1pbGllcy97b3NGYW1pbHlOYW1lfQ==/V/MjAyMi0wOS0wNA=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "string", "var": "$Path.osFamilyName", "options": ["n", "name", "os-family-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the OS family."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "CloudServiceOperatingSystems_GetOSFamily", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies/{osFamilyName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true}, {"type": "string", "name": "osFamilyName", "arg": "$Path.osFamilyName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-09-04"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "label"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "array<object>", "name": "versions", "item": {"type": "object", "props": [{"readOnly": true, "type": "boolean", "name": "isActive"}, {"readOnly": true, "type": "boolean", "name": "isDefault"}, {"readOnly": true, "type": "string", "name": "label"}, {"readOnly": true, "type": "string", "name": "version"}]}, "identifiers": ["version"]}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,64 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosfamilies/{}" version="2022-09-04" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2xvdWRTZXJ2aWNlT3NGYW1pbGllcy97b3NGYW1pbHlOYW1lfQ==/V/MjAyMi0wOS0wNA=="/>
<commandGroup name="cloud-service os-family">
<command name="show" version="2022-09-04" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosfamilies/{}" version="2022-09-04" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2xvdWRTZXJ2aWNlT3NGYW1pbGllcy97b3NGYW1pbHlOYW1lfQ==/V/MjAyMi0wOS0wNA=="/>
<argGroup name="">
<arg type="ResourceLocation" var="$Path.location" options="location l" required="True" idPart="name"/>
<arg type="string" var="$Path.osFamilyName" options="os-family-name name n" required="True" idPart="child_name_1">
<help short="Name of the OS family."/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="CloudServiceOperatingSystems_GetOSFamily">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsFamilies/{osFamilyName}">
<request method="get">
<path>
<param type="string" name="location" arg="$Path.location" required="True"/>
<param type="string" name="osFamilyName" arg="$Path.osFamilyName" required="True"/>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2022-09-04&quot;"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="string" name="id"/>
<prop readOnly="True" type="string" name="location"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="string" name="label"/>
<prop readOnly="True" type="string" name="name"/>
<prop readOnly="True" type="array<object>" name="versions" identifiers="version">
<item type="object">
<prop readOnly="True" type="boolean" name="isActive"/>
<prop readOnly="True" type="boolean" name="isDefault"/>
<prop readOnly="True" type="string" name="label"/>
<prop readOnly="True" type="string" name="version"/>
</item>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@ODataV4Format"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosversions", "version": "2022-09-04", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2xvdWRTZXJ2aWNlT3NWZXJzaW9ucw==/V/MjAyMi0wOS0wNA=="}], "commandGroups": [{"name": "cloud-service os-version", "commands": [{"name": "list", "version": "2022-09-04", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosversions", "version": "2022-09-04", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2xvdWRTZXJ2aWNlT3NWZXJzaW9ucw==/V/MjAyMi0wOS0wNA=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "CloudServiceOperatingSystems_ListOSVersions", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-09-04"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "family"}, {"readOnly": true, "type": "string", "name": "familyLabel"}, {"readOnly": true, "type": "boolean", "name": "isActive"}, {"readOnly": true, "type": "boolean", "name": "isDefault"}, {"readOnly": true, "type": "string", "name": "label"}, {"readOnly": true, "type": "string", "name": "version"}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,61 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosversions" version="2022-09-04" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2xvdWRTZXJ2aWNlT3NWZXJzaW9ucw==/V/MjAyMi0wOS0wNA=="/>
<commandGroup name="cloud-service os-version">
<command name="list" version="2022-09-04" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosversions" version="2022-09-04" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2xvdWRTZXJ2aWNlT3NWZXJzaW9ucw==/V/MjAyMi0wOS0wNA=="/>
<argGroup name="">
<arg type="ResourceLocation" var="$Path.location" options="location l" required="True" idPart="name"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="CloudServiceOperatingSystems_ListOSVersions">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions">
<request method="get">
<path>
<param type="string" name="location" arg="$Path.location" required="True"/>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2022-09-04&quot;"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop type="array<object>" name="value" required="True">
<item type="object">
<prop readOnly="True" type="string" name="id"/>
<prop readOnly="True" type="string" name="location"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="string" name="family"/>
<prop readOnly="True" type="string" name="familyLabel"/>
<prop readOnly="True" type="boolean" name="isActive"/>
<prop readOnly="True" type="boolean" name="isDefault"/>
<prop readOnly="True" type="string" name="label"/>
<prop readOnly="True" type="string" name="version"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@ODataV4Format"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosversions/{}", "version": "2022-09-04", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2xvdWRTZXJ2aWNlT3NWZXJzaW9ucy97b3NWZXJzaW9uTmFtZX0=/V/MjAyMi0wOS0wNA=="}], "commandGroups": [{"name": "cloud-service os-version", "commands": [{"name": "show", "version": "2022-09-04", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosversions/{}", "version": "2022-09-04", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2xvdWRTZXJ2aWNlT3NWZXJzaW9ucy97b3NWZXJzaW9uTmFtZX0=/V/MjAyMi0wOS0wNA=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "string", "var": "$Path.osVersionName", "options": ["n", "name", "os-version-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the OS version."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "CloudServiceOperatingSystems_GetOSVersion", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions/{osVersionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true}, {"type": "string", "name": "osVersionName", "arg": "$Path.osVersionName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-09-04"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "family"}, {"readOnly": true, "type": "string", "name": "familyLabel"}, {"readOnly": true, "type": "boolean", "name": "isActive"}, {"readOnly": true, "type": "boolean", "name": "isDefault"}, {"readOnly": true, "type": "string", "name": "label"}, {"readOnly": true, "type": "string", "name": "version"}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,60 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosversions/{}" version="2022-09-04" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2xvdWRTZXJ2aWNlT3NWZXJzaW9ucy97b3NWZXJzaW9uTmFtZX0=/V/MjAyMi0wOS0wNA=="/>
<commandGroup name="cloud-service os-version">
<command name="show" version="2022-09-04" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.compute/locations/{}/cloudserviceosversions/{}" version="2022-09-04" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2xvdWRTZXJ2aWNlT3NWZXJzaW9ucy97b3NWZXJzaW9uTmFtZX0=/V/MjAyMi0wOS0wNA=="/>
<argGroup name="">
<arg type="ResourceLocation" var="$Path.location" options="location l" required="True" idPart="name"/>
<arg type="string" var="$Path.osVersionName" options="os-version-name name n" required="True" idPart="child_name_1">
<help short="Name of the OS version."/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="CloudServiceOperatingSystems_GetOSVersion">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/cloudServiceOsVersions/{osVersionName}">
<request method="get">
<path>
<param type="string" name="location" arg="$Path.location" required="True"/>
<param type="string" name="osVersionName" arg="$Path.osVersionName" required="True"/>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2022-09-04&quot;"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="string" name="id"/>
<prop readOnly="True" type="string" name="location"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop readOnly="True" type="string" name="family"/>
<prop readOnly="True" type="string" name="familyLabel"/>
<prop readOnly="True" type="boolean" name="isActive"/>
<prop readOnly="True" type="boolean" name="isDefault"/>
<prop readOnly="True" type="string" name="label"/>
<prop readOnly="True" type="string" name="version"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@ODataV4Format"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/cloudservices/{}/roleinstances/{}/reimage", "version": "2022-09-04", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jbG91ZFNlcnZpY2VzL3tjbG91ZFNlcnZpY2VOYW1lfS9yb2xlSW5zdGFuY2VzL3tyb2xlSW5zdGFuY2VOYW1lfS9yZWltYWdl/V/MjAyMi0wOS0wNA=="}], "commandGroups": [{"name": "cloud-service role-instance", "commands": [{"name": "reimage", "version": "2022-09-04", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/cloudservices/{}/roleinstances/{}/reimage", "version": "2022-09-04", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jbG91ZFNlcnZpY2VzL3tjbG91ZFNlcnZpY2VOYW1lfS9yb2xlSW5zdGFuY2VzL3tyb2xlSW5zdGFuY2VOYW1lfS9yZWltYWdl/V/MjAyMi0wOS0wNA=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.cloudServiceName", "options": ["cloud-service-name"], "required": true, "idPart": "name", "help": {"short": "Name of the cloud service."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.roleInstanceName", "options": ["role-instance-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the role instance."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "CloudServiceRoleInstances_Reimage", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/reimage", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "cloudServiceName", "arg": "$Path.cloudServiceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "roleInstanceName", "arg": "$Path.roleInstanceName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-09-04"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,46 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/cloudservices/{}/roleinstances/{}/reimage" version="2022-09-04" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jbG91ZFNlcnZpY2VzL3tjbG91ZFNlcnZpY2VOYW1lfS9yb2xlSW5zdGFuY2VzL3tyb2xlSW5zdGFuY2VOYW1lfS9yZWltYWdl/V/MjAyMi0wOS0wNA=="/>
<commandGroup name="cloud-service role-instance">
<command name="reimage" version="2022-09-04" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/cloudservices/{}/roleinstances/{}/reimage" version="2022-09-04" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jbG91ZFNlcnZpY2VzL3tjbG91ZFNlcnZpY2VOYW1lfS9yb2xlSW5zdGFuY2VzL3tyb2xlSW5zdGFuY2VOYW1lfS9yZWltYWdl/V/MjAyMi0wOS0wNA=="/>
<argGroup name="">
<arg type="string" var="$Path.cloudServiceName" options="cloud-service-name" required="True" idPart="name">
<help short="Name of the cloud service."/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.roleInstanceName" options="role-instance-name" required="True" idPart="child_name_1">
<help short="Name of the role instance."/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="CloudServiceRoleInstances_Reimage">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/reimage">
<request method="post">
<path>
<param type="string" name="cloudServiceName" arg="$Path.cloudServiceName" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"/>
<param type="string" name="roleInstanceName" arg="$Path.roleInstanceName" required="True"/>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2022-09-04&quot;"/>
</const>
</query>
</request>
<response statusCode="200"/>
<response statusCode="202"/>
<response isError="True">
<body>
<json>
<schema type="@ODataV4Format"/>
</json>
</body>
</response>
</http>
</operation>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/cloudservices/{}/reimage", "version": "2022-09-04", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jbG91ZFNlcnZpY2VzL3tjbG91ZFNlcnZpY2VOYW1lfS9yZWltYWdl/V/MjAyMi0wOS0wNA=="}], "commandGroups": [{"name": "cloud-service", "commands": [{"name": "reimage", "version": "2022-09-04", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/cloudservices/{}/reimage", "version": "2022-09-04", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jbG91ZFNlcnZpY2VzL3tjbG91ZFNlcnZpY2VOYW1lfS9yZWltYWdl/V/MjAyMi0wOS0wNA=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.cloudServiceName", "options": ["cloud-service-name"], "required": true, "idPart": "name", "help": {"short": "Name of the cloud service."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "array<string>", "var": "$parameters.roleInstances", "options": ["role-instances"], "group": "Parameters", "help": {"short": "List of cloud service role instance names. Value of '*' will signify all role instances of the cloud service."}, "item": {"type": "string"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "CloudServices_Reimage", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/reimage", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "cloudServiceName", "arg": "$Path.cloudServiceName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-09-04"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "props": [{"type": "array<string>", "name": "roleInstances", "arg": "$parameters.roleInstances", "required": true, "item": {"type": "string"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}]}]}]}

Просмотреть файл

@ -0,0 +1,57 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/cloudservices/{}/reimage" version="2022-09-04" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jbG91ZFNlcnZpY2VzL3tjbG91ZFNlcnZpY2VOYW1lfS9yZWltYWdl/V/MjAyMi0wOS0wNA=="/>
<commandGroup name="cloud-service">
<command name="reimage" version="2022-09-04">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/cloudservices/{}/reimage" version="2022-09-04" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jbG91ZFNlcnZpY2VzL3tjbG91ZFNlcnZpY2VOYW1lfS9yZWltYWdl/V/MjAyMi0wOS0wNA=="/>
<argGroup name="">
<arg type="string" var="$Path.cloudServiceName" options="cloud-service-name" required="True" idPart="name">
<help short="Name of the cloud service."/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="Parameters">
<arg type="array<string>" var="$parameters.roleInstances" options="role-instances" group="Parameters">
<help short="List of cloud service role instance names. Value of '*' will signify all role instances of the cloud service."/>
<item type="string"/>
</arg>
</argGroup>
<operation operationId="CloudServices_Reimage">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/reimage">
<request method="post">
<path>
<param type="string" name="cloudServiceName" arg="$Path.cloudServiceName" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"/>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2022-09-04&quot;"/>
</const>
</query>
<body>
<json>
<schema type="object" name="parameters" clientFlatten="True">
<prop type="array<string>" name="roleInstances" arg="$parameters.roleInstances" required="True">
<item type="string"/>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200"/>
<response statusCode="202"/>
<response isError="True">
<body>
<json>
<schema type="@ODataV4Format"/>
</json>
</body>
</response>
</http>
</operation>
</command>
</commandGroup>
</CodeGen>

Просмотреть файл

@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/forcerecoveryservicefabricplatformupdatedomainwalk", "version": "2023-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L2ZvcmNlUmVjb3ZlcnlTZXJ2aWNlRmFicmljUGxhdGZvcm1VcGRhdGVEb21haW5XYWxr/V/MjAyMy0wNy0wMQ=="}], "commandGroups": [{"name": "vmss", "commands": [{"name": "update-domain-walk", "version": "2023-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/forcerecoveryservicefabricplatformupdatedomainwalk", "version": "2023-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L2ZvcmNlUmVjb3ZlcnlTZXJ2aWNlRmFicmljUGxhdGZvcm1VcGRhdGVEb21haW5XYWxr/V/MjAyMy0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vmScaleSetName", "options": ["vmss-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the VM scale set."}}, {"type": "string", "var": "$Query.placementGroupId", "options": ["placement-group-id"], "help": {"short": "The placement group id for which the manual recovery walk is requested."}}, {"type": "integer", "var": "$Query.platformUpdateDomain", "options": ["platform-update-domain"], "required": true, "help": {"short": "The platform update domain for which a manual recovery walk is requested"}}, {"type": "string", "var": "$Query.zone", "options": ["zone"], "help": {"short": "The zone in which the manual recovery walk is requested for cross zone virtual machine scale set"}}]}], "operations": [{"operationId": "VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vmScaleSetName", "arg": "$Path.vmScaleSetName", "required": true}]}, "query": {"params": [{"type": "string", "name": "placementGroupId", "arg": "$Query.placementGroupId"}, {"type": "integer", "name": "platformUpdateDomain", "arg": "$Query.platformUpdateDomain", "required": true}, {"type": "string", "name": "zone", "arg": "$Query.zone"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2023-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "integer", "name": "nextPlatformUpdateDomain"}, {"readOnly": true, "type": "boolean", "name": "walkPerformed"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}

Просмотреть файл

@ -0,0 +1,62 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/forcerecoveryservicefabricplatformupdatedomainwalk" version="2023-07-01" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L2ZvcmNlUmVjb3ZlcnlTZXJ2aWNlRmFicmljUGxhdGZvcm1VcGRhdGVEb21haW5XYWxr/V/MjAyMy0wNy0wMQ=="/>
<commandGroup name="vmss">
<command name="update-domain-walk" version="2023-07-01" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/forcerecoveryservicefabricplatformupdatedomainwalk" version="2023-07-01" swagger="mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L2ZvcmNlUmVjb3ZlcnlTZXJ2aWNlRmFicmljUGxhdGZvcm1VcGRhdGVEb21haW5XYWxr/V/MjAyMy0wNy0wMQ=="/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
<arg type="string" var="$Path.vmScaleSetName" options="vmss-name" required="True" group="" idPart="name">
<help short="The name of the VM scale set."/>
</arg>
<arg type="string" var="$Query.placementGroupId" options="placement-group-id">
<help short="The placement group id for which the manual recovery walk is requested."/>
</arg>
<arg type="integer" var="$Query.platformUpdateDomain" options="platform-update-domain" required="True">
<help short="The platform update domain for which a manual recovery walk is requested"/>
</arg>
<arg type="string" var="$Query.zone" options="zone">
<help short="The zone in which the manual recovery walk is requested for cross zone virtual machine scale set"/>
</arg>
</argGroup>
<operation operationId="VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk">
<request method="post">
<path>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"/>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
<param type="string" name="vmScaleSetName" arg="$Path.vmScaleSetName" required="True"/>
</path>
<query>
<param type="string" name="placementGroupId" arg="$Query.placementGroupId"/>
<param type="integer" name="platformUpdateDomain" arg="$Query.platformUpdateDomain" required="True"/>
<param type="string" name="zone" arg="$Query.zone"/>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2023-07-01&quot;"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="integer" name="nextPlatformUpdateDomain"/>
<prop readOnly="True" type="boolean" name="walkPerformed"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@ODataV4Format"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>