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

<?xml version='1.0' encoding='utf-8'?> <CodeGen plane="mgmt-plane"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/neighborgroups/{}" version="2024-02-15-preview" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmVpZ2hib3JHcm91cHMve25laWdoYm9yR3JvdXBOYW1lfQ==/V/MjAyNC0wMi0xNS1wcmV2aWV3"/> <commandGroup name="networkfabric neighborgroup"> <command name="show" version="2024-02-15-preview" confirmation=""> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/neighborgroups/{}" version="2024-02-15-preview" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmVpZ2hib3JHcm91cHMve25laWdoYm9yR3JvdXBOYW1lfQ==/V/MjAyNC0wMi0xNS1wcmV2aWV3"/> <argGroup name=""> <arg type="string" var="$Path.neighborGroupName" options="resource-name" required="True" group="" idPart="name"> <help short="Name of the Neighbor Group."/> </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> <operation operationId="NeighborGroups_Get"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/neighborGroups/{neighborGroupName}"> <request method="get"> <path> <param type="string" name="neighborGroupName" arg="$Path.neighborGroupName" 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> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object"> <prop readOnly="True" type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ManagedNetworkFabric/neighborGroups/{}"/> </prop> <prop type="ResourceLocation" name="location" required="True"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" required="True" clientFlatten="True"> <prop type="string" name="annotation"/> <prop type="object" name="destination" required="True"> <prop type="array<string>" name="ipv4Addresses"> <format maxLength="16"/> <item type="string"> <format minLength="1"/> </item> </prop> <prop type="array<string>" name="ipv6Addresses"> <format maxLength="16"/> <item type="string"> <format minLength="1"/> </item> </prop> </prop> <prop readOnly="True" type="array<ResourceId>" name="networkTapIds"> <item type="ResourceId"/> </prop> <prop readOnly="True" type="array<ResourceId>" name="networkTapRuleIds"> <item type="ResourceId"/> </prop> <prop readOnly="True" type="string" name="provisioningState"> <enum> <item value="&quot;Accepted&quot;"/> <item value="&quot;Canceled&quot;"/> <item value="&quot;Deleting&quot;"/> <item value="&quot;Failed&quot;"/> <item value="&quot;Succeeded&quot;"/> <item value="&quot;Updating&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-02-15-preview" confirmation=""> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/neighborgroups/{}" version="2024-02-15-preview" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmVpZ2hib3JHcm91cHMve25laWdoYm9yR3JvdXBOYW1lfQ==/V/MjAyNC0wMi0xNS1wcmV2aWV3"/> <argGroup name=""> <arg type="string" var="$Path.neighborGroupName" options="resource-name" required="True" group="" idPart="name"> <help short="Name of the Neighbor Group."/> </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> <operation operationId="NeighborGroups_Delete"> <longRunning finalStateVia="location"/> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/neighborGroups/{neighborGroupName}"> <request method="delete"> <path> <param type="string" name="neighborGroupName" arg="$Path.neighborGroupName" 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> </request> <response statusCode="200"/> <response statusCode="202"/> <response statusCode="204"/> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> </command> <command name="create" version="2024-02-15-preview" confirmation=""> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/neighborgroups/{}" version="2024-02-15-preview" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmVpZ2hib3JHcm91cHMve25laWdoYm9yR3JvdXBOYW1lfQ==/V/MjAyNC0wMi0xNS1wcmV2aWV3"/> <argGroup name=""> <arg type="string" var="$Path.neighborGroupName" options="resource-name" required="True" group="" idPart="name"> <help short="Name of the Neighbor Group."/> </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="ResourceLocation" var="$body.location" options="location l" required="True" group="Body"> <help short="Location of Azure region"/> </arg> <arg type="object" var="$body.tags" options="tags" group="Body"> <help short="Resource tags."/> <additionalProp> <item type="string"/> </additionalProp> </arg> </argGroup> <argGroup name="Properties"> <arg type="string" var="$body.properties.annotation" options="annotation" group="Properties"> <help short="Description for underlying resource."/> </arg> <arg type="object" var="$body.properties.destination" options="destination" required="True" group="Properties"> <help short="An array of destination IPv4 Addresses or IPv6 Addresses."/> <arg type="array<string>" var="$body.properties.destination.ipv4Addresses" options="ipv4-addresses"> <help short="Array of IPv4 Addresses."/> <format maxLength="16"/> <item type="string"> <format minLength="1"/> </item> </arg> <arg type="array<string>" var="$body.properties.destination.ipv6Addresses" options="ipv6-addresses"> <help short="Array of IPv6 Addresses."/> <format maxLength="16"/> <item type="string"> <format minLength="1"/> </item> </arg> </arg> </argGroup> <operation operationId="NeighborGroups_Create"> <longRunning finalStateVia="azure-async-operation"/> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/neighborGroups/{neighborGroupName}"> <request method="put"> <path> <param type="string" name="neighborGroupName" arg="$Path.neighborGroupName" 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="ResourceLocation" name="location" arg="$body.location" required="True"/> <prop type="object" name="properties" required="True" clientFlatten="True"> <prop type="string" name="annotation" arg="$body.properties.annotation"/> <prop type="object" name="destination" arg="$body.properties.destination" required="True"> <prop type="array<string>" name="ipv4Addresses" arg="$body.properties.destination.ipv4Addresses"> <format maxLength="16"/> <item type="string"> <format minLength="1"/> </item> </prop> <prop type="array<string>" name="ipv6Addresses" arg="$body.properties.destination.ipv6Addresses"> <format maxLength="16"/> <item type="string"> <format minLength="1"/> </item> </prop> </prop> </prop> <prop type="object" name="tags" arg="$body.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.ManagedNetworkFabric/neighborGroups/{}"/> </prop> <prop type="ResourceLocation" name="location" required="True"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" required="True" clientFlatten="True"> <prop type="string" name="annotation"/> <prop type="object" name="destination" required="True"> <prop type="array<string>" name="ipv4Addresses"> <format maxLength="16"/> <item type="string"> <format minLength="1"/> </item> </prop> <prop type="array<string>" name="ipv6Addresses"> <format maxLength="16"/> <item type="string"> <format minLength="1"/> </item> </prop> </prop> <prop readOnly="True" type="array<ResourceId>" name="networkTapIds"> <item type="ResourceId"/> </prop> <prop readOnly="True" type="array<ResourceId>" name="networkTapRuleIds"> <item type="ResourceId"/> </prop> <prop readOnly="True" type="string" name="provisioningState"> <enum> <item value="&quot;Accepted&quot;"/> <item value="&quot;Canceled&quot;"/> <item value="&quot;Deleting&quot;"/> <item value="&quot;Failed&quot;"/> <item value="&quot;Succeeded&quot;"/> <item value="&quot;Updating&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-02-15-preview" confirmation=""> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.managednetworkfabric/neighborgroups/{}" version="2024-02-15-preview" swagger="mgmt-plane/managednetworkfabric/ResourceProviders/Microsoft.ManagedNetworkFabric/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlZE5ldHdvcmtGYWJyaWMvbmVpZ2hib3JHcm91cHMve25laWdoYm9yR3JvdXBOYW1lfQ==/V/MjAyNC0wMi0xNS1wcmV2aWV3"/> <argGroup name=""> <arg type="string" var="$Path.neighborGroupName" options="resource-name" required="True" group="" idPart="name"> <help short="Name of the Neighbor Group."/> </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="object" var="$body.tags" options="tags" group="Body"> <help short="Resource tags"/> <additionalProp> <item type="string"/> </additionalProp> </arg> </argGroup> <argGroup name="Properties"> <arg type="string" var="$body.properties.annotation" options="annotation" group="Properties"> <help short="Description for underlying resource."/> </arg> <arg type="object" var="$body.properties.destination" options="destination" group="Properties"> <help short="An array of destination IPv4 Addresses or IPv6 Addresses."/> <arg type="array<string>" var="$body.properties.destination.ipv4Addresses" options="ipv4-addresses"> <help short="Array of IPv4 Addresses."/> <format maxLength="16"/> <item type="string"> <format minLength="1"/> </item> </arg> <arg type="array<string>" var="$body.properties.destination.ipv6Addresses" options="ipv6-addresses"> <help short="Array of IPv6 Addresses."/> <format maxLength="16"/> <item type="string"> <format minLength="1"/> </item> </arg> </arg> </argGroup> <operation operationId="NeighborGroups_Update"> <longRunning finalStateVia="location"/> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/neighborGroups/{neighborGroupName}"> <request method="patch"> <path> <param type="string" name="neighborGroupName" arg="$Path.neighborGroupName" 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="object" name="properties" clientFlatten="True"> <prop type="string" name="annotation" arg="$body.properties.annotation"/> <prop type="object" name="destination" arg="$body.properties.destination"> <prop type="array<string>" name="ipv4Addresses" arg="$body.properties.destination.ipv4Addresses"> <format maxLength="16"/> <item type="string"> <format minLength="1"/> </item> </prop> <prop type="array<string>" name="ipv6Addresses" arg="$body.properties.destination.ipv6Addresses"> <format maxLength="16"/> <item type="string"> <format minLength="1"/> </item> </prop> </prop> </prop> <prop type="object" name="tags" arg="$body.tags"> <additionalProp> <item type="string"/> </additionalProp> </prop> </schema> </json> </body> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object"> <prop readOnly="True" type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ManagedNetworkFabric/neighborGroups/{}"/> </prop> <prop type="ResourceLocation" name="location" required="True"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" required="True" clientFlatten="True"> <prop type="string" name="annotation"/> <prop type="object" name="destination" required="True"> <prop type="array<string>" name="ipv4Addresses"> <format maxLength="16"/> <item type="string"> <format minLength="1"/> </item> </prop> <prop type="array<string>" name="ipv6Addresses"> <format maxLength="16"/> <item type="string"> <format minLength="1"/> </item> </prop> </prop> <prop readOnly="True" type="array<ResourceId>" name="networkTapIds"> <item type="ResourceId"/> </prop> <prop readOnly="True" type="array<ResourceId>" name="networkTapRuleIds"> <item type="ResourceId"/> </prop> <prop readOnly="True" type="string" name="provisioningState"> <enum> <item value="&quot;Accepted&quot;"/> <item value="&quot;Canceled&quot;"/> <item value="&quot;Deleting&quot;"/> <item value="&quot;Failed&quot;"/> <item value="&quot;Succeeded&quot;"/> <item value="&quot;Updating&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 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>