Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jing-song committed Jul 26, 2023
1 parent 672532f commit 2d66680
Show file tree
Hide file tree
Showing 6 changed files with 165 additions and 165 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,130 @@
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}" version="2017-04-01" swagger="mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
<commandGroup name="notification-hub namespace">
<command name="show" version="2017-04-01" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}" version="2017-04-01" swagger="mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.namespaceName" options="name n" required="True" group="" idPart="name">
<help short="The namespace name."/>
</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>
<operation operationId="Namespaces_Get">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}">
<request method="get">
<path>
<param type="string" name="namespaceName" arg="$Path.namespaceName" 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;2017-04-01&quot;"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}"/>
</prop>
<prop type="ResourceLocation" name="location"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="dateTime" name="createdAt"/>
<prop type="boolean" name="critical"/>
<prop type="string" name="dataCenter"/>
<prop type="boolean" name="enabled"/>
<prop readOnly="True" type="string" name="metricId"/>
<prop type="string" name="name"/>
<prop type="string" name="namespaceType">
<enum>
<item value="&quot;Messaging&quot;"/>
<item value="&quot;NotificationHub&quot;"/>
</enum>
</prop>
<prop type="string" name="provisioningState"/>
<prop type="string" name="region"/>
<prop type="string" name="scaleUnit"/>
<prop type="string" name="serviceBusEndpoint"/>
<prop type="string" name="status"/>
<prop type="string" name="subscriptionId"/>
<prop type="dateTime" name="updatedAt"/>
</prop>
<prop type="object" name="sku">
<prop type="integer" name="capacity"/>
<prop type="string" name="family"/>
<prop type="string" name="name" required="True">
<enum>
<item value="&quot;Basic&quot;"/>
<item value="&quot;Free&quot;"/>
<item value="&quot;Standard&quot;"/>
</enum>
</prop>
<prop type="string" name="size"/>
<prop type="string" name="tier"/>
</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>
<command name="delete" version="2017-04-01" confirmation="Are you sure you want to perform this operation?">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}" version="2017-04-01" swagger="mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.namespaceName" options="name n" required="True" group="" idPart="name">
<help short="The namespace name."/>
</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>
<operation operationId="Namespaces_Delete">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}">
<request method="delete">
<path>
<param type="string" name="namespaceName" arg="$Path.namespaceName" 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;2017-04-01&quot;"/>
</const>
</query>
</request>
<response statusCode="200"/>
<response statusCode="202"/>
<response statusCode="204"/>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
</command>
<command name="create" version="2017-04-01" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}" version="2017-04-01" swagger="mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
<argGroup name="">
Expand Down Expand Up @@ -209,130 +333,6 @@
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="delete" version="2017-04-01" confirmation="Are you sure you want to perform this operation?">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}" version="2017-04-01" swagger="mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.namespaceName" options="name n" required="True" group="" idPart="name">
<help short="The namespace name."/>
</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>
<operation operationId="Namespaces_Delete">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}">
<request method="delete">
<path>
<param type="string" name="namespaceName" arg="$Path.namespaceName" 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;2017-04-01&quot;"/>
</const>
</query>
</request>
<response statusCode="200"/>
<response statusCode="202"/>
<response statusCode="204"/>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
</command>
<command name="show" version="2017-04-01" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}" version="2017-04-01" swagger="mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.namespaceName" options="name n" required="True" group="" idPart="name">
<help short="The namespace name."/>
</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>
<operation operationId="Namespaces_Get">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}">
<request method="get">
<path>
<param type="string" name="namespaceName" arg="$Path.namespaceName" 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;2017-04-01&quot;"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NotificationHubs/namespaces/{}"/>
</prop>
<prop type="ResourceLocation" name="location"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="dateTime" name="createdAt"/>
<prop type="boolean" name="critical"/>
<prop type="string" name="dataCenter"/>
<prop type="boolean" name="enabled"/>
<prop readOnly="True" type="string" name="metricId"/>
<prop type="string" name="name"/>
<prop type="string" name="namespaceType">
<enum>
<item value="&quot;Messaging&quot;"/>
<item value="&quot;NotificationHub&quot;"/>
</enum>
</prop>
<prop type="string" name="provisioningState"/>
<prop type="string" name="region"/>
<prop type="string" name="scaleUnit"/>
<prop type="string" name="serviceBusEndpoint"/>
<prop type="string" name="status"/>
<prop type="string" name="subscriptionId"/>
<prop type="dateTime" name="updatedAt"/>
</prop>
<prop type="object" name="sku">
<prop type="integer" name="capacity"/>
<prop type="string" name="family"/>
<prop type="string" name="name" required="True">
<enum>
<item value="&quot;Basic&quot;"/>
<item value="&quot;Free&quot;"/>
<item value="&quot;Standard&quot;"/>
</enum>
</prop>
<prop type="string" name="size"/>
<prop type="string" name="tier"/>
</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>
<command name="update" version="2017-04-01" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.notificationhubs/namespaces/{}" version="2017-04-01" swagger="mgmt-plane/notificationhubs/ResourceProviders/Microsoft.NotificationHubs/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTm90aWZpY2F0aW9uSHVicy9uYW1lc3BhY2VzL3tuYW1lc3BhY2VOYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
<argGroup name="">
Expand Down
Loading

0 comments on commit 2d66680

Please sign in to comment.