Skip to content

Commit

Permalink
chore: remove useless resources
Browse files Browse the repository at this point in the history
  • Loading branch information
necusjz committed Dec 19, 2024
1 parent 92dfcee commit 4340033
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 595 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -404,186 +404,5 @@
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
<commandGroup name="sap-virtual-instance application-instance">
<command name="update" version="2023-10-01-preview">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.workloads/sapvirtualinstances/{}/applicationinstances/{}" version="2023-10-01-preview" swagger="mgmt-plane/workloads/ResourceProviders/Microsoft.Workloads/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuV29ya2xvYWRzL3NhcFZpcnR1YWxJbnN0YW5jZXMve3NhcFZpcnR1YWxJbnN0YW5jZU5hbWV9L2FwcGxpY2F0aW9uSW5zdGFuY2VzL3thcHBsaWNhdGlvbkluc3RhbmNlTmFtZX0=/V/MjAyMy0xMC0wMS1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.applicationInstanceName" options="application-instance-name name n" required="True" idPart="child_name_1">
<help short="The name of SAP Application Server instance resource."/>
<format pattern="^.*"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.sapVirtualInstanceName" options="sap-virtual-instance-name" required="True" idPart="name">
<help short="The name of the Virtual Instances for SAP solutions resource"/>
<format pattern="^[a-zA-Z][a-zA-Z0-9]{2}$"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="Body">
<arg type="object" var="$body.tags" options="tags" group="Body">
<help short="Gets or sets the Resource tags."/>
<additionalProp>
<item type="string"/>
</additionalProp>
</arg>
</argGroup>
<operation operationId="SAPApplicationServerInstances_Update">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName}">
<request method="patch">
<path>
<param type="string" name="applicationInstanceName" arg="$Path.applicationInstanceName" required="True">
<format pattern="^.*"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="string" name="sapVirtualInstanceName" arg="$Path.sapVirtualInstanceName" required="True">
<format pattern="^[a-zA-Z][a-zA-Z0-9]{2}$"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
<format minLength="1"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2023-10-01-preview&quot;"/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="body" clientFlatten="True">
<prop type="object" name="tags" arg="$body.tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Workloads/sapVirtualInstances/{}/applicationInstances/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="string" name="dispatcherStatus"/>
<prop readOnly="True" type="object" name="errors">
<prop type="object" name="properties" cls="ErrorDefinition_read">
<prop readOnly="True" type="string" name="code"/>
<prop readOnly="True" type="array<@ErrorDefinition_read>" name="details">
<item type="@ErrorDefinition_read"/>
</prop>
<prop readOnly="True" type="string" name="message"/>
</prop>
</prop>
<prop readOnly="True" nullable="True" type="integer64" name="gatewayPort"/>
<prop readOnly="True" type="string" name="health">
<enum>
<item value="&quot;Degraded&quot;"/>
<item value="&quot;Healthy&quot;"/>
<item value="&quot;Unhealthy&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="hostname"/>
<prop readOnly="True" nullable="True" type="integer64" name="icmHttpPort"/>
<prop readOnly="True" nullable="True" type="integer64" name="icmHttpsPort"/>
<prop readOnly="True" type="string" name="instanceNo"/>
<prop readOnly="True" type="string" name="ipAddress"/>
<prop readOnly="True" type="string" name="kernelPatch"/>
<prop readOnly="True" type="string" name="kernelVersion"/>
<prop readOnly="True" type="object" name="loadBalancerDetails">
<prop readOnly="True" type="string" name="id"/>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Canceled&quot;"/>
<item value="&quot;Creating&quot;"/>
<item value="&quot;Deleting&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Succeeded&quot;"/>
<item value="&quot;Updating&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="status">
<enum>
<item value="&quot;Offline&quot;"/>
<item value="&quot;PartiallyRunning&quot;"/>
<item value="&quot;Running&quot;"/>
<item value="&quot;SoftShutdown&quot;"/>
<item value="&quot;Starting&quot;"/>
<item value="&quot;Stopping&quot;"/>
<item value="&quot;Unavailable&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="subnet"/>
<prop readOnly="True" type="array<object>" name="vmDetails">
<item type="object">
<prop readOnly="True" type="array<object>" name="storageDetails">
<item type="object">
<prop readOnly="True" type="string" name="id"/>
</item>
</prop>
<prop readOnly="True" type="string" name="type">
<enum>
<item value="&quot;Active&quot;"/>
<item value="&quot;Standby&quot;"/>
<item value="&quot;Unknown&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="virtualMachineId"/>
</item>
</prop>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</commandGroup>
</CodeGen>

Large diffs are not rendered by default.

Loading

0 comments on commit 4340033

Please sign in to comment.