From d3c11baaaf5749bf141073ae0a0e652ee8862867 Mon Sep 17 00:00:00 2001 From: "Mohana Krishna Nali (Dhyan Networks and Technologie)" Date: Thu, 1 Jun 2023 13:06:14 +0530 Subject: [PATCH 1/6] Merging the RPSaaSMaster PRs into main 1. https://github.com/Azure/azure-rest-api-specs-pr/pull/11537 2. https://github.com/Azure/azure-rest-api-specs-pr/pull/11749 3. https://github.com/Azure/azure-rest-api-specs-pr/pull/12117 --- .../2023-02-01-preview/IpCommunities.json | 479 +++++++++++++ .../2023-02-01-preview/IpCommunityLists.json | 650 ------------------ ...xLists.json => IpExtendedCommunities.json} | 260 ++++--- .../2023-02-01-preview/IpPrefixes.json | 499 ++++++++++++++ .../2023-02-01-preview/NetworkFabrics.json | 37 +- .../2023-02-01-preview/RoutePolicies.json | 187 +++-- .../preview/2023-02-01-preview/common.json | 12 + .../IpCommunities_Create_MaximumSet_Gen.json | 98 +++ ... IpCommunities_Delete_MaximumSet_Gen.json} | 7 +- .../IpCommunities_Get_MaximumSet_Gen.json | 43 ++ ...es_ListByResourceGroup_MaximumSet_Gen.json | 47 ++ ...ies_ListBySubscription_MaximumSet_Gen.json | 46 ++ .../IpCommunities_Update_MaximumSet_Gen.json | 53 ++ ...pCommunityLists_Create_MinimumSet_Gen.json | 70 -- ...pCommunityLists_Delete_MinimumSet_Gen.json | 12 - .../IpCommunityLists_Get_MinimumSet_Gen.json | 16 - ...ts_ListByResourceGroup_MinimumSet_Gen.json | 12 - ...sts_ListBySubscription_MinimumSet_Gen.json | 11 - ...pCommunityLists_Update_MinimumSet_Gen.json | 16 - ...ndedCommunities_Create_MaximumSet_Gen.json | 80 +++ ...ndedCommunities_Delete_MaximumSet_Gen.json | 17 + ...xtendedCommunities_Get_MaximumSet_Gen.json | 37 + ...es_ListByResourceGroup_MaximumSet_Gen.json | 41 ++ ...ies_ListBySubscription_MaximumSet_Gen.json | 40 ++ ...ndedCommunities_Update_MaximumSet_Gen.json | 47 ++ .../IpPrefixLists_Create_MinimumSet_Gen.json | 29 - .../IpPrefixLists_Get_MinimumSet_Gen.json | 21 - ...ts_ListByResourceGroup_MinimumSet_Gen.json | 12 - ...sts_ListBySubscription_MinimumSet_Gen.json | 11 - .../IpPrefixLists_Update_MinimumSet_Gen.json | 21 - .../IpPrefixes_Create_MaximumSet_Gen.json | 95 +++ .../IpPrefixes_Delete_MaximumSet_Gen.json | 17 + .../IpPrefixes_Get_MaximumSet_Gen.json | 42 ++ ...es_ListByResourceGroup_MaximumSet_Gen.json | 46 ++ ...xes_ListBySubscription_MaximumSet_Gen.json | 45 ++ .../IpPrefixes_Update_MaximumSet_Gen.json | 52 ++ .../NetworkFabrics_Create_MaximumSet_Gen.json | 130 +++- .../NetworkFabrics_Get_MaximumSet_Gen.json | 46 +- ...cs_ListByResourceGroup_MaximumSet_Gen.json | 46 +- ...ics_ListBySubscription_MaximumSet_Gen.json | 46 +- .../NetworkFabrics_Update_MaximumSet_Gen.json | 54 +- ...rkInterconnects_Create_MaximumSet_Gen.json | 7 +- ...tworkInterconnects_Get_MaximumSet_Gen.json | 5 +- ...workInterconnects_List_MaximumSet_Gen.json | 5 +- .../RoutePolicies_Create_MaximumSet_Gen.json | 198 ++++-- .../RoutePolicies_Delete_MaximumSet_Gen.json | 6 +- .../RoutePolicies_Get_MaximumSet_Gen.json | 72 +- ...es_ListByResourceGroup_MaximumSet_Gen.json | 70 +- ...ies_ListBySubscription_MaximumSet_Gen.json | 69 +- .../RoutePolicies_Update_MaximumSet_Gen.json | 79 ++- .../resource-manager/readme.csharp.md | 15 + .../resource-manager/readme.md | 5 +- 52 files changed, 2714 insertions(+), 1347 deletions(-) create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpCommunities.json delete mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpCommunityLists.json rename specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/{IpPrefixLists.json => IpExtendedCommunities.json} (61%) create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpPrefixes.json create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_Create_MaximumSet_Gen.json rename specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/{IpPrefixLists_Delete_MinimumSet_Gen.json => IpCommunities_Delete_MaximumSet_Gen.json} (58%) create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_Get_MaximumSet_Gen.json create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_Update_MaximumSet_Gen.json delete mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Create_MinimumSet_Gen.json delete mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Delete_MinimumSet_Gen.json delete mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Get_MinimumSet_Gen.json delete mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_ListByResourceGroup_MinimumSet_Gen.json delete mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_ListBySubscription_MinimumSet_Gen.json delete mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Update_MinimumSet_Gen.json create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_Create_MaximumSet_Gen.json create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_Delete_MaximumSet_Gen.json create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_Get_MaximumSet_Gen.json create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_Update_MaximumSet_Gen.json delete mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Create_MinimumSet_Gen.json delete mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Get_MinimumSet_Gen.json delete mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_ListByResourceGroup_MinimumSet_Gen.json delete mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_ListBySubscription_MinimumSet_Gen.json delete mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Update_MinimumSet_Gen.json create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_Create_MaximumSet_Gen.json create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_Delete_MaximumSet_Gen.json create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_Get_MaximumSet_Gen.json create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_Update_MaximumSet_Gen.json create mode 100644 specification/managednetworkfabric/resource-manager/readme.csharp.md diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpCommunities.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpCommunities.json new file mode 100644 index 000000000000..e8e61151bb98 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpCommunities.json @@ -0,0 +1,479 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Network Fabric Management Service API", + "description": "Self service experience for Azure Network Fabric API.", + "version": "2023-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipCommunities/{ipCommunityName}": { + "put": { + "tags": [ + "IpCommunities" + ], + "operationId": "IpCommunities_Create", + "summary": "Create an IP Community.", + "description": "Implements an IP Community PUT method.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "path", + "name": "ipCommunityName", + "required": true, + "type": "string", + "description": "Name of the IP Community" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/IpCommunity" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/IpCommunity" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IpCommunity" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "The URL to retrieve the status of the asynchronous operation." + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "IpCommunities_Create_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_Create_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "IpCommunities" + ], + "operationId": "IpCommunities_Get", + "summary": "Gets an IP Community.", + "description": "Implements an IP Community GET method.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "path", + "name": "ipCommunityName", + "required": true, + "type": "string", + "description": "Name of the IP Community." + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/IpCommunity" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpCommunities_Get_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_Get_MaximumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "IpCommunities" + ], + "operationId": "IpCommunities_Update", + "summary": "Updates an IP Community.", + "description": "API to update certain properties of the IP Community resource.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "path", + "name": "ipCommunityName", + "required": true, + "type": "string", + "description": "Name of the IP Community" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "IP Community properties to update.", + "schema": { + "$ref": "#/definitions/IpCommunityPatch" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/IpCommunity" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "IpCommunities_Update_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "IpCommunities" + ], + "operationId": "IpCommunities_Delete", + "summary": "Deletes an IP Community.", + "description": "Implements IP Community DELETE method.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "path", + "name": "ipCommunityName", + "required": true, + "type": "string", + "description": "Name of the IP Community." + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "IpCommunities_Delete_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_Delete_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipCommunities": { + "get": { + "operationId": "IpCommunities_ListByResourceGroup", + "summary": "List IpCommunities by resource group.", + "description": "Implements IpCommunities list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all IpCommunities under the resource group.", + "schema": { + "$ref": "#/definitions/IpCommunitiesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "IpCommunities_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_ListByResourceGroup_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipCommunities": { + "get": { + "operationId": "IpCommunities_ListBySubscription", + "summary": "List IpCommunities by subscription.", + "description": "Implements IpCommunities list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all IpCommunities under the subscription.", + "schema": { + "$ref": "#/definitions/IpCommunitiesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "IpCommunities_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_ListBySubscription_MaximumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "IpCommunityProperties": { + "type": "object", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + } + ], + "required": [ + "action", + "communityMembers" + ], + "properties": { + "action": { + "description": "Action to be taken on the configuration. Example: Permit | Deny.", + "$ref": "./common.json#/definitions/CommunityActionTypes" + }, + "wellKnownCommunities": { + "type": "array", + "description": "Supported well known Community List.", + "uniqueItems": true, + "items": { + "description": "\n`Internet` - Advertise routes to internet community.\n `LocalAS` - Advertise routes to only localAS peers.\n `NoAdvertise` - Don't advertise routes to any peer.\n`NoExport` - Don't export to next AS.\n`GShut` - Graceful Shutdown (GSHUT) withdraw routes before terminating BGP connection.\n", + "type": "string", + "enum": [ + "Internet", + "LocalAS", + "NoAdvertise", + "NoExport", + "GShut" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "wellKnownCommunities" + } + } + }, + "communityMembers": { + "type": "array", + "description": "List the communityMembers of IP Community .", + "items": { + "description": "communityMember of the IP Community. The expected formats are AA:NN >> example 65535:65535, >> example 4294967040. The possible values of AA, NN are 0-65535 and are 1-4294967040.", + "type": "string" + } + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState", + "readOnly": true + } + }, + "description": "IpCommunityProperties define the resource properties." + }, + "IpCommunity": { + "type": "object", + "x-ms-azure-resource": true, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/IpCommunityProperties" + } + }, + "description": "The IpCommunity resource definition." + }, + "IpCommunitiesListResult": { + "type": "object", + "description": "List of IPCommunities.", + "properties": { + "value": { + "type": "array", + "description": "List of IpCommunity resources.", + "items": { + "$ref": "#/definitions/IpCommunity" + } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + }, + "IpCommunityPatch": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "The IPCommunity patch resource definition." + } + }, + "parameters": {} +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpCommunityLists.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpCommunityLists.json deleted file mode 100644 index fd1f87184f4e..000000000000 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpCommunityLists.json +++ /dev/null @@ -1,650 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Network Fabric Management Service API", - "description": "Self service experience for Azure Network Fabric API.", - "version": "2023-02-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipCommunityLists/{ipCommunityListName}": { - "put": { - "tags": [ - "IpCommunityLists" - ], - "operationId": "IpCommunityLists_Create", - "summary": "Create Ip Community List.", - "description": "Implements Ip Community List PUT method.", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "path", - "name": "ipCommunityListName", - "required": true, - "type": "string", - "description": "Name of the Ip Community List" - }, - { - "in": "body", - "name": "body", - "required": true, - "description": "Request payload.", - "schema": { - "$ref": "#/definitions/IpCommunityList" - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/IpCommunityList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "IpCommunityLists_Create_MinimumSet_Gen": { - "$ref": "./examples/IpCommunityLists_Create_MinimumSet_Gen.json" - } - } - }, - "get": { - "tags": [ - "IpCommunityLists" - ], - "operationId": "IpCommunityLists_Get", - "summary": "Gets a Ip Community List.", - "description": "Implements Ip Community List GET method.", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "path", - "name": "ipCommunityListName", - "required": true, - "type": "string", - "description": "Name of the Ip Community List" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/IpCommunityList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "IpCommunityLists_Get_MinimumSet_Gen": { - "$ref": "./examples/IpCommunityLists_Get_MinimumSet_Gen.json" - } - } - }, - "patch": { - "tags": [ - "IpCommunityLists" - ], - "operationId": "IpCommunityLists_Update", - "summary": "Updates a Ip Community List.", - "description": "API to update certain properties of the Ip Community List resource.", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "path", - "name": "ipCommunityListName", - "required": true, - "type": "string", - "description": "Name of the Ip Community List" - }, - { - "in": "body", - "name": "body", - "required": true, - "description": "Ip Community List properties to update.", - "schema": { - "$ref": "#/definitions/IpCommunityListPatch" - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/IpCommunityList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "IpCommunityLists_Update_MinimumSet_Gen": { - "$ref": "./examples/IpCommunityLists_Update_MinimumSet_Gen.json" - } - } - }, - "delete": { - "tags": [ - "IpCommunityLists" - ], - "operationId": "IpCommunityLists_Delete", - "summary": "Deletes a Ip Community List.", - "description": "Implements Ip Community List DELETE method.", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "path", - "name": "ipCommunityListName", - "required": true, - "type": "string", - "description": "Name of the Ip Community List" - } - ], - "responses": { - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "IpCommunityLists_Delete_MinimumSet_Gen": { - "$ref": "./examples/IpCommunityLists_Delete_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipCommunityLists": { - "get": { - "operationId": "IpCommunityLists_ListByResourceGroup", - "summary": "List IpCommunityLists by resource group.", - "description": "Implements IpCommunityLists list by resource group GET method.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Lists all IpCommunityLists under the resource group.", - "schema": { - "$ref": "#/definitions/IpCommunityListsListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "IpCommunityLists_ListByResourceGroup_MinimumSet_Gen": { - "$ref": "./examples/IpCommunityLists_ListByResourceGroup_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipCommunityLists": { - "get": { - "operationId": "IpCommunityLists_ListBySubscription", - "summary": "List IpCommunityLists by subscription.", - "description": "Implements IpCommunityLists list by subscription GET method.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Lists all IpCommunityLists under the subscription.", - "schema": { - "$ref": "#/definitions/IpCommunityListsListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "IpCommunityLists_ListBySubscription_MinimumSet_Gen": { - "$ref": "./examples/IpCommunityLists_ListBySubscription_MinimumSet_Gen.json" - } - } - } - } - }, - "definitions": { - "IpCommunityListProperties": { - "type": "object", - "allOf": [ - { - "$ref": "./common.json#/definitions/AnnotationResource", - "description": "Common properties for annotated type." - } - ], - "properties": { - "action": { - "type": "string", - "description": "action. Example: allow | deny.", - "enum": [ - "allow", - "deny" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "communityActionType" - } - }, - "localAS": { - "type": "string", - "description": "Local Autonomous System. Example: true | false.", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "localASBoolean" - } - }, - "gshut": { - "type": "string", - "description": " Graceful Shutdown (GSHUT). Example: true | false.", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "gshutBoolean" - } - }, - "internet": { - "type": "string", - "description": "Internet access. Example: true | false.", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "internetBoolean" - } - }, - "advertise": { - "type": "string", - "description": "noAdvertise. Example: true | false.", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "advertiseBoolean" - } - }, - "export": { - "type": "string", - "description": "noExport. Example: true | false.", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "exportBoolean" - } - }, - "communityMembers": { - "type": "array", - "description": "Ip Community List communityMembers.", - "x-ms-identifiers": [ - "communityMember" - ], - "items": { - "description": "Ip Community List communityMembers model.", - "type": "object", - "allOf": [ - { - "$ref": "./common.json#/definitions/AnnotationResource", - "description": "Common properties for annotated type." - } - ], - "properties": { - "communityMember": { - "type": "string", - "description": "communityMember of the Ip Community List. Example: 100:200" - } - }, - "required": [ - "communityMember", - "annotation" - ] - } - }, - "evpnEsImportRouteTargets": { - "type": "array", - "description": "Ip Community List evpnEsImportRouteTargets.", - "x-ms-identifiers": [ - "evpnEsImportRouteTarget" - ], - "items": { - "description": "Ip Community List evpnEsImportRouteTarget model.", - "type": "object", - "allOf": [ - { - "$ref": "./common.json#/definitions/AnnotationResource", - "description": "Common properties for annotated type." - } - ], - "properties": { - "evpnEsImportRouteTarget": { - "type": "string", - "description": "evpnEsImportRouteTarget of the Ip Community List. Example: 100:400" - } - }, - "required": [ - "evpnEsImportRouteTarget" - ] - } - }, - "provisioningState": { - "description": "Gets the provisioning state of the resource.", - "$ref": "./common.json#/definitions/ProvisioningState", - "readOnly": true - } - }, - "required": [ - "action", - "localAS", - "advertise", - "export" - ], - "description": "IpCommunityListProperties define the resource properties." - }, - "IpCommunityList": { - "type": "object", - "x-ms-azure-resource": true, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Resource properties.", - "$ref": "#/definitions/IpCommunityListProperties" - } - }, - "description": "The IpCommunityList resource definition." - }, - "IpCommunityListsListResult": { - "type": "object", - "description": "List of IpCommunityLists.", - "properties": { - "value": { - "type": "array", - "description": "List of IpCommunityList resources.", - "items": { - "$ref": "#/definitions/IpCommunityList" - } - }, - "nextLink": { - "type": "string", - "description": "Url to follow for getting next page of resources." - } - } - }, - "IpCommunityListPatch": { - "type": "object", - "x-ms-azure-resource": true, - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Resource properties.", - "$ref": "#/definitions/IpCommunityListPatchProperties" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "description": "The IpCommunityList patch resource definition." - }, - "IpCommunityListPatchProperties": { - "type": "object", - "allOf": [ - { - "$ref": "./common.json#/definitions/AnnotationResource", - "description": "Common properties for annotated type." - } - ], - "properties": { - "action": { - "type": "string", - "description": "action. Example: allow | deny.", - "enum": [ - "allow", - "deny" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "communityActionType" - } - }, - "localAS": { - "type": "string", - "description": "Local Autonomous System. Example: true | false.", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "localASBoolean" - } - }, - "advertise": { - "type": "string", - "description": "noAdvertise. Example: true | false.", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "advertiseBoolean" - } - }, - "export": { - "type": "string", - "description": "noExport. Example: true | false.", - "enum": [ - "true", - "false" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "exportBoolean" - } - }, - "communityMembers": { - "type": "array", - "description": "Ip Community List communityMembers.", - "x-ms-identifiers": [ - "communityMember" - ], - "items": { - "description": "Ip Community List communityMembers model.", - "type": "object", - "allOf": [ - { - "$ref": "./common.json#/definitions/AnnotationResource", - "description": "Common properties for annotated type." - } - ], - "properties": { - "communityMember": { - "type": "string", - "description": "communityMember of the Ip Community List. Example: 100:200" - } - }, - "required": [ - "communityMember", - "annotation" - ] - } - }, - "evpnEsImportRouteTargets": { - "type": "array", - "description": "Ip Community List evpnEsImportRouteTargets.", - "x-ms-identifiers": [ - "evpnEsImportRouteTarget" - ], - "items": { - "description": "Ip Community List evpnEsImportRouteTarget model.", - "type": "object", - "allOf": [ - { - "$ref": "./common.json#/definitions/AnnotationResource", - "description": "Common properties for annotated type." - } - ], - "properties": { - "evpnEsImportRouteTarget": { - "type": "string", - "description": "evpnEsImportRouteTarget of the Ip Community List. Example: 100:400" - } - }, - "required": [ - "evpnEsImportRouteTarget" - ] - } - } - }, - "description": "IpCommunityListPatch define the patchable resource properties." - } - }, - "parameters": {} -} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpPrefixLists.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpExtendedCommunities.json similarity index 61% rename from specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpPrefixLists.json rename to specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpExtendedCommunities.json index 87f68b0e386d..6cc32b09df66 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpPrefixLists.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpExtendedCommunities.json @@ -34,14 +34,14 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipPrefixLists/{ipPrefixListName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/{ipExtendedCommunityName}": { "put": { "tags": [ - "IpPrefixLists" + "IpExtendedCommunities" ], - "operationId": "IpPrefixLists_Create", - "summary": "Create Ip Prefix List.", - "description": "Implements Ip Prefix List PUT method.", + "operationId": "IpExtendedCommunities_Create", + "summary": "Create an IP Extended Community.", + "description": "Implements IP Extended Community PUT method.", "consumes": [ "application/json" ], @@ -60,10 +60,10 @@ }, { "in": "path", - "name": "ipPrefixListName", + "name": "ipExtendedCommunityName", "required": true, "type": "string", - "description": "Name of the Ip Prefix List" + "description": "Name of the IP Extended Community" }, { "in": "body", @@ -71,7 +71,7 @@ "required": true, "description": "Request payload.", "schema": { - "$ref": "#/definitions/IpPrefixList" + "$ref": "#/definitions/IpExtendedCommunity" } } ], @@ -79,7 +79,19 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/IpPrefixList" + "$ref": "#/definitions/IpExtendedCommunity" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IpExtendedCommunity" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "The URL to retrieve the status of the asynchronous operation." + } } }, "default": { @@ -89,19 +101,23 @@ } } }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-examples": { - "IpPrefixLists_Create_MinimumSet_Gen": { - "$ref": "./examples/IpPrefixLists_Create_MinimumSet_Gen.json" + "IpExtendedCommunities_Create_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_Create_MaximumSet_Gen.json" } } }, "get": { "tags": [ - "IpPrefixLists" + "IpExtendedCommunities" ], - "operationId": "IpPrefixLists_Get", - "summary": "Gets a Ip Prefix List.", - "description": "Implements Ip Prefix List GET method.", + "operationId": "IpExtendedCommunities_Get", + "summary": "Gets an IP Extended Community.", + "description": "Implements IP Extended Community GET method.", "produces": [ "application/json" ], @@ -117,17 +133,17 @@ }, { "in": "path", - "name": "ipPrefixListName", + "name": "ipExtendedCommunityName", "required": true, "type": "string", - "description": "Name of the Ip Prefix List" + "description": "Name of the IP Extended Community" } ], "responses": { "200": { "description": "Success", "schema": { - "$ref": "#/definitions/IpPrefixList" + "$ref": "#/definitions/IpExtendedCommunity" } }, "default": { @@ -138,18 +154,18 @@ } }, "x-ms-examples": { - "IpPrefixLists_Get_MinimumSet_Gen": { - "$ref": "./examples/IpPrefixLists_Get_MinimumSet_Gen.json" + "IpExtendedCommunities_Get_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_Get_MaximumSet_Gen.json" } } }, "patch": { "tags": [ - "IpPrefixLists" + "IpExtendedCommunities" ], - "operationId": "IpPrefixLists_Update", - "summary": "Updates a Ip Prefix List.", - "description": "API to update certain properties of the Ip Prefix List resource.", + "operationId": "IpExtendedCommunities_Update", + "summary": "Updates the IP Extended Community.", + "description": "API to update certain properties of the IP Extended Community resource.", "consumes": [ "application/json" ], @@ -168,18 +184,18 @@ }, { "in": "path", - "name": "ipPrefixListName", + "name": "ipExtendedCommunityName", "required": true, "type": "string", - "description": "Name of the Ip Prefix List" + "description": "Name of the IP Extended Community" }, { "in": "body", "name": "body", "required": true, - "description": "Ip Prefix List properties to update.", + "description": "IP Extended Community properties to update.", "schema": { - "$ref": "#/definitions/IpPrefixListPatch" + "$ref": "#/definitions/IpExtendedCommunityPatch" } } ], @@ -187,7 +203,16 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/IpPrefixList" + "$ref": "#/definitions/IpExtendedCommunity" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + } } }, "default": { @@ -197,19 +222,23 @@ } } }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { - "IpPrefixLists_Update_MinimumSet_Gen": { - "$ref": "./examples/IpPrefixLists_Update_MinimumSet_Gen.json" + "IpExtendedCommunities_Update_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_Update_MaximumSet_Gen.json" } } }, "delete": { "tags": [ - "IpPrefixLists" + "IpExtendedCommunities" ], - "operationId": "IpPrefixLists_Delete", - "summary": "Deletes a Ip Prefix List.", - "description": "Implements Ip Prefix List DELETE method.", + "operationId": "IpExtendedCommunities_Delete", + "summary": "Deletes the IP Extended Community.", + "description": "Implements IP Extended Community DELETE method.", "produces": [ "application/json" ], @@ -225,16 +254,25 @@ }, { "in": "path", - "name": "ipPrefixListName", + "name": "ipExtendedCommunityName", "required": true, "type": "string", - "description": "Name of the Ip Prefix List" + "description": "Name of the IP Extended Community" } ], "responses": { "200": { "description": "Success" }, + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + } + } + }, "204": { "description": "No Content" }, @@ -245,18 +283,22 @@ } } }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { - "IpPrefixLists_Delete_MinimumSet_Gen": { - "$ref": "./examples/IpPrefixLists_Delete_MinimumSet_Gen.json" + "IpExtendedCommunities_Delete_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_Delete_MaximumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipPrefixLists": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities": { "get": { - "operationId": "IpPrefixLists_ListByResourceGroup", - "summary": "List IpPrefixLists by resource group.", - "description": "Implements IpPrefixLists list by resource group GET method.", + "operationId": "IpExtendedCommunities_ListByResourceGroup", + "summary": "List IpExtendedCommunities by resource group.", + "description": "Implements IpExtendedCommunities list by resource group GET method.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -270,9 +312,9 @@ ], "responses": { "200": { - "description": "Lists all IpPrefixLists under the resource group.", + "description": "Lists all IpExtendedCommunities under the resource group.", "schema": { - "$ref": "#/definitions/IpPrefixListsListResult" + "$ref": "#/definitions/IpExtendedCommunityListResult" } }, "default": { @@ -286,17 +328,17 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "IpPrefixLists_ListByResourceGroup_MinimumSet_Gen": { - "$ref": "./examples/IpPrefixLists_ListByResourceGroup_MinimumSet_Gen.json" + "IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipPrefixLists": { + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities": { "get": { - "operationId": "IpPrefixLists_ListBySubscription", - "summary": "List IpPrefixLists by subscription.", - "description": "Implements IpPrefixLists list by subscription GET method.", + "operationId": "IpExtendedCommunities_ListBySubscription", + "summary": "List IpExtendedCommunities by subscription.", + "description": "Implements IpExtendedCommunities list by subscription GET method.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -307,9 +349,9 @@ ], "responses": { "200": { - "description": "Lists all IpPrefixLists under the subscription.", + "description": "Lists all IpExtendedCommunities under the subscription.", "schema": { - "$ref": "#/definitions/IpPrefixListsListResult" + "$ref": "#/definitions/IpExtendedCommunityListResult" } }, "default": { @@ -323,15 +365,15 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "IpPrefixLists_ListBySubscription_MinimumSet_Gen": { - "$ref": "./examples/IpPrefixLists_ListBySubscription_MinimumSet_Gen.json" + "IpExtendedCommunities_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_ListBySubscription_MaximumSet_Gen.json" } } } } }, "definitions": { - "IpPrefixListProperties": { + "IpExtendedCommunityProperties": { "type": "object", "allOf": [ { @@ -341,25 +383,16 @@ ], "properties": { "action": { - "type": "string", - "description": "action. Example: allow | deny.", - "enum": [ - "allow", - "deny" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "prefixActionType" - } - }, - "sequenceNumber": { - "type": "integer", - "format": "int32", - "description": "sequenceNumber of the Ip Prefix List." + "description": "Action to be taken on the configuration. Example: Permit | Deny.", + "$ref": "./common.json#/definitions/CommunityActionTypes" }, - "networkAddress": { - "type": "string", - "description": "networkAddress. Example:1.1.1.0/24 | 1.1.10.10." + "routeTargets": { + "type": "array", + "description": "Route Target List.The expected formats are ASN(plain):NN >> example 4294967294:50, ASN.ASN:NN >> example 65533.65333:40, IP-address:NN >> example 10.10.10.10:65535. The possible values of ASN,NN are in range of 0-65535, ASN(plain) is in range of 0-4294967295.", + "items": { + "description": "Route Target.", + "type": "string" + } }, "provisioningState": { "description": "Gets the provisioning state of the resource.", @@ -369,12 +402,11 @@ }, "required": [ "action", - "sequenceNumber", - "networkAddress" + "routeTargets" ], - "description": "IpPrefixListProperties define the resource properties." + "description": "IpExtendedCommunityProperties define the resource properties." }, - "IpPrefixList": { + "IpExtendedCommunity": { "type": "object", "x-ms-azure-resource": true, "allOf": [ @@ -386,43 +418,20 @@ "properties": { "x-ms-client-flatten": true, "description": "Resource properties.", - "$ref": "#/definitions/IpPrefixListProperties" + "$ref": "#/definitions/IpExtendedCommunityProperties" } }, - "required": [ - "location", - "properties" - ], - "description": "The IpPrefixList resource definition." + "description": "The IpExtendedCommunity resource definition." }, - "IpPrefixListPatch": { + "IpExtendedCommunityListResult": { "type": "object", - "x-ms-azure-resource": true, - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Resource properties.", - "$ref": "#/definitions/IpPrefixListPatchProperties" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "description": "The IpPrefixList patch resource definition." - }, - "IpPrefixListsListResult": { - "type": "object", - "description": "List of IpPrefixLists.", + "description": "List of IpExtendedCommunities.", "properties": { "value": { "type": "array", - "description": "List of IpPrefixList resources.", + "description": "List of IpExtendedCommunities resources.", "items": { - "$ref": "#/definitions/IpPrefixList" + "$ref": "#/definitions/IpExtendedCommunity" } }, "nextLink": { @@ -431,38 +440,19 @@ } } }, - "IpPrefixListPatchProperties": { + "IpExtendedCommunityPatch": { "type": "object", - "allOf": [ - { - "$ref": "./common.json#/definitions/AnnotationResource", - "description": "Common properties for annotated type." - } - ], + "x-ms-azure-resource": true, "properties": { - "action": { - "type": "string", - "description": "action. Example: allow | deny.", - "enum": [ - "allow", - "deny" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "prefixActionType" - } - }, - "sequenceNumber": { - "type": "integer", - "format": "int32", - "description": "sequenceNumber of the Ip Prefix List." - }, - "networkAddress": { - "type": "string", - "description": "networkAddress. Example:1.1.1.0/24 | 1.1.10.10." + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" } }, - "description": "IpPrefixListPatchProperties define the patchable resource properties." + "description": "The IpExtendedCommunities patch resource definition." } }, "parameters": {} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpPrefixes.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpPrefixes.json new file mode 100644 index 000000000000..db508680dc5f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpPrefixes.json @@ -0,0 +1,499 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Network Fabric Management Service API", + "description": "Self service experience for Azure Network Fabric API.", + "version": "2023-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/{ipPrefixName}": { + "put": { + "tags": [ + "IpPrefixes" + ], + "operationId": "IpPrefixes_Create", + "summary": "Create an IP Prefix.", + "description": "Implements IP Prefix PUT method.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "path", + "name": "ipPrefixName", + "required": true, + "type": "string", + "description": "Name of the IP Prefix" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/IpPrefix" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/IpPrefix" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IpPrefix" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "The URL to retrieve the status of the asynchronous operation." + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "IpPrefixes_Create_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_Create_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "IpPrefixes" + ], + "operationId": "IpPrefixes_Get", + "summary": "Gets an IP Prefix.", + "description": "Implements IP Prefix GET method.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "path", + "name": "ipPrefixName", + "required": true, + "type": "string", + "description": "Name of the IP Prefix" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/IpPrefix" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpPrefixes_Get_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_Get_MaximumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "IpPrefixes" + ], + "operationId": "IpPrefixes_Update", + "summary": "Updates the IP Prefix.", + "description": "API to update certain properties of the IP Prefix resource.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "path", + "name": "ipPrefixName", + "required": true, + "type": "string", + "description": "Name of the IP Prefix" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "IP Prefix properties to update.", + "schema": { + "$ref": "#/definitions/IpPrefixPatch" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/IpPrefix" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "IpPrefixes_Update_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "IpPrefixes" + ], + "operationId": "IpPrefixes_Delete", + "summary": "Deletes the IP Prefix.", + "description": "Implements IP Prefix DELETE method.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "path", + "name": "ipPrefixName", + "required": true, + "type": "string", + "description": "Name of the IP Prefix" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "IpPrefixes_Delete_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_Delete_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes": { + "get": { + "operationId": "IpPrefixes_ListByResourceGroup", + "summary": "List IpPrefixes by resource group.", + "description": "Implements IpPrefixes list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all IpPrefixes under the resource group.", + "schema": { + "$ref": "#/definitions/IpPrefixesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "IpPrefixes_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_ListByResourceGroup_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes": { + "get": { + "operationId": "IpPrefixes_ListBySubscription", + "summary": "List IpPrefixes by subscription.", + "description": "Implements IpPrefixes list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Lists all IpPrefixes under the subscription.", + "schema": { + "$ref": "#/definitions/IpPrefixesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "IpPrefixes_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_ListBySubscription_MaximumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "IpPrefixProperties": { + "type": "object", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + } + ], + "properties": { + "ipPrefixRules": { + "type": "array", + "description": "IpPrefix contains the list of IP PrefixRules objects.", + "items": { + "type": "object", + "properties": { + "action": { + "description": "Action to be taken on the configuration. Example: Permit | Deny.", + "$ref": "./common.json#/definitions/CommunityActionTypes" + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "minimum": 1, + "maximum": 4294967295, + "description": "Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored." + }, + "networkPrefix": { + "type": "string", + "description": "Network Prefix specifying IPv4/IPv6 packets to be permitted or denied. Example: 1.1.1.0/24 | 3FFE:FFFF:0:CD30::/126 " + }, + "condition": { + "type": "string", + "description": "Specify prefix-list bounds.", + "enum": [ + "EqualTo", + "GreaterThanOrEqualTo", + "LesserThanOrEqualTo" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "condition" + } + }, + "subnetMaskLength": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 128, + "description": "SubnetMaskLength gives the minimum NetworkPrefix length to be matched.Possible values for IPv4 are 1 - 32. Possible values of IPv6 are 1 - 128." + } + }, + "required": [ + "action", + "sequenceNumber", + "networkPrefix" + ] + } + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState", + "readOnly": true + } + }, + "required": [ + "ipPrefixRules" + ], + "description": "IpPrefixProperties define the resource properties." + }, + "IpPrefix": { + "type": "object", + "x-ms-azure-resource": true, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/IpPrefixProperties" + } + }, + "required": [ + "location", + "properties" + ], + "description": "The IPPrefix resource definition." + }, + "IpPrefixPatch": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "The IPPrefix patch resource definition." + }, + "IpPrefixesListResult": { + "type": "object", + "description": "List of IpPrefixes.", + "properties": { + "value": { + "type": "array", + "description": "List of IPPrefix resources.", + "items": { + "$ref": "#/definitions/IpPrefix" + } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + } + }, + "parameters": {} +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabrics.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabrics.json index bbdd776269b5..ccc2ff1fee61 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabrics.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabrics.json @@ -836,17 +836,15 @@ }, "ipv4Prefix": { "type": "string", - "description": "IPv4Prefix for Management Network. Default value : 10.1.0.0/19.", + "description": "IPv4Prefix for Management Network. Example: 10.1.0.0/19.", "x-ms-mutability": [ "create", "read" - ], - "default": "10.1.0.0/19" + ] }, "ipv6Prefix": { "type": "string", - "description": "IPv6Prefix for Management Network. Default value 3FFE:FFFF:0:CD40::/59.", - "default": "3FFE:FFFF:0:CD40::/59", + "description": "IPv6Prefix for Management Network. Example: 3FFE:FFFF:0:CD40::/59.", "x-ms-mutability": [ "create", "read" @@ -931,7 +929,7 @@ } }, "required": [ - "optionBProperties" + "peeringOption" ] }, "workloadVpnConfiguration": { @@ -960,7 +958,7 @@ } }, "required": [ - "optionBProperties" + "peeringOption" ] } } @@ -1098,6 +1096,19 @@ "type": "object", "description": "Configuration used to setup CE-PE connectivity.", "properties": { + "nniType": { + "type": "string", + "description": "Type of NNI used. Example: CE | NPB", + "default": "CE", + "enum": [ + "CE", + "NPB" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "nniType" + } + }, "administrativeState": { "description": "Gets the administrativeState of the resource. Example -Enabled/Disabled", "$ref": "./common.json#/definitions/EnabledDisabledState" @@ -1307,23 +1318,19 @@ "properties": { "primaryIpv4Prefix": { "type": "string", - "description": "IPv4 Address Prefix of CE-PE interconnect links. Default value is 172.31.0.0/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.", - "default": "172.31.0.0/31" + "description": "IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.0/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces." }, "primaryIpv6Prefix": { "type": "string", - "description": "IPv6 Address Prefix of CE-PE interconnect links. Default value is 3FFE:FFFF:0:CD30::a0/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.", - "default": "3FFE:FFFF:0:CD30::a0/126" + "description": "IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a0/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces." }, "secondaryIpv4Prefix": { "type": "string", - "description": "Secondary IPv4 Address Prefix of CE-PE interconnect links. Default value is 172.31.0.20/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.", - "default": "172.31.0.20/31" + "description": "Secondary IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.20/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces." }, "secondaryIpv6Prefix": { "type": "string", - "description": "Secondary IPv6 Address Prefix of CE-PE interconnect links. Default value is 3FFE:FFFF:0:CD30::a4/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.", - "default": "3FFE:FFFF:0:CD30::a4/126" + "description": "Secondary IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a4/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces." } } } diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/RoutePolicies.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/RoutePolicies.json index b85c8d0724da..be56a77ca570 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/RoutePolicies.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/RoutePolicies.json @@ -370,19 +370,20 @@ } ], "properties": { - "description": { - "type": "string", - "description": "Route Policy description." - }, - "conditions": { + "statements": { "type": "array", - "description": "Route Policy conditions.", + "description": "Route Policy statements.", "x-ms-identifiers": [ "sequenceNumber" ], "items": { "description": "Route Policy condition model.", "type": "object", + "required": [ + "sequenceNumber", + "condition", + "action" + ], "allOf": [ { "$ref": "./common.json#/definitions/AnnotationResource", @@ -392,56 +393,34 @@ "properties": { "sequenceNumber": { "type": "integer", - "format": "int32", - "description": "sequenceNumber of the route policy." + "format": "int64", + "minimum": 1, + "maximum": 4294967295, + "description": "Sequence to insert to/delete from existing route." }, - "match": { + "condition": { "type": "object", - "description": "Route policy match properties.", + "description": "Route policy condition properties.", "properties": { - "accessControlListIds": { + "ipCommunityIds": { "type": "array", - "description": "accessControlListIds. Arm Resource Ids of AccessControlLists.", - "x-ms-identifiers": [ - "value" - ], + "description": "List of IPCommunity resource IDs.", "items": { "type": "string", - "description": "Arm Resource Id of AccessControlLists." + "description": "Arm Resource Id of IPCommunity." } }, - "ipCommunityListIds": { + "ipExtendedCommunityIds": { "type": "array", - "description": "ipCommunityListIds. Arm Resource Ids of IpCommunityLists.", - "x-ms-identifiers": [ - "value" - ], + "description": "List of IPExtendedCommunity resource IDs.", "items": { "type": "string", - "description": "Arm Resource Id of IpCommunityLists." + "description": "Arm Resource Id of IpExtendedCommunity." } }, - "ipExtendedCommunityListIds": { - "type": "array", - "description": "ipExtendedCommunityListIds. Arm Resource Ids of IpCommunityLists.", - "x-ms-identifiers": [ - "value" - ], - "items": { - "type": "string", - "description": "Arm Resource Id of IpCommunityLists." - } - }, - "ipPrefixListIds": { - "type": "array", - "description": "ipPrefixListIds. Arm Resource Ids of IpPrefixLists.", - "x-ms-identifiers": [ - "value" - ], - "items": { - "type": "string", - "description": "Arm Resource Id of IpPrefixLists." - } + "ipPrefixId": { + "type": "string", + "description": "Arm Resource Id of IpPrefix." } } }, @@ -449,44 +428,117 @@ "type": "object", "description": "Route policy action properties.", "properties": { - "action": { - "type": "string", - "description": "action. Example: accept | deny." + "localPreference": { + "type": "integer", + "format": "int64", + "minimum": 0, + "maximum": 4294967295, + "description": "localPreference of the route policy." + }, + "actionType": { + "description": "action. Example: Permit | Deny.", + "$ref": "./common.json#/definitions/CommunityActionTypes" }, - "set": { + "ipCommunityProperties": { "type": "object", + "description": "ipCommunity Properties.", "properties": { + "add": { + "type": "object", + "description": "Route policy add manipulations.", + "properties": { + "ipCommunityIds": { + "type": "array", + "description": "List of IPCommunity resource IDs.", + "items": { + "type": "string", + "description": "Arm Resource Id of IPCommunity." + } + } + } + }, + "delete": { + "type": "object", + "description": "Route policy delete manipulations.", + "properties": { + "ipCommunityIds": { + "type": "array", + "description": "List of IPCommunity resource IDs.", + "items": { + "type": "string", + "description": "Arm Resource Id of IPCommunity." + } + } + } + }, "set": { "type": "object", "description": "Route policy set manipulations.", "properties": { - "ipCommunityListIds": { + "ipCommunityIds": { "type": "array", - "description": "ipCommunityListIds. Arm Resource Ids of IpCommunityLists.", - "x-ms-identifiers": [ - "value" - ], + "description": "List of IPCommunity resource IDs.", "items": { "type": "string", - "description": "Arm Resource Id of IpCommunityLists." + "description": "Arm Resource Id of IPCommunity." } - }, - "ipExtendedCommunityListIds": { + } + } + } + } + }, + "ipExtendedCommunityProperties": { + "type": "object", + "description": "IP Extended Community Properties.", + "properties": { + "add": { + "type": "object", + "description": "Route policy add manipulations.", + "properties": { + "ipExtendedCommunityIds": { "type": "array", - "description": "ipExtendedCommunityListIds. Arm Resource Ids of IpCommunityLists.", - "x-ms-identifiers": [ - "value" - ], + "description": "List of IPExtendedCommunity resource IDs.", "items": { "type": "string", - "description": "Arm Resource Id of IpCommunityLists." + "description": "Arm Resource Id of IPExtendedCommunity." + } + } + } + }, + "delete": { + "type": "object", + "description": "Route policy delete manipulations.", + "properties": { + "ipExtendedCommunityIds": { + "type": "array", + "description": "List of IPExtendedCommunity resource IDs.", + "items": { + "type": "string", + "description": "Arm Resource Id of IPExtendedCommunity." + } + } + } + }, + "set": { + "type": "object", + "description": "Route policy set manipulations.", + "properties": { + "ipExtendedCommunityIds": { + "type": "array", + "description": "List of IPExtendedCommunity resource IDs.", + "items": { + "type": "string", + "description": "Arm Resource Id of IPExtendedCommunity." } } } } } } - } + }, + "required": [ + "actionType" + ] } } } @@ -497,13 +549,11 @@ "readOnly": true } }, + "required": [ + "statements" + ], "description": "RoutePolicyProperties define the resource properties." }, - "RoutePolicyPatchProperties": { - "type": "object", - "properties": {}, - "description": "RoutePolicyPatchProperties define the patch resource properties." - }, "RoutePolicy": { "type": "object", "x-ms-azure-resource": true, @@ -529,11 +579,6 @@ "type": "object", "x-ms-azure-resource": true, "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Resource properties.", - "$ref": "#/definitions/RoutePolicyPatchProperties" - }, "tags": { "type": "object", "additionalProperties": { diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/common.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/common.json index aaa7b0757e9c..cac791b40a9d 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/common.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/common.json @@ -239,6 +239,18 @@ "modelAsString": true, "name": "NetworkDeviceRoleTypes" } + }, + "CommunityActionTypes": { + "type": "string", + "description": "community action types. Example: Permit | Deny.", + "enum": [ + "Permit", + "Deny" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "communityActionTypes" + } } }, "parameters": {} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_Create_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..ec862e1eaa6e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_Create_MaximumSet_Gen.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "rgIpCommunityLists", + "api-version": "2023-02-01-preview", + "ipCommunityName": "example-ipCommunity", + "body": { + "properties": { + "action": "Permit", + "wellKnownCommunities": [ + "Internet", + "LocalAS", + "NoExport", + "GShut" + ], + "communityMembers": [ + "1234:5678" + ], + "annotation": "annotationValue" + }, + "tags": { + "key2814": "" + }, + "location": "EastUS" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "action": "Permit", + "wellKnownCommunities": [ + "Internet", + "LocalAS", + "NoExport", + "GShut" + ], + "communityMembers": [ + "1234:5678" + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key2814": "" + }, + "location": "EastUS", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity", + "name": "example-ipCommunity", + "type": "microsoft.managednetworkfabric/ipCommunities", + "systemData": { + "createdBy": "user@email.com", + "createdByType": "User", + "createdAt": "2023-03-16T14:05:16.579Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T14:05:16.579Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "action": "Permit", + "wellKnownCommunities": [ + "Internet", + "LocalAS", + "NoExport", + "GShut" + ], + "communityMembers": [ + "1234:5678" + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key2814": "" + }, + "location": "EastUS", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity", + "name": "example-ipCommunity", + "type": "microsoft.managednetworkfabric/ipCommunities", + "systemData": { + "createdBy": "user@email.com", + "createdByType": "User", + "createdAt": "2023-03-16T14:05:16.579Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T14:05:16.579Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Delete_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_Delete_MaximumSet_Gen.json similarity index 58% rename from specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Delete_MinimumSet_Gen.json rename to specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_Delete_MaximumSet_Gen.json index 5456ce77d031..94b267c85b27 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Delete_MinimumSet_Gen.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_Delete_MaximumSet_Gen.json @@ -3,10 +3,15 @@ "subscriptionId": "subscriptionId", "resourceGroupName": "resourceGroupName", "api-version": "2023-02-01-preview", - "ipPrefixListName": "IpPrefixList1" + "ipCommunityName": "IpCommunityList1" }, "responses": { "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, "204": {} } } diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..f6d39bf28313 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_Get_MaximumSet_Gen.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "ipCommunityName": "example-ipCommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "action": "Permit", + "wellKnownCommunities": [ + "Internet", + "LocalAS", + "NoExport", + "GShut" + ], + "communityMembers": [ + "1234:5678" + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key2814": "" + }, + "location": "EastUS", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity", + "name": "example-ipCommunity", + "type": "microsoft.managednetworkfabric/ipCommunities", + "systemData": { + "createdBy": "user@email.com", + "createdByType": "User", + "createdAt": "2023-03-16T14:05:16.579Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T14:05:16.579Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_ListByResourceGroup_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..167914606260 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "action": "Permit", + "wellKnownCommunities": [ + "Internet", + "LocalAS", + "NoExport", + "GShut" + ], + "communityMembers": [ + "1234:5678" + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key2814": "" + }, + "location": "EastUS", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity", + "name": "example-ipCommunity", + "type": "microsoft.managednetworkfabric/ipCommunities", + "systemData": { + "createdBy": "user@email.com", + "createdByType": "User", + "createdAt": "2023-03-16T14:05:16.579Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T14:05:16.579Z" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_ListBySubscription_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..05338b418766 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "action": "Permit", + "wellKnownCommunities": [ + "Internet", + "LocalAS", + "NoExport", + "GShut" + ], + "communityMembers": [ + "1234:5678" + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key2814": "" + }, + "location": "EastUS", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity", + "name": "example-ipCommunity", + "type": "microsoft.managednetworkfabric/ipCommunities", + "systemData": { + "createdBy": "user@email.com", + "createdByType": "User", + "createdAt": "2023-03-16T14:05:16.579Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T14:05:16.579Z" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_Update_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..5339973b2b24 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunities_Update_MaximumSet_Gen.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "ipCommunityName": "example-ipCommunity", + "body": { + "tags": { + "key2814": "" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "action": "Permit", + "wellKnownCommunities": [ + "Internet", + "LocalAS", + "NoExport", + "GShut" + ], + "communityMembers": [ + "1234:5678" + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key2814": "" + }, + "location": "EastUS", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity", + "name": "example-ipCommunity", + "type": "microsoft.managednetworkfabric/ipCommunities", + "systemData": { + "createdBy": "user@email.com", + "createdByType": "User", + "createdAt": "2023-03-16T14:05:16.579Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T14:05:16.579Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Create_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Create_MinimumSet_Gen.json deleted file mode 100644 index a24ab44b5b44..000000000000 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Create_MinimumSet_Gen.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "rgIpCommunityLists", - "api-version": "2023-02-01-preview", - "ipCommunityListName": "aaaaa", - "body": { - "properties": { - "action": "allow", - "localAS": "true", - "advertise": "true", - "export": "true", - "communityMembers": [ - { - "communityMember": "1234:5678", - "annotation": "app2" - } - ], - "evpnEsImportRouteTargets": [ - { - "evpnEsImportRouteTarget": "1.1.1", - "annotation": "app1" - } - ], - "annotation": "aaaa" - }, - "tags": { - "key2814": "" - }, - "location": "EastUS" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "action": "allow", - "localAS": "true", - "advertise": "true", - "export": "true", - "communityMembers": [ - { - "communityMember": "1234:5678", - "annotation": "app2" - } - ], - "evpnEsImportRouteTargets": [ - { - "evpnEsImportRouteTarget": "1.1.1", - "annotation": "app1" - } - ], - "annotation": "aaa" - }, - "location": "EastUS", - "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/IpCommunityList/ipCommunityListName", - "name": "aaaaa", - "type": "microsoft.managednetworkfabric/example-internalnetwork", - "systemData": { - "createdBy": "user@email.com", - "createdByType": "User", - "createdAt": "2022-06-15T08:14:06.575Z", - "lastModifiedBy": "userId", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-06-15T08:14:06.576Z" - } - } - } - } -} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Delete_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Delete_MinimumSet_Gen.json deleted file mode 100644 index 365fba14b930..000000000000 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Delete_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroupName", - "api-version": "2023-02-01-preview", - "ipCommunityListName": "IpCommunityList1" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Get_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Get_MinimumSet_Gen.json deleted file mode 100644 index 9258efe5a975..000000000000 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroupName", - "api-version": "2023-02-01-preview", - "ipCommunityListName": "IpCommunityList1" - }, - "responses": { - "200": { - "body": { - "location": "EastUS", - "id": "aaaaaaaaaaaaaaaa" - } - } - } -} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_ListByResourceGroup_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_ListByResourceGroup_MinimumSet_Gen.json deleted file mode 100644 index 9c82292a1739..000000000000 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_ListByResourceGroup_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroupName", - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_ListBySubscription_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_ListBySubscription_MinimumSet_Gen.json deleted file mode 100644 index 22b723c9cc3f..000000000000 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_ListBySubscription_MinimumSet_Gen.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subscriptionId", - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Update_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Update_MinimumSet_Gen.json deleted file mode 100644 index 3a4c687900bf..000000000000 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Update_MinimumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroupName", - "api-version": "2023-02-01-preview", - "ipCommunityListName": "IpCommunityList1", - "body": {} - }, - "responses": { - "200": { - "body": { - "location": "EastUS" - } - } - } -} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_Create_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..ad8c12361047 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_Create_MaximumSet_Gen.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "rgIpExtendedCommunityLists", + "api-version": "2023-02-01-preview", + "ipExtendedCommunityName": "example_ipExtendedCommunity", + "body": { + "properties": { + "action": "Permit", + "routeTargets": [ + "1234:5678" + ], + "annotation": "annotationValue" + }, + "tags": { + "key5054": "key" + }, + "location": "EastUs" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "action": "Permit", + "routeTargets": [ + "1234:5678" + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key5054": "key" + }, + "location": "EastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example_ipExtendedCommunity", + "name": "example_ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "User", + "createdByType": "User", + "createdAt": "2023-03-16T14:44:01.092Z", + "lastModifiedBy": "user@mail.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T14:44:01.092Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "action": "Permit", + "routeTargets": [ + "1234:5678" + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key5054": "key" + }, + "location": "EastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example_ipExtendedCommunity", + "name": "example_ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "User", + "createdByType": "User", + "createdAt": "2023-03-16T14:44:01.092Z", + "lastModifiedBy": "user@mail.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T14:44:01.092Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_Delete_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..7e8bce0436b8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "rgIpExtendedCommunityLists", + "api-version": "2023-02-01-preview", + "ipExtendedCommunityName": "example_ipExtendedCommunity" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..56658b9c33f0 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_Get_MaximumSet_Gen.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "rgIpExtendedCommunityLists", + "api-version": "2023-02-01-preview", + "ipExtendedCommunityName": "example_ipExtendedCommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "action": "Permit", + "routeTargets": [ + "1234:5678" + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key5054": "key" + }, + "location": "EastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example_ipExtendedCommunity", + "name": "example_ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "User", + "createdByType": "User", + "createdAt": "2023-03-16T14:44:01.092Z", + "lastModifiedBy": "user@mail.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T14:44:01.092Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..0822e16ec697 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "rgIpExtendedCommunityLists", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "action": "Permit", + "routeTargets": [ + "1234:5678" + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key5054": "key" + }, + "location": "EastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example_ipExtendedCommunity", + "name": "example_ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "User", + "createdByType": "User", + "createdAt": "2023-03-16T14:44:01.092Z", + "lastModifiedBy": "user@mail.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T14:44:01.092Z" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_ListBySubscription_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..23176ab91ad9 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "action": "Permit", + "routeTargets": [ + "1234:5678" + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key5054": "key" + }, + "location": "EastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example_ipExtendedCommunity", + "name": "example_ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "User", + "createdByType": "User", + "createdAt": "2023-03-16T14:44:01.092Z", + "lastModifiedBy": "user@mail.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T14:44:01.092Z" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_Update_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..8a024ecbae6c --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpExtendedCommunities_Update_MaximumSet_Gen.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "rgIpExtendedCommunityLists", + "api-version": "2023-02-01-preview", + "ipExtendedCommunityName": "example_ipExtendedCommunity", + "body": { + "tags": { + "key5054": "key1" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "action": "Permit", + "routeTargets": [ + "1234:5678" + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key5054": "key" + }, + "location": "EastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example_ipExtendedCommunity", + "name": "example_ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "User", + "createdByType": "User", + "createdAt": "2023-03-16T14:44:01.092Z", + "lastModifiedBy": "user@mail.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T14:44:01.092Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Create_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Create_MinimumSet_Gen.json deleted file mode 100644 index 672c36439899..000000000000 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Create_MinimumSet_Gen.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroupName", - "api-version": "2023-02-01-preview", - "ipPrefixListName": "IpPrefixList1", - "body": { - "properties": { - "action": "allow", - "sequenceNumber": 19, - "networkAddress": "1.1.1.0/24" - }, - "location": "EastUS" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "action": "allow", - "sequenceNumber": 19, - "networkAddress": "1.1.1.0/24" - }, - "location": "EastUS", - "id": "resourceId" - } - } - } -} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Get_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Get_MinimumSet_Gen.json deleted file mode 100644 index faa76da7c569..000000000000 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroupName", - "api-version": "2023-02-01-preview", - "ipPrefixListName": "IpPrefixList1" - }, - "responses": { - "200": { - "body": { - "properties": { - "action": "allow", - "sequenceNumber": 19, - "networkAddress": "1.1.1.0/24" - }, - "location": "EastUS", - "id": "resourceId" - } - } - } -} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_ListByResourceGroup_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_ListByResourceGroup_MinimumSet_Gen.json deleted file mode 100644 index 9c82292a1739..000000000000 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_ListByResourceGroup_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroupName", - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_ListBySubscription_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_ListBySubscription_MinimumSet_Gen.json deleted file mode 100644 index 22b723c9cc3f..000000000000 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_ListBySubscription_MinimumSet_Gen.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subscriptionId", - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Update_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Update_MinimumSet_Gen.json deleted file mode 100644 index f431b608c3e8..000000000000 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Update_MinimumSet_Gen.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroupName", - "api-version": "2023-02-01-preview", - "ipPrefixListName": "IpPrefixList1", - "body": {} - }, - "responses": { - "200": { - "body": { - "properties": { - "action": "allow", - "sequenceNumber": 19, - "networkAddress": "1.1.1.0/24" - }, - "location": "EastUS" - } - } - } -} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_Create_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..74b6e778022d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_Create_MaximumSet_Gen.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourcegroupname", + "api-version": "2023-02-01-preview", + "ipPrefixName": "example-ipPrefix", + "body": { + "properties": { + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 12, + "networkPrefix": "1.1.1.0/24", + "condition": "EqualTo", + "subnetMaskLength": 28 + } + ], + "annotation": "annotationValue" + }, + "tags": { + "key6404": "" + }, + "location": "EastUS" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 12, + "networkPrefix": "1.1.1.0/24", + "condition": "EqualTo", + "subnetMaskLength": 28 + } + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key6404": "" + }, + "location": "EastUS", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "User", + "createdByType": "User", + "createdAt": "2023-03-16T15:43:02.233Z", + "lastModifiedBy": "user@mail.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T15:43:02.233Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 12, + "networkPrefix": "1.1.1.0/24", + "condition": "EqualTo", + "subnetMaskLength": 28 + } + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key6404": "" + }, + "location": "EastUS", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "User", + "createdByType": "User", + "createdAt": "2023-03-16T15:43:02.233Z", + "lastModifiedBy": "user@mail.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T15:43:02.233Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_Delete_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..ada0ee9e3f1e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "xxxxxx", + "resourceGroupName": "rgIpPrefixLists", + "api-version": "2023-02-01-preview", + "ipPrefixName": "example-ipPrefix" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..0a7513cd3214 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_Get_MaximumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "xxxxxx", + "resourceGroupName": "resourcegroupname", + "api-version": "2023-02-01-preview", + "ipPrefixName": "example-ipPrefix" + }, + "responses": { + "200": { + "body": { + "properties": { + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 12, + "networkPrefix": "1.1.1.0/24", + "condition": "EqualTo", + "subnetMaskLength": 28 + } + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key6404": "" + }, + "location": "EastUS", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "User", + "createdByType": "User", + "createdAt": "2023-03-16T15:43:02.233Z", + "lastModifiedBy": "user@mail.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T15:43:02.233Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_ListByResourceGroup_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..ece21baf062d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourcegroupname", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 12, + "networkPrefix": "1.1.1.0/24", + "condition": "EqualTo", + "subnetMaskLength": 28 + } + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key6404": "" + }, + "location": "EastUS", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "User", + "createdByType": "User", + "createdAt": "2023-03-16T15:43:02.233Z", + "lastModifiedBy": "user@mail.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T15:43:02.233Z" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_ListBySubscription_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..723ab31cb12d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 12, + "networkPrefix": "1.1.1.0/24", + "condition": "EqualTo", + "subnetMaskLength": 28 + } + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key6404": "" + }, + "location": "EastUS", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "User", + "createdByType": "User", + "createdAt": "2023-03-16T15:43:02.233Z", + "lastModifiedBy": "user@mail.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T15:43:02.233Z" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_Update_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..3ee75e216f06 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixes_Update_MaximumSet_Gen.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourcegroupname", + "api-version": "2023-02-01-preview", + "ipPrefixName": "example-ipPrefix", + "body": { + "tags": { + "key3127": "key" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 12, + "networkPrefix": "1.1.1.0/24", + "condition": "EqualTo", + "subnetMaskLength": 28 + } + ], + "provisioningState": "Succeeded", + "annotation": "annotationValue" + }, + "tags": { + "key6404": "" + }, + "location": "EastUS", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "User", + "createdByType": "User", + "createdAt": "2023-03-16T15:43:02.233Z", + "lastModifiedBy": "user@mail.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-16T15:43:02.233Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Create_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Create_MaximumSet_Gen.json index d56afc3f753f..9fc5d3810954 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Create_MaximumSet_Gen.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Create_MaximumSet_Gen.json @@ -14,13 +14,13 @@ "fabricASN": 29249, "networkFabricControllerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName", "terminalServerConfiguration": { - "username": "username", - "password": "xxxx", - "serialNumber": "123456", "primaryIpv4Prefix": "20.0.0.12/30", "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a8/126", "secondaryIpv4Prefix": "20.0.0.13/30", - "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126" + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126", + "username": "username", + "password": "xxxx", + "serialNumber": "123456" }, "managementNetworkConfiguration": { "infrastructureVpnConfiguration": { @@ -33,11 +33,27 @@ "65046:10039" ] }, - "optionAProperties": null + "optionAProperties": { + "mtu": 5892, + "vlanId": 2724, + "peerASN": 42666, + "primaryIpv4Prefix": "20.0.0.12/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a8/126", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126" + } }, "workloadVpnConfiguration": { "peeringOption": "OptionA", - "optionAProperties": null, + "optionAProperties": { + "mtu": 5892, + "vlanId": 2724, + "peerASN": 42666, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + }, "optionBProperties": { "importRouteTargets": [ "65046:10050" @@ -47,9 +63,13 @@ ] } } - } + }, + "annotation": "annotationValue" + }, + "tags": { + "key6468": "" }, - "location": "eastus" + "location": "eastuseuap" } }, "responses": { @@ -66,17 +86,17 @@ "networkFabricControllerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName", "terminalServerConfiguration": { "networkDeviceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName", - "username": "username", - "serialNumber": "123456", "primaryIpv4Prefix": "20.0.0.12/30", "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a8/126", "secondaryIpv4Prefix": "20.0.0.14/30", - "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126" + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126", + "username": "username", + "serialNumber": "123456" }, "managementNetworkConfiguration": { "infrastructureVpnConfiguration": { "administrativeState": "Enabled", - "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", "peeringOption": "OptionA", "optionBProperties": { "importRouteTargets": [ @@ -86,25 +106,50 @@ "65046:10039" ] }, - "optionAProperties": null + "optionAProperties": { + "mtu": 5892, + "vlanId": 2724, + "peerASN": 42666, + "bfdConfiguration": { + "interval": 8, + "multiplier": 29 + }, + "primaryIpv4Prefix": "20.0.0.12/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a8/126", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126" + } }, "workloadVpnConfiguration": { "administrativeState": "Enabled", "peeringOption": "OptionA", "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", - "optionAProperties": null, + "optionAProperties": { + "mtu": 5892, + "vlanId": 2724, + "peerASN": 42666, + "bfdConfiguration": { + "interval": 8, + "multiplier": 29 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + }, "optionBProperties": { "importRouteTargets": [ "65046:10050" ], "exportRouteTargets": [ - "65046:10050" + "65047:10080" ] } } }, "operationalState": "Provisioning", "provisioningState": "Succeeded", + "annotation": "annotationValue", "racks": [ "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3AggRack", "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack1", @@ -117,6 +162,9 @@ "/subscriptions/xxxxx/resourceGroups/resourecegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName" ] }, + "tags": { + "key6468": "" + }, "location": "eastuseuap", "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", "name": "FabricName", @@ -124,10 +172,10 @@ "systemData": { "createdBy": "User@email.com", "createdByType": "User", - "createdAt": "2023-02-11T04:17:22.639Z", + "createdAt": "2023-03-17T11:01:18.007Z", "lastModifiedBy": "User", "lastModifiedByType": "User", - "lastModifiedAt": "2023-02-11T04:17:22.639Z" + "lastModifiedAt": "2023-03-17T11:01:18.007Z" } } }, @@ -147,33 +195,57 @@ "networkFabricControllerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName", "terminalServerConfiguration": { "networkDeviceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName", - "username": "username", - "serialNumber": "123456", "primaryIpv4Prefix": "20.0.0.12/30", "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a8/126", "secondaryIpv4Prefix": "20.0.0.14/30", - "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126" + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126", + "username": "username", + "serialNumber": "123456" }, "managementNetworkConfiguration": { "infrastructureVpnConfiguration": { "administrativeState": "Enabled", - "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", "peeringOption": "OptionA", "optionBProperties": { "importRouteTargets": [ "65046:10039" ], "exportRouteTargets": [ - "65046:10039" + "65047:10040" ] }, - "optionAProperties": null + "optionAProperties": { + "mtu": 5892, + "vlanId": 2724, + "peerASN": 42666, + "bfdConfiguration": { + "interval": 8, + "multiplier": 29 + }, + "primaryIpv4Prefix": "20.0.0.12/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a8/126", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126" + } }, "workloadVpnConfiguration": { "administrativeState": "Enabled", "peeringOption": "OptionA", - "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", - "optionAProperties": null, + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", + "optionAProperties": { + "mtu": 5892, + "vlanId": 2724, + "peerASN": 42666, + "bfdConfiguration": { + "interval": 8, + "multiplier": 29 + }, + "primaryIpv4Prefix": "20.0.0.13/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a1/126", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126" + }, "optionBProperties": { "importRouteTargets": [ "65046:10050" @@ -186,6 +258,7 @@ }, "operationalState": "Provisioning", "provisioningState": "Succeeded", + "annotation": "annotationValue", "racks": [ "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3AggRack", "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack1", @@ -198,6 +271,9 @@ "/subscriptions/xxxxx/resourceGroups/resourecegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName" ] }, + "tags": { + "key6468": "" + }, "location": "eastuseuap", "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", "name": "FabricName", @@ -205,10 +281,10 @@ "systemData": { "createdBy": "User@email.com", "createdByType": "User", - "createdAt": "2023-02-11T04:17:22.639Z", + "createdAt": "2023-03-17T11:01:18.007Z", "lastModifiedBy": "User", "lastModifiedByType": "User", - "lastModifiedAt": "2023-02-11T04:17:22.639Z" + "lastModifiedAt": "2023-03-17T11:01:18.007Z" } } } diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Get_MaximumSet_Gen.json index ac70c5b1421c..54ad1c166434 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Get_MaximumSet_Gen.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Get_MaximumSet_Gen.json @@ -19,17 +19,17 @@ "networkFabricControllerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName", "terminalServerConfiguration": { "networkDeviceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName", - "username": "username", - "serialNumber": "123456", "primaryIpv4Prefix": "20.0.0.12/30", "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a8/126", "secondaryIpv4Prefix": "20.0.0.14/30", - "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126" + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126", + "username": "username", + "serialNumber": "123456" }, "managementNetworkConfiguration": { "infrastructureVpnConfiguration": { "administrativeState": "Enabled", - "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", "peeringOption": "OptionA", "optionBProperties": { "importRouteTargets": [ @@ -39,25 +39,50 @@ "65046:10039" ] }, - "optionAProperties": null + "optionAProperties": { + "mtu": 5892, + "vlanId": 2724, + "peerASN": 42666, + "bfdConfiguration": { + "interval": 8, + "multiplier": 29 + }, + "primaryIpv4Prefix": "20.0.0.12/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a8/126", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126" + } }, "workloadVpnConfiguration": { "administrativeState": "Enabled", "peeringOption": "OptionA", "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", - "optionAProperties": null, + "optionAProperties": { + "mtu": 5892, + "vlanId": 2724, + "peerASN": 42666, + "bfdConfiguration": { + "interval": 8, + "multiplier": 29 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + }, "optionBProperties": { "importRouteTargets": [ "65046:10050" ], "exportRouteTargets": [ - "65046:10050" + "65047:10080" ] } } }, "operationalState": "Provisioning", "provisioningState": "Succeeded", + "annotation": "annotationValue", "racks": [ "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3AggRack", "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack1", @@ -70,6 +95,9 @@ "/subscriptions/xxxxx/resourceGroups/resourecegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName" ] }, + "tags": { + "key6468": "" + }, "location": "eastuseuap", "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", "name": "FabricName", @@ -77,10 +105,10 @@ "systemData": { "createdBy": "User@email.com", "createdByType": "User", - "createdAt": "2023-02-11T04:17:22.639Z", + "createdAt": "2023-03-17T11:01:18.007Z", "lastModifiedBy": "User", "lastModifiedByType": "User", - "lastModifiedAt": "2023-02-11T04:17:22.639Z" + "lastModifiedAt": "2023-03-17T11:01:18.007Z" } } } diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_ListByResourceGroup_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_ListByResourceGroup_MaximumSet_Gen.json index fb227f010382..9c6a880a9a04 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_ListByResourceGroup_MaximumSet_Gen.json @@ -20,17 +20,17 @@ "networkFabricControllerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName", "terminalServerConfiguration": { "networkDeviceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName", - "username": "username", - "serialNumber": "123456", "primaryIpv4Prefix": "20.0.0.12/30", "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a8/126", "secondaryIpv4Prefix": "20.0.0.14/30", - "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126" + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126", + "username": "username", + "serialNumber": "123456" }, "managementNetworkConfiguration": { "infrastructureVpnConfiguration": { "administrativeState": "Enabled", - "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", "peeringOption": "OptionA", "optionBProperties": { "importRouteTargets": [ @@ -40,25 +40,50 @@ "65046:10039" ] }, - "optionAProperties": null + "optionAProperties": { + "mtu": 5892, + "vlanId": 2724, + "peerASN": 42666, + "bfdConfiguration": { + "interval": 8, + "multiplier": 29 + }, + "primaryIpv4Prefix": "20.0.0.12/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a8/126", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126" + } }, "workloadVpnConfiguration": { "administrativeState": "Enabled", "peeringOption": "OptionA", "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", - "optionAProperties": null, + "optionAProperties": { + "mtu": 5892, + "vlanId": 2724, + "peerASN": 42666, + "bfdConfiguration": { + "interval": 8, + "multiplier": 29 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + }, "optionBProperties": { "importRouteTargets": [ "65046:10050" ], "exportRouteTargets": [ - "65046:10050" + "65047:10080" ] } } }, "operationalState": "Provisioning", "provisioningState": "Succeeded", + "annotation": "annotationValue", "racks": [ "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3AggRack", "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack1", @@ -71,6 +96,9 @@ "/subscriptions/xxxxx/resourceGroups/resourecegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName" ] }, + "tags": { + "key6468": "" + }, "location": "eastuseuap", "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", "name": "FabricName", @@ -78,10 +106,10 @@ "systemData": { "createdBy": "User@email.com", "createdByType": "User", - "createdAt": "2023-02-11T04:17:22.639Z", + "createdAt": "2023-03-17T11:01:18.007Z", "lastModifiedBy": "User", "lastModifiedByType": "User", - "lastModifiedAt": "2023-02-11T04:17:22.639Z" + "lastModifiedAt": "2023-03-17T11:01:18.007Z" } } ], diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_ListBySubscription_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_ListBySubscription_MaximumSet_Gen.json index 74fa05f9bf74..c43955eddd38 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_ListBySubscription_MaximumSet_Gen.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_ListBySubscription_MaximumSet_Gen.json @@ -19,17 +19,17 @@ "networkFabricControllerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName", "terminalServerConfiguration": { "networkDeviceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName", - "username": "username", - "serialNumber": "123456", "primaryIpv4Prefix": "20.0.0.12/30", "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a8/126", "secondaryIpv4Prefix": "20.0.0.14/30", - "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126" + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126", + "username": "username", + "serialNumber": "123456" }, "managementNetworkConfiguration": { "infrastructureVpnConfiguration": { "administrativeState": "Enabled", - "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", "peeringOption": "OptionA", "optionBProperties": { "importRouteTargets": [ @@ -39,25 +39,50 @@ "65046:10039" ] }, - "optionAProperties": null + "optionAProperties": { + "mtu": 5892, + "vlanId": 2724, + "peerASN": 42666, + "bfdConfiguration": { + "interval": 8, + "multiplier": 29 + }, + "primaryIpv4Prefix": "20.0.0.12/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a8/126", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126" + } }, "workloadVpnConfiguration": { "administrativeState": "Enabled", "peeringOption": "OptionA", "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", - "optionAProperties": null, + "optionAProperties": { + "mtu": 5892, + "vlanId": 2724, + "peerASN": 42666, + "bfdConfiguration": { + "interval": 8, + "multiplier": 29 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + }, "optionBProperties": { "importRouteTargets": [ "65046:10050" ], "exportRouteTargets": [ - "65046:10050" + "65047:10080" ] } } }, "operationalState": "Provisioning", "provisioningState": "Succeeded", + "annotation": "annotationValue", "racks": [ "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3AggRack", "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack1", @@ -70,6 +95,9 @@ "/subscriptions/xxxxx/resourceGroups/resourecegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName" ] }, + "tags": { + "key6468": "" + }, "location": "eastuseuap", "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", "name": "FabricName", @@ -77,10 +105,10 @@ "systemData": { "createdBy": "User@email.com", "createdByType": "User", - "createdAt": "2023-02-11T04:17:22.639Z", + "createdAt": "2023-03-17T11:01:18.007Z", "lastModifiedBy": "User", "lastModifiedByType": "User", - "lastModifiedAt": "2023-02-11T04:17:22.639Z" + "lastModifiedAt": "2023-03-17T11:01:18.007Z" } } ], diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Update_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Update_MaximumSet_Gen.json index 61351a5ced16..2cdcd5924539 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Update_MaximumSet_Gen.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Update_MaximumSet_Gen.json @@ -6,11 +6,15 @@ "networkFabricName": "FabricName", "body": { "properties": { + "annotation": "annotationValue", "terminalServerConfiguration": { "username": "username", "password": "xxxxxxx", "serialNumber": "234567" } + }, + "tags": { + "key1758": "" } } }, @@ -28,17 +32,17 @@ "networkFabricControllerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName", "terminalServerConfiguration": { "networkDeviceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName", + "primaryIpv4Prefix": "20.0.0.12/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a8/126", + "secondaryIpv4Prefix": "20.0.0.14/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126", "username": "username", - "serialNumber": "234567", - "primaryIpv4Prefix": "20.0.0.13/30", - "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a9/126", - "secondaryIpv4Prefix": "20.0.0.15/30", - "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a1/126" + "serialNumber": "234567" }, "managementNetworkConfiguration": { "infrastructureVpnConfiguration": { "administrativeState": "Enabled", - "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", "peeringOption": "OptionA", "optionBProperties": { "importRouteTargets": [ @@ -48,25 +52,50 @@ "65046:10039" ] }, - "optionAProperties": null + "optionAProperties": { + "mtu": 5892, + "vlanId": 2724, + "peerASN": 42666, + "bfdConfiguration": { + "interval": 8, + "multiplier": 29 + }, + "primaryIpv4Prefix": "20.0.0.12/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a8/126", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::ac/126" + } }, "workloadVpnConfiguration": { "administrativeState": "Enabled", "peeringOption": "OptionA", "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", - "optionAProperties": null, + "optionAProperties": { + "mtu": 5892, + "vlanId": 2724, + "peerASN": 42666, + "bfdConfiguration": { + "interval": 8, + "multiplier": 29 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + }, "optionBProperties": { "importRouteTargets": [ "65046:10050" ], "exportRouteTargets": [ - "65046:10050" + "65047:10080" ] } } }, "operationalState": "Provisioning", "provisioningState": "Succeeded", + "annotation": "annotationValue", "racks": [ "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3AggRack", "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack1", @@ -79,6 +108,9 @@ "/subscriptions/xxxxx/resourceGroups/resourecegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName" ] }, + "tags": { + "key6468": "" + }, "location": "eastuseuap", "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", "name": "FabricName", @@ -86,10 +118,10 @@ "systemData": { "createdBy": "User@email.com", "createdByType": "User", - "createdAt": "2023-02-11T04:17:22.639Z", + "createdAt": "2023-03-17T11:01:18.007Z", "lastModifiedBy": "User", "lastModifiedByType": "User", - "lastModifiedAt": "2023-02-11T04:17:22.639Z" + "lastModifiedAt": "2023-03-17T11:01:18.007Z" } } }, diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_Create_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_Create_MaximumSet_Gen.json index dab3690af3c1..8dd4675aca17 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_Create_MaximumSet_Gen.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_Create_MaximumSet_Gen.json @@ -7,6 +7,7 @@ "networkToNetworkInterconnectName": "DefaultNNI", "body": { "properties": { + "nniType": "CE", "isManagementType": "True", "useOptionB": "False", "layer2Configuration": { @@ -30,6 +31,7 @@ "200": { "body": { "properties": { + "nniType": "CE", "administrativeState": "Enabled", "isManagementType": "True", "useOptionB": "True", @@ -72,6 +74,7 @@ }, "body": { "properties": { + "nniType": "CE", "administrativeState": "Enabled", "isManagementType": "True", "useOptionB": "True", @@ -95,9 +98,9 @@ }, "provisioningState": "Succeeded" }, - "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", "name": "DefaultNNI", - "type": "Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", "systemData": { "createdBy": "User@email.com", "createdByType": "User", diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_Get_MaximumSet_Gen.json index 975efb77e44d..55f2396ae4ca 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_Get_MaximumSet_Gen.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_Get_MaximumSet_Gen.json @@ -10,6 +10,7 @@ "200": { "body": { "properties": { + "nniType": "CE", "administrativeState": "Enabled", "isManagementType": "True", "useOptionB": "True", @@ -33,9 +34,9 @@ }, "provisioningState": "Succeeded" }, - "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", "name": "DefaultNNI", - "type": "Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", "systemData": { "createdBy": "User@email.com", "createdByType": "User", diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_List_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_List_MaximumSet_Gen.json index c1cc259499bd..40c78e2a669e 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_List_MaximumSet_Gen.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_List_MaximumSet_Gen.json @@ -11,6 +11,7 @@ "value": [ { "properties": { + "nniType": "CE", "administrativeState": "Enabled", "isManagementType": "True", "useOptionB": "True", @@ -34,9 +35,9 @@ }, "provisioningState": "Succeeded" }, - "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", "name": "DefaultNNI", - "type": "Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", "systemData": { "createdBy": "User@email.com", "createdByType": "User", diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Create_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Create_MaximumSet_Gen.json index cbf0749e86cd..bdf827552144 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Create_MaximumSet_Gen.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Create_MaximumSet_Gen.json @@ -3,41 +3,63 @@ "subscriptionId": "subscriptionId", "resourceGroupName": "rgRoutePolicies", "api-version": "2023-02-01-preview", - "routePolicyName": "example RoutePolicy", + "routePolicyName": "routePolicyName", "body": { "properties": { - "description": "RPexample", - "conditions": [ + "statements": [ { "sequenceNumber": 7, - "match": { - "accessControlListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/accessControlLists/accessControlListName" + "condition": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" ], - "ipCommunityListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" ], - "ipExtendedCommunityListIds": [ - "" - ] + "ipPrefixId": "subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" }, "action": { - "action": "allow", - "set": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + }, "set": { - "ipCommunityListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" - ], - "ipExtendedCommunityListIds": [ - "" + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" ] } } }, - "annotation": "" + "annotation": "annotationValue" } ], - "annotation": "example routepolicy" + "annotation": "annotationValue" }, "tags": { "key8254": "" @@ -49,39 +71,61 @@ "200": { "body": { "properties": { - "description": "RPexample", - "conditions": [ + "statements": [ { "sequenceNumber": 7, - "match": { - "accessControlListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/accessControlLists/accessControlListName" + "condition": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" ], - "ipCommunityListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" ], - "ipExtendedCommunityListIds": [ - "" - ] + "ipPrefixId": "subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" }, "action": { - "action": "allow", - "set": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + }, "set": { - "ipCommunityListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" - ], - "ipExtendedCommunityListIds": [ - "" + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" ] } } }, - "annotation": "" + "annotation": "annotationValue" } ], "provisioningState": "Succeeded", - "annotation": "example routepolicy" + "annotation": "annotationValue" }, "tags": { "key8254": "" @@ -91,69 +135,91 @@ "name": "routePolicyName", "type": "microsoft.managednetworkfabric/routePolicies", "systemData": { - "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdBy": "User", "createdByType": "Application", - "createdAt": "2022-09-16T06:09:38.603Z", + "createdAt": "2023-03-16T12:42:03.945Z", "lastModifiedBy": "email@address.com", "lastModifiedByType": "User", - "lastModifiedAt": "2022-09-16T06:19:40.603Z" + "lastModifiedAt": "2023-03-16T12:42:03.946Z" } } }, "201": { "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" + "Azure-AsyncOperation": "https://contoso.com/operationstatus" }, "body": { "properties": { - "description": "RPexample", - "conditions": [ + "statements": [ { "sequenceNumber": 7, - "match": { - "accessControlListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/accessControlLists/accessControlListName" + "condition": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" ], - "ipCommunityListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" ], - "ipExtendedCommunityListIds": [ - "" - ] + "ipPrefixId": "subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" }, "action": { - "action": "allow", - "set": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + }, "set": { - "ipCommunityListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" - ], - "ipExtendedCommunityListIds": [ - "" + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" ] } } }, - "annotation": "" + "annotation": "annotationValue" } ], "provisioningState": "Succeeded", - "annotation": "example routepolicy" + "annotation": "annotationValue" }, "tags": { "key8254": "" }, "location": "EastUS", - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "id": "/subscriptions/subscriptionId/resourceGroups/rgRoutePolicies/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", "name": "routePolicyName", "type": "microsoft.managednetworkfabric/routePolicies", "systemData": { - "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdBy": "User", "createdByType": "Application", - "createdAt": "2022-09-16T06:09:38.603Z", + "createdAt": "2023-03-16T12:42:03.945Z", "lastModifiedBy": "email@address.com", "lastModifiedByType": "User", - "lastModifiedAt": "2022-09-16T06:19:40.603Z" + "lastModifiedAt": "2023-03-16T12:42:03.946Z" } } } diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Delete_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Delete_MaximumSet_Gen.json index bb4a8fd3944c..c34c97a33d25 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Delete_MaximumSet_Gen.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Delete_MaximumSet_Gen.json @@ -1,15 +1,15 @@ { "parameters": { - "subscriptionId": "aaaaa", + "subscriptionId": "subscriptionId", "resourceGroupName": "rgRoutePolicies", "api-version": "2023-02-01-preview", - "routePolicyName": "aaaaaaaaaaaaaaaa" + "routePolicyName": "routePolicyName" }, "responses": { "200": {}, "202": { "headers": { - "location": "https://foo.com/operationstatus" + "location": "https://contoso.com/operationstatus" } }, "204": {} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Get_MaximumSet_Gen.json index af621d8c9de7..e058e4bef1d7 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Get_MaximumSet_Gen.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Get_MaximumSet_Gen.json @@ -1,62 +1,84 @@ { "parameters": { - "subscriptionId": "aaaaa", + "subscriptionId": "subscriptionId", "resourceGroupName": "rgRoutePolicies", "api-version": "2023-02-01-preview", - "routePolicyName": "aaaaaaa" + "routePolicyName": "routePolicyName" }, "responses": { "200": { "body": { "properties": { - "description": "RPexample", - "conditions": [ + "statements": [ { "sequenceNumber": 7, - "match": { - "accessControlListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/accessControlLists/accessControlListName" + "condition": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" ], - "ipCommunityListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" ], - "ipExtendedCommunityListIds": [ - "" - ] + "ipPrefixId": "subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" }, "action": { - "action": "allow", - "set": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" + ] + }, "set": { - "ipCommunityListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" - ], - "ipExtendedCommunityListIds": [ - "" + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" ] } } }, - "annotation": "" + "annotation": "annotationValue" } ], "provisioningState": "Succeeded", - "annotation": "example routepolicy" + "annotation": "annotationValue" }, "tags": { "key8254": "" }, "location": "EastUS", - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "id": "/subscriptions/subscriptionId/resourceGroups/rgRoutePolicies/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", "name": "routePolicyName", "type": "microsoft.managednetworkfabric/routePolicies", "systemData": { - "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdBy": "User", "createdByType": "Application", - "createdAt": "2022-09-16T06:09:38.603Z", + "createdAt": "2023-03-16T12:42:03.945Z", "lastModifiedBy": "email@address.com", "lastModifiedByType": "User", - "lastModifiedAt": "2022-09-16T06:19:40.603Z" + "lastModifiedAt": "2023-03-16T12:42:03.946Z" } } } diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_ListByResourceGroup_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_ListByResourceGroup_MaximumSet_Gen.json index 3af61252c230..dea45907bbd1 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_ListByResourceGroup_MaximumSet_Gen.json @@ -1,6 +1,6 @@ { "parameters": { - "subscriptionId": "aaaaa", + "subscriptionId": "subscriptionId", "resourceGroupName": "rgRoutePolicies", "api-version": "2023-02-01-preview" }, @@ -10,39 +10,61 @@ "value": [ { "properties": { - "description": "RPexample", - "conditions": [ + "statements": [ { "sequenceNumber": 7, - "match": { - "accessControlListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/accessControlLists/accessControlListName" + "condition": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" ], - "ipCommunityListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" ], - "ipExtendedCommunityListIds": [ - "" - ] + "ipPrefixId": "subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" }, "action": { - "action": "allow", - "set": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" + ] + }, "set": { - "ipCommunityListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" - ], - "ipExtendedCommunityListIds": [ - "" + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" ] } } }, - "annotation": "" + "annotation": "annotationValue" } ], "provisioningState": "Succeeded", - "annotation": "example routepolicy" + "annotation": "annotationValue" }, "tags": { "key8254": "" @@ -52,16 +74,16 @@ "name": "routePolicyName", "type": "microsoft.managednetworkfabric/routePolicies", "systemData": { - "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdBy": "User", "createdByType": "Application", - "createdAt": "2022-09-16T06:09:38.603Z", + "createdAt": "2023-03-16T12:42:03.945Z", "lastModifiedBy": "email@address.com", "lastModifiedByType": "User", - "lastModifiedAt": "2022-09-16T06:19:40.603Z" + "lastModifiedAt": "2023-03-16T12:42:03.946Z" } } ], - "nextLink": "a" + "nextLink": "nextLink" } } } diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_ListBySubscription_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_ListBySubscription_MaximumSet_Gen.json index 240ea9df7268..5ac3f2f06a05 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_ListBySubscription_MaximumSet_Gen.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_ListBySubscription_MaximumSet_Gen.json @@ -1,7 +1,6 @@ { "parameters": { "subscriptionId": "subscriptionId", - "resourceGroupName": "rgRoutePolicies", "api-version": "2023-02-01-preview" }, "responses": { @@ -10,39 +9,61 @@ "value": [ { "properties": { - "description": "RPexample", - "conditions": [ + "statements": [ { "sequenceNumber": 7, - "match": { - "accessControlListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/accessControlLists/accessControlListName" + "condition": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" ], - "ipCommunityListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" ], - "ipExtendedCommunityListIds": [ - "" - ] + "ipPrefixId": "subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" }, "action": { - "action": "allow", - "set": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" + ] + }, "set": { - "ipCommunityListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" - ], - "ipExtendedCommunityListIds": [ - "" + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" ] } } }, - "annotation": "" + "annotation": "annotationValue" } ], "provisioningState": "Succeeded", - "annotation": "example routepolicy" + "annotation": "annotationValue" }, "tags": { "key8254": "" @@ -52,16 +73,16 @@ "name": "routePolicyName", "type": "microsoft.managednetworkfabric/routePolicies", "systemData": { - "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdBy": "User", "createdByType": "Application", - "createdAt": "2022-09-16T06:09:38.603Z", + "createdAt": "2023-03-16T12:42:03.945Z", "lastModifiedBy": "email@address.com", "lastModifiedByType": "User", - "lastModifiedAt": "2022-09-16T06:19:40.603Z" + "lastModifiedAt": "2023-03-16T12:42:03.946Z" } } ], - "nextLink": "a" + "nextLink": "nextLink" } } } diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Update_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Update_MaximumSet_Gen.json index 7d1c898739fe..1910d15264c9 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Update_MaximumSet_Gen.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Update_MaximumSet_Gen.json @@ -1,13 +1,12 @@ { "parameters": { - "subscriptionId": "aaaaa", - "resourceGroupName": "rgRoutePolicies", + "subscriptionId": "97D66995-95BA-464A-A250-FB6E25E499A8", + "resourceGroupName": "resourceGroupName", "api-version": "2023-02-01-preview", - "routePolicyName": "aaaaaaaaaaaaaaaaaaaaa", + "routePolicyName": "routePolicyName", "body": { - "properties": {}, "tags": { - "key1917": "aaaaaaaaaaaaa" + "key8254": "" } } }, @@ -15,60 +14,82 @@ "200": { "body": { "properties": { - "description": "aaaaaaaa", - "conditions": [ + "statements": [ { "sequenceNumber": 7, - "match": { - "accessControlListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/accessControlLists/accessControlListName" + "condition": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" ], - "ipCommunityListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" ], - "ipExtendedCommunityListIds": [ - "" - ] + "ipPrefixId": "subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" }, "action": { - "action": "allow", - "set": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipCommunities/ipCommunityName" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" + ] + }, "set": { - "ipCommunityListIds": [ - "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" - ], - "ipExtendedCommunityListIds": [ - "" + "ipExtendedCommunityIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/ipExtendedCommunityName" ] } } }, - "annotation": "aaaaaaaaaaaaaa" + "annotation": "annotationValue" } ], "provisioningState": "Succeeded", - "annotation": "example routepolicy" + "annotation": "annotationValue" }, "tags": { - "key8254": "aaaaaaaaaaaaaaaaaaa" + "key8254": "" }, "location": "EastUS", "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", "name": "routePolicyName", "type": "microsoft.managednetworkfabric/routePolicies", "systemData": { - "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdBy": "User", "createdByType": "Application", - "createdAt": "2022-09-16T06:09:38.603Z", + "createdAt": "2023-03-16T12:42:03.945Z", "lastModifiedBy": "email@address.com", "lastModifiedByType": "User", - "lastModifiedAt": "2022-09-16T06:19:40.603Z" + "lastModifiedAt": "2023-03-16T12:42:03.946Z" } } }, "202": { "headers": { - "location": "https://foo.com/operationstatus" + "location": "https://contoso.com/operationstatus" } } } diff --git a/specification/managednetworkfabric/resource-manager/readme.csharp.md b/specification/managednetworkfabric/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..5ef1a587b332 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/readme.csharp.md @@ -0,0 +1,15 @@ +## C + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.ManagedNetworkFabric + output-folder: $(csharp-sdks-folder)/managednetworkfabric/management/Microsoft.ManagedNetworkFabric/GeneratedProtocol +``` diff --git a/specification/managednetworkfabric/resource-manager/readme.md b/specification/managednetworkfabric/resource-manager/readme.md index 480ce2a7ed72..f32e8d7a641e 100644 --- a/specification/managednetworkfabric/resource-manager/readme.md +++ b/specification/managednetworkfabric/resource-manager/readme.md @@ -38,8 +38,9 @@ These settings apply only when `--tag=package-2023-02-01-preview` is specified o ```yaml $(tag) == 'package-2023-02-01-preview' input-file: - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/AccessControlLists.json - - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpCommunityLists.json - - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpPrefixLists.json + - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpCommunities.json + - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpExtendedCommunities.json + - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpPrefixes.json - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/L2IsolationDomains.json - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/L3IsolationDomains.json - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkDeviceSkus.json From 203d3e011971637dbd20d294258d092f3bfc0003 Mon Sep 17 00:00:00 2001 From: "Mohana Krishna Nali (Dhyan Networks and Technologie)" Date: Thu, 1 Jun 2023 22:48:41 +0530 Subject: [PATCH 2/6] updating swagger-to-sdk in readme.md --- .../managednetworkfabric/resource-manager/readme.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/specification/managednetworkfabric/resource-manager/readme.md b/specification/managednetworkfabric/resource-manager/readme.md index f32e8d7a641e..9ddb4038451a 100644 --- a/specification/managednetworkfabric/resource-manager/readme.md +++ b/specification/managednetworkfabric/resource-manager/readme.md @@ -67,7 +67,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go-track2 - repo: azure-sdk-for-java - repo: azure-sdk-for-js - - repo: azure-sdk-for-ruby + - repo: azure-sdk-for-net + - repo: azure-sdk-for-python-track2 + - repo: azure-cli-extensions after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_managednetworkfabric'] ``` @@ -80,9 +82,6 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.python.md](./readme.python.md) -## Ruby - -See configuration in [readme.ruby.md](./readme.ruby.md) ## TypeScript From 78040eb7b71561987012bf206bf286c3818d0ac0 Mon Sep 17 00:00:00 2001 From: "Mohana Krishna Nali (Dhyan Networks and Technologie)" Date: Mon, 5 Jun 2023 16:16:51 +0530 Subject: [PATCH 3/6] Minor changes - to resolve the dotnet and python sdk issues --- .../preview/2023-02-01-preview/L3IsolationDomains.json | 8 ++++---- .../managednetworkfabric/resource-manager/readme.md | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/L3IsolationDomains.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/L3IsolationDomains.json index 39c491901d85..20eb1ee9f5ac 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/L3IsolationDomains.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/L3IsolationDomains.json @@ -2750,19 +2750,19 @@ "properties": { "primaryIpv4Prefix": { "type": "string", - "description": "IPv4 Address Prefix of CE-PE interconnect links. Default value is 172.23.1.0/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces." + "description": "IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.0/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces." }, "primaryIpv6Prefix": { "type": "string", - "description": "IPv6 Address Prefix of CE-PE interconnect links. Default value is 3FFE:FFFF:0:CD30::a1/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces." + "description": "IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a0/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces." }, "secondaryIpv4Prefix": { "type": "string", - "description": "Secondary IPv4 Address Prefix of CE-PE interconnect links. Default value is 172.23.1.2/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces." + "description": "Secondary IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.20/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces." }, "secondaryIpv6Prefix": { "type": "string", - "description": "Secondary IPv6 Address Prefix of CE-PE interconnect links. Default value is 3FFE:FFFF:0:CD30::a1/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces." + "description": "Secondary IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a4/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces." } } }, diff --git a/specification/managednetworkfabric/resource-manager/readme.md b/specification/managednetworkfabric/resource-manager/readme.md index 9ddb4038451a..ec2500644b88 100644 --- a/specification/managednetworkfabric/resource-manager/readme.md +++ b/specification/managednetworkfabric/resource-manager/readme.md @@ -28,6 +28,8 @@ These are the global settings for the Managed Network Fabric. openapi-type: arm openapi-subtype: rpaas tag: package-2023-02-01-preview +modelerfour: + lenient-model-deduplication: true ``` From e1f49064ecfbaa3c32c1b94e07af57977fca348a Mon Sep 17 00:00:00 2001 From: "Mohana Krishna Nali (Dhyan Networks and Technologie)" Date: Mon, 5 Jun 2023 16:32:21 +0530 Subject: [PATCH 4/6] minor change to resolve the dotnet sdk issue --- .../preview/2023-02-01-preview/NetworkFabrics.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabrics.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabrics.json index ccc2ff1fee61..8c1916aaf455 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabrics.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabrics.json @@ -1180,7 +1180,7 @@ "format": "int32", "minimum": 501, "maximum": 4095, - "description": "Vlan Id.Example : 501" + "description": "Vlan identifier. Example : 501" }, "peerASN": { "type": "integer", From e3625675fc80f9d3d67c2da69ecc3871e9b4e81c Mon Sep 17 00:00:00 2001 From: "Mohana Krishna Nali (Dhyan Networks and Technologie)" Date: Mon, 5 Jun 2023 17:09:46 +0530 Subject: [PATCH 5/6] solved sdk issue having incompatible type for optionB description. --- .../preview/2023-02-01-preview/NetworkFabrics.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabrics.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabrics.json index 8c1916aaf455..d55976750d40 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabrics.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabrics.json @@ -1216,7 +1216,7 @@ }, "OptionBProperties": { "type": "object", - "description": "Option B configuration to be used for management vpn.", + "description": "Option B configuration.", "properties": { "importRouteTargets": { "type": "array", From eba3befc3615df88b95bd34f29d159d0f5bf61bd Mon Sep 17 00:00:00 2001 From: "Mohana Krishna Nali (Dhyan Networks and Technologie)" Date: Tue, 6 Jun 2023 12:54:33 +0530 Subject: [PATCH 6/6] Resolving the Duplicated model name with non-identical definitions issue. --- .../preview/2023-02-01-preview/L3IsolationDomains.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/L3IsolationDomains.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/L3IsolationDomains.json index 20eb1ee9f5ac..5fe052cef0e4 100644 --- a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/L3IsolationDomains.json +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/L3IsolationDomains.json @@ -2327,7 +2327,7 @@ }, "optionAProperties": { "description": "option A properties object", - "$ref": "#/definitions/OptionAProperties" + "$ref": "#/definitions/Layer3OptionAProperties" }, "importRoutePolicyId": { "type": "string", @@ -2656,7 +2656,7 @@ "properties": {}, "allOf": [ { - "$ref": "#/definitions/OptionAProperties" + "$ref": "#/definitions/Layer3OptionAProperties" } ], "required": [ @@ -2766,7 +2766,7 @@ } } }, - "OptionAProperties": { + "Layer3OptionAProperties": { "type": "object", "description": "Peering optionA properties", "properties": {