Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30=/2024-03-01.xml (645 lines of code) (raw):

<?xml version='1.0' encoding='utf-8'?> <CodeGen plane="mgmt-plane"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}" version="2024-03-01" swagger="mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="/> <commandGroup name="apic"> <command name="show" version="2024-03-01" confirmation=""> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}" version="2024-03-01" swagger="mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="/> <argGroup name=""> <arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/> <arg type="string" var="$Path.serviceName" options="name n" required="True" group="" idPart="name"> <help short="The name of the API Center service."/> <format pattern="^[a-zA-Z0-9-]{3,90}$" maxLength="90" minLength="1"/> </arg> <arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/> </argGroup> <operation operationId="Services_Get"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}"> <request method="get"> <path> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"> <format maxLength="90" minLength="1"/> </param> <param type="string" name="serviceName" arg="$Path.serviceName" required="True"> <format pattern="^[a-zA-Z0-9-]{3,90}$" maxLength="90" minLength="1"/> </param> <param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2024-03-01&quot;"/> <format minLength="1"/> </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.ApiCenter/services/{}"/> </prop> <prop type="IdentityObject" name="identity"> <prop readOnly="True" type="uuid" name="principalId"/> <prop readOnly="True" type="uuid" name="tenantId"/> <prop type="string" name="type" required="True"> <enum> <item value="&quot;None&quot;"/> <item value="&quot;SystemAssigned&quot;"/> <item value="&quot;SystemAssigned,UserAssigned&quot;"/> <item value="&quot;UserAssigned&quot;"/> </enum> </prop> <prop type="object" name="userAssignedIdentities"> <additionalProp> <item nullable="True" type="object"> <prop readOnly="True" type="uuid" name="clientId"/> <prop readOnly="True" type="uuid" name="principalId"/> </item> </additionalProp> </prop> </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="dataApiHostname"/> <prop readOnly="True" type="string" name="provisioningState"> <enum> <item value="&quot;Canceled&quot;"/> <item value="&quot;Failed&quot;"/> <item value="&quot;Succeeded&quot;"/> </enum> </prop> </prop> <prop type="object" name="sku"> <prop type="integer32" name="capacity"/> <prop type="string" name="family"/> <prop type="string" name="name" required="True"/> <prop type="string" name="size"/> <prop type="string" name="tier"> <enum> <item value="&quot;Basic&quot;"/> <item value="&quot;Free&quot;"/> <item value="&quot;Premium&quot;"/> <item value="&quot;Standard&quot;"/> </enum> </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> <command name="delete" version="2024-03-01" confirmation="Are you sure you want to perform this operation?"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}" version="2024-03-01" swagger="mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="/> <argGroup name=""> <arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/> <arg type="string" var="$Path.serviceName" options="name n" required="True" group="" idPart="name"> <help short="The name of the API Center service."/> <format pattern="^[a-zA-Z0-9-]{3,90}$" maxLength="90" minLength="1"/> </arg> <arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/> </argGroup> <operation operationId="Services_Delete"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}"> <request method="delete"> <path> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"> <format maxLength="90" minLength="1"/> </param> <param type="string" name="serviceName" arg="$Path.serviceName" required="True"> <format pattern="^[a-zA-Z0-9-]{3,90}$" maxLength="90" minLength="1"/> </param> <param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2024-03-01&quot;"/> <format minLength="1"/> </const> </query> </request> <response statusCode="200"/> <response statusCode="204"/> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> </command> <command name="create" version="2024-03-01" confirmation=""> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}" version="2024-03-01" swagger="mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="/> <argGroup name=""> <arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/> <arg type="string" var="$Path.serviceName" options="name n" required="True" group="" idPart="name"> <help short="The name of the API Center service."/> <format pattern="^[a-zA-Z0-9-]{3,90}$" maxLength="90" minLength="1"/> </arg> <arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/> <arg type="object" var="$resource.identity" options="identity" group=""> <help short="The managed service identities assigned to this resource."/> <arg type="string" var="$resource.identity.type" options="type" required="True"> <help short="Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."/> <enum> <item name="None" value="&quot;None&quot;"/> <item name="SystemAssigned" value="&quot;SystemAssigned&quot;"/> <item name="SystemAssigned,UserAssigned" value="&quot;SystemAssigned,UserAssigned&quot;"/> <item name="UserAssigned" value="&quot;UserAssigned&quot;"/> </enum> </arg> <arg type="object" var="$resource.identity.userAssignedIdentities" options="user-assigned-identities"> <help short="The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."/> <additionalProp> <item nullable="True" type="object"> <blank value="{}"/> </item> </additionalProp> </arg> </arg> <arg type="ResourceLocation" var="$resource.location" options="location l" required="True" group=""> <help short="The geo-location where the resource lives"/> </arg> <arg type="object" var="$resource.tags" options="tags" group=""> <help short="Resource tags."/> <additionalProp> <item type="string"/> </additionalProp> </arg> </argGroup> <argGroup name="Sku"> <arg type="integer32" var="$resource.sku.capacity" options="sku-capacity" hide="True" group="Sku"> <help short="If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."/> </arg> <arg type="string" var="$resource.sku.family" options="sku-family" hide="True" group="Sku"> <help short="If the service has different generations of hardware, for the same SKU, then that can be captured here."/> </arg> <arg type="string" var="$resource.sku.name" options="sku-name" group="Sku"> <help short="The name of the SKU. E.g. P3. It is typically a letter+number code"/> <default value="&quot;Free&quot;"/> </arg> <arg type="string" var="$resource.sku.size" options="sku-size" hide="True" group="Sku"> <help short="The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code."/> </arg> <arg type="string" var="$resource.sku.tier" options="sku-tier" hide="True" group="Sku"> <help short="This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT."/> <enum> <item name="Basic" value="&quot;Basic&quot;"/> <item name="Free" value="&quot;Free&quot;"/> <item name="Premium" value="&quot;Premium&quot;"/> <item name="Standard" value="&quot;Standard&quot;"/> </enum> </arg> </argGroup> <operation operationId="Services_CreateOrUpdate"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}"> <request method="put"> <path> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"> <format maxLength="90" minLength="1"/> </param> <param type="string" name="serviceName" arg="$Path.serviceName" required="True"> <format pattern="^[a-zA-Z0-9-]{3,90}$" maxLength="90" minLength="1"/> </param> <param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2024-03-01&quot;"/> <format minLength="1"/> </const> </query> <body> <json> <schema type="object" name="resource" required="True" clientFlatten="True"> <prop type="IdentityObject" name="identity" arg="$resource.identity"> <prop type="string" name="type" arg="$resource.identity.type" required="True"> <enum> <item value="&quot;None&quot;"/> <item value="&quot;SystemAssigned&quot;"/> <item value="&quot;SystemAssigned,UserAssigned&quot;"/> <item value="&quot;UserAssigned&quot;"/> </enum> </prop> <prop type="object" name="userAssignedIdentities" arg="$resource.identity.userAssignedIdentities"> <additionalProp> <item nullable="True" type="object"/> </additionalProp> </prop> </prop> <prop type="ResourceLocation" name="location" arg="$resource.location" required="True"/> <prop type="object" name="sku"> <prop type="integer32" name="capacity" arg="$resource.sku.capacity"/> <prop type="string" name="family" arg="$resource.sku.family"/> <prop type="string" name="name" arg="$resource.sku.name" required="True"/> <prop type="string" name="size" arg="$resource.sku.size"/> <prop type="string" name="tier" arg="$resource.sku.tier"> <enum> <item value="&quot;Basic&quot;"/> <item value="&quot;Free&quot;"/> <item value="&quot;Premium&quot;"/> <item value="&quot;Standard&quot;"/> </enum> </prop> </prop> <prop type="object" name="tags" arg="$resource.tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> </schema> </json> </body> </request> <response statusCode="200 201"> <body> <json var="$Instance"> <schema type="object"> <prop readOnly="True" type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"/> </prop> <prop type="IdentityObject" name="identity"> <prop readOnly="True" type="uuid" name="principalId"/> <prop readOnly="True" type="uuid" name="tenantId"/> <prop type="string" name="type" required="True"> <enum> <item value="&quot;None&quot;"/> <item value="&quot;SystemAssigned&quot;"/> <item value="&quot;SystemAssigned,UserAssigned&quot;"/> <item value="&quot;UserAssigned&quot;"/> </enum> </prop> <prop type="object" name="userAssignedIdentities"> <additionalProp> <item nullable="True" type="object"> <prop readOnly="True" type="uuid" name="clientId"/> <prop readOnly="True" type="uuid" name="principalId"/> </item> </additionalProp> </prop> </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="dataApiHostname"/> <prop readOnly="True" type="string" name="provisioningState"> <enum> <item value="&quot;Canceled&quot;"/> <item value="&quot;Failed&quot;"/> <item value="&quot;Succeeded&quot;"/> </enum> </prop> </prop> <prop type="object" name="sku"> <prop type="integer32" name="capacity"/> <prop type="string" name="family"/> <prop type="string" name="name" required="True"/> <prop type="string" name="size"/> <prop type="string" name="tier"> <enum> <item value="&quot;Basic&quot;"/> <item value="&quot;Free&quot;"/> <item value="&quot;Premium&quot;"/> <item value="&quot;Standard&quot;"/> </enum> </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> <command name="update" version="2024-03-01" confirmation=""> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}" version="2024-03-01" swagger="mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0=/V/MjAyNC0wMy0wMQ=="/> <argGroup name=""> <arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/> <arg type="string" var="$Path.serviceName" options="name n" required="True" group="" idPart="name"> <help short="The name of the API Center service."/> <format pattern="^[a-zA-Z0-9-]{3,90}$" maxLength="90" minLength="1"/> </arg> <arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/> <arg nullable="True" type="object" var="$resource.identity" options="identity" group=""> <help short="The managed service identities assigned to this resource."/> <arg type="string" var="$resource.identity.type" options="type"> <help short="Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."/> <enum> <item name="None" value="&quot;None&quot;"/> <item name="SystemAssigned" value="&quot;SystemAssigned&quot;"/> <item name="SystemAssigned,UserAssigned" value="&quot;SystemAssigned,UserAssigned&quot;"/> <item name="UserAssigned" value="&quot;UserAssigned&quot;"/> </enum> </arg> <arg nullable="True" type="object" var="$resource.identity.userAssignedIdentities" options="user-assigned-identities"> <help short="The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."/> <additionalProp> <item nullable="True" type="object"> <blank value="{}"/> </item> </additionalProp> </arg> </arg> <arg nullable="True" type="object" var="$resource.tags" options="tags" group=""> <help short="Resource tags."/> <additionalProp> <item nullable="True" type="string"/> </additionalProp> </arg> </argGroup> <argGroup name="Sku"> <arg nullable="True" type="integer32" var="$resource.sku.capacity" options="sku-capacity" hide="True" group="Sku"> <help short="If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."/> </arg> <arg nullable="True" type="string" var="$resource.sku.family" options="sku-family" hide="True" group="Sku"> <help short="If the service has different generations of hardware, for the same SKU, then that can be captured here."/> </arg> <arg type="string" var="$resource.sku.name" options="sku-name" hide="True" group="Sku"> <help short="The name of the SKU. E.g. P3. It is typically a letter+number code"/> </arg> <arg nullable="True" type="string" var="$resource.sku.size" options="sku-size" hide="True" group="Sku"> <help short="The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code."/> </arg> <arg nullable="True" type="string" var="$resource.sku.tier" options="sku-tier" hide="True" group="Sku"> <help short="This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT."/> <enum> <item name="Basic" value="&quot;Basic&quot;"/> <item name="Free" value="&quot;Free&quot;"/> <item name="Premium" value="&quot;Premium&quot;"/> <item name="Standard" value="&quot;Standard&quot;"/> </enum> </arg> </argGroup> <operation operationId="Services_Get"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}"> <request method="get"> <path> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"> <format maxLength="90" minLength="1"/> </param> <param type="string" name="serviceName" arg="$Path.serviceName" required="True"> <format pattern="^[a-zA-Z0-9-]{3,90}$" maxLength="90" minLength="1"/> </param> <param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2024-03-01&quot;"/> <format minLength="1"/> </const> </query> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object" cls="Service_read"> <prop readOnly="True" type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}"/> </prop> <prop type="IdentityObject" name="identity"> <prop readOnly="True" type="uuid" name="principalId"/> <prop readOnly="True" type="uuid" name="tenantId"/> <prop type="string" name="type" required="True"> <enum> <item value="&quot;None&quot;"/> <item value="&quot;SystemAssigned&quot;"/> <item value="&quot;SystemAssigned,UserAssigned&quot;"/> <item value="&quot;UserAssigned&quot;"/> </enum> </prop> <prop type="object" name="userAssignedIdentities"> <additionalProp> <item nullable="True" type="object"> <prop readOnly="True" type="uuid" name="clientId"/> <prop readOnly="True" type="uuid" name="principalId"/> </item> </additionalProp> </prop> </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="dataApiHostname"/> <prop readOnly="True" type="string" name="provisioningState"> <enum> <item value="&quot;Canceled&quot;"/> <item value="&quot;Failed&quot;"/> <item value="&quot;Succeeded&quot;"/> </enum> </prop> </prop> <prop type="object" name="sku"> <prop type="integer32" name="capacity"/> <prop type="string" name="family"/> <prop type="string" name="name" required="True"/> <prop type="string" name="size"/> <prop type="string" name="tier"> <enum> <item value="&quot;Basic&quot;"/> <item value="&quot;Free&quot;"/> <item value="&quot;Premium&quot;"/> <item value="&quot;Standard&quot;"/> </enum> </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> <operation> <instanceUpdate ref="$Instance"> <json> <schema type="object" name="resource" required="True" clientFlatten="True"> <prop type="IdentityObject" name="identity" arg="$resource.identity"> <prop type="string" name="type" arg="$resource.identity.type" required="True"> <enum> <item value="&quot;None&quot;"/> <item value="&quot;SystemAssigned&quot;"/> <item value="&quot;SystemAssigned,UserAssigned&quot;"/> <item value="&quot;UserAssigned&quot;"/> </enum> </prop> <prop type="object" name="userAssignedIdentities" arg="$resource.identity.userAssignedIdentities"> <additionalProp> <item nullable="True" type="object"/> </additionalProp> </prop> </prop> <prop type="object" name="sku"> <prop type="integer32" name="capacity" arg="$resource.sku.capacity"/> <prop type="string" name="family" arg="$resource.sku.family"/> <prop type="string" name="name" arg="$resource.sku.name" required="True"/> <prop type="string" name="size" arg="$resource.sku.size"/> <prop type="string" name="tier" arg="$resource.sku.tier"> <enum> <item value="&quot;Basic&quot;"/> <item value="&quot;Free&quot;"/> <item value="&quot;Premium&quot;"/> <item value="&quot;Standard&quot;"/> </enum> </prop> </prop> <prop type="object" name="tags" arg="$resource.tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> </schema> </json> </instanceUpdate> </operation> <operation operationId="Services_CreateOrUpdate"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}"> <request method="put"> <path> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"> <format maxLength="90" minLength="1"/> </param> <param type="string" name="serviceName" arg="$Path.serviceName" required="True"> <format pattern="^[a-zA-Z0-9-]{3,90}$" maxLength="90" minLength="1"/> </param> <param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2024-03-01&quot;"/> <format minLength="1"/> </const> </query> <body> <json ref="$Instance"/> </body> </request> <response statusCode="200 201"> <body> <json var="$Instance"> <schema type="@Service_read"/> </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> </CodeGen>