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

<?xml version='1.0' encoding='utf-8'?> <CodeGen plane="mgmt-plane"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/exportmetadataschema" version="2024-03-01" swagger="mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vZXhwb3J0TWV0YWRhdGFTY2hlbWE=/V/MjAyNC0wMy0wMQ=="/> <commandGroup name="apic metadata"> <command name="export" version="2024-03-01" confirmation=""> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/exportmetadataschema" version="2024-03-01" swagger="mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vZXhwb3J0TWV0YWRhdGFTY2hlbWE=/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="service-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> <argGroup name="Payload"> <arg type="string" var="$payload.assignedTo" options="assignments" group="Payload"> <help short="An entity the metadata schema is requested for."/> <enum> <item name="api" value="&quot;api&quot;"/> <item name="deployment" value="&quot;deployment&quot;"/> <item name="environment" value="&quot;environment&quot;"/> </enum> </arg> </argGroup> <operation operationId="Services_ExportMetadataSchema"> <longRunning finalStateVia="location"/> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/exportMetadataSchema"> <request method="post"> <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="payload" required="True" clientFlatten="True"> <prop type="string" name="assignedTo" arg="$payload.assignedTo"> <enum> <item value="&quot;api&quot;"/> <item value="&quot;deployment&quot;"/> <item value="&quot;environment&quot;"/> </enum> </prop> </schema> </json> </body> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object"> <prop type="string" name="format"> <enum> <item value="&quot;inline&quot;"/> <item value="&quot;link&quot;"/> </enum> </prop> <prop type="string" name="value"/> </schema> </json> </body> </response> <response statusCode="202"> <header> <item name="Location"/> <item name="Retry-After"/> </header> </response> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> <output type="object" ref="$Instance" clientFlatten="True"/> </command> </commandGroup> </CodeGen>