Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Ruc3pvbmVzL3t9/2023-07-01-preview.xml (605 lines of code) (raw):

<?xml version='1.0' encoding='utf-8'?> <CodeGen plane="mgmt-plane"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnszones/{}" version="2023-07-01-preview" swagger="mgmt-plane/dns/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kbnNab25lcy97em9uZU5hbWV9/V/MjAyMy0wNy0wMS1wcmV2aWV3"/> <commandGroup name="network dns zone"> <command name="show" version="2023-07-01-preview"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnszones/{}" version="2023-07-01-preview" swagger="mgmt-plane/dns/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kbnNab25lcy97em9uZU5hbWV9/V/MjAyMy0wNy0wMS1wcmV2aWV3"/> <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.zoneName" options="zone-name name n" required="True" idPart="name"> <help short="The name of the DNS zone (without a terminating dot)."/> </arg> </argGroup> <operation operationId="Zones_Get"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}"> <request method="get"> <path> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"> <format maxLength="90" minLength="1"/> </param> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"> <format minLength="1"/> </param> <param type="string" name="zoneName" arg="$Path.zoneName" required="True"/> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2023-07-01-preview&quot;"/> <format minLength="1"/> </const> </query> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object"> <prop type="string" name="etag"/> <prop readOnly="True" type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/dnsZones/{}"/> </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="integer64" name="maxNumberOfRecordSets"/> <prop readOnly="True" type="integer64" name="maxNumberOfRecordsPerRecordSet"/> <prop readOnly="True" type="array<string>" name="nameServers"> <item type="string"/> </prop> <prop readOnly="True" type="integer64" name="numberOfRecordSets"/> <prop type="array<object>" name="registrationVirtualNetworks"> <item type="object" cls="SubResource_read"> <prop type="string" name="id"/> </item> </prop> <prop type="array<@SubResource_read>" name="resolutionVirtualNetworks"> <item type="@SubResource_read"/> </prop> <prop readOnly="True" type="array<object>" name="signingKeys"> <item type="object"> <prop readOnly="True" type="array<object>" name="delegationSignerInfo"> <item type="object"> <prop type="integer32" name="digestAlgorithmType"/> <prop readOnly="True" type="string" name="digestValue"/> <prop readOnly="True" type="string" name="record"/> </item> </prop> <prop readOnly="True" type="integer32" name="flags"/> <prop readOnly="True" type="integer32" name="keyTag"/> <prop readOnly="True" type="integer32" name="protocol"/> <prop readOnly="True" type="string" name="publicKey"/> <prop type="integer32" name="securityAlgorithmType"/> </item> </prop> <prop type="string" name="zoneType"> <default value="&quot;Public&quot;"/> <enum> <item value="&quot;Private&quot;"/> <item value="&quot;Public&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="@ODataV4Format"/> </json> </body> </response> </http> </operation> <output type="object" ref="$Instance" clientFlatten="True"/> </command> <command name="delete" version="2023-07-01-preview" confirmation="Are you sure you want to perform this operation?"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnszones/{}" version="2023-07-01-preview" swagger="mgmt-plane/dns/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kbnNab25lcy97em9uZU5hbWV9/V/MjAyMy0wNy0wMS1wcmV2aWV3"/> <argGroup name=""> <arg type="string" var="$Header.If-Match" options="if-match"> <help short="The etag of the DNS zone. Omit this value to always delete the current zone. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes."/> </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"/> <arg type="string" var="$Path.zoneName" options="zone-name name n" required="True" idPart="name"> <help short="The name of the DNS zone (without a terminating dot)."/> </arg> </argGroup> <operation operationId="Zones_Delete"> <longRunning finalStateVia="azure-async-operation"/> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}"> <request method="delete"> <path> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"> <format maxLength="90" minLength="1"/> </param> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"> <format minLength="1"/> </param> <param type="string" name="zoneName" arg="$Path.zoneName" required="True"/> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2023-07-01-preview&quot;"/> <format minLength="1"/> </const> </query> <header> <param type="string" name="If-Match" arg="$Header.If-Match"/> </header> </request> <response statusCode="200"/> <response statusCode="202"> <header> <item name="Location"/> </header> </response> <response statusCode="204"/> <response isError="True"> <body> <json> <schema type="@ODataV4Format"/> </json> </body> </response> </http> </operation> </command> <command name="create" version="2023-07-01-preview"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnszones/{}" version="2023-07-01-preview" swagger="mgmt-plane/dns/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kbnNab25lcy97em9uZU5hbWV9/V/MjAyMy0wNy0wMS1wcmV2aWV3"/> <argGroup name=""> <arg type="string" var="$Header.If-Match" options="if-match"> <help short="The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes."/> </arg> <arg type="string" var="$Header.If-None-Match" options="if-none-match"> <help short="Set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored."/> </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"/> <arg type="string" var="$Path.zoneName" options="zone-name name n" required="True" idPart="name"> <help short="The name of the DNS zone (without a terminating dot)."/> </arg> </argGroup> <argGroup name="Parameters"> <arg type="string" var="$parameters.etag" options="etag" group="Parameters"> <help short="The etag of the zone."/> </arg> <arg type="ResourceLocation" var="$parameters.location" options="location l" required="True" group="Parameters"> <help short="Resource location."/> </arg> <arg type="object" var="$parameters.tags" options="tags" group="Parameters"> <help short="Resource tags."/> <additionalProp> <item type="string"/> </additionalProp> </arg> </argGroup> <argGroup name="Properties"> <arg type="array<object>" var="$parameters.properties.registrationVirtualNetworks" options="registration-vnets" hide="True" group="Properties"> <help short="A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private."/> <item type="object" cls="SubResource_create"> <arg type="string" var="@SubResource_create.id" options="id"> <help short="Resource Id."/> </arg> </item> </arg> <arg type="array<@SubResource_create>" var="$parameters.properties.resolutionVirtualNetworks" options="resolution-vnets" hide="True" group="Properties"> <help short="A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private."/> <item type="@SubResource_create"/> </arg> <arg type="string" var="$parameters.properties.zoneType" options="zone-type" hide="True" group="Properties"> <help short="The type of this DNS zone (Public or Private)."/> <default value="&quot;Public&quot;"/> <enum> <item name="Private" value="&quot;Private&quot;"/> <item name="Public" value="&quot;Public&quot;"/> </enum> </arg> </argGroup> <operation operationId="Zones_CreateOrUpdate"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}"> <request method="put"> <path> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"> <format maxLength="90" minLength="1"/> </param> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"> <format minLength="1"/> </param> <param type="string" name="zoneName" arg="$Path.zoneName" required="True"/> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2023-07-01-preview&quot;"/> <format minLength="1"/> </const> </query> <header> <param type="string" name="If-Match" arg="$Header.If-Match"/> <param type="string" name="If-None-Match" arg="$Header.If-None-Match"/> </header> <body> <json> <schema type="object" name="parameters" required="True" clientFlatten="True"> <prop type="string" name="etag" arg="$parameters.etag"/> <prop type="ResourceLocation" name="location" arg="$parameters.location" required="True"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<object>" name="registrationVirtualNetworks" arg="$parameters.properties.registrationVirtualNetworks"> <item type="object" cls="SubResource_create"> <prop type="string" name="id" arg="@SubResource_create.id"/> </item> </prop> <prop type="array<@SubResource_create>" name="resolutionVirtualNetworks" arg="$parameters.properties.resolutionVirtualNetworks"> <item type="@SubResource_create"/> </prop> <prop type="string" name="zoneType" arg="$parameters.properties.zoneType"> <default value="&quot;Public&quot;"/> <enum> <item value="&quot;Private&quot;"/> <item value="&quot;Public&quot;"/> </enum> </prop> </prop> <prop type="object" name="tags" arg="$parameters.tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> </schema> </json> </body> </request> <response statusCode="200 201"> <body> <json var="$Instance"> <schema type="object"> <prop type="string" name="etag"/> <prop readOnly="True" type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/dnsZones/{}"/> </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="integer64" name="maxNumberOfRecordSets"/> <prop readOnly="True" type="integer64" name="maxNumberOfRecordsPerRecordSet"/> <prop readOnly="True" type="array<string>" name="nameServers"> <item type="string"/> </prop> <prop readOnly="True" type="integer64" name="numberOfRecordSets"/> <prop type="array<object>" name="registrationVirtualNetworks"> <item type="object" cls="SubResource_read"> <prop type="string" name="id"/> </item> </prop> <prop type="array<@SubResource_read>" name="resolutionVirtualNetworks"> <item type="@SubResource_read"/> </prop> <prop readOnly="True" type="array<object>" name="signingKeys"> <item type="object"> <prop readOnly="True" type="array<object>" name="delegationSignerInfo"> <item type="object"> <prop type="integer32" name="digestAlgorithmType"/> <prop readOnly="True" type="string" name="digestValue"/> <prop readOnly="True" type="string" name="record"/> </item> </prop> <prop readOnly="True" type="integer32" name="flags"/> <prop readOnly="True" type="integer32" name="keyTag"/> <prop readOnly="True" type="integer32" name="protocol"/> <prop readOnly="True" type="string" name="publicKey"/> <prop type="integer32" name="securityAlgorithmType"/> </item> </prop> <prop type="string" name="zoneType"> <default value="&quot;Public&quot;"/> <enum> <item value="&quot;Private&quot;"/> <item value="&quot;Public&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="@ODataV4Format"/> </json> </body> </response> </http> </operation> <output type="object" ref="$Instance" clientFlatten="True"/> </command> <command name="update" version="2023-07-01-preview"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/dnszones/{}" version="2023-07-01-preview" swagger="mgmt-plane/dns/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kbnNab25lcy97em9uZU5hbWV9/V/MjAyMy0wNy0wMS1wcmV2aWV3"/> <argGroup name=""> <arg type="string" var="$Header.If-Match" options="if-match"> <help short="The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes."/> </arg> <arg type="string" var="$Header.If-None-Match" options="if-none-match" hide="True" group=""> <help short="Set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored."/> </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"/> <arg type="string" var="$Path.zoneName" options="zone-name name n" required="True" idPart="name"> <help short="The name of the DNS zone (without a terminating dot)."/> </arg> </argGroup> <argGroup name="Parameters"> <arg nullable="True" type="string" var="$parameters.etag" options="etag" hide="True" group="Parameters"> <help short="The etag of the zone."/> </arg> <arg nullable="True" type="object" var="$parameters.tags" options="tags" group="Parameters"> <help short="Resource tags."/> <additionalProp> <item nullable="True" type="string"/> </additionalProp> </arg> </argGroup> <argGroup name="Properties"> <arg nullable="True" type="array<object>" var="$parameters.properties.registrationVirtualNetworks" options="registration-vnets" hide="True" group="Properties"> <help short="A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private."/> <item nullable="True" type="object" cls="SubResource_update"> <arg nullable="True" type="string" var="@SubResource_update.id" options="id"> <help short="Resource Id."/> </arg> </item> </arg> <arg nullable="True" type="array<@SubResource_update>" var="$parameters.properties.resolutionVirtualNetworks" options="resolution-vnets" hide="True" group="Properties"> <help short="A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private."/> <item nullable="True" type="@SubResource_update"/> </arg> <arg nullable="True" type="string" var="$parameters.properties.zoneType" options="zone-type" hide="True" group="Properties"> <help short="The type of this DNS zone (Public or Private)."/> <enum> <item name="Private" value="&quot;Private&quot;"/> <item name="Public" value="&quot;Public&quot;"/> </enum> </arg> </argGroup> <operation operationId="Zones_Get"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}"> <request method="get"> <path> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"> <format maxLength="90" minLength="1"/> </param> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"> <format minLength="1"/> </param> <param type="string" name="zoneName" arg="$Path.zoneName" required="True"/> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2023-07-01-preview&quot;"/> <format minLength="1"/> </const> </query> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object" cls="Zone_read"> <prop type="string" name="etag"/> <prop readOnly="True" type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/dnsZones/{}"/> </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="integer64" name="maxNumberOfRecordSets"/> <prop readOnly="True" type="integer64" name="maxNumberOfRecordsPerRecordSet"/> <prop readOnly="True" type="array<string>" name="nameServers"> <item type="string"/> </prop> <prop readOnly="True" type="integer64" name="numberOfRecordSets"/> <prop type="array<object>" name="registrationVirtualNetworks"> <item type="object" cls="SubResource_read"> <prop type="string" name="id"/> </item> </prop> <prop type="array<@SubResource_read>" name="resolutionVirtualNetworks"> <item type="@SubResource_read"/> </prop> <prop readOnly="True" type="array<object>" name="signingKeys"> <item type="object"> <prop readOnly="True" type="array<object>" name="delegationSignerInfo"> <item type="object"> <prop type="integer32" name="digestAlgorithmType"/> <prop readOnly="True" type="string" name="digestValue"/> <prop readOnly="True" type="string" name="record"/> </item> </prop> <prop readOnly="True" type="integer32" name="flags"/> <prop readOnly="True" type="integer32" name="keyTag"/> <prop readOnly="True" type="integer32" name="protocol"/> <prop readOnly="True" type="string" name="publicKey"/> <prop type="integer32" name="securityAlgorithmType"/> </item> </prop> <prop type="string" name="zoneType"> <default value="&quot;Public&quot;"/> <enum> <item value="&quot;Private&quot;"/> <item value="&quot;Public&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="@ODataV4Format"/> </json> </body> </response> </http> </operation> <operation> <instanceUpdate ref="$Instance"> <json> <schema type="object" name="parameters" required="True" clientFlatten="True"> <prop type="string" name="etag" arg="$parameters.etag"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<object>" name="registrationVirtualNetworks" arg="$parameters.properties.registrationVirtualNetworks"> <item type="object" cls="SubResource_update"> <prop type="string" name="id" arg="@SubResource_update.id"/> </item> </prop> <prop type="array<@SubResource_update>" name="resolutionVirtualNetworks" arg="$parameters.properties.resolutionVirtualNetworks"> <item type="@SubResource_update"/> </prop> <prop type="string" name="zoneType" arg="$parameters.properties.zoneType"> <default value="&quot;Public&quot;"/> <enum> <item value="&quot;Private&quot;"/> <item value="&quot;Public&quot;"/> </enum> </prop> </prop> <prop type="object" name="tags" arg="$parameters.tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> </schema> </json> </instanceUpdate> </operation> <operation operationId="Zones_CreateOrUpdate"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}"> <request method="put"> <path> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"> <format maxLength="90" minLength="1"/> </param> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"> <format minLength="1"/> </param> <param type="string" name="zoneName" arg="$Path.zoneName" required="True"/> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2023-07-01-preview&quot;"/> <format minLength="1"/> </const> </query> <header> <param type="string" name="If-Match" arg="$Header.If-Match"/> <param type="string" name="If-None-Match" arg="$Header.If-None-Match"/> </header> <body> <json ref="$Instance"/> </body> </request> <response statusCode="200 201"> <body> <json var="$Instance"> <schema type="@Zone_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> </CodeGen>