diff --git a/custom-words.txt b/custom-words.txt index fde9ded35bb9..250f34eb5824 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -726,6 +726,7 @@ eventroutes eventstream eventtime eventtypes +evpn EWDG exceptiontype exfiltrate @@ -884,6 +885,7 @@ Groupby groupedby GRPC GSMT +gshut GTFS guestconfiguration GUID diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/AccessControlLists.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/AccessControlLists.json new file mode 100644 index 000000000000..7bd7b575a572 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/AccessControlLists.json @@ -0,0 +1,582 @@ +{ + "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/accessControlLists/{accessControlListName}": { + "put": { + "tags": [ + "AccessControlLists" + ], + "operationId": "AccessControlLists_Create", + "summary": "Create Access Control List.", + "description": "Implements Access Control 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": "accessControlListName", + "required": true, + "type": "string", + "description": "Name of the Access Control List" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/AccessControlList" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/AccessControlList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_Create_MinimumSet_Gen": { + "$ref": "./examples/AccessControlLists_Create_MinimumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "AccessControlLists" + ], + "operationId": "AccessControlLists_Get", + "summary": "Gets a Access Control List.", + "description": "Implements Access Control 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": "accessControlListName", + "required": true, + "type": "string", + "description": "Name of the Access Control List" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/AccessControlList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_Get_MinimumSet_Gen": { + "$ref": "./examples/AccessControlLists_Get_MinimumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "AccessControlLists" + ], + "operationId": "AccessControlLists_Update", + "summary": "Updates a Access Control List.", + "description": "API to update certain properties of the Access Control 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": "accessControlListName", + "required": true, + "type": "string", + "description": "Name of the Access Control List" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Access Control List properties to update.", + "schema": { + "$ref": "#/definitions/AccessControlListPatch" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/AccessControlList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_Update_MinimumSet_Gen": { + "$ref": "./examples/AccessControlLists_Update_MinimumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "AccessControlLists" + ], + "operationId": "AccessControlLists_Delete", + "summary": "Deletes a Access Control List.", + "description": "Implements Access Control 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": "accessControlListName", + "required": true, + "type": "string", + "description": "Name of the Access Control 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": { + "AccessControlLists_Delete_MinimumSet_Gen": { + "$ref": "./examples/AccessControlLists_Delete_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/accessControlLists": { + "get": { + "operationId": "AccessControlLists_ListByResourceGroup", + "summary": "List AccessControlLists by resource group.", + "description": "Implements AccessControlLists 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 AccessControlLists under the resource group.", + "schema": { + "$ref": "#/definitions/AccessControlListsListResult" + } + }, + "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": { + "AccessControlLists_ListByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/AccessControlLists_ListByResourceGroup_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/accessControlLists": { + "get": { + "operationId": "AccessControlLists_ListBySubscription", + "summary": "List AccessControlLists by subscription.", + "description": "Implements AccessControlLists 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 AccessControlLists under the subscription.", + "schema": { + "$ref": "#/definitions/AccessControlListsListResult" + } + }, + "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": { + "AccessControlLists_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/AccessControlLists_ListBySubscription_MinimumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "AccessControlListProperties": { + "type": "object", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + } + ], + "properties": { + "addressFamily": { + "type": "string", + "description": "IP address family. Example: ipv4 | ipv6.", + "enum": [ + "ipv4", + "ipv6" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "addressFamily" + } + }, + "conditions": { + "type": "array", + "description": "Access Control List conditions.", + "x-ms-identifiers": [ + "sequenceNumber" + ], + "items": { + "description": "Access Control List condition model.", + "type": "object", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + } + ], + "properties": { + "sequenceNumber": { + "type": "integer", + "format": "int32", + "description": "sequenceNumber of the Access Control List." + }, + "action": { + "type": "string", + "description": "action. Example: allow | deny.", + "enum": [ + "allow", + "deny" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "conditionActionType" + } + }, + "destinationAddress": { + "type": "string", + "description": "destinationAddress. Example: any | 1.1.1.0/24 | 1.1.10.10" + }, + "destinationPort": { + "type": "string", + "description": "destinationPort. Example: any | 1253" + }, + "sourceAddress": { + "type": "string", + "description": "sourceAddress. Example: any | 1.1.1.0/24 | 1.1.10.10" + }, + "sourcePort": { + "type": "string", + "description": "sourcePort. Example: any | 1253" + }, + "protocol": { + "type": "integer", + "format": "int32", + "description": "TCP/IP protocol as defined in the list of IP protocol numbers. Example: 255 (any) | 0 | 1." + } + }, + "required": [ + "sequenceNumber", + "action", + "destinationAddress", + "destinationPort", + "sourceAddress", + "sourcePort", + "protocol" + ] + } + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState", + "readOnly": true + } + }, + "required": [ + "addressFamily", + "conditions" + ], + "description": "AccessControlListProperties define the resource properties." + }, + "AccessControlList": { + "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/AccessControlListProperties" + } + }, + "required": [ + "location", + "properties" + ], + "description": "The AccessControlList resource definition." + }, + "AccessControlListsListResult": { + "type": "object", + "description": "List of AccessControlLists.", + "properties": { + "value": { + "type": "array", + "description": "List of AccessControlList resources.", + "items": { + "$ref": "#/definitions/AccessControlList" + } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + }, + "AccessControlListPatchProperties": { + "type": "object", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + } + ], + "properties": { + "addressFamily": { + "type": "string", + "description": "IP address family. Example: ipv4 | ipv6.", + "enum": [ + "ipv4", + "ipv6" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "addressFamily" + } + }, + "conditions": { + "type": "array", + "description": "Access Control List conditions.", + "x-ms-identifiers": [ + "sequenceNumber" + ], + "items": { + "description": "Access Control List condition model.", + "type": "object", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + } + ], + "properties": { + "sequenceNumber": { + "type": "integer", + "format": "int32", + "description": "sequenceNumber of the Access Control List." + }, + "action": { + "type": "string", + "description": "action. Example: allow | deny.", + "enum": [ + "allow", + "deny" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "conditionActionType" + } + }, + "destinationAddress": { + "type": "string", + "description": "destinationAddress. Example: any | 1.1.1.0/24 | 1.1.10.10" + }, + "destinationPort": { + "type": "string", + "description": "destinationPort. Example: any | 1253" + }, + "sourceAddress": { + "type": "string", + "description": "sourceAddress. Example: any | 1.1.1.0/24 | 1.1.10.10" + }, + "sourcePort": { + "type": "string", + "description": "sourcePort. Example: any | 1253" + }, + "protocol": { + "type": "integer", + "format": "int32", + "description": "TCP/IP protocol as defined in the list of IP protocol numbers. Example: 255 (any) | 0 | 1." + } + }, + "required": [ + "sequenceNumber", + "action", + "destinationAddress", + "destinationPort", + "sourceAddress", + "sourcePort", + "protocol" + ] + } + } + }, + "description": "AccessControlListPatchProperties define the patchable resource properties." + }, + "AccessControlListPatch": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/AccessControlListPatchProperties" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "The AccessControlList 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 new file mode 100644 index 000000000000..fd1f87184f4e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpCommunityLists.json @@ -0,0 +1,650 @@ +{ + "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/IpPrefixLists.json new file mode 100644 index 000000000000..87f68b0e386d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpPrefixLists.json @@ -0,0 +1,469 @@ +{ + "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/ipPrefixLists/{ipPrefixListName}": { + "put": { + "tags": [ + "IpPrefixLists" + ], + "operationId": "IpPrefixLists_Create", + "summary": "Create Ip Prefix List.", + "description": "Implements Ip Prefix 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": "ipPrefixListName", + "required": true, + "type": "string", + "description": "Name of the Ip Prefix List" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/IpPrefixList" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/IpPrefixList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpPrefixLists_Create_MinimumSet_Gen": { + "$ref": "./examples/IpPrefixLists_Create_MinimumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "IpPrefixLists" + ], + "operationId": "IpPrefixLists_Get", + "summary": "Gets a Ip Prefix List.", + "description": "Implements Ip Prefix 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": "ipPrefixListName", + "required": true, + "type": "string", + "description": "Name of the Ip Prefix List" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/IpPrefixList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpPrefixLists_Get_MinimumSet_Gen": { + "$ref": "./examples/IpPrefixLists_Get_MinimumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "IpPrefixLists" + ], + "operationId": "IpPrefixLists_Update", + "summary": "Updates a Ip Prefix List.", + "description": "API to update certain properties of the Ip Prefix 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": "ipPrefixListName", + "required": true, + "type": "string", + "description": "Name of the Ip Prefix List" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Ip Prefix List properties to update.", + "schema": { + "$ref": "#/definitions/IpPrefixListPatch" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/IpPrefixList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpPrefixLists_Update_MinimumSet_Gen": { + "$ref": "./examples/IpPrefixLists_Update_MinimumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "IpPrefixLists" + ], + "operationId": "IpPrefixLists_Delete", + "summary": "Deletes a Ip Prefix List.", + "description": "Implements Ip Prefix 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": "ipPrefixListName", + "required": true, + "type": "string", + "description": "Name of the Ip Prefix 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": { + "IpPrefixLists_Delete_MinimumSet_Gen": { + "$ref": "./examples/IpPrefixLists_Delete_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipPrefixLists": { + "get": { + "operationId": "IpPrefixLists_ListByResourceGroup", + "summary": "List IpPrefixLists by resource group.", + "description": "Implements IpPrefixLists 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 IpPrefixLists under the resource group.", + "schema": { + "$ref": "#/definitions/IpPrefixListsListResult" + } + }, + "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": { + "IpPrefixLists_ListByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/IpPrefixLists_ListByResourceGroup_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipPrefixLists": { + "get": { + "operationId": "IpPrefixLists_ListBySubscription", + "summary": "List IpPrefixLists by subscription.", + "description": "Implements IpPrefixLists 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 IpPrefixLists under the subscription.", + "schema": { + "$ref": "#/definitions/IpPrefixListsListResult" + } + }, + "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": { + "IpPrefixLists_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/IpPrefixLists_ListBySubscription_MinimumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "IpPrefixListProperties": { + "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": "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." + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState", + "readOnly": true + } + }, + "required": [ + "action", + "sequenceNumber", + "networkAddress" + ], + "description": "IpPrefixListProperties define the resource properties." + }, + "IpPrefixList": { + "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/IpPrefixListProperties" + } + }, + "required": [ + "location", + "properties" + ], + "description": "The IpPrefixList resource definition." + }, + "IpPrefixListPatch": { + "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.", + "properties": { + "value": { + "type": "array", + "description": "List of IpPrefixList resources.", + "items": { + "$ref": "#/definitions/IpPrefixList" + } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + }, + "IpPrefixListPatchProperties": { + "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": "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." + } + }, + "description": "IpPrefixListPatchProperties define the patchable resource properties." + } + }, + "parameters": {} +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/L2IsolationDomains.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/L2IsolationDomains.json new file mode 100644 index 000000000000..0194e6032475 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/L2IsolationDomains.json @@ -0,0 +1,731 @@ +{ + "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/l2IsolationDomains/{l2IsolationDomainName}": { + "put": { + "tags": [ + "L2IsolationDomains" + ], + "operationId": "L2IsolationDomains_Create", + "summary": "Create L2 Isolation Domain.", + "description": "Creates layer 2 network connectivity between compute nodes within a rack and across racks.The configuration is applied on the devices only after the isolation domain is enabled.", + "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": "l2IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L2 Isolation Domain" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/L2IsolationDomain" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/L2IsolationDomain" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/L2IsolationDomain" + } + }, + "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": { + "L2IsolationDomains_Create_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_Create_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "L2IsolationDomains" + ], + "operationId": "L2IsolationDomains_Get", + "summary": "Retrieves details of this L2 Isolation Domain.", + "description": "Implements L2 Isolation Domain 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": "l2IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L2 Isolation Domain" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/L2IsolationDomain" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_Get_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_Get_MaximumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "L2IsolationDomains" + ], + "operationId": "L2IsolationDomains_Update", + "summary": "Updates a L2 Isolation Domain.", + "description": "API to update certain properties of the L2 Isolation Domain 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": "l2IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L2 Isolation Domain" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "API to update certain properties of the L2 Isolation Domain resource..", + "schema": { + "$ref": "#/definitions/L2IsolationDomainPatch" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/L2IsolationDomain" + } + }, + "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": { + "L2IsolationDomains_Update_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "L2IsolationDomains" + ], + "operationId": "L2IsolationDomains_Delete", + "summary": "Deletes named L2 Isolation Domain", + "description": "Deletes layer 2 connectivity between compute nodes by managed by named L2 Isolation name.", + "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": "l2IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L2 Isolation Domain" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "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": { + "L2IsolationDomains_Delete_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_Delete_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}/updateAdministrativeState": { + "post": { + "tags": [ + "L2IsolationDomains" + ], + "operationId": "L2IsolationDomains_updateAdministrativeState", + "description": "Enables isolation domain across the fabric or on specified racks.", + "summary": "Implements the operation to the underlying resources.", + "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": "l2IsolationDomainName", + "description": "Name of the L2IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "L2IsolationDomains_updateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_updateAdministrativeState_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}/clearArpTable": { + "post": { + "tags": [ + "L2IsolationDomains" + ], + "operationId": "L2IsolationDomains_clearArpTable", + "description": "Clears ARP tables for this Isolation Domain.", + "summary": "Implements the operation to the underlying resources.", + "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": "l2IsolationDomainName", + "description": "Name of the L2IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/EnableDisableOnResources" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "L2IsolationDomains_clearArpTable_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_clearArpTable_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}/clearNeighborTable": { + "post": { + "tags": [ + "L2IsolationDomains" + ], + "operationId": "L2IsolationDomains_clearNeighborTable", + "description": "Clears IPv6 neighbors for this Isolation Domain.", + "summary": "Implements the operation to the underlying resources.", + "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": "l2IsolationDomainName", + "description": "Name of the L2IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/EnableDisableOnResources" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "L2IsolationDomains_clearNeighborTable_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_clearNeighborTable_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}/getArpEntries": { + "post": { + "tags": [ + "L2IsolationDomains" + ], + "operationId": "L2IsolationDomains_getArpEntries", + "description": "Clears IPv6 neighbors for this Isolation Domain.", + "summary": "Implements the operation to the underlying resources.", + "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": "l2IsolationDomainName", + "description": "Name of the L2IsolationDomain.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Accepted", + "schema": { + "$ref": "./common.json#/definitions/GetARPResponse" + }, + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "L2IsolationDomains_getArpEntries_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_getArpEntries_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains": { + "get": { + "operationId": "L2IsolationDomains_ListByResourceGroup", + "summary": "List L2IsolationDomains by resource group.", + "description": "Displays L2IsolationDomains 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 L2IsolationDomains under the resource group.", + "schema": { + "$ref": "#/definitions/L2IsolationDomainsListResult" + } + }, + "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": { + "L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains": { + "get": { + "operationId": "L2IsolationDomains_ListBySubscription", + "summary": "List L2IsolationDomains by subscription.", + "description": "Displays L2IsolationDomains 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 L2IsolationDomains under the subscription.", + "schema": { + "$ref": "#/definitions/L2IsolationDomainsListResult" + } + }, + "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": { + "L2IsolationDomains_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_ListBySubscription_MaximumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "L2IsolationDomainProperties": { + "type": "object", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + } + ], + "required": [ + "vlanId", + "networkFabricId" + ], + "properties": { + "networkFabricId": { + "type": "string", + "description": "Network Fabric ARM resource id." + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "vlanId. Example: 501." + }, + "mtu": { + "type": "integer", + "format": "int32", + "description": "maximum transmission unit. Default value is 1500." + }, + "disabledOnResources": { + "type": "array", + "description": "List of resources the L2 Isolation Domain is disabled on. Can be either entire NetworkFabric or NetworkRack.", + "items": { + "type": "string", + "description": "ARM resource Id of the resource" + }, + "readOnly": true + }, + "administrativeState": { + "description": "state. Example: Enabled | Disabled. It indicates administrative state of the isolationDomain, whether it is enabled or disabled. If enabled, the configuration is applied on the devices. If disabled, the configuration is removed from the devices", + "readOnly": true, + "$ref": "./common.json#/definitions/EnabledDisabledState" + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState", + "readOnly": true + } + }, + "description": "L2IsolationDomainProperties define the resource properties." + }, + "L2IsolationDomainPatchProperties": { + "type": "object", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + } + ], + "properties": { + "mtu": { + "type": "integer", + "format": "int32", + "description": "maximum transmission unit. Default value is 1500." + } + }, + "description": "L2IsolationDomainPatchProperties define the patchable resource properties." + }, + "L2IsolationDomain": { + "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/L2IsolationDomainProperties" + } + }, + "description": "The L2IsolationDomain resource definition." + }, + "L2IsolationDomainPatch": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/L2IsolationDomainPatchProperties" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "The L2IsolationDomain patch resource definition." + }, + "L2IsolationDomainsListResult": { + "type": "object", + "description": "List of L2IsolationDomains.", + "properties": { + "value": { + "type": "array", + "description": "Displays list of L2IsolationDomain resources.", + "items": { + "$ref": "#/definitions/L2IsolationDomain" + } + }, + "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/L3IsolationDomains.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/L3IsolationDomains.json new file mode 100644 index 000000000000..39c491901d85 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/L3IsolationDomains.json @@ -0,0 +1,2859 @@ +{ + "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/l3IsolationDomains/{l3IsolationDomainName}": { + "put": { + "tags": [ + "L3IsolationDomains" + ], + "operationId": "L3IsolationDomains_Create", + "summary": "Create L3 Isolation Domain.", + "description": "Create isolation domain resources for layer 3 connectivity between compute nodes and for communication with external services .This configuration is applied on the devices only after the creation of networks is completed and isolation domain is enabled. ", + "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": "l3IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L3 Isolation Domain" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/L3IsolationDomain" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/L3IsolationDomain" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/L3IsolationDomain" + } + }, + "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": { + "L3IsolationDomains_Create_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_Create_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "L3IsolationDomains" + ], + "operationId": "L3IsolationDomains_Get", + "summary": "Gets a L3 Isolation Domain.", + "description": "Retrieves details of this L3 Isolation Domain.", + "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": "l3IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L3 Isolation Domain" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/L3IsolationDomain" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_Get_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_Get_MaximumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "L3IsolationDomains" + ], + "operationId": "L3IsolationDomains_Update", + "summary": "Updates a L3 Isolation Domain.", + "description": "API to update certain properties of the L3 Isolation Domain 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": "l3IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L3 Isolation Domain" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "API to update certain properties of the L3 Isolation Domain resource.", + "schema": { + "$ref": "#/definitions/L3IsolationDomainPatch" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/L3IsolationDomain" + } + }, + "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": { + "L3IsolationDomains_Update_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "L3IsolationDomains" + ], + "operationId": "L3IsolationDomains_Delete", + "summary": "Deletes a L3 Isolation Domain.", + "description": "Deletes layer 3 connectivity between compute nodes by managed by named L3 Isolation name.", + "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": "l3IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L3 Isolation Domain" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "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": { + "L3IsolationDomains_Delete_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_Delete_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains": { + "get": { + "operationId": "L3IsolationDomains_ListByResourceGroup", + "summary": "List L3IsolationDomains by resource group.", + "description": "Displays L3IsolationDomains 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 L3IsolationDomains under the resource group.", + "schema": { + "$ref": "#/definitions/L3IsolationDomainsListResult" + } + }, + "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": { + "L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains": { + "get": { + "operationId": "L3IsolationDomains_ListBySubscription", + "summary": "List L3IsolationDomains by subscription.", + "description": "Displays L3IsolationDomains 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 L3IsolationDomains under the subscription.", + "schema": { + "$ref": "#/definitions/L3IsolationDomainsListResult" + } + }, + "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": { + "L3IsolationDomains_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_ListBySubscription_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/updateAdministrativeState": { + "post": { + "tags": [ + "L3IsolationDomains" + ], + "operationId": "L3IsolationDomains_updateAdministrativeState", + "description": "Enables racks for this Isolation Domain.", + "summary": "executes enable operation to the underlying resources.", + "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": "l3IsolationDomainName", + "description": "Name of the L3IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "L3IsolationDomains_updateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_updateAdministrativeState_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/updateOptionBAdministrativeState": { + "post": { + "tags": [ + "L3IsolationDomains" + ], + "operationId": "L3IsolationDomains_updateOptionBAdministrativeState", + "description": "Update administrative state of option B on CE devices", + "summary": "Update route targets on CE devices. List the CE network device ARM resource IDs in the request body payload.", + "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": "l3IsolationDomainName", + "description": "Name of the L3IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "L3IsolationDomains_updateOptionBAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_updateOptionBAdministrativeState_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/clearArpTable": { + "post": { + "tags": [ + "L3IsolationDomains" + ], + "operationId": "L3IsolationDomains_clearArpTable", + "description": "Clears ARP tables for this Isolation Domain.", + "summary": "executes clear ARP operation to the underlying resources.", + "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": "l3IsolationDomainName", + "description": "Name of the L3IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/EnableDisableOnResources" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "L3IsolationDomains_clearArpTable_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_clearArpTable_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/clearNeighborTable": { + "post": { + "tags": [ + "L3IsolationDomains" + ], + "operationId": "L3IsolationDomains_clearNeighborTable", + "description": "Clears IPv6 neighbor tables for this Isolation Domain.", + "summary": "executes ipv6 clear neighbor tables operation to the underlying resources.", + "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": "l3IsolationDomainName", + "description": "Name of the L3IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/EnableDisableOnResources" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "L3IsolationDomains_clearNeighborTable_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_clearNeighborTable_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}": { + "put": { + "tags": [ + "InternalNetworks" + ], + "operationId": "InternalNetworks_Create", + "summary": "Creates InternalNetwork for Layer3 Isolation Domain for communication of compute within and across racks.", + "description": "Creates InternalNetwork 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": "l3IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L3IsolationDomain" + }, + { + "in": "path", + "name": "internalNetworkName", + "required": true, + "type": "string", + "description": "Name of the InternalNetwork" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/InternalNetwork" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/InternalNetwork" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/InternalNetwork" + } + }, + "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": { + "InternalNetworks_Create_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_Create_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "InternalNetworks" + ], + "operationId": "InternalNetworks_Get", + "summary": "Retrieves details of InternalNetworks using GET method.", + "description": "Gets a InternalNetworks.", + "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": "l3IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L3IsolationDomain" + }, + { + "in": "path", + "name": "internalNetworkName", + "required": true, + "type": "string", + "description": "Name of the InternalNetwork" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/InternalNetwork" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_Get_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_Get_MaximumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "InternalNetworks" + ], + "operationId": "InternalNetworks_Update", + "summary": "API to update certain properties of the InternalNetworks resources.", + "description": "Updates a InternalNetworks.", + "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": "l3IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L3IsolationDomain" + }, + { + "in": "path", + "name": "internalNetworkName", + "required": true, + "type": "string", + "description": "Name of the InternalNetwork" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "InternalNetwork properties to update. Only annotations are supported.", + "schema": { + "$ref": "#/definitions/InternalNetworkPatch" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/InternalNetwork" + } + }, + "202": { + "description": "Created", + "schema": { + "$ref": "#/definitions/InternalNetwork" + } + }, + "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": { + "InternalNetworks_Update_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "InternalNetworks" + ], + "operationId": "InternalNetworks_Delete", + "summary": "Deletes a InternalNetworks.", + "description": "Implements InternalNetworks 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": "l3IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L3IsolationDomain" + }, + { + "in": "path", + "name": "internalNetworkName", + "required": true, + "type": "string", + "description": "Name of the InternalNetwork" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "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": { + "InternalNetworks_Delete_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_Delete_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks": { + "get": { + "operationId": "InternalNetworks_List", + "summary": "Executes list operation to display list of all internal networks", + "description": "Displays InternalNetworks 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" + }, + { + "in": "path", + "name": "l3IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L3IsolationDomain" + } + ], + "responses": { + "200": { + "description": "Lists all NetworkInterfaces under the resource group.", + "schema": { + "$ref": "#/definitions/InternalNetworksList" + } + }, + "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": { + "InternalNetworks_List_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_List_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}/updateAdministrativeState": { + "post": { + "tags": [ + "InternalNetworks" + ], + "operationId": "InternalNetworks_updateAdministrativeState", + "description": "Update Administrative state of InternalNetworks on resources referred by their resource ids.", + "summary": "Executes the operation to the underlying resources.", + "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": "l3IsolationDomainName", + "description": "Name of the L3IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "internalNetworkName", + "description": "Name of the InternalNetwork.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "InternalNetworks_updateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_updateAdministrativeState_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}/updateBgpAdministrativeState": { + "post": { + "tags": [ + "InternalNetworks" + ], + "operationId": "InternalNetworks_updateBgpAdministrativeState", + "description": "Update BGP state for internalNetwork. Allowed only on edge devices.", + "summary": "Executes the operation to the underlying resources for updating BGP state on edge devices.", + "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": "l3IsolationDomainName", + "description": "Name of the L3IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "internalNetworkName", + "description": "Name of the InternalNetwork.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "InternalNetworks_updateBgpAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_updateBgpAdministrativeState_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}/updateBfdForBgpAdministrativeState": { + "post": { + "tags": [ + "InternalNetworks" + ], + "operationId": "InternalNetworks_updateBfdForBgpAdministrativeState", + "description": "Update BfdForBgp for internalNetwork.", + "summary": "Implements the operation to the underlying resources.", + "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": "l3IsolationDomainName", + "description": "Name of the L3IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "internalNetworkName", + "description": "Name of the InternalNetwork.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "InternalNetworks_updateBfdForBgpAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_updateBfdForBgpAdministrativeState_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}/clearIpv6Neighbors": { + "post": { + "tags": [ + "InternalNetworks" + ], + "operationId": "InternalNetworks_clearIpv6Neighbors", + "description": "clearIpv6Neighbors for internalNetwork.", + "summary": "Implements the operation to the underlying resources.", + "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": "l3IsolationDomainName", + "description": "Name of the L3IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "internalNetworkName", + "description": "Name of the InternalNetwork.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/EnableDisableOnResources" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "InternalNetworks_clearIpv6Neighbors_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_clearIpv6Neighbors_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}/clearArpEntries": { + "post": { + "tags": [ + "InternalNetworks" + ], + "operationId": "InternalNetworks_clearArpEntries", + "description": "clearArpEntries for internalNetwork.", + "summary": "Executes clearArpEntries operation to the underlying resources.", + "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": "l3IsolationDomainName", + "description": "Name of the L3IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "internalNetworkName", + "description": "Name of the InternalNetwork.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/EnableDisableOnResources" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "InternalNetworks_clearArpEntries_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_clearArpEntries_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}/updateBfdForStaticRouteAdministrativeState": { + "post": { + "tags": [ + "InternalNetworks" + ], + "operationId": "InternalNetworks_updateBfdForStaticRouteAdministrativeState", + "description": "Update BfdForStaticRoutes for internalNetwork.", + "summary": "Executes update BfdForStaticRoutes operation to the underlying resources.", + "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": "l3IsolationDomainName", + "description": "Name of the L3IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "internalNetworkName", + "description": "Name of the InternalNetwork.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "InternalNetworks_updateBfdForStaticRouteAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_updateBfdForStaticRouteAdministrativeState_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}": { + "put": { + "tags": [ + "ExternalNetworks" + ], + "operationId": "ExternalNetworks_Create", + "summary": "Creates ExternalNetwork for Layer3 Isolation Domain for communication of computes with external services", + "description": "Creates ExternalNetwork 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": "l3IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L3IsolationDomain" + }, + { + "in": "path", + "name": "externalNetworkName", + "required": true, + "type": "string", + "description": "Name of the ExternalNetwork" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/ExternalNetwork" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ExternalNetwork" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ExternalNetwork" + } + }, + "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": { + "ExternalNetworks_Create_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_Create_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "ExternalNetworks" + ], + "operationId": "ExternalNetworks_Get", + "summary": "Retrieves details of ExternalNetwork.", + "description": "Implements ExternalNetworks 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": "l3IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L3IsolationDomain" + }, + { + "in": "path", + "name": "externalNetworkName", + "required": true, + "type": "string", + "description": "Name of the ExternalNetwork" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ExternalNetwork" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalNetworks_Get_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_Get_MaximumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "ExternalNetworks" + ], + "operationId": "ExternalNetworks_Update", + "summary": "Updates a ExternalNetworks.", + "description": "API to update certain properties of the ExternalNetworks 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": "l3IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L3IsolationDomain" + }, + { + "in": "path", + "name": "externalNetworkName", + "required": true, + "type": "string", + "description": "Name of the ExternalNetwork" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "ExternalNetwork properties to update. Only annotations are supported.", + "schema": { + "$ref": "#/definitions/ExternalNetworkPatch" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ExternalNetwork" + } + }, + "202": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ExternalNetwork" + } + }, + "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": { + "ExternalNetworks_Update_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "ExternalNetworks" + ], + "operationId": "ExternalNetworks_Delete", + "summary": "Deletes a ExternalNetworks.", + "description": "Implements ExternalNetworks 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": "l3IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L3IsolationDomain" + }, + { + "in": "path", + "name": "externalNetworkName", + "required": true, + "type": "string", + "description": "Name of the ExternalNetwork" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "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": { + "ExternalNetworks_Delete_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_Delete_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks": { + "get": { + "operationId": "ExternalNetworks_List", + "summary": "Executes list operation to display External Networks within an isolation domain.", + "description": "Implements External Networks 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" + }, + { + "in": "path", + "name": "l3IsolationDomainName", + "required": true, + "type": "string", + "description": "Name of the L3IsolationDomain" + } + ], + "responses": { + "200": { + "description": "Lists all NetworkInterfaces under the resource group.", + "schema": { + "$ref": "#/definitions/ExternalNetworksList" + } + }, + "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": { + "ExternalNetworks_List_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_List_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}/updateAdministrativeState": { + "post": { + "tags": [ + "ExternalNetworks" + ], + "operationId": "ExternalNetworks_updateAdministrativeState", + "description": "Executes update operation to enable or disable administrative State for externalNetwork.", + "summary": "Implements the operation to the underlying resources.", + "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": "l3IsolationDomainName", + "description": "Name of the L3IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "externalNetworkName", + "description": "Name of the ExternalNetwork.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "ExternalNetworks_updateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_updateAdministrativeState_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}/updateBgpAdministrativeState": { + "post": { + "tags": [ + "ExternalNetworks" + ], + "operationId": "ExternalNetworks_updateBgpAdministrativeState", + "description": "Update BGP for externalNetwork.", + "summary": "Executes BGP state update operation to the underlying resources.", + "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": "l3IsolationDomainName", + "description": "Name of the L3IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "externalNetworkName", + "description": "Name of the ExternalNetwork.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "ExternalNetworks_updateBgpAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_updateBgpAdministrativeState_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}/updateBfdForBgpAdministrativeState": { + "post": { + "tags": [ + "ExternalNetworks" + ], + "operationId": "ExternalNetworks_updateBfdForBgpAdministrativeState", + "description": "Update BfdForBgp for externalNetwork.", + "summary": "Execute BfdForBgp update operation to the underlying resources.", + "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": "l3IsolationDomainName", + "description": "Name of the L3IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "externalNetworkName", + "description": "Name of the ExternalNetwork.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "ExternalNetworks_updateBfdForBgpAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_updateBfdForBgpAdministrativeState_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}/clearIpv6Neighbors": { + "post": { + "tags": [ + "ExternalNetworks" + ], + "operationId": "ExternalNetworks_clearIpv6Neighbors", + "description": "clearIpv6Neighbors for externalNetwork.", + "summary": "Executes clearIpv6Neighbors table operation to the underlying resources.", + "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": "l3IsolationDomainName", + "description": "Name of the L3IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "externalNetworkName", + "description": "Name of the ExternalNetwork.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/EnableDisableOnResources" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "ExternalNetworks_clearIpv6Neighbors_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_clearIpv6Neighbors_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}/clearArpEntries": { + "post": { + "tags": [ + "ExternalNetworks" + ], + "operationId": "ExternalNetworks_clearArpEntries", + "description": "clearArpEntries for externalNetwork.", + "summary": "Implements the operation to the underlying resources.", + "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": "l3IsolationDomainName", + "description": "Name of the L3IsolationDomain.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "externalNetworkName", + "description": "Name of the ExternalNetwork.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/EnableDisableOnResources" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "ExternalNetworks_clearArpEntries_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_clearArpEntries_MaximumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "L3IsolationDomainProperties": { + "type": "object", + "description": "L3IsolationDomainProperties define the resource properties.", + "required": [ + "networkFabricId" + ], + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + }, + { + "$ref": "#/definitions/L3IsolationDomainPatchProperties" + } + ], + "properties": { + "networkFabricId": { + "type": "string", + "description": "Network Fabric ARM resource id.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "disabledOnResources": { + "type": "array", + "description": "List of resources the L3 Isolation Domain is disabled on. Can be either entire NetworkFabric or NetworkRack.", + "items": { + "type": "string", + "description": "ARM resource Id of the resource" + }, + "readOnly": true + }, + "administrativeState": { + "description": "Administrative state of the IsolationDomain. Example: Enabled | Disabled.", + "$ref": "./common.json#/definitions/EnabledDisabledState" + }, + "optionBDisabledOnResources": { + "type": "array", + "description": "List of resources the OptionB is disabled on. Can be either entire NetworkFabric or NetworkRack.", + "items": { + "type": "string", + "description": "ARM resource Id of the resource" + }, + "readOnly": true + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState", + "readOnly": true + } + } + }, + "L3IsolationDomainPatchProperties": { + "type": "object", + "properties": { + "redistributeConnectedSubnets": { + "type": "string", + "description": "Advertise Connected Subnets. Ex: \"True\" | \"False\".", + "default": "True", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "redistributeConnectedSubnets" + } + }, + "redistributeStaticRoutes": { + "type": "string", + "description": "Advertise Static Routes. Ex: \"True\" | \"False\".", + "default": "False", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "redistributeStaticRoutes" + } + }, + "aggregateRouteConfiguration": { + "type": "object", + "description": "List of Ipv4 and Ipv6 route configurations.", + "properties": { + "ipv4Routes": { + "type": "array", + "description": "List of Ipv4Route prefixes.", + "x-ms-identifiers": [ + "prefix" + ], + "items": { + "type": "object", + "description": "aggregateIpv4Route model.", + "properties": { + "prefix": { + "type": "string", + "description": "IPv4 Prefix of the aggregate Ipv4Route." + } + } + } + }, + "ipv6Routes": { + "type": "array", + "description": "List of Ipv6Routes prefixes.", + "x-ms-identifiers": [ + "prefix" + ], + "items": { + "type": "object", + "description": "aggregateIpv6Route model.", + "properties": { + "prefix": { + "type": "string", + "description": "IPv6 Prefix of the aggregate IPv6 Route." + } + } + } + } + } + }, + "description": { + "type": "string", + "description": "L3 Isolation Domain description." + }, + "connectedSubnetRoutePolicy": { + "type": "object", + "description": "Connected Subnet RoutePolicy", + "properties": { + "exportRoutePolicyId": { + "type": "string", + "description": "exportRoutePolicyId value." + }, + "administrativeState": { + "$ref": "./common.json#/definitions/EnabledDisabledState", + "description": "Enabled/Disabled connected subnet route policy. Ex: Enabled | Disabled." + } + } + } + }, + "description": "L3IsolationDomainPatchProperties define the patch resource properties." + }, + "L3IsolationDomain": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/L3IsolationDomainProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "The L3IsolationDomain resource definition." + }, + "L3IsolationDomainPatch": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/L3IsolationDomainPatchProperties" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "The L3IsolationDomain patch resource definition." + }, + "L3IsolationDomainsListResult": { + "type": "object", + "description": "List of L3IsolationDomains.", + "properties": { + "value": { + "type": "array", + "description": "List of L3IsolationDomain resources.", + "items": { + "$ref": "#/definitions/L3IsolationDomain" + } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + }, + "InternalNetwork": { + "description": "Defines the InternalNetwork item.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags." + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/InternalNetworkProperties" + } + }, + "x-ms-azure-resource": true + }, + "ExternalNetwork": { + "description": "Defines the ExternalNetwork item.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags." + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/ExternalNetworkProperties" + } + }, + "x-ms-azure-resource": true + }, + "ExternalNetworksList": { + "type": "object", + "description": "List of ExternalNetworks.", + "properties": { + "value": { + "type": "array", + "description": "List of ExternalNetworks resources.", + "items": { + "$ref": "#/definitions/ExternalNetwork" + } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + }, + "InternalNetworksList": { + "type": "object", + "description": "List of InternalNetworks.", + "properties": { + "value": { + "type": "array", + "description": "List of InternalNetworks resources.", + "items": { + "$ref": "#/definitions/InternalNetwork" + } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + }, + "ExternalNetworkPatch": { + "type": "object", + "description": "The ExternalNetwork patch resource definition.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "External Network Patch properties.", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource" + }, + { + "$ref": "#/definitions/ExternalNetworkPatchableProperties" + } + ] + } + } + }, + "ExternalNetworkPatchableProperties": { + "type": "object", + "description": "The ExternalNetwork patchable properties.", + "properties": { + "peeringOption": { + "description": "Peering option list.", + "$ref": "./common.json#/definitions/PeeringOption" + }, + "optionBProperties": { + "description": "option B properties object", + "$ref": "#/definitions/OptionBProperties" + }, + "optionAProperties": { + "description": "option A properties object", + "$ref": "#/definitions/OptionAProperties" + }, + "importRoutePolicyId": { + "type": "string", + "description": "ARM resource ID of importRoutePolicy." + }, + "exportRoutePolicyId": { + "type": "string", + "description": "ARM resource ID of exportRoutePolicy." + } + } + }, + "InternalNetworkPatch": { + "type": "object", + "description": "The InternalNetwork patch resource definition.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "InternalNetwork Patch properties.", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource" + }, + { + "$ref": "#/definitions/InternalNetworkPatchableProperties" + } + ] + } + } + }, + "InternalNetworkPatchableProperties": { + "type": "object", + "description": "The ExternalNetwork patchable properties.", + "properties": { + "mtu": { + "type": "integer", + "format": "int32", + "minimum": 1500, + "maximum": 9000, + "default": 1500, + "description": "Maximum transmission unit. Default value is 1500." + }, + "connectedIPv4Subnets": { + "type": "array", + "description": "List with object connectedIPv4Subnets.", + "x-ms-identifiers": [ + "prefix" + ], + "items": { + "type": "object", + "description": "connectedIPv4Subnet model.", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + } + ], + "properties": { + "prefix": { + "type": "string", + "description": "Ipv4 Prefix of the connectedIPv4Subnet." + } + } + } + }, + "connectedIPv6Subnets": { + "type": "array", + "description": "List with object connectedIPv6Subnets.", + "x-ms-identifiers": [ + "prefix" + ], + "items": { + "type": "object", + "description": "connectedIPv6Subnet model.", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + } + ], + "properties": { + "prefix": { + "type": "string", + "description": "Ipv6 Prefix of the connectedIPv6Subnet." + } + } + } + }, + "staticRouteConfiguration": { + "type": "object", + "description": "staticRouteConfiguration model.", + "properties": { + "bfdConfiguration": { + "$ref": "#/definitions/BfdConfiguration" + }, + "ipv4Routes": { + "type": "array", + "description": "List with object IPv4Routes.", + "x-ms-identifiers": [ + "prefix" + ], + "items": { + "type": "object", + "description": "staticIpv4Route model.", + "properties": { + "prefix": { + "type": "string", + "description": "IPv4 prefix of the staticIpv4Route." + }, + "nextHop": { + "type": "array", + "description": "List of next hop IPv4 addresses.", + "items": { + "type": "string", + "description": "Next Hop IPv4 address." + } + } + }, + "required": [ + "prefix", + "nextHop" + ] + } + }, + "ipv6Routes": { + "type": "array", + "description": "List with object IPv6Routes.", + "x-ms-identifiers": [ + "prefix" + ], + "items": { + "type": "object", + "description": "staticIPv6Route model.", + "properties": { + "prefix": { + "type": "string", + "description": "IPv6 prefix of the staticIPv6Route." + }, + "nextHop": { + "type": "array", + "description": "List of next hop IPv6 addresses.", + "items": { + "type": "string", + "description": "Next Hop IPv6 address." + } + } + }, + "required": [ + "prefix", + "nextHop" + ] + } + } + } + }, + "bgpConfiguration": { + "type": "object", + "description": "BGP configuration properties", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + } + ], + "properties": { + "bfdConfiguration": { + "$ref": "#/definitions/BfdConfiguration" + }, + "defaultRouteOriginate": { + "description": "Originate a defaultRoute. Ex: \"True\" | \"False\".", + "$ref": "./common.json#/definitions/BooleanEnumProperty" + }, + "allowAS": { + "description": "Allows for routes to be received and processed even if the router detects its own ASN in the AS-Path. 0 is disable, Possible values are 1-10, default is 2.", + "type": "integer", + "format": "int32", + "minimum": 0, + "maximum": 10, + "default": 2 + }, + "allowASOverride": { + "type": "string", + "description": "Enable Or Disable state.", + "enum": [ + "Enable", + "Disable" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "allowASOverride" + } + }, + "fabricASN": { + "type": "integer", + "format": "int32", + "description": "ASN of Network Fabric. Example: 65048.", + "readOnly": true + }, + "peerASN": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 65535, + "description": "Peer ASN. Example: 65047." + }, + "ipv4ListenRangePrefixes": { + "type": "array", + "description": "BGP Ipv4 ListenRange.", + "items": { + "type": "string", + "description": "Ipv4 Listen Range Prefix. Example: 10.1.0.0/28." + } + }, + "ipv6ListenRangePrefixes": { + "type": "array", + "description": "BGP Ipv6 ListenRange.", + "items": { + "type": "string", + "description": "Ipv6 Listen Range Prefix. Example: 3FFE:FFFF:0:CD30::/126." + } + }, + "ipv4NeighborAddress": { + "type": "array", + "description": "List with stringified ipv4NeighborAddresses.", + "x-ms-identifiers": [ + "address" + ], + "items": { + "type": "object", + "description": "ipv4NeighborAddress model.", + "properties": { + "address": { + "type": "string", + "description": "IP Address of the IPv4NeighborAddress." + }, + "operationalState": { + "type": "string", + "description": "operationalState of the IPv4NeighborAddress.", + "readOnly": true + } + } + } + }, + "ipv6NeighborAddress": { + "type": "array", + "description": "List with stringified ipv6NeighborAddress.", + "x-ms-identifiers": [ + "address" + ], + "items": { + "type": "object", + "description": "ipv6NeighborAddress model.", + "properties": { + "address": { + "type": "string", + "description": "ip address of the ipv6NeighborAddress." + }, + "operationalState": { + "type": "string", + "description": "operationalState of the ipv6NeighborAddress.", + "readOnly": true + } + } + } + } + }, + "required": [ + "peerASN" + ] + }, + "importRoutePolicyId": { + "type": "string", + "description": "ARM resource ID of importRoutePolicy." + }, + "exportRoutePolicyId": { + "type": "string", + "description": "ARM resource ID of importRoutePolicy." + } + } + }, + "ExternalNetworkProperties": { + "type": "object", + "description": "External Network Properties.", + "required": [ + "peeringOption" + ], + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + } + ], + "properties": { + "networkToNetworkInterconnectId": { + "type": "string", + "description": "Gets the networkToNetworkInterconnectId of the resource.", + "readOnly": true + }, + "disabledOnResources": { + "type": "array", + "description": "List of resources the externalNetwork is disabled on. Can be either entire NetworkFabric or NetworkRack.", + "items": { + "type": "string", + "description": "ARM resource Id of the resource" + }, + "readOnly": true + }, + "administrativeState": { + "description": "AdministrativeState of the externalNetwork. Example: Enabled | Disabled.", + "$ref": "./common.json#/definitions/EnabledDisabledState" + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState", + "readOnly": true + }, + "peeringOption": { + "description": "Peering option list.", + "$ref": "./common.json#/definitions/PeeringOption" + }, + "optionBProperties": { + "description": "option B properties object", + "$ref": "#/definitions/OptionBProperties" + }, + "optionAProperties": { + "description": "option A properties object", + "properties": {}, + "allOf": [ + { + "$ref": "#/definitions/OptionAProperties" + } + ], + "required": [ + "vlanId", + "peerASN" + ] + }, + "importRoutePolicyId": { + "type": "string", + "description": "ARM resource ID of importRoutePolicy." + }, + "exportRoutePolicyId": { + "type": "string", + "description": "ARM resource ID of exportRoutePolicy." + } + } + }, + "InternalNetworkProperties": { + "type": "object", + "description": "Internal Network Properties", + "required": [ + "vlanId" + ], + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + }, + { + "$ref": "#/definitions/InternalNetworkPatchableProperties" + } + ], + "properties": { + "disabledOnResources": { + "type": "array", + "description": "List of resources the InternalNetwork is disabled on. Can be either entire NetworkFabric or NetworkRack.", + "items": { + "type": "string", + "description": "ARM resource Id of the resource" + }, + "readOnly": true + }, + "administrativeState": { + "description": "Administrative state of the InternalNetwork. Example: Enabled | Disabled.", + "$ref": "./common.json#/definitions/EnabledDisabledState" + }, + "bgpDisabledOnResources": { + "type": "array", + "description": "List of resources the BGP is disabled on. Can be either entire NetworkFabric or NetworkRack.", + "items": { + "type": "string", + "description": "ARM resource Id of the resource" + }, + "readOnly": true + }, + "bfdDisabledOnResources": { + "type": "array", + "description": "List of resources the BFD for BGP is disabled on. Can be either entire NetworkFabric or NetworkRack.", + "items": { + "type": "string", + "description": "ARM resource Id of the resource" + }, + "readOnly": true + }, + "bfdForStaticRoutesDisabledOnResources": { + "type": "array", + "description": "List of resources the BFD of StaticRoutes is disabled on. Can be either entire NetworkFabric or NetworkRack.", + "items": { + "type": "string", + "description": "ARM resource Id of the resource" + }, + "readOnly": true + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState", + "readOnly": true + }, + "vlanId": { + "type": "integer", + "format": "int32", + "minimum": 100, + "maximum": 4095, + "description": "Vlan identifier. Example: 1001." + } + } + }, + "Layer3IpPrefixProperties": { + "type": "object", + "description": "Layer 3 primary and secondary ip address prefixes.", + "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." + }, + "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." + }, + "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." + }, + "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." + } + } + }, + "OptionAProperties": { + "type": "object", + "description": "Peering optionA properties", + "properties": { + "mtu": { + "type": "integer", + "format": "int32", + "minimum": 1500, + "maximum": 9000, + "default": 1500, + "description": "MTU to use for option A peering." + }, + "vlanId": { + "type": "integer", + "format": "int32", + "minimum": 501, + "maximum": 4095, + "description": "Vlan identifier. Example : 501" + }, + "fabricASN": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 65535, + "description": "Fabric ASN number. Example 65001 ", + "readOnly": true + }, + "peerASN": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 65535, + "description": "Peer ASN number.Example : 28" + }, + "bfdConfiguration": { + "$ref": "#/definitions/BfdConfiguration" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Layer3IpPrefixProperties" + } + ] + }, + "OptionBProperties": { + "type": "object", + "description": "Option B configuration.", + "properties": { + "importRouteTargets": { + "type": "array", + "description": "Route Targets to be applied for incoming routes into CE.", + "items": { + "type": "string", + "description": "Import route target. Example: 65541:2001, 65542:2001." + } + }, + "exportRouteTargets": { + "type": "array", + "description": "Route Targets to be applied for outgoing routes from CE.", + "items": { + "type": "string", + "description": "Export route target. Example: 65531, 65532." + } + } + } + }, + "BfdConfiguration": { + "type": "object", + "description": "BFD configuration properties", + "properties": { + "administrativeState": { + "description": "Administrative state of the BfdConfiguration. Example: Enabled | Disabled.", + "$ref": "./common.json#/definitions/EnabledDisabledState" + }, + "interval": { + "type": "integer", + "format": "int32", + "description": "interval in milliseconds. Example: 300.", + "readOnly": true + }, + "multiplier": { + "type": "integer", + "format": "int32", + "description": "Multiplier for the Bfd Configuration. Example: 3.", + "readOnly": true + } + } + } + }, + "parameters": {} +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkDeviceSkus.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkDeviceSkus.json new file mode 100644 index 000000000000..c6f0044d1fc1 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkDeviceSkus.json @@ -0,0 +1,331 @@ +{ + "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}/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus/{networkDeviceSkuName}": { + "get": { + "tags": [ + "NetworkDeviceSkus" + ], + "operationId": "NetworkDeviceSkus_Get", + "summary": "Gets a Network Device Sku.", + "description": "Get Network Device SKU details.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "path", + "name": "networkDeviceSkuName", + "required": true, + "type": "string", + "description": "Name of the Network Device Sku" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkDeviceSku" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDeviceSkus_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkDeviceSkus_Get_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus": { + "get": { + "operationId": "NetworkDeviceSkus_ListBySubscription", + "summary": "List NetworkDeviceSkus by subscription.", + "description": "List Network Device SKUs for the given subscription.", + "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 NetworkDeviceSkus under the subscription.", + "schema": { + "$ref": "#/definitions/NetworkDeviceSkusListResult" + } + }, + "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": { + "NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "NetworkDeviceSkuProperties": { + "type": "object", + "properties": { + "model": { + "type": "string", + "description": "Model of the network device." + }, + "manufacturer": { + "type": "string", + "description": "Manufacturer of the network device." + }, + "supportedVersions": { + "type": "array", + "description": "List of network device interfaces.", + "x-ms-identifiers": [ + "version" + ], + "items": { + "description": "Network device interface properties.", + "type": "object", + "properties": { + "version": { + "type": "string", + "description": "Operating system and firmware combined versions." + }, + "vendorOsVersion": { + "type": "string", + "description": "Operating system version." + }, + "vendorFirmwareVersion": { + "type": "string", + "description": "Firmware version." + }, + "isCurrent": { + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "isCurrentVersion" + }, + "description": "If the current version is in use." + }, + "isTest": { + "type": "string", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "isTestVersion" + }, + "description": "If the current version is a test version." + } + } + } + }, + "limits": { + "description": "Network device limits.", + "type": "object", + "properties": { + "physicalInterfaceCount": { + "type": "integer", + "format": "int32", + "description": "Maximum number of physical interfaces." + }, + "maxSubInterfaces": { + "type": "integer", + "format": "int32", + "description": "Maximum number of sub-interfaces." + }, + "maxTunnelInterfaces": { + "type": "integer", + "format": "int32", + "description": "Maximum number of tunnel interfaces." + }, + "maxVirtualRouterFunctions": { + "type": "integer", + "format": "int32", + "description": "Maximum number of virtual router functions." + }, + "maxBorderGatewayProtocolPeers": { + "type": "integer", + "format": "int32", + "description": "Maximum number of Border Gateway Protocol (BGP) peers." + }, + "maxBidirectionalForwardingDetectionPeers": { + "type": "integer", + "format": "int32", + "description": "Maximum number of Bidirectional Forwarding Detection (BFD) peers." + } + } + }, + "supportedRoleTypes": { + "type": "array", + "description": "Available roles for the network device.", + "items": { + "type": "string", + "description": "Available roles for the network device.", + "enum": [ + "CE", + "ToR", + "NPB", + "TS", + "Management" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "networkDeviceRoleName" + } + } + }, + "interfaces": { + "type": "array", + "description": "List of network device interfaces.", + "x-ms-identifiers": [ + "identifier" + ], + "items": { + "description": "Network device interface properties.", + "type": "object", + "properties": { + "identifier": { + "type": "string", + "description": "Interface identifier. Example: HundredGigE0/0." + }, + "interfaceType": { + "type": "string", + "description": "Interface type." + }, + "supportedConnectorTypes": { + "type": "array", + "description": "List of supported connector types.", + "x-ms-identifiers": [ + "connectorType" + ], + "items": { + "description": "Supported connector properties.", + "type": "object", + "properties": { + "connectorType": { + "type": "string", + "description": "Connector type. Example: Optical." + }, + "maxSpeedInMbps": { + "type": "integer", + "format": "int32", + "description": "Maximum speed of the connector in Mbps." + } + } + } + } + } + } + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState", + "readOnly": true + } + }, + "required": [ + "model" + ], + "description": "NetworkDeviceSkuProperties define the resource properties." + }, + "NetworkDeviceSku": { + "type": "object", + "x-ms-azure-resource": true, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/NetworkDeviceSkuProperties" + } + }, + "required": [ + "properties" + ], + "description": "The NetworkDeviceSku resource definition." + }, + "NetworkDeviceSkusListResult": { + "type": "object", + "description": "List of NetworkDeviceSkus.", + "properties": { + "value": { + "type": "array", + "description": "List of NetworkDeviceSku resources.", + "items": { + "$ref": "#/definitions/NetworkDeviceSku" + } + }, + "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/NetworkDevices.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkDevices.json new file mode 100644 index 000000000000..11aba17cdd14 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkDevices.json @@ -0,0 +1,1701 @@ +{ + "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/networkDevices/{networkDeviceName}": { + "put": { + "tags": [ + "NetworkDevices" + ], + "operationId": "NetworkDevices_Create", + "summary": "Create Network Device.", + "description": "Create a Network Device 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": "networkDeviceName", + "required": true, + "type": "string", + "description": "Name of the Network Device" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/NetworkDevice" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkDevice" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/NetworkDevice" + } + }, + "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": { + "NetworkDevices_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_Create_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "NetworkDevices" + ], + "operationId": "NetworkDevices_Get", + "summary": "Gets a Network Device.", + "description": "Get the Network Device resource details.", + "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": "networkDeviceName", + "required": true, + "type": "string", + "description": "Name of the Network Device" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkDevice" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_Get_MaximumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "NetworkDevices" + ], + "operationId": "NetworkDevices_Update", + "summary": "Updates a Network Device.", + "description": "Update certain properties of the Network Device 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": "networkDeviceName", + "required": true, + "type": "string", + "description": "Name of the Network Device" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Network Device properties to update.", + "schema": { + "$ref": "#/definitions/NetworkDevicePatchParameters" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkDevice" + } + }, + "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": { + "NetworkDevices_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "NetworkDevices" + ], + "operationId": "NetworkDevices_Delete", + "summary": "Deletes a Network Device.", + "description": "Delete the Network Device resource.", + "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": "networkDeviceName", + "required": true, + "type": "string", + "description": "Name of the Network Device" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "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": { + "NetworkDevices_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_Delete_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices": { + "get": { + "operationId": "NetworkDevices_ListByResourceGroup", + "summary": "List NetworkDevices by resource group.", + "description": "List all the Network Device resources in a given resource group.", + "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 NetworkDevices under the resource group.", + "schema": { + "$ref": "#/definitions/NetworkDevicesListResult" + } + }, + "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": { + "NetworkDevices_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_ListByResourceGroup_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkDevices": { + "get": { + "operationId": "NetworkDevices_ListBySubscription", + "summary": "List NetworkDevices by subscription.", + "description": "List all the Network Device resources in a given subscription.", + "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 NetworkDevices under the subscription.", + "schema": { + "$ref": "#/definitions/NetworkDevicesListResult" + } + }, + "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": { + "NetworkDevices_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_ListBySubscription_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}": { + "put": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_Create", + "summary": "Create NetworkInterface.", + "description": "Create a Network Interface 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": "networkDeviceName", + "required": true, + "type": "string", + "description": "Name of the NetworkDevice" + }, + { + "in": "path", + "name": "networkInterfaceName", + "required": true, + "type": "string", + "description": "Name of the NetworkInterface" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + }, + "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": { + "NetworkInterfaces_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_Create_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_Get", + "summary": "Gets a NetworkInterface.", + "description": "Get the Network Interface resource details.", + "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": "networkDeviceName", + "required": true, + "type": "string", + "description": "Name of the NetworkDevice" + }, + { + "in": "path", + "name": "networkInterfaceName", + "required": true, + "type": "string", + "description": "Name of the NetworkInterfaceName" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkInterfaces_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_Get_MaximumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_Update", + "summary": "Updates a NetworkInterface.", + "description": "Update certain properties of the Network Interface 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": "networkDeviceName", + "required": true, + "type": "string", + "description": "Name of the NetworkDevice" + }, + { + "in": "path", + "name": "networkInterfaceName", + "required": true, + "type": "string", + "description": "Name of the NetworkInterfaceName" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "NetworkInterface properties to update. Only tags are supported.", + "schema": { + "$ref": "#/definitions/NetworkInterfacePatch" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + }, + "202": { + "description": "Created", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + }, + "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": { + "NetworkInterfaces_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_Delete", + "summary": "Deletes a NetworkInterface.", + "description": "Delete the Network Interface resource.", + "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": "networkDeviceName", + "required": true, + "type": "string", + "description": "Name of the NetworkDevice" + }, + { + "in": "path", + "name": "networkInterfaceName", + "required": true, + "type": "string", + "description": "Name of the NetworkInterfaceName" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "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": { + "NetworkInterfaces_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_Delete_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces": { + "get": { + "operationId": "NetworkInterfaces_List", + "summary": "List all Network Interfaces that are available using an Network Device.", + "description": "List all the Network Interface resources in a given resource group.", + "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": "networkDeviceName", + "required": true, + "type": "string", + "description": "Name of the NetworkDevice." + } + ], + "responses": { + "200": { + "description": "Lists all NetworkInterfaces under the resource group.", + "schema": { + "$ref": "#/definitions/NetworkInterfacesList" + } + }, + "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": { + "NetworkInterfaces_List_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_List_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/reboot": { + "post": { + "tags": [ + "NetworkDevices" + ], + "operationId": "NetworkDevices_reboot", + "description": "Reboot the Network Device.", + "summary": "Implements the operation to the underlying resources.", + "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": "networkDeviceName", + "description": "Name of the NetworkDevice.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "NetworkDevices_reboot_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_reboot_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/restoreConfig": { + "post": { + "tags": [ + "NetworkDevices" + ], + "operationId": "NetworkDevices_restoreConfig", + "description": "Restore the configuration of the Network Device resource to last known good configuration.", + "summary": "Restores the configuration to last applied good configuration from Azure.", + "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": "networkDeviceName", + "description": "Name of the NetworkDevice.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "NetworkDevices_restoreConfig_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_restoreConfig_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/updateVersion": { + "post": { + "tags": [ + "NetworkDevices" + ], + "operationId": "NetworkDevices_updateVersion", + "description": "Update the SKU version of the Network Device resource.", + "summary": "Implements SKU version upgrade of network device.", + "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": "networkDeviceName", + "description": "Name of the NetworkDevice.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/UpdateVersionProperties" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "NetworkDevices_updateVersion_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_updateVersion_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/generateSupportPackage": { + "post": { + "tags": [ + "NetworkDevices" + ], + "operationId": "NetworkDevices_generateSupportPackage", + "description": "Generate Support Package for the given Network Device.", + "summary": "Implements the operation to the underlying resources.", + "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": "networkDeviceName", + "description": "Name of the NetworkDevice.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous operation.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/SupportPackageProperties" + } + }, + "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": { + "NetworkDevices_generateSupportPackage_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_generateSupportPackage_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/updatePowerCycle": { + "post": { + "tags": [ + "NetworkDevices" + ], + "operationId": "NetworkDevices_updatePowerCycle", + "description": "Update PDU power cycle of the Network Device.", + "summary": "Implements the operation to the underlying resources.", + "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": "networkDeviceName", + "description": "Name of the NetworkDevice.", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/UpdatePowerCycleProperties" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "NetworkDevices_updatePowerCycle_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_updatePowerCycle_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/getStatus": { + "post": { + "tags": [ + "NetworkDevices" + ], + "operationId": "NetworkDevices_getStatus", + "description": "Get the running status of the Network Device.", + "summary": "Gets the running status of the network device.", + "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": "networkDeviceName", + "description": "Name of the NetworkDevice.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous operation.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/GetDeviceStatusProperties" + } + }, + "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": { + "NetworkDevices_getStatus_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_getStatus_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/getStaticInterfaceMaps": { + "post": { + "tags": [ + "NetworkDevices" + ], + "operationId": "NetworkDevices_getStaticInterfaceMaps", + "description": "Get the static interface maps for the given Network Device.", + "summary": "Show the interface maps as per the topology.", + "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": "networkDeviceName", + "description": "Name of the NetworkDevice.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous operation.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/GetStaticInterfaceMapsProperties" + } + }, + "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": { + "NetworkDevices_getStaticInterfaceMaps_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_getStaticInterfaceMaps_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/getDynamicInterfaceMaps": { + "post": { + "tags": [ + "NetworkDevices" + ], + "operationId": "NetworkDevices_getDynamicInterfaceMaps", + "description": "Get the dynamic interface maps for the given Network Device.", + "summary": "Implements the operation to the underlying resources.", + "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": "networkDeviceName", + "description": "Name of the NetworkDevice.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous operation.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/GetDynamicInterfaceMapsProperties" + } + }, + "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": { + "NetworkDevices_getDynamicInterfaceMaps_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_getDynamicInterfaceMaps_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}/getStatus": { + "post": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_getStatus", + "description": "Get the running status of the Network Interface.", + "summary": "Implements the operation to the underlying resources.", + "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": "networkDeviceName", + "description": "Name of the NetworkDevice.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "networkInterfaceName", + "required": true, + "type": "string", + "description": "Name of the NetworkInterface" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous operation.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/InterfaceStatus" + } + }, + "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": { + "NetworkInterfaces_getStatus_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_getStatus_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}/updateAdministrativeState": { + "post": { + "tags": [ + "NetworkInterfaces" + ], + "operationId": "NetworkInterfaces_updateAdministrativeState", + "description": "Update the admin state of the Network Interface.", + "summary": "Updates the admin state of the network interface.", + "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": "networkDeviceName", + "description": "Name of the NetworkDevice.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "networkInterfaceName", + "required": true, + "type": "string", + "description": "Name of the NetworkInterface" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "./common.json#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "NetworkInterfaces_updateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_updateAdministrativeState_MaximumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "NetworkInterfaceProperties": { + "type": "object", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + } + ], + "properties": { + "physicalIdentifier": { + "type": "string", + "description": "physicalIdentifier of the network interface.", + "readOnly": true + }, + "administrativeState": { + "type": "string", + "description": "administrativeState of the network interface. Example: Enabled | Disabled.", + "$ref": "./common.json#/definitions/EnabledDisabledState" + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState", + "readOnly": true + }, + "connectedTo": { + "type": "string", + "description": "The arm resource id of the interface or compute server its connected to.", + "readOnly": true + }, + "interfaceType": { + "type": "string", + "description": "The Interface Type. Example: Management/Data", + "enum": [ + "Management", + "Data" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "interfaceType" + }, + "readOnly": true + }, + "ipv4Address": { + "type": "string", + "description": "ipv4Address.", + "readOnly": true + }, + "ipv6Address": { + "type": "string", + "description": "ipv6Address.", + "readOnly": true + } + }, + "description": "NetworkInterfaceProperties define the resource properties." + }, + "NetworkDevicePatchableProperties": { + "title": "Network Device updatable properties", + "type": "object", + "properties": { + "hostName": { + "type": "string", + "description": "The host Name of the device." + }, + "serialNumber": { + "type": "string", + "description": "serialNumber of the format Make;Model;HardwareRevisionId;SerialNumber. Example: Arista;DCS-7280DR3-24;12.05;JPE21116969" + } + } + }, + "NetworkDevicePatchParameters": { + "type": "object", + "description": "The NetworkDevicePatchParameters resource definition.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Network Device Patch properties.", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource" + }, + { + "$ref": "#/definitions/NetworkDevicePatchableProperties" + } + ] + }, + "tags": { + "description": "Azure resource tags that will replace the existing ones.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "NetworkDeviceProperties": { + "type": "object", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + }, + { + "$ref": "#/definitions/NetworkDevicePatchableProperties", + "description": "Common patchable properties for Network Device." + } + ], + "properties": { + "version": { + "type": "string", + "description": "Current version of the device as defined in SKU.", + "readOnly": true + }, + "networkDeviceSku": { + "type": "string", + "description": "Network Device SKU name." + }, + "networkDeviceRole": { + "$ref": "./common.json#/definitions/NetworkDeviceRoleTypes", + "description": "networkDeviceRole is the device role: Example: CE | ToR." + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState", + "readOnly": true + }, + "networkRackId": { + "description": "Reference to network rack resource id.", + "type": "string", + "readOnly": true + } + }, + "required": [ + "networkDeviceSku", + "networkDeviceRole", + "serialNumber" + ], + "description": "NetworkDeviceProperties define the resource properties." + }, + "NetworkDevice": { + "type": "object", + "x-ms-azure-resource": true, + "description": "The NetworkDevice resource definition.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/NetworkDeviceProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkInterface": { + "description": "Defines the NetworkInterface resource.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "description": "The resource model definition for an Azure Resource Manager proxy resource, except required location and tags." + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/NetworkInterfaceProperties" + } + }, + "x-ms-azure-resource": true + }, + "NetworkInterfacePatch": { + "type": "object", + "description": "The NetworkInterfacePatch resource definition.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Network Interface Patch properties.", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource" + } + ] + } + } + }, + "NetworkDevicesListResult": { + "type": "object", + "description": "List of NetworkDevices.", + "properties": { + "value": { + "type": "array", + "description": "List of NetworkDevice resources.", + "items": { + "$ref": "#/definitions/NetworkDevice" + } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + }, + "NetworkInterfacesList": { + "type": "object", + "description": "List of NetworkInterfaces.", + "properties": { + "value": { + "type": "array", + "description": "List of NetworkInterfaces resources.", + "items": { + "$ref": "#/definitions/NetworkInterface" + } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + }, + "SupportPackageProperties": { + "type": "object", + "description": "Generate support package post action properties.", + "properties": { + "supportPackageURL": { + "type": "string", + "description": "The URL to fetch the generated support package from." + } + }, + "required": [ + "supportPackageURL" + ] + }, + "UpdateVersionProperties": { + "type": "object", + "description": "Generate support package post action properties.", + "properties": { + "skuVersion": { + "type": "string", + "description": "The supported version defined in network device SKU." + } + }, + "required": [ + "skuVersion" + ] + }, + "UpdatePowerCycleProperties": { + "type": "object", + "description": "Update power cycle input properties.", + "properties": { + "powerEnd": { + "type": "string", + "description": "Primary or Secondary power end.", + "enum": [ + "Primary", + "Secondary" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "PowerEnd" + } + }, + "state": { + "type": "string", + "description": "On or Off toggle state.", + "enum": [ + "On", + "Off" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "State" + } + } + }, + "required": [ + "powerEnd", + "state" + ] + }, + "GetDeviceStatusProperties": { + "type": "object", + "description": "Get Device status response properties.", + "properties": { + "operationalStatus": { + "type": "string", + "description": "Primary or Secondary power end.", + "enum": [ + "Booted", + "BootPrompt", + "Ztp" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "OperationalStatus" + } + }, + "powerCycleState": { + "type": "string", + "description": "On or Off power cycle state.", + "enum": [ + "On", + "Off" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "PowerCycleState" + } + }, + "serialNumber": { + "type": "string", + "description": "The serial number of the device" + } + }, + "required": [ + "powerCycleState", + "operationalStatus", + "serialNumber" + ] + }, + "GetStaticInterfaceMapsProperties": { + "type": "array", + "x-ms-identifiers": [ + "name" + ], + "description": "Layer 2 Network interfaces status", + "items": { + "type": "object", + "description": "Get Device static interface maps as per topology.", + "properties": { + "name": { + "type": "string", + "description": "The interface name." + }, + "description": { + "type": "string", + "description": "The interface description." + }, + "identifier": { + "type": "string", + "description": "The interface identifier." + }, + "interfaceType": { + "type": "string", + "description": "The interface type. Example: Ethernet" + }, + "connectorType": { + "type": "string", + "description": "The physical cable connector type. Example: Optical" + }, + "connectedTo": { + "type": "string", + "description": "Connected to ARM resource or external interface" + }, + "speed": { + "type": "number", + "description": "The interface speed. Example: 100" + }, + "channelGroupId": { + "type": "number", + "description": "The port channel group id." + } + } + } + }, + "GetDynamicInterfaceMapsProperties": { + "type": "array", + "x-ms-identifiers": [ + "name" + ], + "description": "Layer 2 Network interfaces status", + "items": { + "type": "object", + "description": "Get Device static interface maps as per topology.", + "properties": { + "name": { + "type": "string", + "description": "The interface name." + } + }, + "allOf": [ + { + "$ref": "#/definitions/InterfaceStatus" + } + ] + } + }, + "InterfaceStatus": { + "type": "object", + "description": "Interface running status properties", + "properties": { + "administrativeState": { + "type": "string", + "description": "The interface administrative state.", + "$ref": "./common.json#/definitions/EnabledDisabledState" + }, + "operationalStatus": { + "type": "string", + "description": "The interface operational status." + }, + "phyStatus": { + "type": "string", + "description": "The physical status." + }, + "transceiverStatus": { + "type": "string", + "description": "The interface transceiver type. Example: up or down" + }, + "connectedTo": { + "type": "string", + "description": "Connected to ARM resource or external interface" + } + } + } + }, + "parameters": {} +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabricControllers.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabricControllers.json new file mode 100644 index 000000000000..911318702b77 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabricControllers.json @@ -0,0 +1,724 @@ +{ + "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/networkFabricControllers/{networkFabricControllerName}": { + "put": { + "tags": [ + "NetworkFabricControllers" + ], + "operationId": "NetworkFabricControllers_Create", + "summary": "Create Network fabric controller.", + "description": "Creates a Network Fabric Controller.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkFabricControllers_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_Create_MaximumSet_Gen.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": "networkFabricControllerName", + "required": true, + "type": "string", + "description": "Name of the Network Fabric Controller" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/NetworkFabricController" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkFabricController" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/NetworkFabricController" + } + }, + "default": { + "description": "Error response describing why the operation failed.need to check with the team whether this field needs to be updated or not", + "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" + } + }, + "get": { + "tags": [ + "NetworkFabricControllers" + ], + "operationId": "NetworkFabricControllers_Get", + "summary": "Gets a Network Fabric Controller.", + "description": "Shows the provisioning status of Network Fabric Controller.", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkFabricControllers_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_Get_MaximumSet_Gen.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": "networkFabricControllerName", + "required": true, + "type": "string", + "description": "Name of the Network Fabric Controller" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkFabricController" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "NetworkFabricControllers" + ], + "operationId": "NetworkFabricControllers_Update", + "summary": "Updates a Network Fabric Controller.", + "description": "Updates are currently not supported for the Network Fabric Controller resource.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkFabricControllers_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_Update_MaximumSet_Gen.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": "networkFabricControllerName", + "required": true, + "type": "string", + "description": "Name of the Network Fabric Controller" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Network Fabric Controller properties to update.", + "schema": { + "$ref": "#/definitions/NetworkFabricControllerPatch" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkFabricController" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "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" + } + }, + "delete": { + "tags": [ + "NetworkFabricControllers" + ], + "operationId": "NetworkFabricControllers_Delete", + "summary": "Deletes a Network Fabric Controller.", + "description": "Deletes the Network Fabric Controller resource.", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkFabricControllers_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_Delete_MaximumSet_Gen.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": "networkFabricControllerName", + "required": true, + "type": "string", + "description": "Name of the Network Fabric Controller" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "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" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers": { + "get": { + "operationId": "NetworkFabricControllers_ListByResourceGroup", + "summary": "List NetworkFabricControllers by resource group.", + "description": "Lists all the NetworkFabricControllers thats available in the resource group.", + "x-ms-examples": { + "NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen.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" + } + ], + "responses": { + "200": { + "description": "Lists all NetworkFabricControllers under the resource group.", + "schema": { + "$ref": "#/definitions/NetworkFabricControllersListResult" + } + }, + "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" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers": { + "get": { + "operationId": "NetworkFabricControllers_ListBySubscription", + "summary": "List NetworkFabricControllers by subscription.", + "description": "Lists all the NetworkFabricControllers by subscription.", + "x-ms-examples": { + "NetworkFabricControllers_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_ListBySubscription_MaximumSet_Gen.json" + } + }, + "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 NetworkFabricControllers under the subscription.", + "schema": { + "$ref": "#/definitions/NetworkFabricControllersListResult" + } + }, + "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" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/{networkFabricControllerName}/enableWorkloadManagementNetwork": { + "post": { + "tags": [ + "NetworkFabricControllers" + ], + "operationId": "NetworkFabricControllers_enableWorkloadManagementNetwork", + "description": "Enables the workloadManagementNetwork (Tenant Network).", + "summary": "Implements the operation to the underlying resources.", + "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": "networkFabricControllerName", + "description": "Name of the networkFabricController.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "NetworkFabricControllers_enableWorkloadManagementNetwork_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_enableWorkloadManagementNetwork_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/{networkFabricControllerName}/disableWorkloadManagementNetwork": { + "post": { + "tags": [ + "NetworkFabricControllers" + ], + "operationId": "NetworkFabricControllers_disableWorkloadManagementNetwork", + "description": "Disables the workloadManagementNetwork (Tenant Network).", + "summary": "Implements the operation to the underlying resources.", + "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": "networkFabricControllerName", + "description": "Name of the networkFabricController.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "NetworkFabricControllers_disableWorkloadManagementNetwork_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_disableWorkloadManagementNetwork_MaximumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "NetworkFabricControllerPatchableProperties": { + "title": "Network Fabric Controller updatable properties", + "type": "object", + "properties": { + "infrastructureExpressRouteConnections": { + "type": "array", + "description": "As part of an update, the Infrastructure ExpressRoute CircuitID should be provided to create and Provision a NFC. This Express route is dedicated for Infrastructure services. (This is a Mandatory attribute)", + "x-ms-identifiers": [ + "expressRouteCircuitId" + ], + "items": { + "$ref": "#/definitions/ExpressRouteConnectionInformation" + } + }, + "workloadExpressRouteConnections": { + "type": "array", + "description": "As part of an update, the workload ExpressRoute CircuitID should be provided to create and Provision a NFC. This Express route is dedicated for Workload services. (This is a Mandatory attribute).", + "x-ms-identifiers": [ + "expressRouteCircuitId" + ], + "items": { + "$ref": "#/definitions/ExpressRouteConnectionInformation" + } + } + } + }, + "NetworkFabricControllerProperties": { + "type": "object", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + }, + { + "$ref": "#/definitions/NetworkFabricControllerPatchableProperties", + "description": "Common patchable properties for Network Fabric Controller." + } + ], + "properties": { + "infrastructureServices": { + "type": "object", + "description": "InfrastructureServices IP ranges.", + "properties": { + "ipv4AddressSpaces": { + "type": "array", + "description": "The IPv4 Address space is optional, if the value is not defined at the time of NFC creation, then the default value 10.0.0.0/19 is considered. The IPV4 address subnet is an optional attribute.", + "items": { + "type": "string", + "description": "This will provide the IPv4 Network Fabric Controller Address Space." + } + }, + "ipv6AddressSpaces": { + "type": "array", + "description": "The IPv6 is not supported right now.", + "items": { + "type": "string", + "description": "The IPv6 is not supported right now." + } + } + }, + "readOnly": true + }, + "workloadServices": { + "type": "object", + "description": "WorkloadServices IP ranges.", + "properties": { + "ipv4AddressSpaces": { + "type": "array", + "description": "The IPv4 Address space is optional, if the value is defined at the time of NFC creation, then the default value 10.0.0.0/19 is considered. The IPV4 address subnet is an optional attribute.", + "items": { + "type": "string", + "description": "This will provide the IPv4 Network Fabric Controller Address Space." + } + }, + "ipv6AddressSpaces": { + "type": "array", + "description": "The IPv6 is not supported right now.", + "items": { + "type": "string", + "description": "The IPv6 is not supported right now." + } + } + }, + "readOnly": true + }, + "managedResourceGroupConfiguration": { + "type": "object", + "description": "Managed Resource Group configuration properties.", + "properties": { + "name": { + "type": "string", + "description": "The NFC service will be hosted in a Managed resource group." + }, + "location": { + "type": "string", + "description": "Managed resource group location." + } + } + }, + "networkFabricIds": { + "type": "array", + "description": "The NF-ID will be an input parameter used by the NF to link and get associated with the parent NFC Service.", + "items": { + "description": "NetworkFabric ID (NF-ID) is a mandatory attribute, which will be consumed by Network Fabric.", + "type": "string" + }, + "readOnly": true + }, + "workloadManagementNetwork": { + "type": "boolean", + "description": "A workload management network is required for all the tenant (workload) traffic. This traffic is only dedicated for Tenant workloads which are required to access internet or any other MSFT/Public endpoints.", + "readOnly": true, + "default": true + }, + "ipv4AddressSpace": { + "type": "string", + "description": "IPv4 Network Fabric Controller Address Space." + }, + "ipv6AddressSpace": { + "type": "string", + "description": "IPv6 Network Fabric Controller Address Space." + }, + "operationalState": { + "description": "The Operational Status would always be NULL. Look only in to the Provisioning state for the latest status.", + "$ref": "#/definitions/NetworkFabricControllerOperationalState", + "readOnly": true + }, + "provisioningState": { + "description": "Provides you the latest status of the NFC service, whether it is Accepted, updating, Succeeded or Failed. During this process, the states keep changing based on the status of NFC provisioning.", + "$ref": "./common.json#/definitions/ProvisioningState", + "readOnly": true + } + }, + "description": "NetworkFabricControllerProperties define the resource properties." + }, + "ExpressRouteConnectionInformation": { + "type": "object", + "properties": { + "expressRouteCircuitId": { + "type": "string", + "description": "The express route circuit Azure resource ID, must be of type Microsoft.Network/expressRouteCircuits/circuitName. The ExpressRoute Circuit is a mandatory attribute." + }, + "expressRouteAuthorizationKey": { + "type": "string", + "description": "Authorization key for the circuit, must be of type Microsoft.Network/expressRouteCircuits/authorizations. The Auth Key is a mandatory attribute.", + "x-ms-secret": true + } + }, + "required": [ + "expressRouteCircuitId", + "expressRouteAuthorizationKey" + ], + "description": "The ExpressRoute circuit ID and the Auth Key are required for you to successfully deploy NFC service." + }, + "ExpressRouteStatusDef": { + "type": "object", + "properties": { + "expressRouteCircuitId": { + "type": "string", + "description": "The express route circuit Azure resource ID, must be of type Microsoft.Network/expressRouteCircuits/circuitName." + }, + "expressRouteStatus": { + "type": "string", + "description": "Express route connection state for the resource.", + "enum": [ + "Connecting", + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "expressRouteConnectionState" + } + } + }, + "description": "ExpressRouteStatus defines the resource properties." + }, + "NetworkFabricControllerOperationalState": { + "type": "string", + "description": "Operational state for the resource.", + "enum": [ + "Configuring", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "networkFabricControllerOperationalState" + }, + "readOnly": true + }, + "NetworkFabricController": { + "type": "object", + "x-ms-azure-resource": true, + "description": "The NetworkFabricController resource definition.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/NetworkFabricControllerProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkFabricControllerPatch": { + "type": "object", + "title": "Network Fabric Controller patch parameters", + "description": "The NetworkFabricControllerPatch payload definition.", + "properties": { + "properties": { + "description": "Network Fabric Controller patch properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkFabricControllerPatchableProperties" + }, + "tags": { + "description": "Azure resource tags that will replace the existing ones.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "NetworkFabricControllersListResult": { + "type": "object", + "description": "List of NetworkFabricControllers.", + "properties": { + "value": { + "type": "array", + "description": "List of NetworkFabricController resources.", + "items": { + "$ref": "#/definitions/NetworkFabricController" + } + }, + "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/NetworkFabricSkus.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabricSkus.json new file mode 100644 index 000000000000..9b89200e2f06 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabricSkus.json @@ -0,0 +1,198 @@ +{ + "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}/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus/{networkFabricSkuName}": { + "get": { + "tags": [ + "NetworkFabricSkus" + ], + "operationId": "NetworkFabricSkus_Get", + "summary": "Gets a Network Fabric Sku.", + "description": "Implements Network Fabric Sku 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/ApiVersionParameter" + }, + { + "in": "path", + "name": "networkFabricSkuName", + "required": true, + "type": "string", + "description": "Name of the Network Fabric Sku" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkFabricSku" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricSkus_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricSkus_Get_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus": { + "get": { + "operationId": "NetworkFabricSkus_ListBySubscription", + "summary": "List NetworkFabricSkus by subscription.", + "description": "Implements NetworkFabricSkus 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 NetworkFabricSkus under the subscription.", + "schema": { + "$ref": "#/definitions/NetworkFabricSkusListResult" + } + }, + "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": { + "NetworkFabricSkus_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricSkus_ListBySubscription_MaximumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "NetworkFabricSkuProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of Network Fabric Sku.", + "readOnly": true + }, + "maxComputeRacks": { + "type": "integer", + "format": "int32", + "description": "Maximum number of compute racks available for this Network Fabric SKU." + }, + "minSupportedVer": { + "type": "string", + "description": "Minimum supported version.", + "readOnly": true + }, + "maxSupportedVer": { + "type": "string", + "description": "Maximum supported version.", + "readOnly": true + }, + "detailsUri": { + "type": "string", + "description": "The URI gives full details of sku.", + "readOnly": true + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState", + "readOnly": true + } + }, + "description": "NetworkFabricSkuProperties define the resource properties." + }, + "NetworkFabricSku": { + "type": "object", + "x-ms-azure-resource": true, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/NetworkFabricSkuProperties" + } + }, + "required": [ + "properties" + ], + "description": "The NetworkFabricSku resource definition." + }, + "NetworkFabricSkusListResult": { + "type": "object", + "description": "List of NetworkFabricSkus.", + "properties": { + "value": { + "type": "array", + "description": "List of NetworkFabricSku resources.", + "items": { + "$ref": "#/definitions/NetworkFabricSku" + } + }, + "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 new file mode 100644 index 000000000000..bbdd776269b5 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabrics.json @@ -0,0 +1,1332 @@ +{ + "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/networkFabrics/{networkFabricName}": { + "put": { + "tags": [ + "NetworkFabrics" + ], + "operationId": "NetworkFabrics_Create", + "summary": "Create Network Fabric.", + "description": "Create Network Fabric resource.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkFabrics_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Create_MaximumSet_Gen.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": "networkFabricName", + "required": true, + "type": "string", + "description": "Name of the Network Fabric" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/NetworkFabric" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkFabric" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/NetworkFabric" + }, + "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" + } + }, + "get": { + "tags": [ + "NetworkFabrics" + ], + "operationId": "NetworkFabrics_Get", + "summary": "Gets a Network Fabric.", + "description": "Get Network Fabric resource details.", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkFabrics_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Get_MaximumSet_Gen.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": "networkFabricName", + "required": true, + "type": "string", + "description": "Name of the Network Fabric" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkFabric" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "NetworkFabrics" + ], + "operationId": "NetworkFabrics_Update", + "summary": "Updates a Network Fabric.", + "description": "Update certain properties of the Network Fabric resource.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkFabrics_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Update_MaximumSet_Gen.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": "networkFabricName", + "required": true, + "type": "string", + "description": "Name of the Network Fabric" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Network Fabric properties to update.", + "schema": { + "$ref": "#/definitions/NetworkFabricPatchParameters" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkFabric" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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" + } + }, + "delete": { + "tags": [ + "NetworkFabrics" + ], + "operationId": "NetworkFabrics_Delete", + "summary": "Deletes a Network Fabric.", + "description": "Delete Network Fabric resource.", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkFabrics_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Delete_MaximumSet_Gen.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": "networkFabricName", + "required": true, + "type": "string", + "description": "Name of the Network Fabric" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics": { + "get": { + "operationId": "NetworkFabrics_ListByResourceGroup", + "summary": "List NetworkFabrics by resource group.", + "description": "List all the Network Fabric resources in the given resource group.", + "x-ms-examples": { + "NetworkFabrics_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_ListByResourceGroup_MaximumSet_Gen.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" + } + ], + "responses": { + "200": { + "description": "Lists all NetworkFabrics under the resource group.", + "schema": { + "$ref": "#/definitions/NetworkFabricsListResult" + } + }, + "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" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabrics": { + "get": { + "operationId": "NetworkFabrics_ListBySubscription", + "summary": "List NetworkFabrics by subscription.", + "description": "List all the Network Fabric resources in the given subscription.", + "x-ms-examples": { + "NetworkFabrics_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_ListBySubscription_MaximumSet_Gen.json" + } + }, + "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 NetworkFabrics under the subscription.", + "schema": { + "$ref": "#/definitions/NetworkFabricsListResult" + } + }, + "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" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/provision": { + "post": { + "tags": [ + "NetworkFabrics" + ], + "operationId": "NetworkFabrics_provision", + "description": "Provisions the underlying resources in the given Network Fabric instance.", + "summary": "Implements the operation to the underlying resources.", + "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": "networkFabricName", + "description": "Name of the NetworkFabric.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "NetworkFabrics_provision_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_provision_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/deprovision": { + "post": { + "tags": [ + "NetworkFabrics" + ], + "operationId": "NetworkFabrics_deprovision", + "description": "Deprovisions the underlying resources in the given Network Fabric instance.", + "summary": "Implements the operation to the underlying resources.", + "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": "networkFabricName", + "description": "Name of the NetworkFabric.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL to retrieve the status of the asynchronous 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": { + "NetworkFabrics_deprovision_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_deprovision_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects/{networkToNetworkInterconnectName}": { + "put": { + "tags": [ + "NetworkToNetworkInterconnects" + ], + "operationId": "NetworkToNetworkInterconnects_Create", + "summary": "Configuration used to setup CE-PE connectivity.", + "description": "Configuration used to setup CE-PE connectivity 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": "networkFabricName", + "description": "Name of the NetworkFabric.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "networkToNetworkInterconnectName", + "required": true, + "type": "string", + "description": "Name of the NetworkToNetworkInterconnectName" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + } + }, + "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": { + "NetworkToNetworkInterconnects_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_Create_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "NetworkToNetworkInterconnects" + ], + "operationId": "NetworkToNetworkInterconnects_Get", + "summary": "Configuration used to setup CE-PE connectivity.", + "description": "Implements NetworkToNetworkInterconnects 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": "networkFabricName", + "description": "Name of the NetworkFabric.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "networkToNetworkInterconnectName", + "required": true, + "type": "string", + "description": "Name of the NetworkToNetworkInterconnect" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkToNetworkInterconnects_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_Get_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "NetworkToNetworkInterconnects" + ], + "operationId": "NetworkToNetworkInterconnects_Delete", + "summary": "Deletes a NetworkToNetworkInterconnects.", + "description": "Implements NetworkToNetworkInterconnects 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": "networkFabricName", + "description": "Name of the NetworkFabric.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "networkToNetworkInterconnectName", + "required": true, + "type": "string", + "description": "Name of the NetworkToNetworkInterconnectName" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "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": { + "NetworkToNetworkInterconnects_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_Delete_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects": { + "get": { + "operationId": "NetworkToNetworkInterconnects_List", + "summary": "Executes list operation to display Network To Network Interconnects within a Network Fabric.", + "description": "Implements Network To Network Interconnects list by Network Fabric 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" + }, + { + "in": "path", + "name": "networkFabricName", + "description": "Name of the NetworkFabric.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Lists all Network To Network Interconnects under the resource group.", + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnectsList" + } + }, + "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": { + "NetworkToNetworkInterconnects_List_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_List_MaximumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "TerminalServerPatchParameters": { + "title": "Terminal server patch parameters", + "type": "object", + "properties": { + "terminalServerConfiguration": { + "type": "object", + "description": "Network and credentials configuration already applied to terminal server.", + "allOf": [ + { + "$ref": "#/definitions/TerminalServerPatchableProperties" + } + ] + } + } + }, + "TerminalServerPatchableProperties": { + "type": "object", + "description": "Network and credential configuration currently applied on terminal server.", + "properties": { + "username": { + "type": "string", + "description": "Username for the terminal server connection." + }, + "password": { + "type": "string", + "description": "Password for the terminal server connection.", + "x-ms-secret": true + }, + "serialNumber": { + "type": "string", + "description": "Serial Number of Terminal server." + } + } + }, + "NetworkFabricPatchableProperties": { + "title": "Network Fabric updatable properties", + "type": "object", + "properties": { + "racks": { + "type": "array", + "description": "List of NetworkRack resource IDs under the Network Fabric. The number of racks allowed depends on the Network Fabric SKU.", + "items": { + "description": "NetworkRack Azure resource ID.", + "type": "string" + }, + "readOnly": true + }, + "l2IsolationDomains": { + "type": "array", + "description": "List of L2IsolationDomain resource IDs under the Network Fabric.", + "items": { + "description": "L2IsolationDomain Azure resource ID.", + "type": "string" + }, + "readOnly": true + }, + "l3IsolationDomains": { + "type": "array", + "description": "List of L3IsolationDomain resource IDs under the Network Fabric.", + "items": { + "description": "L3IsolationDomain Azure resource ID.", + "type": "string" + }, + "readOnly": true + } + } + }, + "NetworkFabricProperties": { + "type": "object", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + }, + { + "$ref": "#/definitions/NetworkFabricPatchableProperties", + "description": "Common patchable properties for Network Fabric." + } + ], + "properties": { + "networkFabricSku": { + "type": "string", + "description": "Supported Network Fabric SKU.Example: Compute / Aggregate racks. Once the user chooses a particular SKU, only supported racks can be added to the Network Fabric. The SKU determines whether it is a single / multi rack Network Fabric.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "rackCount": { + "type": "integer", + "format": "int32", + "minimum": 2, + "maximum": 8, + "description": "Number of racks associated to Network Fabric.Possible values are from 2-8.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "serverCountPerRack": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 16, + "description": "Number of servers.Possible values are from 1-16.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "ipv4Prefix": { + "type": "string", + "description": "IPv4Prefix for Management Network. Default value : 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", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "routerId": { + "type": "string", + "description": "Router Id of CE to be used for MP-BGP between PE and CE", + "readOnly": true + }, + "fabricASN": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 65535, + "description": "ASN of CE devices for CE/PE connectivity." + }, + "networkFabricControllerId": { + "type": "string", + "description": "Azure resource ID for the NetworkFabricController the NetworkFabric belongs.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "terminalServerConfiguration": { + "type": "object", + "description": "Network and credentials configuration currently applied to terminal server.", + "required": [ + "username", + "password", + "primaryIpv4Prefix", + "secondaryIpv4Prefix" + ], + "properties": { + "networkDeviceId": { + "type": "string", + "description": "ARM Resource ID used for the NetworkDevice.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Layer3IpPrefixProperties" + }, + { + "$ref": "#/definitions/TerminalServerPatchableProperties" + } + ] + }, + "managementNetworkConfiguration": { + "type": "object", + "description": "Configuration to be used to setup the management network.", + "required": [ + "infrastructureVpnConfiguration", + "workloadVpnConfiguration" + ], + "properties": { + "infrastructureVpnConfiguration": { + "type": "object", + "description": "Configuration for infrastructure vpn.", + "properties": { + "administrativeState": { + "description": "Indicates configuration state. Example: Enabled | Disabled.", + "$ref": "./common.json#/definitions/EnabledDisabledState" + }, + "networkToNetworkInterconnectId": { + "type": "string", + "description": "Gets the networkToNetworkInterconnectId of the resource.", + "readOnly": true + }, + "peeringOption": { + "$ref": "./common.json#/definitions/PeeringOption" + }, + "optionBProperties": { + "description": "option B properties", + "$ref": "#/definitions/OptionBProperties" + }, + "optionAProperties": { + "description": "option A properties", + "$ref": "#/definitions/OptionAProperties" + } + }, + "required": [ + "optionBProperties" + ] + }, + "workloadVpnConfiguration": { + "type": "object", + "description": "Configuration for workload vpn.", + "properties": { + "administrativeState": { + "description": "Indicates configuration state. Example: enabled | disabled.", + "$ref": "./common.json#/definitions/EnabledDisabledState" + }, + "peeringOption": { + "$ref": "./common.json#/definitions/PeeringOption" + }, + "networkToNetworkInterconnectId": { + "type": "string", + "description": "Gets the networkToNetworkInterconnectId of the resource.", + "readOnly": true + }, + "optionAProperties": { + "description": "option A properties object", + "$ref": "#/definitions/OptionAProperties" + }, + "optionBProperties": { + "description": "option B properties object", + "$ref": "#/definitions/OptionBProperties" + } + }, + "required": [ + "optionBProperties" + ] + } + } + }, + "operationalState": { + "description": "Gets the operational state of the resource.", + "$ref": "#/definitions/NetworkFabricOperationalState" + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState" + } + }, + "required": [ + "networkFabricSku", + "rackCount", + "serverCountPerRack", + "networkFabricControllerId", + "fabricASN", + "terminalServerConfiguration", + "managementNetworkConfiguration" + ], + "description": "NetworkFabricProperties - define the resource properties." + }, + "TerminalServerConnectivityState": { + "type": "string", + "description": "TerminalServerConnectivity state for the resource.", + "enum": [ + "Ipv4Reachable", + "Ipv4Unreachable" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "TerminalServerConnectivityState" + } + }, + "NetworkFabricOperationalState": { + "type": "string", + "description": "Operational state for the resource.", + "readOnly": true, + "enum": [ + "Provisioning", + "Provisioned", + "ErrorProvisioning", + "Deprovisioning", + "Deprovisioned", + "ErrorDeprovisioning", + "DeferredControl" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "networkFabricOperationalState" + } + }, + "NetworkFabric": { + "type": "object", + "x-ms-azure-resource": true, + "description": "The NetworkFabric resource definition.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/NetworkFabricProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkFabricPatchParameters": { + "type": "object", + "description": "The NetworkFabric resource definition.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Network Fabric Patch properties.", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource" + }, + { + "$ref": "#/definitions/TerminalServerPatchParameters" + }, + { + "$ref": "#/definitions/NetworkFabricPatchableProperties" + } + ] + }, + "tags": { + "description": "Azure resource tags that will replace the existing ones.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "NetworkFabricsListResult": { + "type": "object", + "description": "List of NetworkFabrics.", + "properties": { + "value": { + "type": "array", + "description": "List of NetworkFabric resources.", + "items": { + "$ref": "#/definitions/NetworkFabric" + } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + }, + "NetworkToNetworkInterconnect": { + "type": "object", + "x-ms-azure-resource": true, + "description": "The NetworkToNetworkInterconnect resource definition.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/NetworkToNetworkInterconnectProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "NetworkToNetworkInterconnectProperties": { + "type": "object", + "description": "Configuration used to setup CE-PE connectivity.", + "properties": { + "administrativeState": { + "description": "Gets the administrativeState of the resource. Example -Enabled/Disabled", + "$ref": "./common.json#/definitions/EnabledDisabledState" + }, + "isManagementType": { + "description": "Configuration to use NNI for Infrastructure Management. Example: True/False.", + "$ref": "./common.json#/definitions/BooleanEnumProperty" + }, + "useOptionB": { + "description": "Based on this parameter the layer2/layer3 is made as mandatory. Example: True/False", + "$ref": "./common.json#/definitions/BooleanEnumProperty" + }, + "layer2Configuration": { + "type": "object", + "description": "Common properties for Layer2Configuration.", + "allOf": [ + { + "$ref": "#/definitions/Layer2Configuration", + "description": "Common properties for Layer2Configuration." + } + ] + }, + "layer3Configuration": { + "type": "object", + "description": "Common properties for Layer3Configuration.", + "$ref": "#/definitions/Layer3Configuration" + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState" + } + }, + "required": [ + "isManagementType", + "useOptionB" + ] + }, + "NetworkToNetworkInterconnectsList": { + "type": "object", + "description": "List of NetworkToNetworkInterconnects.", + "properties": { + "value": { + "type": "array", + "description": "List of NetworkToNetworkInterconnects resources.", + "items": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + } + }, + "nextLink": { + "type": "string", + "description": "Url to follow for getting next page of resources." + } + } + }, + "OptionAProperties": { + "type": "object", + "description": "Peering optionA properties", + "properties": { + "mtu": { + "type": "integer", + "format": "int32", + "minimum": 1500, + "maximum": 9000, + "default": 1500, + "description": "MTU to use for option A peering." + }, + "vlanId": { + "type": "integer", + "format": "int32", + "minimum": 501, + "maximum": 4095, + "description": "Vlan Id.Example : 501" + }, + "peerASN": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 65535, + "description": "Peer ASN number.Example : 28" + }, + "bfdConfiguration": { + "type": "object", + "description": "BFD Configuration properties.", + "properties": { + "interval": { + "type": "integer", + "format": "int32", + "description": "interval in seconds. Example: 300.", + "readOnly": true + }, + "multiplier": { + "type": "integer", + "format": "int32", + "description": "multiplier. Example: 3.", + "readOnly": true + } + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/Layer3IpPrefixProperties" + } + ] + }, + "OptionBProperties": { + "type": "object", + "description": "Option B configuration to be used for management vpn.", + "properties": { + "importRouteTargets": { + "type": "array", + "description": "Route Targets to be applied for incoming routes into CE.", + "items": { + "type": "string", + "description": "Import route target. Example: 65541:2001, 65542:2001." + } + }, + "exportRouteTargets": { + "type": "array", + "description": "Route Targets to be applied for outgoing routes from CE.", + "items": { + "type": "string", + "description": "Export route target. Example: 65531, 65532." + } + } + }, + "required": [ + "importRouteTargets", + "exportRouteTargets" + ] + }, + "Layer2Configuration": { + "type": "object", + "description": "layer2Configuration", + "properties": { + "portCount": { + "type": "integer", + "format": "int32", + "description": "Number of ports connected between PE/CE. Maximum value depends on FabricSKU." + }, + "mtu": { + "type": "integer", + "format": "int32", + "minimum": 1500, + "maximum": 9000, + "default": 1500, + "description": "MTU of the packets between PE & CE." + }, + "interfaces": { + "type": "array", + "description": "List of network device interfaces resource IDs.", + "items": { + "type": "string", + "description": "Azure resource ID for the NetworkDevice/networkInterface." + }, + "readOnly": true + } + }, + "required": [ + "mtu" + ] + }, + "Layer3Configuration": { + "type": "object", + "description": "layer3Configuration", + "properties": { + "importRoutePolicyId": { + "type": "string", + "description": "importRoutePolicyId" + }, + "exportRoutePolicyId": { + "type": "string", + "description": "exportRoutePolicyId" + }, + "peerASN": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 65535, + "description": "ASN of PE devices for CE/PE connectivity.Example : 28" + }, + "vlanId": { + "type": "integer", + "format": "int32", + "minimum": 501, + "maximum": 4095, + "description": "VLAN for CE/PE Layer 3 connectivity.Example : 501" + }, + "fabricASN": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 65535, + "readOnly": true, + "description": "ASN of CE devices for CE/PE connectivity." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Layer3IpPrefixProperties" + } + ] + }, + "Layer3IpPrefixProperties": { + "type": "object", + "description": "Layer 3 primary and secondary ip address prefixes.", + "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" + }, + "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" + }, + "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" + }, + "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" + } + } + } + }, + "parameters": {} +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkRackSkus.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkRackSkus.json new file mode 100644 index 000000000000..3ecd30aa6d16 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkRackSkus.json @@ -0,0 +1,240 @@ +{ + "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}/providers/Microsoft.ManagedNetworkFabric/networkRackSkus/{networkRackSkuName}": { + "get": { + "tags": [ + "NetworkRackSkus" + ], + "operationId": "NetworkRackSkus_Get", + "summary": "Gets a Network Rack Sku.", + "description": "Get Network Rack SKU resource.", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "path", + "name": "networkRackSkuName", + "required": true, + "type": "string", + "description": "Name of the Network Rack Sku" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkRackSku" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkRackSkus_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkRackSkus_Get_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkRackSkus": { + "get": { + "operationId": "NetworkRackSkus_ListBySubscription", + "summary": "List NetworkRackSkus by subscription.", + "description": "List all Network Rack SKUs in the given subscription.", + "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 NetworkRackSkus under the subscription.", + "schema": { + "$ref": "#/definitions/NetworkRackSkusListResult" + } + }, + "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": { + "NetworkRackSkus_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkRackSkus_ListBySubscription_MaximumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "NetworkRackSkuProperties": { + "type": "object", + "properties": { + "roleName": { + "type": "string", + "description": "The role of the Network Rack: Aggregate or Compute.", + "enum": [ + "ComputeRack", + "AggregateRack" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "networkRackRoleName" + } + }, + "maximumServerCount": { + "type": "integer", + "format": "int32", + "description": "Maximum number of servers available for this SKU." + }, + "maximumStorageCount": { + "type": "integer", + "format": "int32", + "description": "Maximum number of storage devices available for this SKU." + }, + "maximumUplinks": { + "type": "integer", + "format": "int32", + "description": "Maximum number of network uplinks available for this SKU." + }, + "networkDevices": { + "type": "array", + "description": "List of network device properties / role for the Network Rack.", + "x-ms-identifiers": [ + "networkDeviceSkuName" + ], + "items": { + "description": "Network device properties / role for the Network Rack.", + "type": "object", + "properties": { + "networkDeviceSkuName": { + "type": "string", + "description": "Name of the associated Network Device SKU." + }, + "roleType": { + "type": "string", + "description": "Role for the network device.", + "enum": [ + "CE", + "ToR", + "NPB", + "TS", + "Management" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "networkDeviceRackRoleType" + } + }, + "rackSlot": { + "type": "integer", + "format": "int32", + "description": "Rack slot for the network device." + } + } + } + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState", + "readOnly": true + } + }, + "required": [ + "roleName" + ], + "description": "NetworkRackSkuProperties define the resource properties." + }, + "NetworkRackSku": { + "type": "object", + "x-ms-azure-resource": true, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/NetworkRackSkuProperties" + } + }, + "required": [ + "properties" + ], + "description": "The NetworkRackSku resource definition." + }, + "NetworkRackSkusListResult": { + "type": "object", + "description": "List of NetworkRackSkus.", + "properties": { + "value": { + "type": "array", + "description": "List of NetworkRackSku resources.", + "items": { + "$ref": "#/definitions/NetworkRackSku" + } + }, + "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/NetworkRacks.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkRacks.json new file mode 100644 index 000000000000..9327237e3e5e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkRacks.json @@ -0,0 +1,463 @@ +{ + "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/networkRacks/{networkRackName}": { + "put": { + "tags": [ + "NetworkRacks" + ], + "operationId": "NetworkRacks_Create", + "summary": "Create Network Rack.", + "description": "Create Network Rack 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": "networkRackName", + "required": true, + "type": "string", + "description": "Name of the Network Rack" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/NetworkRack" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkRack" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/NetworkRack" + } + }, + "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": { + "NetworkRacks_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_Create_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "NetworkRacks" + ], + "operationId": "NetworkRacks_Get", + "summary": "Gets a Network Rack.", + "description": "Get Network Rack resource details.", + "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": "networkRackName", + "required": true, + "type": "string", + "description": "Name of the Network Rack" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkRack" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkRacks_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_Get_MaximumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "NetworkRacks" + ], + "operationId": "NetworkRacks_Update", + "summary": "Updates a Network Rack.", + "description": "Update certain properties of the Network Rack 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": "networkRackName", + "required": true, + "type": "string", + "description": "Name of the Network Rack" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Network Rack properties to update.", + "schema": { + "$ref": "#/definitions/NetworkRackPatch" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NetworkRack" + } + }, + "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": { + "NetworkRacks_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "NetworkRacks" + ], + "operationId": "NetworkRacks_Delete", + "summary": "Deletes a Network Rack.", + "description": "Delete Network Rack resource.", + "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": "networkRackName", + "required": true, + "type": "string", + "description": "Name of the Network Rack" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "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": { + "NetworkRacks_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_Delete_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkRacks": { + "get": { + "operationId": "NetworkRacks_ListByResourceGroup", + "summary": "List NetworkRacks by resource group.", + "description": "List all Network Rack resources in the given resource group.", + "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 NetworkRacks under the resource group.", + "schema": { + "$ref": "#/definitions/NetworkRacksListResult" + } + }, + "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": { + "NetworkRacks_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_ListByResourceGroup_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkRacks": { + "get": { + "operationId": "NetworkRacks_ListBySubscription", + "summary": "List NetworkRacks by subscription.", + "description": "List all Network Rack resources in the given subscription", + "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 NetworkRacks under the subscription.", + "schema": { + "$ref": "#/definitions/NetworkRacksListResult" + } + }, + "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": { + "NetworkRacks_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_ListBySubscription_MaximumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "NetworkRackProperties": { + "type": "object", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + } + ], + "properties": { + "networkRackSku": { + "type": "string", + "description": "Network Rack SKU name." + }, + "networkFabricId": { + "type": "string", + "description": "Network Fabric ARM resource id." + }, + "networkDevices": { + "type": "array", + "description": "List of network device ARM resource ids.", + "items": { + "type": "string", + "description": "Network device ARM resource id." + }, + "readOnly": true + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState", + "readOnly": true + } + }, + "required": [ + "networkRackSku", + "networkFabricId" + ], + "description": "NetworkRackProperties define the resource properties." + }, + "NetworkRackPatchProperties": { + "type": "object", + "properties": {}, + "description": "NetworkRackPatchProperties define the patch resource properties." + }, + "NetworkRack": { + "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/NetworkRackProperties" + } + }, + "required": [ + "location", + "properties" + ], + "description": "The NetworkRack resource definition." + }, + "NetworkRackPatch": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/NetworkRackPatchProperties" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "The NetworkRack patch resource definition." + }, + "NetworkRacksListResult": { + "type": "object", + "description": "List of NetworkRacks.", + "properties": { + "value": { + "type": "array", + "description": "List of NetworkRack resources.", + "items": { + "$ref": "#/definitions/NetworkRack" + } + }, + "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/Operations.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/Operations.json new file mode 100644 index 000000000000..a8635858beac --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/Operations.json @@ -0,0 +1,77 @@ +{ + "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": { + "/providers/Microsoft.ManagedNetworkFabric/operations": { + "get": { + "description": "Returns list of all operations.", + "operationId": "Operations_List", + "x-ms-examples": { + "ListOperations": { + "$ref": "./examples/ListOperations.json" + } + }, + "tags": [ + "Operations" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Operation details.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": {}, + "parameters": {} +} 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 new file mode 100644 index 000000000000..b85c8d0724da --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/RoutePolicies.json @@ -0,0 +1,566 @@ +{ + "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/routePolicies/{routePolicyName}": { + "put": { + "tags": [ + "RoutePolicies" + ], + "operationId": "RoutePolicies_Create", + "summary": "Create Route Policy.", + "description": "Implements Route Policy 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": "routePolicyName", + "required": true, + "type": "string", + "description": "Name of the Route Policy" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/RoutePolicy" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/RoutePolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/RoutePolicy" + } + }, + "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": { + "RoutePolicies_Create_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_Create_MaximumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "RoutePolicies" + ], + "operationId": "RoutePolicies_Get", + "summary": "Gets a Route Policy.", + "description": "Implements Route Policy 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": "routePolicyName", + "required": true, + "type": "string", + "description": "Name of the Route Policy" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/RoutePolicy" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_Get_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_Get_MaximumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "RoutePolicies" + ], + "operationId": "RoutePolicies_Update", + "summary": "Updates a Route Policy.", + "description": "API to update certain properties of the Route Policy 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": "routePolicyName", + "required": true, + "type": "string", + "description": "Name of the Route Policy" + }, + { + "in": "body", + "name": "body", + "required": true, + "description": "Route Policy properties to update.", + "schema": { + "$ref": "#/definitions/RoutePolicyPatch" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/RoutePolicy" + } + }, + "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": { + "RoutePolicies_Update_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "RoutePolicies" + ], + "operationId": "RoutePolicies_Delete", + "summary": "Deletes a Route Policy.", + "description": "Implements Route Policy 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": "routePolicyName", + "required": true, + "type": "string", + "description": "Name of the Route Policy" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted" + }, + "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": { + "RoutePolicies_Delete_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_Delete_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies": { + "get": { + "operationId": "RoutePolicies_ListByResourceGroup", + "summary": "List RoutePolicies by resource group.", + "description": "Implements RoutePolicies 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 RoutePolicies under the resource group.", + "schema": { + "$ref": "#/definitions/RoutePoliciesListResult" + } + }, + "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": { + "RoutePolicies_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_ListByResourceGroup_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/routePolicies": { + "get": { + "operationId": "RoutePolicies_ListBySubscription", + "summary": "List RoutePolicies by subscription.", + "description": "Implements RoutePolicies 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 RoutePolicies under the subscription.", + "schema": { + "$ref": "#/definitions/RoutePoliciesListResult" + } + }, + "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": { + "RoutePolicies_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_ListBySubscription_MaximumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "RoutePolicyProperties": { + "type": "object", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + } + ], + "properties": { + "description": { + "type": "string", + "description": "Route Policy description." + }, + "conditions": { + "type": "array", + "description": "Route Policy conditions.", + "x-ms-identifiers": [ + "sequenceNumber" + ], + "items": { + "description": "Route Policy condition model.", + "type": "object", + "allOf": [ + { + "$ref": "./common.json#/definitions/AnnotationResource", + "description": "Common properties for annotated type." + } + ], + "properties": { + "sequenceNumber": { + "type": "integer", + "format": "int32", + "description": "sequenceNumber of the route policy." + }, + "match": { + "type": "object", + "description": "Route policy match properties.", + "properties": { + "accessControlListIds": { + "type": "array", + "description": "accessControlListIds. Arm Resource Ids of AccessControlLists.", + "x-ms-identifiers": [ + "value" + ], + "items": { + "type": "string", + "description": "Arm Resource Id of AccessControlLists." + } + }, + "ipCommunityListIds": { + "type": "array", + "description": "ipCommunityListIds. Arm Resource Ids of IpCommunityLists.", + "x-ms-identifiers": [ + "value" + ], + "items": { + "type": "string", + "description": "Arm Resource Id of IpCommunityLists." + } + }, + "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." + } + } + } + }, + "action": { + "type": "object", + "description": "Route policy action properties.", + "properties": { + "action": { + "type": "string", + "description": "action. Example: accept | deny." + }, + "set": { + "type": "object", + "properties": { + "set": { + "type": "object", + "description": "Route policy set manipulations.", + "properties": { + "ipCommunityListIds": { + "type": "array", + "description": "ipCommunityListIds. Arm Resource Ids of IpCommunityLists.", + "x-ms-identifiers": [ + "value" + ], + "items": { + "type": "string", + "description": "Arm Resource Id of IpCommunityLists." + } + }, + "ipExtendedCommunityListIds": { + "type": "array", + "description": "ipExtendedCommunityListIds. Arm Resource Ids of IpCommunityLists.", + "x-ms-identifiers": [ + "value" + ], + "items": { + "type": "string", + "description": "Arm Resource Id of IpCommunityLists." + } + } + } + } + } + } + } + } + } + } + }, + "provisioningState": { + "description": "Gets the provisioning state of the resource.", + "$ref": "./common.json#/definitions/ProvisioningState", + "readOnly": true + } + }, + "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, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/RoutePolicyProperties" + } + }, + "required": [ + "location", + "properties" + ], + "description": "The RoutePolicy resource definition." + }, + "RoutePolicyPatch": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/RoutePolicyPatchProperties" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "The RoutePolicy patch resource definition." + }, + "RoutePoliciesListResult": { + "type": "object", + "description": "List of RoutePolicies.", + "properties": { + "value": { + "type": "array", + "description": "List of RoutePolicy resources.", + "items": { + "$ref": "#/definitions/RoutePolicy" + } + }, + "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/common.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/common.json new file mode 100644 index 000000000000..aaa7b0757e9c --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/common.json @@ -0,0 +1,245 @@ +{ + "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": {}, + "definitions": { + "ProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Updating", + "Canceled", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "OperationalState": { + "type": "string", + "description": "Operational state for the resource.", + "enum": [ + "Configuring", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "operationalState" + } + }, + "AnnotationResource": { + "type": "object", + "description": "Switch configuration entries require a description to discern between configuration groups.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + } + } + }, + "ExtendedLocation": { + "type": "object", + "description": "The extended location.", + "properties": { + "type": { + "type": "string", + "description": "The extended location type." + }, + "name": { + "type": "string", + "description": "The extended location name." + } + } + }, + "ReachabilityState": { + "type": "string", + "description": "Generic network reachability state.", + "enum": [ + "Reachable", + "Unreachable" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "reachabilityState" + } + }, + "EnabledDisabledState": { + "type": "string", + "description": "EnabledDisabledState state for the resource.", + "readOnly": true, + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "enabledDisabledState" + } + }, + "FailedSucceededState": { + "type": "string", + "description": "FailedSucceeded state for the resource.", + "enum": [ + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "FailedSucceededState" + } + }, + "UpdateAdministrativeState": { + "type": "object", + "description": "Update administrative state on list of resources.", + "properties": { + "state": { + "type": "string", + "description": "Administrative state.", + "enum": [ + "Enable", + "Disable" + ], + "x-ms-enum": { + "name": "AdministrativeState", + "modelAsString": true + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/EnableDisableOnResources" + } + ] + }, + "EnableDisableOnResources": { + "type": "object", + "description": "Update administrative state on list of resources.", + "properties": { + "resourceIds": { + "type": "array", + "description": "Network Fabrics or Network Rack resource Id.", + "items": { + "description": "Network Fabrics or Network Rack resource Id.", + "type": "string" + } + } + } + }, + "ARPProperties": { + "type": "object", + "description": "Show ARP table entry properties", + "properties": { + "address": { + "type": "string", + "description": "Ipv4 or Ipv6 address" + }, + "age": { + "type": "string", + "description": "Duration in seconds." + }, + "macAddress": { + "type": "string", + "description": "Hardware address." + }, + "interface": { + "type": "string", + "description": "Layer 2 interface name." + }, + "state": { + "type": "string", + "description": "ARP status" + } + }, + "required": [ + "address", + "age", + "macAddress", + "interface" + ] + }, + "GetARPResponse": { + "type": "object", + "description": "Show ARP entries response per network device", + "additionalProperties": { + "$ref": "#/definitions/ARPProperties" + } + }, + "BooleanEnumProperty": { + "type": "string", + "description": "Boolean Enum. Example- True/False", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "BooleanEnumProperty" + } + }, + "PeeringOption": { + "type": "string", + "description": "Peering option list.", + "enum": [ + "OptionA", + "OptionB" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "PeeringOption" + } + }, + "NetworkDeviceRoleTypes": { + "type": "string", + "description": "Available roles for the network device.", + "enum": [ + "CE", + "ToR", + "NPB", + "TS", + "Management" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "NetworkDeviceRoleTypes" + } + } + }, + "parameters": {} +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/AccessControlLists_Create_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/AccessControlLists_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..714d4d970e2d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/AccessControlLists_Create_MinimumSet_Gen.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "accessControlListName": "aclOne", + "body": { + "properties": { + "addressFamily": "ipv4", + "conditions": [ + { + "sequenceNumber": 3, + "action": "allow", + "destinationAddress": "1.1.1.1", + "destinationPort": "21", + "sourceAddress": "2.2.2.2", + "sourcePort": "65000", + "protocol": 6 + } + ] + }, + "location": "EastUs" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "addressFamily": "ipv4", + "conditions": [ + { + "sequenceNumber": 3, + "action": "allow", + "destinationAddress": "1.1.1.1", + "destinationPort": "21", + "sourceAddress": "2.2.2.2", + "sourcePort": "65000", + "protocol": 6 + } + ] + }, + "location": "EastUs", + "id": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaa", + "type": "aaaaaa", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2022-06-15T07:15:42.793Z", + "lastModifiedBy": "aaaaaaaaaaaaaaaaaaaa", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-06-15T07:15:42.793Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/AccessControlLists_Delete_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/AccessControlLists_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..26fd74fd45be --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/AccessControlLists_Delete_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "subscriptionId", + "api-version": "2023-02-01-preview", + "accessControlListName": "aclOne" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/AccessControlLists_Get_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/AccessControlLists_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..a33cd870d4a0 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/AccessControlLists_Get_MinimumSet_Gen.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "accessControlListName": "aclOne" + }, + "responses": { + "200": { + "body": { + "properties": { + "addressFamily": "ipv4", + "conditions": [ + { + "sequenceNumber": 3, + "action": "allow", + "destinationAddress": "1.1.1.1", + "destinationPort": "21", + "sourceAddress": "2.2.2.2", + "sourcePort": "65000", + "protocol": 6 + } + ] + }, + "location": "aaa", + "id": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaa", + "type": "aaaaaa", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2022-06-15T07:15:42.793Z", + "lastModifiedBy": "aaaaaaaaaaaaaaaaaaaa", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-06-15T07:15:42.793Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/AccessControlLists_ListByResourceGroup_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/AccessControlLists_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..9c82292a1739 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/AccessControlLists_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "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/AccessControlLists_ListBySubscription_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/AccessControlLists_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..22b723c9cc3f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/AccessControlLists_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,11 @@ +{ + "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/AccessControlLists_Update_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/AccessControlLists_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..3999b94cefcf --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/AccessControlLists_Update_MinimumSet_Gen.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "accessControlListName": "aclOne", + "body": { + "properties": { + "addressFamily": "ipv4", + "conditions": [ + { + "sequenceNumber": 4, + "action": "allow", + "destinationAddress": "1.1.1.2", + "destinationPort": "21", + "sourceAddress": "2.2.2.3", + "sourcePort": "65000", + "protocol": 6 + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "addressFamily": "ipv4", + "conditions": [ + { + "sequenceNumber": 4, + "action": "allow", + "destinationAddress": "1.1.1.2", + "destinationPort": "21", + "sourceAddress": "2.2.2.3", + "sourcePort": "65000", + "protocol": 6 + } + ] + }, + "location": "EastUs", + "id": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "name": "aaaaaaaaaaaaaa", + "type": "aaaaaa", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2022-06-15T07:15:42.793Z", + "lastModifiedBy": "aaaaaaaaaaaaaaaaaaaa", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-06-15T07:15:42.793Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_Create_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..6750abd4539b --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_Create_MaximumSet_Gen.json @@ -0,0 +1,139 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "externalNetworkName": "example-externalnetwork", + "body": { + "properties": { + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ] + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 1001, + "peerASN": 65047, + "bfdConfiguration": {}, + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126" + }, + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", + "disabledOnResources": [ + "" + ], + "administrativeState": "Enabled", + "provisioningState": "Succeeded", + "annotation": "lab1", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ] + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 65048, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126" + }, + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/example-externalnetwork", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", + "disabledOnResources": [ + "" + ], + "administrativeState": "Enabled", + "provisioningState": "Succeeded", + "annotation": "lab1", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ] + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 65048, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126" + }, + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/example-externalnetwork", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_Delete_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..98108132e20a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "externalNetworkName": "example-externalnetwork" + }, + "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/ExternalNetworks_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..f3d5651107c5 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_Get_MaximumSet_Gen.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "externalNetworkName": "example-externalnetwork" + }, + "responses": { + "200": { + "body": { + "properties": { + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", + "disabledOnResources": [ + "" + ], + "administrativeState": "Enabled", + "provisioningState": "Succeeded", + "annotation": "lab1", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ] + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 65048, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126" + }, + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/example-externalnetwork", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_List_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..a9da13d38c57 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_List_MaximumSet_Gen.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", + "disabledOnResources": [ + "" + ], + "administrativeState": "Enabled", + "provisioningState": "Succeeded", + "annotation": "lab1", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ] + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 65048, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126" + }, + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/example-externalnetwork", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "User", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + ], + "nextLink": "next link url" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_Update_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..8eba2f7245a8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_Update_MaximumSet_Gen.json @@ -0,0 +1,140 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "externalNetworkName": "example-externalnetwork", + "body": { + "properties": { + "annotation": "Lab 1", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ] + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 1001, + "peerASN": 65047, + "bfdConfiguration": {}, + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126" + }, + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", + "disabledOnResources": [ + "" + ], + "administrativeState": "Enabled", + "provisioningState": "Succeeded", + "annotation": "lab1", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ] + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 65048, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126" + }, + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/example-externalnetwork", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnects/DefaultNNI", + "disabledOnResources": [ + "" + ], + "administrativeState": "Enabled", + "provisioningState": "Succeeded", + "annotation": "lab1", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ] + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 65048, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126" + }, + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/example-externalnetwork", + "systemData": { + "createdBy": "email@email.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_clearArpEntries_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_clearArpEntries_MaximumSet_Gen.json new file mode 100644 index 000000000000..ef569cc4f6a9 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_clearArpEntries_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "externalNetworkName": "example-externalnetwork", + "body": { + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_clearIpv6Neighbors_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_clearIpv6Neighbors_MaximumSet_Gen.json new file mode 100644 index 000000000000..ef569cc4f6a9 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_clearIpv6Neighbors_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "externalNetworkName": "example-externalnetwork", + "body": { + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_updateAdministrativeState_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_updateAdministrativeState_MaximumSet_Gen.json new file mode 100644 index 000000000000..3323ac985df5 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_updateAdministrativeState_MaximumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "externalNetworkName": "example-externalnetwork", + "body": { + "state": "Enable", + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_updateBfdForBgpAdministrativeState_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_updateBfdForBgpAdministrativeState_MaximumSet_Gen.json new file mode 100644 index 000000000000..3323ac985df5 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_updateBfdForBgpAdministrativeState_MaximumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "externalNetworkName": "example-externalnetwork", + "body": { + "state": "Enable", + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_updateBgpAdministrativeState_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_updateBgpAdministrativeState_MaximumSet_Gen.json new file mode 100644 index 000000000000..3323ac985df5 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ExternalNetworks_updateBgpAdministrativeState_MaximumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "externalNetworkName": "example-externalnetwork", + "body": { + "state": "Enable", + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_Create_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..4376b9d69f72 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_Create_MaximumSet_Gen.json @@ -0,0 +1,272 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "internalNetworkName": "example-internalnetwork", + "body": { + "properties": { + "vlanId": 501, + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ], + "staticRouteConfiguration": { + "bfdConfiguration": {}, + "ipv4Routes": [ + { + "prefix": "10.1.0.0/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "2ffe::1" + ] + } + ] + }, + "bgpConfiguration": { + "bfdConfiguration": {}, + "defaultRouteOriginate": "True", + "allowAS": 1, + "allowASOverride": "Enable", + "peerASN": 6, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::" + } + ] + }, + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName1", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "disabledOnResources": [ + "string" + ], + "administrativeState": "Enabled", + "bgpDisabledOnResources": [ + "string" + ], + "bfdDisabledOnResources": [ + "string" + ], + "bfdForStaticRoutesDisabledOnResources": [ + "string" + ], + "provisioningState": "Succeeded", + "annotation": "dojarxck", + "vlanId": 501, + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ], + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "ipv4Routes": [ + { + "prefix": "10.1.0.0/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "2ffe::1" + ] + } + ] + }, + "bgpConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "defaultRouteOriginate": "True", + "allowAS": 1, + "allowASOverride": "Enable", + "fabricASN": 21, + "peerASN": 6, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "operationalState": "Provisioned" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "operationalState": "Provisioned" + } + ] + }, + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName1", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/example-externalnetwork", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "disabledOnResources": [ + "string" + ], + "administrativeState": "Enabled", + "bgpDisabledOnResources": [ + "string" + ], + "bfdDisabledOnResources": [ + "string" + ], + "bfdForStaticRoutesDisabledOnResources": [ + "string" + ], + "provisioningState": "Succeeded", + "annotation": "string", + "vlanId": 382, + "mtu": 5340, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ], + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "ipv4Routes": [ + { + "prefix": "10.1.0.0/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "2ffe::1" + ] + } + ] + }, + "bgpConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "defaultRouteOriginate": "True", + "allowAS": 1, + "allowASOverride": "Enable", + "fabricASN": 21, + "peerASN": 6, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "operationalState": "Provisioned" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "operationalState": "Provisioned" + } + ] + }, + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName1", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/example-externalnetwork", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_Delete_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..929afc47f9ee --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "internalNetworkName": "example-internalnetwork" + }, + "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/InternalNetworks_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..c2275a9f3542 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_Get_MaximumSet_Gen.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "internalNetworkName": "example-internalnetwork" + }, + "responses": { + "200": { + "body": { + "properties": { + "disabledOnResources": [ + "string" + ], + "administrativeState": "Enabled", + "bgpDisabledOnResources": [ + "string" + ], + "bfdDisabledOnResources": [ + "string" + ], + "bfdForStaticRoutesDisabledOnResources": [ + "string" + ], + "provisioningState": "Succeeded", + "vlanId": 501, + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ], + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "ipv4Routes": [ + { + "prefix": "10.1.0.0/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "2ffe::1" + ] + } + ] + }, + "bgpConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "defaultRouteOriginate": "True", + "allowAS": 1, + "allowASOverride": "Enable", + "fabricASN": 21, + "peerASN": 6, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "operationalState": "Provisioned" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "operationalState": "Provisioned" + } + ] + }, + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName1", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/example-externalnetwork", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_List_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..9fdb4e719c6d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_List_MaximumSet_Gen.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "disabledOnResources": [ + "string" + ], + "administrativeState": "Enabled", + "bgpDisabledOnResources": [ + "string" + ], + "bfdDisabledOnResources": [ + "string" + ], + "bfdForStaticRoutesDisabledOnResources": [ + "string" + ], + "provisioningState": "Succeeded", + "annotation": "lab 1", + "vlanId": 501, + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ], + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "ipv4Routes": [ + { + "prefix": "10.1.0.0/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "2ffe::1" + ] + } + ] + }, + "bgpConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "defaultRouteOriginate": "True", + "allowAS": 1, + "allowASOverride": "Enable", + "fabricASN": 21, + "peerASN": 6, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "operationalState": "Provisioned" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "operationalState": "Provisioned" + } + ] + }, + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName1", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/example-externalnetwork", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + ], + "nextLink": "next Link" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_Update_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..308e7f62172f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_Update_MaximumSet_Gen.json @@ -0,0 +1,271 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "internalNetworkName": "example-internalnetwork", + "body": { + "properties": { + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ], + "staticRouteConfiguration": { + "bfdConfiguration": {}, + "ipv4Routes": [ + { + "prefix": "10.1.0.0/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "2ffe::1" + ] + } + ] + }, + "bgpConfiguration": { + "bfdConfiguration": {}, + "defaultRouteOriginate": "True", + "allowAS": 1, + "allowASOverride": "Enable", + "peerASN": 6, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::" + } + ] + }, + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName1", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "disabledOnResources": [ + "string" + ], + "administrativeState": "Enabled", + "bgpDisabledOnResources": [ + "string" + ], + "bfdDisabledOnResources": [ + "string" + ], + "bfdForStaticRoutesDisabledOnResources": [ + "string" + ], + "provisioningState": "Succeeded", + "annotation": "dojarxck", + "vlanId": 501, + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ], + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "ipv4Routes": [ + { + "prefix": "10.1.0.0/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "2ffe::1" + ] + } + ] + }, + "bgpConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "defaultRouteOriginate": "True", + "allowAS": 1, + "allowASOverride": "Enable", + "fabricASN": 21, + "peerASN": 6, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "operationalState": "Provisioned" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "operationalState": "Provisioned" + } + ] + }, + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName1", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/example-externalnetwork", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "disabledOnResources": [ + "string" + ], + "administrativeState": "Enabled", + "bgpDisabledOnResources": [ + "string" + ], + "bfdDisabledOnResources": [ + "string" + ], + "bfdForStaticRoutesDisabledOnResources": [ + "string" + ], + "provisioningState": "Succeeded", + "annotation": "dojarxck", + "vlanId": 382, + "mtu": 5340, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ], + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "ipv4Routes": [ + { + "prefix": "10.1.0.0/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "2ffe::1" + ] + } + ] + }, + "bgpConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "interval": 4, + "multiplier": 13 + }, + "defaultRouteOriginate": "True", + "allowAS": 1, + "allowASOverride": "Enable", + "fabricASN": 21, + "peerASN": 6, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "operationalState": "Provisioned" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "operationalState": "Provisioned" + } + ] + }, + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName1", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/example-externalnetwork", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_clearArpEntries_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_clearArpEntries_MaximumSet_Gen.json new file mode 100644 index 000000000000..6047f5925eee --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_clearArpEntries_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "internalNetworkName": "example-internalnetwork", + "body": { + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_clearIpv6Neighbors_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_clearIpv6Neighbors_MaximumSet_Gen.json new file mode 100644 index 000000000000..6047f5925eee --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_clearIpv6Neighbors_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "internalNetworkName": "example-internalnetwork", + "body": { + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_updateAdministrativeState_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_updateAdministrativeState_MaximumSet_Gen.json new file mode 100644 index 000000000000..8cef91c71261 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_updateAdministrativeState_MaximumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "internalNetworkName": "example-internalnetwork", + "body": { + "state": "Enable", + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/example-l3domain/internalNetworks/example-internalnetwork" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_updateBfdForBgpAdministrativeState_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_updateBfdForBgpAdministrativeState_MaximumSet_Gen.json new file mode 100644 index 000000000000..8cef91c71261 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_updateBfdForBgpAdministrativeState_MaximumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "internalNetworkName": "example-internalnetwork", + "body": { + "state": "Enable", + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/example-l3domain/internalNetworks/example-internalnetwork" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_updateBfdForStaticRouteAdministrativeState_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_updateBfdForStaticRouteAdministrativeState_MaximumSet_Gen.json new file mode 100644 index 000000000000..8cef91c71261 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_updateBfdForStaticRouteAdministrativeState_MaximumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "internalNetworkName": "example-internalnetwork", + "body": { + "state": "Enable", + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/example-l3domain/internalNetworks/example-internalnetwork" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_updateBgpAdministrativeState_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_updateBgpAdministrativeState_MaximumSet_Gen.json new file mode 100644 index 000000000000..8cef91c71261 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/InternalNetworks_updateBgpAdministrativeState_MaximumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "internalNetworkName": "example-internalnetwork", + "body": { + "state": "Enable", + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/example-l3domain/internalNetworks/example-internalnetwork" + ] + } + }, + "responses": { + "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 new file mode 100644 index 000000000000..a24ab44b5b44 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Create_MinimumSet_Gen.json @@ -0,0 +1,70 @@ +{ + "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 new file mode 100644 index 000000000000..365fba14b930 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Delete_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "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 new file mode 100644 index 000000000000..9258efe5a975 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Get_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "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 new file mode 100644 index 000000000000..9c82292a1739 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "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 new file mode 100644 index 000000000000..22b723c9cc3f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,11 @@ +{ + "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 new file mode 100644 index 000000000000..3a4c687900bf --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpCommunityLists_Update_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "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/IpPrefixLists_Create_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..672c36439899 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Create_MinimumSet_Gen.json @@ -0,0 +1,29 @@ +{ + "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_Delete_MinimumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..5456ce77d031 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Delete_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "ipPrefixListName": "IpPrefixList1" + }, + "responses": { + "200": {}, + "204": {} + } +} 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 new file mode 100644 index 000000000000..faa76da7c569 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Get_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "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 new file mode 100644 index 000000000000..9c82292a1739 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "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 new file mode 100644 index 000000000000..22b723c9cc3f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,11 @@ +{ + "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 new file mode 100644 index 000000000000..f431b608c3e8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/IpPrefixLists_Update_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "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/L2IsolationDomains_Create_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..4892210df446 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_Create_MaximumSet_Gen.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l2IsolationDomainName": "example-l2domain", + "body": { + "properties": { + "networkFabricId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "vlanId": 501, + "mtu": 1500 + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "vlanId": 501, + "mtu": 1500, + "administrativeState": "Enabled", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "wcpalyqmig", + "type": "vvl", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2022-09-21T01:57:02.777Z", + "lastModifiedBy": "UserID", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-10-14T06:25:58.985Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "networkFabricId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "vlanId": 501, + "mtu": 1500, + "administrativeState": "Enabled", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "wcpalyqmig", + "type": "vvl", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2022-09-21T01:57:02.777Z", + "lastModifiedBy": "UserID", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-21T01:57:02.777Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_Delete_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..d9a03f83ed7a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l2IsolationDomainName": "example-l2domain" + }, + "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/L2IsolationDomains_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..b2c5f329a75c --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_Get_MaximumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l2IsolationDomainName": "l2IsolationDomainName" + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "vlanId": 501, + "mtu": 1500, + "administrativeState": "Enabled", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "wcpalyqmig", + "type": "vvl", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2022-09-21T01:57:02.777Z", + "lastModifiedBy": "UserID", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-10-14T06:25:58.985Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..5e00fabab84e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkFabricId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "vlanId": 501, + "mtu": 1500, + "administrativeState": "Enabled", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "wcpalyqmig", + "type": "vvl", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2022-09-21T01:57:02.777Z", + "lastModifiedBy": "UserID", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-10-14T06:25:58.985Z" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_ListBySubscription_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..92bdcf0137b3 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkFabricId": "gbfqosedebmtcyueqjbxa", + "vlanId": 2, + "mtu": 5, + "disabledOnResources": [ + "vbynlxy" + ], + "administrativeState": "Enabled", + "provisioningState": "Succeeded", + "annotation": "agtpcaqqboaiztvbjsxdpmw" + }, + "tags": { + "key4169": "hqxdrtnvspqpqpskanhyesj" + }, + "location": "uyucxonjxcdvkryhqmyopvqlwueu", + "id": "unraggwhhbsxgdpgpvcmhjmilsoueg", + "name": "c", + "type": "itmwcuyyfszkpdlothpvaapua", + "systemData": { + "createdBy": "ctnmjhhireuhzyyswimpgepwoozsjj", + "createdByType": "User", + "createdAt": "2022-10-14T06:25:58.985Z", + "lastModifiedBy": "mqwaqcbithfotieyfedyyqbp", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-10-14T06:25:58.985Z" + } + } + ], + "nextLink": "qucohtyguemafpptdrbkoruz" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_Update_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..bc6ce23adaf7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_Update_MaximumSet_Gen.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l2IsolationDomainName": "l2IsolationDomainName", + "body": { + "properties": { + "mtu": 9000 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "vlanId": 501, + "mtu": 9000, + "administrativeState": "Enabled", + "provisioningState": "Succeeded" + }, + "location": "eastus", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "wcpalyqmig", + "type": "vvl", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2022-09-21T01:57:02.777Z", + "lastModifiedBy": "UserID", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-10-14T06:25:58.985Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_clearArpTable_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_clearArpTable_MaximumSet_Gen.json new file mode 100644 index 000000000000..b1c8f8fe37c7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_clearArpTable_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l2IsolationDomainName": "example-l2domain", + "body": { + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_clearNeighborTable_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_clearNeighborTable_MaximumSet_Gen.json new file mode 100644 index 000000000000..f53a3394f84d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_clearNeighborTable_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "qc", + "resourceGroupName": "rgL2IsolationDomains", + "api-version": "2023-02-01-preview", + "l2IsolationDomainName": "oz", + "body": { + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_getArpEntries_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_getArpEntries_MaximumSet_Gen.json new file mode 100644 index 000000000000..5ddc058353a8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_getArpEntries_MaximumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l2IsolationDomainName": "l2IsolationDomainName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "key3343": { + "address": "npecrdsjnzdhxyjzhrxs", + "age": "ARP Age", + "macAddress": "macAddress", + "interface": "interfaceName", + "state": "ARP state" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_updateAdministrativeState_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_updateAdministrativeState_MaximumSet_Gen.json new file mode 100644 index 000000000000..7d4cce4c79c3 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L2IsolationDomains_updateAdministrativeState_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l2IsolationDomainName": "l2IsolationDomainName", + "body": { + "state": "Enable", + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_Create_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..e3632f0e3e4e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_Create_MaximumSet_Gen.json @@ -0,0 +1,129 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "body": { + "properties": { + "networkFabricId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "10.0.0.1" + } + ] + }, + "description": "creating L3 isolation domain", + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2" + } + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "disabledOnResources": [ + "" + ], + "administrativeState": "Enabled", + "optionBDisabledOnResources": [ + "" + ], + "provisioningState": "Succeeded", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "description": "creating L3 isolation domain", + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "administrativeState": "Enabled" + } + }, + "location": "eastus", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "networkFabricId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "disabledOnResources": [ + "" + ], + "administrativeState": "Enabled", + "optionBDisabledOnResources": [ + "" + ], + "provisioningState": "Succeeded", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "description": "creating L3 isolation domain", + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "administrativeState": "Enabled" + } + }, + "location": "eastus", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_Delete_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..c6011bcb9bd7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain" + }, + "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/L3IsolationDomains_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..c9ca9845add2 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_Get_MaximumSet_Gen.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "disabledOnResources": [ + "" + ], + "administrativeState": "Enabled", + "optionBDisabledOnResources": [ + "" + ], + "provisioningState": "Succeeded", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "description": "creating L3 isolation domain", + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "administrativeState": "Enabled" + } + }, + "location": "eastus", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..beb93e01dd23 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkFabricId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "disabledOnResources": [ + "" + ], + "administrativeState": "Enabled", + "optionBDisabledOnResources": [ + "" + ], + "provisioningState": "Succeeded", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "description": "creating L3 isolation domain", + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "administrativeState": "Enabled" + } + }, + "location": "eastus", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + ], + "nextLink": "next Link" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_ListBySubscription_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..7437f4d07b73 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkFabricId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "disabledOnResources": [ + "" + ], + "administrativeState": "Enabled", + "optionBDisabledOnResources": [ + "" + ], + "provisioningState": "Succeeded", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "description": "creating L3 isolation domain", + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "administrativeState": "Enabled" + } + }, + "location": "eastus", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + ], + "nextLink": "nextLinkName" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_Update_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..325c15defaa4 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_Update_MaximumSet_Gen.json @@ -0,0 +1,85 @@ +{ + "title": "L3IsolationDomains_Update_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "L3IsolationDomains_Update", + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "body": { + "properties": { + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "description": "creating L3 isolation domain", + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "disabledOnResources": [ + "" + ], + "administrativeState": "Enabled", + "optionBDisabledOnResources": [ + "" + ], + "provisioningState": "Succeeded", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "description": "creating L3 isolation domain", + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "administrativeState": "Enabled" + } + }, + "location": "eastus", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-09T18:35:44.070Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-09T18:35:44.070Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_clearArpTable_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_clearArpTable_MaximumSet_Gen.json new file mode 100644 index 000000000000..cc32a9331209 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_clearArpTable_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "l3IsolationDomainName", + "body": { + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_clearNeighborTable_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_clearNeighborTable_MaximumSet_Gen.json new file mode 100644 index 000000000000..2393c0b55a9a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_clearNeighborTable_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "body": { + "resourceIds": [ + "wnaxqikneofcni" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_updateAdministrativeState_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_updateAdministrativeState_MaximumSet_Gen.json new file mode 100644 index 000000000000..a14bd690cc2b --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_updateAdministrativeState_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "body": { + "state": "Enable", + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_updateOptionBAdministrativeState_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_updateOptionBAdministrativeState_MaximumSet_Gen.json new file mode 100644 index 000000000000..a14bd690cc2b --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/L3IsolationDomains_updateOptionBAdministrativeState_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "l3IsolationDomainName": "example-l3domain", + "body": { + "state": "Enable", + "resourceIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ] + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ListOperations.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ListOperations.json new file mode 100644 index 000000000000..2451b7a1f0cf --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/ListOperations.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ManagedNetworkFabric/NetworkFabricControllers/Read", + "actionType": "Internal", + "isDataAction": true, + "origin": "user,system", + "display": { + "provider": "Microsoft.ManagedNetworkFabric resource provider", + "resource": "NetworkFabricControllers", + "operation": "Gets/List NetworkFabricController resources.", + "description": "Gets/List the NetworkFabricController resource data." + } + }, + { + "name": "Microsoft.ManagedNetworkFabric/NetworkFabricControllers/Write", + "actionType": "Internal", + "isDataAction": true, + "origin": "user,system", + "display": { + "provider": "Microsoft.ManagedNetworkFabric resource provider", + "resource": "NetworkFabricControllers", + "operation": "Create or Update NetworkFabricController resource.", + "description": "Create or Update NetworkFabricController resource data." + } + }, + { + "name": "Microsoft.ManagedNetworkFabric/NetworkFabricControllers/Delete", + "actionType": "Internal", + "isDataAction": true, + "origin": "user,system", + "display": { + "provider": "Microsoft.ManagedNetworkFabric resource provider", + "resource": "NetworkFabricControllers", + "operation": "Deletes the NetworkFabricController resource.", + "description": "Deletes the NetworkFabricController resource." + } + } + ] + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDeviceSkus_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDeviceSkus_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..6177e33d88a0 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDeviceSkus_Get_MaximumSet_Gen.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2023-02-01-preview", + "networkDeviceSkuName": "DefaultSku" + }, + "responses": { + "200": { + "body": { + "properties": { + "model": "DCS-7280DR3A-36-F", + "manufacturer": "Arista", + "supportedVersions": [ + { + "version": "4.22.2,1.1.2", + "vendorOsVersion": "4.22.2", + "vendorFirmwareVersion": "1.1.2", + "isCurrent": "true", + "isTest": "false" + } + ], + "limits": { + "physicalInterfaceCount": 2, + "maxSubInterfaces": 0, + "maxTunnelInterfaces": 0, + "maxVirtualRouterFunctions": 0, + "maxBorderGatewayProtocolPeers": 0, + "maxBidirectionalForwardingDetectionPeers": 0 + }, + "supportedRoleTypes": [ + "CE", + "ToR" + ], + "interfaces": [ + { + "identifier": "1", + "interfaceType": "Ethernet", + "supportedConnectorTypes": [ + { + "connectorType": "10GBASE-LRL", + "maxSpeedInMbps": 10240 + } + ] + }, + { + "identifier": "2", + "interfaceType": "Ethernet", + "supportedConnectorTypes": [ + { + "connectorType": "10GBASE-LRL", + "maxSpeedInMbps": 10240 + } + ] + } + ] + }, + "id": "resourceId" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..4756abc8b734 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,272 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "model": "DCS-7280DR3A-36-F", + "manufacturer": "Arista", + "supportedVersions": [ + { + "version": "4.22.2,1.1.2", + "vendorOsVersion": "4.22.2", + "vendorFirmwareVersion": "1.1.2", + "isCurrent": "true", + "isTest": "false" + } + ], + "limits": { + "physicalInterfaceCount": 2, + "maxSubInterfaces": 0, + "maxTunnelInterfaces": 0, + "maxVirtualRouterFunctions": 0, + "maxBorderGatewayProtocolPeers": 0, + "maxBidirectionalForwardingDetectionPeers": 0 + }, + "supportedRoleTypes": [ + "CE", + "ToR" + ], + "interfaces": [ + { + "identifier": "1", + "interfaceType": "Ethernet", + "supportedConnectorTypes": [ + { + "connectorType": "10GBASE-LRL", + "maxSpeedInMbps": 10240 + } + ] + }, + { + "identifier": "2", + "interfaceType": "Ethernet", + "supportedConnectorTypes": [ + { + "connectorType": "10GBASE-LRL", + "maxSpeedInMbps": 10240 + } + ] + } + ] + }, + "id": "A-DCS-7280DR3A-36-F", + "name": "A-DCS-7280DR3A-36-F", + "type": "NetworkDeviceSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "Application", + "createdAt": "2022-08-04T13:05:13.867Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-08-04T13:05:13.867Z" + } + }, + { + "properties": { + "model": "DCS-7280DR3K-24-F", + "manufacturer": "Arista", + "supportedVersions": [ + { + "version": "", + "vendorOsVersion": "", + "vendorFirmwareVersion": "", + "isCurrent": "true", + "isTest": "false" + } + ], + "limits": { + "physicalInterfaceCount": 0, + "maxSubInterfaces": 0, + "maxTunnelInterfaces": 0, + "maxVirtualRouterFunctions": 0, + "maxBorderGatewayProtocolPeers": 0, + "maxBidirectionalForwardingDetectionPeers": 0 + }, + "supportedRoleTypes": [ + "NPB" + ], + "interfaces": [ + { + "identifier": "", + "interfaceType": "", + "supportedConnectorTypes": [ + { + "connectorType": "", + "maxSpeedInMbps": 0 + } + ] + } + ] + }, + "id": "A-DCS-7280DR3K-24-F", + "name": "A-DCS-7280DR3K-24-F", + "type": "NetworkDeviceSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "Application", + "createdAt": "2022-08-04T13:05:13.867Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-08-04T13:05:13.867Z" + } + }, + { + "properties": { + "model": "OM2248-10G-US", + "manufacturer": "OpenGear", + "supportedVersions": [ + { + "version": "", + "vendorOsVersion": "", + "vendorFirmwareVersion": "", + "isCurrent": "true", + "isTest": "false" + } + ], + "limits": { + "physicalInterfaceCount": 0, + "maxSubInterfaces": 0, + "maxTunnelInterfaces": 0, + "maxVirtualRouterFunctions": 0, + "maxBorderGatewayProtocolPeers": 0, + "maxBidirectionalForwardingDetectionPeers": 0 + }, + "supportedRoleTypes": [ + "TS" + ], + "interfaces": [ + { + "identifier": "", + "interfaceType": "", + "supportedConnectorTypes": [ + { + "connectorType": "", + "maxSpeedInMbps": 0 + } + ] + } + ] + }, + "id": "O-OM2248-10G-US", + "name": "O-OM2248-10G-US", + "type": "NetworkDeviceSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "Application", + "createdAt": "2022-08-04T13:05:13.867Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-08-04T13:05:13.867Z" + } + }, + { + "properties": { + "model": "DCS-7010TX-48-F", + "manufacturer": "Arista", + "supportedVersions": [ + { + "version": "", + "vendorOsVersion": "", + "vendorFirmwareVersion": "", + "isCurrent": "true", + "isTest": "false" + } + ], + "limits": { + "physicalInterfaceCount": 0, + "maxSubInterfaces": 0, + "maxTunnelInterfaces": 0, + "maxVirtualRouterFunctions": 0, + "maxBorderGatewayProtocolPeers": 0, + "maxBidirectionalForwardingDetectionPeers": 0 + }, + "supportedRoleTypes": [ + "Management" + ], + "interfaces": [ + { + "identifier": "", + "interfaceType": "", + "supportedConnectorTypes": [ + { + "connectorType": "", + "maxSpeedInMbps": 0 + } + ] + } + ] + }, + "id": "A-DCS-7010TX-48-F", + "name": "A-DCS-7010TX-48-F", + "type": "NetworkDeviceSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "Application", + "createdAt": "2022-08-04T13:05:13.867Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-08-04T13:05:13.867Z" + } + }, + { + "properties": { + "model": "DCS-7280DR3-24-F", + "manufacturer": "Arista", + "supportedVersions": [ + { + "version": "", + "vendorOsVersion": "", + "vendorFirmwareVersion": "", + "isCurrent": "true", + "isTest": "false" + } + ], + "limits": { + "physicalInterfaceCount": 0, + "maxSubInterfaces": 0, + "maxTunnelInterfaces": 0, + "maxVirtualRouterFunctions": 0, + "maxBorderGatewayProtocolPeers": 0, + "maxBidirectionalForwardingDetectionPeers": 0 + }, + "supportedRoleTypes": [ + "CE", + "ToR" + ], + "interfaces": [ + { + "identifier": "", + "interfaceType": "", + "supportedConnectorTypes": [ + { + "connectorType": "", + "maxSpeedInMbps": 0 + } + ] + } + ] + }, + "id": "A-DCS-7280DR3-24-F", + "name": "A-DCS-7280DR3-24-F", + "type": "NetworkDeviceSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "Application", + "createdAt": "2022-08-04T13:05:13.867Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-08-04T13:05:13.867Z" + } + } + ], + "nextLink": "nextLinkName" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_Create_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..558aafbe8235 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_Create_MaximumSet_Gen.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName", + "body": { + "properties": { + "networkDeviceSku": "DefaultSku", + "networkDeviceRole": "CE", + "annotation": "null", + "hostName": "networkDeviceName", + "serialNumber": "Arista;DCS-7280PR3-24;12.05;JPE21330382" + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "version": "null", + "networkDeviceSku": "DefaultSku", + "networkDeviceRole": "CE", + "provisioningState": "Succeeded", + "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName", + "annotation": "null", + "hostName": "networkDeviceName", + "serialNumber": "Arista;DCS-7280PR3-24;12.05;JPE21330382" + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName", + "name": "networkDeviceName", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2023-02-18T07:58:04.840Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-18T07:58:04.840Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "version": "null", + "networkDeviceSku": "DefaultSku", + "networkDeviceRole": "CE", + "provisioningState": "Succeeded", + "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName", + "annotation": "null", + "hostName": "networkDeviceName", + "serialNumber": "Arista;DCS-7280PR3-24;12.05;JPE21330382" + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName", + "name": "networkDeviceName", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2023-02-18T07:58:04.840Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-18T07:58:04.840Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_Delete_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..ce7857a620f8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName" + }, + "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/NetworkDevices_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..e2e83dd83cec --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_Get_MaximumSet_Gen.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName" + }, + "responses": { + "200": { + "body": { + "properties": { + "version": "null", + "networkDeviceSku": "DefaultSku", + "networkDeviceRole": "CE", + "provisioningState": "Succeeded", + "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName", + "annotation": "null", + "hostName": "networkDeviceName", + "serialNumber": "Arista;DCS-7280PR3-24;12.05;JPE21330382" + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName", + "name": "networkDeviceName", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2023-02-18T07:58:04.840Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-18T07:58:04.840Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_ListByResourceGroup_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..897e6bacf0a7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "version": "null", + "networkDeviceSku": "DefaultSku", + "networkDeviceRole": "CE", + "provisioningState": "Succeeded", + "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName", + "annotation": "null", + "hostName": "networkDeviceName", + "serialNumber": "Arista;DCS-7280PR3-24;12.05;JPE21330382" + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName", + "name": "networkDeviceName", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-02-18T07:58:04.840Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-18T07:58:04.840Z" + } + } + ], + "nextLink": "nextLinkName" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_ListBySubscription_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..d3a1a44b9dd2 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "version": "null", + "networkDeviceSku": "DefaultSku", + "networkDeviceRole": "CE", + "provisioningState": "Succeeded", + "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName", + "annotation": "null", + "hostName": "networkDeviceName", + "serialNumber": "Arista;DCS-7280PR3-24;12.05;JPE21330382" + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName", + "name": "networkDeviceName", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "User", + "createdAt": "2023-02-18T07:58:04.840Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-18T07:58:04.840Z" + } + } + ], + "nextLink": "nextLinkName" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_Update_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..2507eea9abde --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_Update_MaximumSet_Gen.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName", + "body": { + "properties": { + "annotation": "null", + "hostName": "networkDeviceName", + "serialNumber": "Arista;DCS-7280PR3-24;12.05;JPE21330382" + }, + "tags": { + "keyID": "keyValue" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "version": "null", + "networkDeviceSku": "DefaultSku", + "networkDeviceRole": "CE", + "provisioningState": "Succeeded", + "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName", + "annotation": "null", + "hostName": "networkDeviceName", + "serialNumber": "Arista;DCS-7280PR3-24;12.05;JPE21330382" + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName", + "name": "networkDeviceName", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2023-02-18T07:58:04.840Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-18T07:58:04.840Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_generateSupportPackage_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_generateSupportPackage_MaximumSet_Gen.json new file mode 100644 index 000000000000..1902f3220165 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_generateSupportPackage_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "supportPackageURL": "https://contoso.com/supportPackage" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_getDynamicInterfaceMaps_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_getDynamicInterfaceMaps_MaximumSet_Gen.json new file mode 100644 index 000000000000..66113e8608cd --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_getDynamicInterfaceMaps_MaximumSet_Gen.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": [ + { + "name": "networkDeviceName", + "administrativeState": "up", + "operationalStatus": "Booted", + "phyStatus": "up", + "transceiverStatus": "up", + "connectedTo": "null" + } + ] + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_getStaticInterfaceMaps_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_getStaticInterfaceMaps_MaximumSet_Gen.json new file mode 100644 index 000000000000..5936b300fe2d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_getStaticInterfaceMaps_MaximumSet_Gen.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": [ + { + "name": "networkDeviceName", + "description": "Gets the static interface maps of the NetworkDevice", + "identifier": "null", + "interfaceType": "Ethernet", + "connectorType": "Optical", + "connectedTo": "null", + "speed": 26, + "channelGroupId": 25 + } + ] + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_getStatus_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_getStatus_MaximumSet_Gen.json new file mode 100644 index 000000000000..297efac163fb --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_getStatus_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "operationalStatus": "Booted", + "powerCycleState": "On", + "serialNumber": "Arista;DCS-7280PR3-24;12.05;JPE21330382" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_reboot_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_reboot_MaximumSet_Gen.json new file mode 100644 index 000000000000..e2b37e795bb9 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_reboot_MaximumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_restoreConfig_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_restoreConfig_MaximumSet_Gen.json new file mode 100644 index 000000000000..e2b37e795bb9 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_restoreConfig_MaximumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_updatePowerCycle_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_updatePowerCycle_MaximumSet_Gen.json new file mode 100644 index 000000000000..7bf57d75f17f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_updatePowerCycle_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName", + "body": { + "powerEnd": "Primary", + "state": "On" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_updateVersion_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_updateVersion_MaximumSet_Gen.json new file mode 100644 index 000000000000..14d5bc92b70e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkDevices_updateVersion_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName", + "body": { + "skuVersion": "DefaultSku" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_Create_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..af0d1feb10a4 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_Create_MaximumSet_Gen.json @@ -0,0 +1,126 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkFabricControllerName": "NetworkControllerName", + "body": { + "properties": { + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "ipv4AddressSpace": "172.253.0.0/19", + "annotation": "lab 1", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxxxxxx" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxxxx" + } + ] + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [], + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ] + }, + "location": "eastus", + "id": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/networkFabricControllerName", + "name": "NetworkFabricName", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "user@company.com", + "createdByType": "User", + "createdAt": "2022-09-16T05:01:43.008Z", + "lastModifiedBy": "User", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T05:01:43.008Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [], + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ] + }, + "location": "eastus", + "id": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/networkFabricControllerName", + "name": "NetworkFabricName", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "user@company.com", + "createdByType": "User", + "createdAt": "2022-09-16T05:01:43.008Z", + "lastModifiedBy": "User", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T05:01:43.008Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_Delete_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..3c326faca273 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkFabricControllerName": "networkFabricControllerName" + }, + "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/NetworkFabricControllers_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..7c4817ea2fea --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_Get_MaximumSet_Gen.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkFabricControllerName": "networkFabricControllerName" + }, + "responses": { + "200": { + "body": { + "properties": { + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [], + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ] + }, + "location": "eastus", + "id": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/networkFabricControllerName", + "name": "NetworkFabricName", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "user@company.com", + "createdByType": "User", + "createdAt": "2022-09-16T05:01:43.008Z", + "lastModifiedBy": "User", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T05:01:43.008Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..4a10e2f12bf9 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [], + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ] + }, + "location": "eastus", + "id": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/networkFabricControllerName", + "name": "NetworkFabricName", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "user@company.com", + "createdByType": "User", + "createdAt": "2022-09-16T05:01:43.008Z", + "lastModifiedBy": "User", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T05:01:43.008Z" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_ListBySubscription_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..a8625780d18b --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [], + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ] + }, + "location": "eastus", + "id": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/networkFabricControllerName", + "name": "NetworkFabricName", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "user@company.com", + "createdByType": "User", + "createdAt": "2022-09-16T05:01:43.008Z", + "lastModifiedBy": "User", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T05:01:43.008Z" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_Update_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..011f15ca5c45 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_Update_MaximumSet_Gen.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkFabricControllerName": "networkFabricControllerName", + "body": { + "properties": { + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxxxxxx" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [], + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ] + }, + "location": "eastus", + "id": "/subscriptions/xxxxx/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/networkFabricControllerName", + "name": "NetworkFabricName", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "user@company.com", + "createdByType": "User", + "createdAt": "2022-09-16T05:01:43.008Z", + "lastModifiedBy": "User", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T05:01:43.008Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_disableWorkloadManagementNetwork_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_disableWorkloadManagementNetwork_MaximumSet_Gen.json new file mode 100644 index 000000000000..ba9272435db3 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_disableWorkloadManagementNetwork_MaximumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkFabricControllerName": "networkFabricControllerName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_enableWorkloadManagementNetwork_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_enableWorkloadManagementNetwork_MaximumSet_Gen.json new file mode 100644 index 000000000000..ba9272435db3 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricControllers_enableWorkloadManagementNetwork_MaximumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkFabricControllerName": "networkFabricControllerName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricSkus_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricSkus_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..bf413b9fb293 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricSkus_Get_MaximumSet_Gen.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2023-02-01-preview", + "networkFabricSkuName": "networkFabricSkuName" + }, + "responses": { + "200": { + "body": { + "properties": { + "type": "MultiRack", + "maxComputeRacks": 8, + "minSupportedVer": "0.1.1", + "maxSupportedVer": "0.1.2", + "detailsUri": "https://baseurl/images/skus/networkFabricSkuName", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/networkFabricSku/networkFabricSkuName", + "name": "networkFabricSkuName", + "type": "microsoft.managednetworkfabric/networkfabricsSku", + "systemData": { + "createdBy": "User@email.com", + "createdByType": "User", + "createdAt": "2023-02-18T12:02:09.236Z", + "lastModifiedBy": "Userid", + "lastModifiedByType": "Application", + "lastModifiedAt": "2023-02-18T12:02:09.236Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricSkus_ListBySubscription_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricSkus_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..984518448ca7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabricSkus_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "type": "MultiRack", + "maxComputeRacks": 8, + "minSupportedVer": "0.1.1", + "maxSupportedVer": "0.1.2", + "detailsUri": "https://baseurl/images/skus/networkFabricSkuName", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/networkFabricSku/networkFabricSkuName", + "name": "networkFabricSkuName", + "type": "microsoft.managednetworkfabric/networkfabricsSku", + "systemData": { + "createdBy": "User@email.com", + "createdByType": "User", + "createdAt": "2023-02-18T12:02:09.236Z", + "lastModifiedBy": "Userid", + "lastModifiedByType": "Application", + "lastModifiedAt": "2023-02-18T12:02:09.236Z" + } + } + ], + "nextLink": "nextlink" + } + } + } +} 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 new file mode 100644 index 000000000000..d56afc3f753f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Create_MaximumSet_Gen.json @@ -0,0 +1,216 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkFabricName": "FabricName", + "body": { + "properties": { + "networkFabricSku": "M4-A400-A100-C16-aa", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "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" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ] + }, + "optionAProperties": null + }, + "workloadVpnConfiguration": { + "peeringOption": "OptionA", + "optionAProperties": null, + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ] + } + } + } + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricSku": "M4-A400-A100-C16-aa", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "routerId": "routerId", + "fabricASN": 29249, + "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" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "administrativeState": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ] + }, + "optionAProperties": null + }, + "workloadVpnConfiguration": { + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "optionAProperties": null, + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ] + } + } + }, + "operationalState": "Provisioning", + "provisioningState": "Succeeded", + "racks": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3AggRack", + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack1", + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack2" + ], + "l2IsolationDomains": [ + "/subscriptions/xxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName" + ], + "l3IsolationDomains": [ + "/subscriptions/xxxxx/resourceGroups/resourecegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName" + ] + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "name": "FabricName", + "type": "microsoft.managednetworkfabric/networkfabrics", + "systemData": { + "createdBy": "User@email.com", + "createdByType": "User", + "createdAt": "2023-02-11T04:17:22.639Z", + "lastModifiedBy": "User", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-11T04:17:22.639Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "networkFabricSku": "M4-A400-A100-C16-aa", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "routerId": "routerId", + "fabricASN": 29249, + "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" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "administrativeState": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ] + }, + "optionAProperties": null + }, + "workloadVpnConfiguration": { + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "optionAProperties": null, + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ] + } + } + }, + "operationalState": "Provisioning", + "provisioningState": "Succeeded", + "racks": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3AggRack", + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack1", + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack2" + ], + "l2IsolationDomains": [ + "/subscriptions/xxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName" + ], + "l3IsolationDomains": [ + "/subscriptions/xxxxx/resourceGroups/resourecegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName" + ] + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "name": "FabricName", + "type": "microsoft.managednetworkfabric/networkfabrics", + "systemData": { + "createdBy": "User@email.com", + "createdByType": "User", + "createdAt": "2023-02-11T04:17:22.639Z", + "lastModifiedBy": "User", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-11T04:17:22.639Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Delete_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..da4e07ce1313 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "NetworkFabrics_Delete_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "NetworkFabrics_Delete", + "parameters": { + "subscriptionId": "70A68989-24C0-4FA7-B1B2-8A2BB6D10CA8", + "resourceGroupName": "rgNetworkFabrics", + "api-version": "2023-02-01-preview", + "networkFabricName": "lrhjxlxlhgvufessdcuetcwnto" + }, + "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/NetworkFabrics_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..ac70c5b1421c --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Get_MaximumSet_Gen.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkFabricName": "FabricName" + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricSku": "M4-A400-A100-C16-aa", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "routerId": "routerId", + "fabricASN": 29249, + "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" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "administrativeState": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ] + }, + "optionAProperties": null + }, + "workloadVpnConfiguration": { + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "optionAProperties": null, + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ] + } + } + }, + "operationalState": "Provisioning", + "provisioningState": "Succeeded", + "racks": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3AggRack", + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack1", + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack2" + ], + "l2IsolationDomains": [ + "/subscriptions/xxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName" + ], + "l3IsolationDomains": [ + "/subscriptions/xxxxx/resourceGroups/resourecegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName" + ] + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "name": "FabricName", + "type": "microsoft.managednetworkfabric/networkfabrics", + "systemData": { + "createdBy": "User@email.com", + "createdByType": "User", + "createdAt": "2023-02-11T04:17:22.639Z", + "lastModifiedBy": "User", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-11T04:17:22.639Z" + } + } + } + } +} 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 new file mode 100644 index 000000000000..fb227f010382 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "rgNetworkFabrics", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkFabricSku": "M4-A400-A100-C16-aa", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "routerId": "routerId", + "fabricASN": 29249, + "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" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "administrativeState": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ] + }, + "optionAProperties": null + }, + "workloadVpnConfiguration": { + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "optionAProperties": null, + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ] + } + } + }, + "operationalState": "Provisioning", + "provisioningState": "Succeeded", + "racks": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3AggRack", + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack1", + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack2" + ], + "l2IsolationDomains": [ + "/subscriptions/xxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName" + ], + "l3IsolationDomains": [ + "/subscriptions/xxxxx/resourceGroups/resourecegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName" + ] + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "name": "FabricName", + "type": "microsoft.managednetworkfabric/networkfabrics", + "systemData": { + "createdBy": "User@email.com", + "createdByType": "User", + "createdAt": "2023-02-11T04:17:22.639Z", + "lastModifiedBy": "User", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-11T04:17:22.639Z" + } + } + ], + "nextLink": "nextLink" + } + } + } +} 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 new file mode 100644 index 000000000000..74fa05f9bf74 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkFabricSku": "M4-A400-A100-C16-aa", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "routerId": "routerId", + "fabricASN": 29249, + "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" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "administrativeState": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ] + }, + "optionAProperties": null + }, + "workloadVpnConfiguration": { + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "optionAProperties": null, + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ] + } + } + }, + "operationalState": "Provisioning", + "provisioningState": "Succeeded", + "racks": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3AggRack", + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack1", + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack2" + ], + "l2IsolationDomains": [ + "/subscriptions/xxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName" + ], + "l3IsolationDomains": [ + "/subscriptions/xxxxx/resourceGroups/resourecegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName" + ] + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "name": "FabricName", + "type": "microsoft.managednetworkfabric/networkfabrics", + "systemData": { + "createdBy": "User@email.com", + "createdByType": "User", + "createdAt": "2023-02-11T04:17:22.639Z", + "lastModifiedBy": "User", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-11T04:17:22.639Z" + } + } + ], + "nextLink": "nextLink" + } + } + } +} 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 new file mode 100644 index 000000000000..61351a5ced16 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_Update_MaximumSet_Gen.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkFabricName": "FabricName", + "body": { + "properties": { + "terminalServerConfiguration": { + "username": "username", + "password": "xxxxxxx", + "serialNumber": "234567" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricSku": "M4-A400-A100-C16-aa", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "routerId": "routerId", + "fabricASN": 29249, + "networkFabricControllerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName", + "terminalServerConfiguration": { + "networkDeviceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName", + "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" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "administrativeState": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ] + }, + "optionAProperties": null + }, + "workloadVpnConfiguration": { + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "networkToNetworkInterconnectId": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "optionAProperties": null, + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ] + } + } + }, + "operationalState": "Provisioning", + "provisioningState": "Succeeded", + "racks": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3AggRack", + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack1", + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkRacks/fab3CompRack2" + ], + "l2IsolationDomains": [ + "/subscriptions/xxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName" + ], + "l3IsolationDomains": [ + "/subscriptions/xxxxx/resourceGroups/resourecegroupname/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName" + ] + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName", + "name": "FabricName", + "type": "microsoft.managednetworkfabric/networkfabrics", + "systemData": { + "createdBy": "User@email.com", + "createdByType": "User", + "createdAt": "2023-02-11T04:17:22.639Z", + "lastModifiedBy": "User", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-11T04:17:22.639Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_deprovision_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_deprovision_MaximumSet_Gen.json new file mode 100644 index 000000000000..114f604e44dd --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_deprovision_MaximumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkFabricName": "FabricName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_provision_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_provision_MaximumSet_Gen.json new file mode 100644 index 000000000000..114f604e44dd --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkFabrics_provision_MaximumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkFabricName": "FabricName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_Create_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..635993be6418 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_Create_MaximumSet_Gen.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName", + "networkInterfaceName": "networkInterfaceName", + "body": { + "properties": { + "annotation": "null" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "physicalIdentifier": "Ethernet1", + "administrativeState": "Enabled", + "provisioningState": "Succeeded", + "connectedTo": "null", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "annotation": "null" + }, + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName", + "name": "networkInterfaceName", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2023-02-18T07:58:04.840Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-18T07:58:04.840Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "physicalIdentifier": "Ethernet1", + "administrativeState": "Enabled", + "provisioningState": "Succeeded", + "connectedTo": "null", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "annotation": "null" + }, + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName", + "name": "networkInterfaceName", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "fgydoutoojjkhcfgq", + "createdByType": "Application", + "createdAt": "2023-02-18T07:58:04.840Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-18T07:58:04.840Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_Delete_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..bda514cb0c61 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName", + "networkInterfaceName": "networkInterfaceName" + }, + "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/NetworkInterfaces_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..526324c71659 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_Get_MaximumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName", + "networkInterfaceName": "networkInterfaceName" + }, + "responses": { + "200": { + "body": { + "properties": { + "physicalIdentifier": "Ethernet1", + "administrativeState": "Enabled", + "provisioningState": "Succeeded", + "connectedTo": "null", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "annotation": "null" + }, + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName", + "name": "networkInterfaceName", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2023-02-18T07:58:04.840Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-18T07:58:04.840Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_List_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..3ea5be3c4ba4 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_List_MaximumSet_Gen.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "physicalIdentifier": "Ethernet1", + "administrativeState": "Enabled", + "provisioningState": "Succeeded", + "connectedTo": "null", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "annotation": "null" + }, + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName", + "name": "networkInterfaceName", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2023-02-18T07:58:04.840Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-18T07:58:04.840Z" + } + } + ], + "nextLink": "nextLinkName" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_Update_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..5a6106d5f6e7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_Update_MaximumSet_Gen.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName", + "networkInterfaceName": "networkInterfaceName", + "body": { + "properties": { + "annotation": "null" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "physicalIdentifier": "Ethernet1", + "administrativeState": "Enabled", + "provisioningState": "Succeeded", + "connectedTo": "null", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "annotation": "null" + }, + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName", + "name": "networkInterfaceName", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2023-02-18T07:58:04.840Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-18T07:58:04.840Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "physicalIdentifier": "Ethernet1", + "administrativeState": "Enabled", + "provisioningState": "Succeeded", + "connectedTo": "null", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "annotation": "null" + }, + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName", + "name": "networkInterfaceName", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2023-02-18T07:58:04.840Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-18T07:58:04.840Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_getStatus_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_getStatus_MaximumSet_Gen.json new file mode 100644 index 000000000000..3419cfd0d681 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_getStatus_MaximumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName", + "networkInterfaceName": "networkInterfaceName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "administrativeState": "Enabled", + "operationalStatus": "up", + "phyStatus": "null", + "transceiverStatus": "up", + "connectedTo": "null" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_updateAdministrativeState_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_updateAdministrativeState_MaximumSet_Gen.json new file mode 100644 index 000000000000..d1cc6f8d79d1 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkInterfaces_updateAdministrativeState_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkDeviceName": "networkDeviceName", + "networkInterfaceName": "networkInterfaceName", + "body": { + "state": "Enable" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRackSkus_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRackSkus_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..58ae5081012a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRackSkus_Get_MaximumSet_Gen.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2023-02-01-preview", + "networkRackSkuName": "networkRackSkuName" + }, + "responses": { + "200": { + "body": { + "properties": { + "roleName": "ComputeRack", + "maximumServerCount": 19, + "maximumStorageCount": 18, + "maximumUplinks": 12, + "networkDevices": [ + { + "networkDeviceSkuName": "DefaultSku", + "roleType": "CE", + "rackSlot": 8 + } + ] + }, + "id": "/subscriptions/subscriptionId/providers/Microsoft.ManagedNetworkFabric/networkRackSkus/networkRackSkuName", + "name": "networkRackSkuName", + "type": "microsoft.managednetworkfabric/networkrackskus", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2022-09-16T06:09:38.603Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T06:19:40.603Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRackSkus_ListBySubscription_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRackSkus_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..21d0d142ac72 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRackSkus_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "roleName": "ComputeRack", + "maximumServerCount": 19, + "maximumStorageCount": 18, + "maximumUplinks": 12, + "networkDevices": [ + { + "networkDeviceSkuName": "DefaultSku", + "roleType": "CE", + "rackSlot": 8 + } + ] + }, + "id": "/subscriptions/subscriptionId/providers/Microsoft.ManagedNetworkFabric/networkRackSkus/networkRackSkuName", + "name": "networkRackSkuName", + "type": "microsoft.managednetworkfabric/networkrackskus", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2022-09-16T06:09:38.603Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T06:19:40.603Z" + } + } + ], + "nextLink": "nextLinkName" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_Create_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..351ee32b806f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_Create_MaximumSet_Gen.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkRackName": "networkRackName", + "body": { + "properties": { + "networkRackSku": "RackSKU", + "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/networkFabricName", + "annotation": "null" + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkRackSku": "RackSKU", + "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/networkFabricName", + "networkDevices": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName" + ], + "provisioningState": "Succeeded", + "annotation": "null" + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName", + "name": "networkRackName", + "type": "microsoft.managednetworkfabric/networkracks", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2022-09-16T06:09:38.603Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T06:19:40.603Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "networkRackSku": "RackSKU", + "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName", + "networkDevices": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName" + ], + "provisioningState": "Succeeded", + "annotation": "null" + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName", + "name": "networkRackName", + "type": "microsoft.managednetworkfabric/networkracks", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2022-09-16T06:09:38.603Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T06:19:40.603Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_Delete_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..40066e94689b --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_Delete_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkRackName": "networkRackName" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..999d5ce16ff8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_Get_MaximumSet_Gen.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkRackName": "networkRackName" + }, + "responses": { + "200": { + "body": { + "properties": { + "networkRackSku": "RackSKU", + "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/networkFabricName", + "networkDevices": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName" + ], + "provisioningState": "Succeeded", + "annotation": "null" + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName", + "name": "networkRackName", + "type": "microsoft.managednetworkfabric/networkracks", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2022-09-16T06:09:38.603Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T06:19:40.603Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_ListByResourceGroup_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..a743523a3ecc --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkRackSku": "RackSKU", + "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/networkFabricName", + "networkDevices": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName" + ], + "provisioningState": "Succeeded", + "annotation": "null" + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName", + "name": "networkRackName", + "type": "microsoft.managednetworkfabric/networkracks", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2022-09-16T06:09:38.603Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T06:19:40.603Z" + } + } + ], + "nextLink": "nextLinkName" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_ListBySubscription_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..59563e02bdda --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkRackSku": "RackSKU", + "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/networkFabricName", + "networkDevices": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName" + ], + "provisioningState": "Succeeded", + "annotation": "null" + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName", + "name": "networkRackName", + "type": "microsoft.managednetworkfabric/networkracks", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2022-09-16T06:09:38.603Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T06:19:40.603Z" + } + } + ], + "nextLink": "nextLinkName" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_Update_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..39ca8ac3f71b --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkRacks_Update_MaximumSet_Gen.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkRackName": "networkRackName", + "body": { + "properties": {}, + "tags": { + "keyID": "keyValue" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkRackSku": "RackSKU", + "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/networkFabricName", + "networkDevices": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName" + ], + "provisioningState": "Succeeded", + "annotation": "null" + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName", + "name": "networkRackName", + "type": "microsoft.managednetworkfabric/networkracks", + "systemData": { + "createdBy": "d1bd24c7-b27f-477e-86dd-939e107873d7", + "createdByType": "Application", + "createdAt": "2022-09-16T06:09:38.603Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T06:19:40.603Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} 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 new file mode 100644 index 000000000000..dab3690af3c1 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_Create_MaximumSet_Gen.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkFabricName": "FabricName", + "networkToNetworkInterconnectName": "DefaultNNI", + "body": { + "properties": { + "isManagementType": "True", + "useOptionB": "False", + "layer2Configuration": { + "portCount": 10, + "mtu": 1500 + }, + "layer3Configuration": { + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName1", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2", + "peerASN": 50272, + "vlanId": 2064, + "primaryIpv4Prefix": "172.31.0.0/31", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "172.31.0.20/31", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "administrativeState": "Enabled", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "portCount": 3, + "mtu": 2516, + "interfaces": [ + "defaultInterface" + ] + }, + "layer3Configuration": { + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName1", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2", + "peerASN": 50272, + "vlanId": 2064, + "fabricASN": 1253, + "primaryIpv4Prefix": "172.31.0.0/31", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "172.31.0.20/31", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "name": "DefaultNNI", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "systemData": { + "createdBy": "User@email.com", + "createdByType": "User", + "createdAt": "2023-02-11T04:17:22.639Z", + "lastModifiedBy": "User", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-11T04:17:22.639Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "administrativeState": "Enabled", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "portCount": 3, + "mtu": 2516, + "interfaces": [ + "defaultInterface" + ] + }, + "layer3Configuration": { + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName1", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2", + "peerASN": 50272, + "vlanId": 2064, + "fabricASN": 1253, + "primaryIpv4Prefix": "172.31.0.0/31", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "172.31.0.20/31", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "name": "DefaultNNI", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "systemData": { + "createdBy": "User@email.com", + "createdByType": "User", + "createdAt": "2023-02-11T04:17:22.639Z", + "lastModifiedBy": "User", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-11T04:17:22.639Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_Delete_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..e714b3f1ff09 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkFabricName": "FabricName", + "networkToNetworkInterconnectName": "DefaultNNI" + }, + "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/NetworkToNetworkInterconnects_Get_MaximumSet_Gen.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..975efb77e44d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_Get_MaximumSet_Gen.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkFabricName": "FabricName", + "networkToNetworkInterconnectName": "DefaultNNI" + }, + "responses": { + "200": { + "body": { + "properties": { + "administrativeState": "Enabled", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "portCount": 3, + "mtu": 2516, + "interfaces": [ + "defaultInterface" + ] + }, + "layer3Configuration": { + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName1", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2", + "peerASN": 50272, + "vlanId": 2064, + "fabricASN": 1253, + "primaryIpv4Prefix": "172.31.0.0/31", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "172.31.0.20/31", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "name": "DefaultNNI", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "systemData": { + "createdBy": "User@email.com", + "createdByType": "User", + "createdAt": "2023-02-11T04:17:22.639Z", + "lastModifiedBy": "tcycax", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-11T04:17:22.639Z" + } + } + } + } +} 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 new file mode 100644 index 000000000000..c1cc259499bd --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/NetworkToNetworkInterconnects_List_MaximumSet_Gen.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2023-02-01-preview", + "networkFabricName": "FabricName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "administrativeState": "Enabled", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "portCount": 3, + "mtu": 2516, + "interfaces": [ + "defaultInterface" + ] + }, + "layer3Configuration": { + "importRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName1", + "exportRoutePolicyId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName2", + "peerASN": 50272, + "vlanId": 2064, + "fabricASN": 1253, + "primaryIpv4Prefix": "172.31.0.0/31", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "172.31.0.20/31", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "name": "DefaultNNI", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/FabricName/networkToNetworkInterconnect/DefaultNNI", + "systemData": { + "createdBy": "User@email.com", + "createdByType": "User", + "createdAt": "2023-02-11T04:17:22.639Z", + "lastModifiedBy": "tcycax", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-11T04:17:22.639Z" + } + } + ], + "nextLink": "next Link" + } + } + } +} 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 new file mode 100644 index 000000000000..cbf0749e86cd --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Create_MaximumSet_Gen.json @@ -0,0 +1,161 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "rgRoutePolicies", + "api-version": "2023-02-01-preview", + "routePolicyName": "example RoutePolicy", + "body": { + "properties": { + "description": "RPexample", + "conditions": [ + { + "sequenceNumber": 7, + "match": { + "accessControlListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/accessControlLists/accessControlListName" + ], + "ipCommunityListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + ], + "ipExtendedCommunityListIds": [ + "" + ] + }, + "action": { + "action": "allow", + "set": { + "set": { + "ipCommunityListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + ], + "ipExtendedCommunityListIds": [ + "" + ] + } + } + }, + "annotation": "" + } + ], + "annotation": "example routepolicy" + }, + "tags": { + "key8254": "" + }, + "location": "EastUS" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "RPexample", + "conditions": [ + { + "sequenceNumber": 7, + "match": { + "accessControlListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/accessControlLists/accessControlListName" + ], + "ipCommunityListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + ], + "ipExtendedCommunityListIds": [ + "" + ] + }, + "action": { + "action": "allow", + "set": { + "set": { + "ipCommunityListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + ], + "ipExtendedCommunityListIds": [ + "" + ] + } + } + }, + "annotation": "" + } + ], + "provisioningState": "Succeeded", + "annotation": "example routepolicy" + }, + "tags": { + "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", + "createdByType": "Application", + "createdAt": "2022-09-16T06:09:38.603Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T06:19:40.603Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + }, + "body": { + "properties": { + "description": "RPexample", + "conditions": [ + { + "sequenceNumber": 7, + "match": { + "accessControlListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/accessControlLists/accessControlListName" + ], + "ipCommunityListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + ], + "ipExtendedCommunityListIds": [ + "" + ] + }, + "action": { + "action": "allow", + "set": { + "set": { + "ipCommunityListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + ], + "ipExtendedCommunityListIds": [ + "" + ] + } + } + }, + "annotation": "" + } + ], + "provisioningState": "Succeeded", + "annotation": "example routepolicy" + }, + "tags": { + "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", + "createdByType": "Application", + "createdAt": "2022-09-16T06:09:38.603Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T06:19:40.603Z" + } + } + } + } +} 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 new file mode 100644 index 000000000000..bb4a8fd3944c --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "aaaaa", + "resourceGroupName": "rgRoutePolicies", + "api-version": "2023-02-01-preview", + "routePolicyName": "aaaaaaaaaaaaaaaa" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.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 new file mode 100644 index 000000000000..af621d8c9de7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Get_MaximumSet_Gen.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "aaaaa", + "resourceGroupName": "rgRoutePolicies", + "api-version": "2023-02-01-preview", + "routePolicyName": "aaaaaaa" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "RPexample", + "conditions": [ + { + "sequenceNumber": 7, + "match": { + "accessControlListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/accessControlLists/accessControlListName" + ], + "ipCommunityListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + ], + "ipExtendedCommunityListIds": [ + "" + ] + }, + "action": { + "action": "allow", + "set": { + "set": { + "ipCommunityListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + ], + "ipExtendedCommunityListIds": [ + "" + ] + } + } + }, + "annotation": "" + } + ], + "provisioningState": "Succeeded", + "annotation": "example routepolicy" + }, + "tags": { + "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", + "createdByType": "Application", + "createdAt": "2022-09-16T06:09:38.603Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T06:19:40.603Z" + } + } + } + } +} 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 new file mode 100644 index 000000000000..3af61252c230 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "subscriptionId": "aaaaa", + "resourceGroupName": "rgRoutePolicies", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "RPexample", + "conditions": [ + { + "sequenceNumber": 7, + "match": { + "accessControlListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/accessControlLists/accessControlListName" + ], + "ipCommunityListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + ], + "ipExtendedCommunityListIds": [ + "" + ] + }, + "action": { + "action": "allow", + "set": { + "set": { + "ipCommunityListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + ], + "ipExtendedCommunityListIds": [ + "" + ] + } + } + }, + "annotation": "" + } + ], + "provisioningState": "Succeeded", + "annotation": "example routepolicy" + }, + "tags": { + "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", + "createdByType": "Application", + "createdAt": "2022-09-16T06:09:38.603Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T06:19:40.603Z" + } + } + ], + "nextLink": "a" + } + } + } +} 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 new file mode 100644 index 000000000000..240ea9df7268 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "rgRoutePolicies", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "RPexample", + "conditions": [ + { + "sequenceNumber": 7, + "match": { + "accessControlListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/accessControlLists/accessControlListName" + ], + "ipCommunityListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + ], + "ipExtendedCommunityListIds": [ + "" + ] + }, + "action": { + "action": "allow", + "set": { + "set": { + "ipCommunityListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + ], + "ipExtendedCommunityListIds": [ + "" + ] + } + } + }, + "annotation": "" + } + ], + "provisioningState": "Succeeded", + "annotation": "example routepolicy" + }, + "tags": { + "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", + "createdByType": "Application", + "createdAt": "2022-09-16T06:09:38.603Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T06:19:40.603Z" + } + } + ], + "nextLink": "a" + } + } + } +} 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 new file mode 100644 index 000000000000..7d1c898739fe --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/examples/RoutePolicies_Update_MaximumSet_Gen.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "subscriptionId": "aaaaa", + "resourceGroupName": "rgRoutePolicies", + "api-version": "2023-02-01-preview", + "routePolicyName": "aaaaaaaaaaaaaaaaaaaaa", + "body": { + "properties": {}, + "tags": { + "key1917": "aaaaaaaaaaaaa" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "aaaaaaaa", + "conditions": [ + { + "sequenceNumber": 7, + "match": { + "accessControlListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/accessControlLists/accessControlListName" + ], + "ipCommunityListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + ], + "ipExtendedCommunityListIds": [ + "" + ] + }, + "action": { + "action": "allow", + "set": { + "set": { + "ipCommunityListIds": [ + "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/routePolicies/ipCommunityLists/ipCommunityListName" + ], + "ipExtendedCommunityListIds": [ + "" + ] + } + } + }, + "annotation": "aaaaaaaaaaaaaa" + } + ], + "provisioningState": "Succeeded", + "annotation": "example routepolicy" + }, + "tags": { + "key8254": "aaaaaaaaaaaaaaaaaaa" + }, + "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", + "createdByType": "Application", + "createdAt": "2022-09-16T06:09:38.603Z", + "lastModifiedBy": "email@address.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-16T06:19:40.603Z" + } + } + }, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/readme.go.md b/specification/managednetworkfabric/resource-manager/readme.go.md new file mode 100644 index 000000000000..6c6b3c6ca450 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/readme.go.md @@ -0,0 +1,11 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +```yaml $(go) && $(track2) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/managednetworkfabric/armmanagednetworkfabric +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +``` diff --git a/specification/managednetworkfabric/resource-manager/readme.md b/specification/managednetworkfabric/resource-manager/readme.md new file mode 100644 index 000000000000..480ce2a7ed72 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/readme.md @@ -0,0 +1,92 @@ +# ManagedNetworkFabric + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Managed Network Fabric. + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the Managed Network Fabric. + +```yaml +openapi-type: arm +openapi-subtype: rpaas +tag: package-2023-02-01-preview +``` + + +### Tag: package-2023-02-01-preview + +These settings apply only when `--tag=package-2023-02-01-preview` is specified on the command line. + +```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/L2IsolationDomains.json + - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/L3IsolationDomains.json + - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkDeviceSkus.json + - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkDevices.json + - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabricControllers.json + - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabricSkus.json + - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkFabrics.json + - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkRackSkus.json + - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/NetworkRacks.json + - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/Operations.json + - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/RoutePolicies.json + - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/common.json +``` + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-go-track2 + - repo: azure-sdk-for-java + - repo: azure-sdk-for-js + - repo: azure-sdk-for-ruby + after_scripts: + - bundle install && rake arm:regen_all_profiles['azure_mgmt_managednetworkfabric'] +``` + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/managednetworkfabric/resource-manager/readme.python.md b/specification/managednetworkfabric/resource-manager/readme.python.md new file mode 100644 index 000000000000..792dc917c34b --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/readme.python.md @@ -0,0 +1,18 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-managednetworkfabric +namespace: azure.mgmt.managednetworkfabric +package-version: 1.0.0b1 +clear-output-folder: true +``` + +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/managednetworkfabric/azure-mgmt-managednetworkfabric/azure/mgmt/managednetworkfabric +```