Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYW5hZ2VkbmV0d29ya2ZhYnJpYy9uZXR3b3JrZGV2aWNlcy97fS9ydW5yb2NvbW1hbmQ=/2024-02-15-preview.xml (102 lines of code) (raw):

<?xml version='1.0' encoding='utf-8'?> <CodeGen plane="mgmt-plane"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}/runrocommand" version="2024-02-15-preview" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya0RldmljZXMve25ldHdvcmtEZXZpY2VOYW1lfS9ydW5Sb0NvbW1hbmQ=/V/MjAyNC0wMi0xNS1wcmV2aWV3"/> <commandGroup name="networkfabric device"> <command name="run-ro" version="2024-02-15-preview" confirmation=""> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/networkdevices/{}/runrocommand" version="2024-02-15-preview" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmV0d29ya0RldmljZXMve25ldHdvcmtEZXZpY2VOYW1lfS9ydW5Sb0NvbW1hbmQ=/V/MjAyNC0wMi0xNS1wcmV2aWV3"/> <argGroup name=""> <arg type="string" var="$Path.networkDeviceName" options="resource-name" required="True" group="" idPart="name"> <help short="Name of the Network Device."/> </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> <argGroup name="Body"> <arg type="string" var="$body.command" options="ro-command" group="Body"> <help short="Specify the command."/> </arg> </argGroup> <operation operationId="NetworkDevices_runRoCommand"> <longRunning finalStateVia="location"/> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/runRoCommand"> <request method="post"> <path> <param type="string" name="networkDeviceName" arg="$Path.networkDeviceName" 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="&quot;2024-02-15-preview&quot;"/> <format minLength="1"/> </const> </query> <body> <json> <schema type="object" name="body" required="True" clientFlatten="True"> <prop type="string" name="command" arg="$body.command"/> </schema> </json> </body> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object"> <prop readOnly="True" type="string" name="configurationState"> <enum> <item value="&quot;Accepted&quot;"/> <item value="&quot;DeferredControl&quot;"/> <item value="&quot;Deprovisioned&quot;"/> <item value="&quot;Deprovisioning&quot;"/> <item value="&quot;ErrorDeprovisioning&quot;"/> <item value="&quot;ErrorProvisioning&quot;"/> <item value="&quot;Failed&quot;"/> <item value="&quot;PendingCommit&quot;"/> <item value="&quot;Provisioned&quot;"/> <item value="&quot;Provisioning&quot;"/> <item value="&quot;Rejected&quot;"/> <item value="&quot;Succeeded&quot;"/> </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="object" name="info"> <additionalProp readOnly="True" anyType="True"/> </prop> <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="string" name="outputUrl"/> </schema> </json> </body> </response> <response statusCode="202"> <header> <item name="Location"/> </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>