Skip to content

Commit

Permalink
Export commands after merging latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sethuram S committed Dec 23, 2024
1 parent df43ed4 commit 0b8027f
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 102 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@
</arg>
<arg type="string" var="$configuration.properties.installPatches.rebootSetting" options="reboot-setting" group="InstallPatches">
<help short="Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed."/>
<default value="&quot;IfRequired&quot;"/>
<enum>
<item name="Always" value="&quot;Always&quot;"/>
<item name="IfRequired" value="&quot;IfRequired&quot;"/>
Expand Down Expand Up @@ -632,6 +633,7 @@
</arg>
<arg type="string" var="$configuration.properties.installPatches.rebootSetting" options="reboot-setting" group="InstallPatches">
<help short="Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed."/>
<default value="&quot;IfRequired&quot;"/>
<enum>
<item name="Always" value="&quot;Always&quot;"/>
<item name="IfRequired" value="&quot;IfRequired&quot;"/>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="update" version="2023-10-01-preview">
<command name="create-or-update" version="2023-10-01-preview" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/{}/{}/{}/providers/microsoft.maintenance/applyupdates/{}" version="2023-10-01-preview" swagger="mgmt-plane/maintenance/ResourceProviders/Microsoft.Maintenance/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy97cHJvdmlkZXJOYW1lfS97cmVzb3VyY2VUeXBlfS97cmVzb3VyY2VOYW1lfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk1haW50ZW5hbmNlL2FwcGx5VXBkYXRlcy97YXBwbHlVcGRhdGVOYW1lfQ==/V/MjAyMy0xMC0wMS1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.applyUpdateName" options="apply-update-name name n" required="True" idPart="child_name_1">
<help short="applyUpdate Id"/>
<help short="ApplyUpdate name"/>
</arg>
<arg type="string" var="$Path.providerName" options="provider-name" required="True" idPart="namespace">
<help short="Resource provider name"/>
Expand All @@ -116,13 +116,13 @@
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="Properties">
<arg nullable="True" type="dateTime" var="$applyUpdate.properties.lastUpdateTime" options="last-update-time" group="Properties">
<arg type="dateTime" var="$applyUpdate.properties.lastUpdateTime" options="last-update-time" group="Properties">
<help short="Last Update time"/>
</arg>
<arg nullable="True" type="string" var="$applyUpdate.properties.resourceId" options="resource-id" group="Properties">
<arg type="string" var="$applyUpdate.properties.resourceId" options="resource-id" group="Properties">
<help short="The resourceId"/>
</arg>
<arg nullable="True" type="string" var="$applyUpdate.properties.status" options="status" group="Properties">
<arg type="string" var="$applyUpdate.properties.status" options="status" group="Properties">
<help short="The status"/>
<enum>
<item name="Cancel" value="&quot;Cancel&quot;"/>
Expand All @@ -136,9 +136,9 @@
</enum>
</arg>
</argGroup>
<operation operationId="ApplyUpdates_Get">
<operation operationId="ApplyUpdates_CreateOrUpdateOrCancel">
<http path="/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}">
<request method="get">
<request method="put">
<path>
<param type="string" name="applyUpdateName" arg="$Path.applyUpdateName" required="True"/>
<param type="string" name="providerName" arg="$Path.providerName" required="True"/>
Expand All @@ -152,11 +152,33 @@
<default value="&quot;2023-10-01-preview&quot;"/>
</const>
</query>
<body>
<json>
<schema type="object" name="applyUpdate" required="True" clientFlatten="True">
<prop type="object" name="properties" clientFlatten="True">
<prop type="dateTime" name="lastUpdateTime" arg="$applyUpdate.properties.lastUpdateTime"/>
<prop type="string" name="resourceId" arg="$applyUpdate.properties.resourceId"/>
<prop type="string" name="status" arg="$applyUpdate.properties.status">
<enum>
<item value="&quot;Cancel&quot;"/>
<item value="&quot;Cancelled&quot;"/>
<item value="&quot;Completed&quot;"/>
<item value="&quot;InProgress&quot;"/>
<item value="&quot;NoUpdatesPending&quot;"/>
<item value="&quot;Pending&quot;"/>
<item value="&quot;RetryLater&quot;"/>
<item value="&quot;RetryNow&quot;"/>
</enum>
</prop>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<response statusCode="200 201">
<body>
<json var="$Instance">
<schema type="object" cls="ApplyUpdate_read">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
Expand Down Expand Up @@ -211,73 +233,13 @@
</response>
</http>
</operation>
<operation>
<instanceUpdate ref="$Instance">
<json>
<schema type="object" name="applyUpdate" required="True" clientFlatten="True">
<prop type="object" name="properties" clientFlatten="True">
<prop type="dateTime" name="lastUpdateTime" arg="$applyUpdate.properties.lastUpdateTime"/>
<prop type="string" name="resourceId" arg="$applyUpdate.properties.resourceId"/>
<prop type="string" name="status" arg="$applyUpdate.properties.status">
<enum>
<item value="&quot;Cancel&quot;"/>
<item value="&quot;Cancelled&quot;"/>
<item value="&quot;Completed&quot;"/>
<item value="&quot;InProgress&quot;"/>
<item value="&quot;NoUpdatesPending&quot;"/>
<item value="&quot;Pending&quot;"/>
<item value="&quot;RetryLater&quot;"/>
<item value="&quot;RetryNow&quot;"/>
</enum>
</prop>
</prop>
</schema>
</json>
</instanceUpdate>
</operation>
<operation operationId="ApplyUpdates_CreateOrUpdateOrCancel">
<http path="/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}">
<request method="put">
<path>
<param type="string" name="applyUpdateName" arg="$Path.applyUpdateName" required="True"/>
<param type="string" name="providerName" arg="$Path.providerName" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"/>
<param type="string" name="resourceName" arg="$Path.resourceName" required="True"/>
<param type="string" name="resourceType" arg="$Path.resourceType" 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;2023-10-01-preview&quot;"/>
</const>
</query>
<body>
<json ref="$Instance"/>
</body>
</request>
<response statusCode="200 201">
<body>
<json var="$Instance">
<schema type="@ApplyUpdate_read"/>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@ODataV4Format"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="create-or-update" version="2023-10-01-preview" confirmation="">
<command name="update" version="2023-10-01-preview">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/{}/{}/{}/providers/microsoft.maintenance/applyupdates/{}" version="2023-10-01-preview" swagger="mgmt-plane/maintenance/ResourceProviders/Microsoft.Maintenance/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy97cHJvdmlkZXJOYW1lfS97cmVzb3VyY2VUeXBlfS97cmVzb3VyY2VOYW1lfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk1haW50ZW5hbmNlL2FwcGx5VXBkYXRlcy97YXBwbHlVcGRhdGVOYW1lfQ==/V/MjAyMy0xMC0wMS1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.applyUpdateName" options="apply-update-name name n" required="True" idPart="child_name_1">
<help short="ApplyUpdate name"/>
<help short="applyUpdate Id"/>
</arg>
<arg type="string" var="$Path.providerName" options="provider-name" required="True" idPart="namespace">
<help short="Resource provider name"/>
Expand All @@ -292,13 +254,13 @@
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="Properties">
<arg type="dateTime" var="$applyUpdate.properties.lastUpdateTime" options="last-update-time" group="Properties">
<arg nullable="True" type="dateTime" var="$applyUpdate.properties.lastUpdateTime" options="last-update-time" group="Properties">
<help short="Last Update time"/>
</arg>
<arg type="string" var="$applyUpdate.properties.resourceId" options="resource-id" group="Properties">
<arg nullable="True" type="string" var="$applyUpdate.properties.resourceId" options="resource-id" group="Properties">
<help short="The resourceId"/>
</arg>
<arg type="string" var="$applyUpdate.properties.status" options="status" group="Properties">
<arg nullable="True" type="string" var="$applyUpdate.properties.status" options="status" group="Properties">
<help short="The status"/>
<enum>
<item name="Cancel" value="&quot;Cancel&quot;"/>
Expand All @@ -312,9 +274,9 @@
</enum>
</arg>
</argGroup>
<operation operationId="ApplyUpdates_CreateOrUpdateOrCancel">
<operation operationId="ApplyUpdates_Get">
<http path="/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}">
<request method="put">
<request method="get">
<path>
<param type="string" name="applyUpdateName" arg="$Path.applyUpdateName" required="True"/>
<param type="string" name="providerName" arg="$Path.providerName" required="True"/>
Expand All @@ -328,33 +290,11 @@
<default value="&quot;2023-10-01-preview&quot;"/>
</const>
</query>
<body>
<json>
<schema type="object" name="applyUpdate" required="True" clientFlatten="True">
<prop type="object" name="properties" clientFlatten="True">
<prop type="dateTime" name="lastUpdateTime" arg="$applyUpdate.properties.lastUpdateTime"/>
<prop type="string" name="resourceId" arg="$applyUpdate.properties.resourceId"/>
<prop type="string" name="status" arg="$applyUpdate.properties.status">
<enum>
<item value="&quot;Cancel&quot;"/>
<item value="&quot;Cancelled&quot;"/>
<item value="&quot;Completed&quot;"/>
<item value="&quot;InProgress&quot;"/>
<item value="&quot;NoUpdatesPending&quot;"/>
<item value="&quot;Pending&quot;"/>
<item value="&quot;RetryLater&quot;"/>
<item value="&quot;RetryNow&quot;"/>
</enum>
</prop>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200 201">
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<schema type="object" cls="ApplyUpdate_read">
<prop readOnly="True" type="ResourceId" name="id"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
Expand Down Expand Up @@ -409,6 +349,66 @@
</response>
</http>
</operation>
<operation>
<instanceUpdate ref="$Instance">
<json>
<schema type="object" name="applyUpdate" required="True" clientFlatten="True">
<prop type="object" name="properties" clientFlatten="True">
<prop type="dateTime" name="lastUpdateTime" arg="$applyUpdate.properties.lastUpdateTime"/>
<prop type="string" name="resourceId" arg="$applyUpdate.properties.resourceId"/>
<prop type="string" name="status" arg="$applyUpdate.properties.status">
<enum>
<item value="&quot;Cancel&quot;"/>
<item value="&quot;Cancelled&quot;"/>
<item value="&quot;Completed&quot;"/>
<item value="&quot;InProgress&quot;"/>
<item value="&quot;NoUpdatesPending&quot;"/>
<item value="&quot;Pending&quot;"/>
<item value="&quot;RetryLater&quot;"/>
<item value="&quot;RetryNow&quot;"/>
</enum>
</prop>
</prop>
</schema>
</json>
</instanceUpdate>
</operation>
<operation operationId="ApplyUpdates_CreateOrUpdateOrCancel">
<http path="/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}">
<request method="put">
<path>
<param type="string" name="applyUpdateName" arg="$Path.applyUpdateName" required="True"/>
<param type="string" name="providerName" arg="$Path.providerName" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"/>
<param type="string" name="resourceName" arg="$Path.resourceName" required="True"/>
<param type="string" name="resourceType" arg="$Path.resourceType" 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;2023-10-01-preview&quot;"/>
</const>
</query>
<body>
<json ref="$Instance"/>
</body>
</request>
<response statusCode="200 201">
<body>
<json var="$Instance">
<schema type="@ApplyUpdate_read"/>
</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>
Expand Down

0 comments on commit 0b8027f

Please sign in to comment.