Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYW5hZ2VkbmV0d29ya2ZhYnJpYy9uZXR3b3JrZmFicmljcy97fS9wcm92aXNpb24=/2023-06-15.xml (101 lines of code) (raw):
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/provision" version="2023-06-15" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya0ZhYnJpY3Mve25ldHdvcmtGYWJyaWNOYW1lfS9wcm92aXNpb24=/V/MjAyMy0wNi0xNQ=="/>
<commandGroup name="networkfabric fabric">
<command name="provision" version="2023-06-15" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkfabrics/{}/provision" version="2023-06-15" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya0ZhYnJpY3Mve25ldHdvcmtGYWJyaWNOYW1lfS9wcm92aXNpb24=/V/MjAyMy0wNi0xNQ=="/>
<argGroup name="">
<arg type="string" var="$Path.networkFabricName" options="resource-name" required="True" group="" idPart="name">
<help short="Name of the Network Fabric."/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" group="" idPart="resource_group">
<help short="Name of the resource group"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" group="" idPart="subscription">
<help short="ID of subscription"/>
</arg>
</argGroup>
<operation operationId="NetworkFabrics_provision">
<longRunning finalStateVia="location"/>
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/provision">
<request method="post">
<path>
<param type="string" name="networkFabricName" arg="$Path.networkFabricName" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format 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=""2023-06-15""/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object" cls="CommonPostActionResponseForDeviceUpdate_read">
<prop readOnly="True" type="string" name="configurationState">
<enum>
<item value=""Accepted""/>
<item value=""DeferredControl""/>
<item value=""Deprovisioned""/>
<item value=""Deprovisioning""/>
<item value=""ErrorDeprovisioning""/>
<item value=""ErrorProvisioning""/>
<item value=""Failed""/>
<item value=""PendingCommit""/>
<item value=""Provisioned""/>
<item value=""Provisioning""/>
<item value=""Rejected""/>
<item value=""Succeeded""/>
</enum>
</prop>
<prop type="object" name="error" cls="ErrorDetail_read">
<prop readOnly="True" type="array<object>" name="additionalInfo">
<item type="object">
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="code"/>
<prop readOnly="True" type="array<@ErrorDetail_read>" name="details" identifiers="message target">
<item type="@ErrorDetail_read"/>
</prop>
<prop readOnly="True" type="string" name="message"/>
<prop readOnly="True" type="string" name="target"/>
</prop>
<prop type="array<string>" name="failedDevices">
<item type="string"/>
</prop>
<prop type="array<string>" name="successfulDevices">
<item type="string"/>
</prop>
</schema>
</json>
</body>
</response>
<response statusCode="202">
<header>
<item name="Location"/>
</header>
<body>
<json var="$Instance">
<schema type="@CommonPostActionResponseForDeviceUpdate_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>