diff --git a/Commands/network/express-route/port/_delete.md b/Commands/network/express-route/port/_delete.md index 30fc5e9d1..4ee55a84c 100644 --- a/Commands/network/express-route/port/_delete.md +++ b/Commands/network/express-route/port/_delete.md @@ -10,7 +10,7 @@ Delete an ExpressRoute port. #### examples -- Delete an ExpressRoute port. (autogenerated) +- Delete an ExpressRoute port. ```bash network express-route port delete --name MyExpressRoutePort --resource-group MyResourceGroup ``` diff --git a/Commands/tree.json b/Commands/tree.json index 222efb28b..c718ef4f0 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -35786,7 +35786,7 @@ "commands": [ "network express-route port delete --name MyExpressRoutePort --resource-group MyResourceGroup" ], - "name": "Delete an ExpressRoute port. (autogenerated)" + "name": "Delete an ExpressRoute port." } ], "name": "2022-01-01", diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZXBvcnRzL3t9/2022-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZXBvcnRzL3t9/2022-01-01.json index 6f1e2232b..7065b1ccf 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZXBvcnRzL3t9/2022-01-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZXBvcnRzL3t9/2022-01-01.json @@ -1,8235 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", - "version": "2022-01-01", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "commandGroups": [ - { - "name": "network express-route port", - "commands": [ - { - "name": "show", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", - "version": "2022-01-01", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "argGroups": [ - { - "name": "", - "args": [ - { - "type": "string", - "var": "$Path.expressRoutePortName", - "options": [ - "n", - "name" - ], - "required": true, - "group": "", - "idPart": "name", - "help": { - "short": "ExpressRoute port name." - } - }, - { - "type": "ResourceGroupName", - "var": "$Path.resourceGroupName", - "options": [ - "g", - "resource-group" - ], - "required": true, - "idPart": "resource_group" - }, - { - "type": "SubscriptionId", - "var": "$Path.subscriptionId", - "options": [ - "subscription" - ], - "required": true, - "idPart": "subscription" - } - ] - } - ], - "operations": [ - { - "operationId": "ExpressRoutePorts_Get", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "get", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - } - }, - "responses": [ - { - "statusCode": [ - 200 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}" - } - }, - { - "type": "IdentityObject", - "name": "identity", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "principalId" - }, - { - "readOnly": true, - "type": "string", - "name": "tenantId" - }, - { - "type": "string", - "name": "type", - "enum": { - "items": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "SystemAssigned, UserAssigned" - }, - { - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "name": "userAssignedIdentities", - "additionalProps": { - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "clientId" - }, - { - "readOnly": true, - "type": "string", - "name": "principalId" - } - ] - } - } - } - ] - }, - { - "type": "ResourceLocation", - "name": "location" - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "allocationDate" - }, - { - "type": "integer", - "name": "bandwidthInGbps" - }, - { - "readOnly": true, - "type": "array", - "name": "circuits", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "id" - } - ] - } - }, - { - "type": "string", - "name": "encapsulation", - "enum": { - "items": [ - { - "value": "Dot1Q" - }, - { - "value": "QinQ" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "etherType" - }, - { - "type": "array", - "name": "links", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "adminState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "connectorType", - "enum": { - "items": [ - { - "value": "LC" - }, - { - "value": "SC" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "interfaceName" - }, - { - "type": "object", - "name": "macSecConfig", - "props": [ - { - "type": "string", - "name": "cakSecretIdentifier" - }, - { - "type": "string", - "name": "cipher", - "enum": { - "items": [ - { - "value": "GcmAes128" - }, - { - "value": "GcmAes256" - }, - { - "value": "GcmAesXpn128" - }, - { - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "name": "cknSecretIdentifier" - }, - { - "type": "string", - "name": "sciState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "patchPanelId" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "rackId" - }, - { - "readOnly": true, - "type": "string", - "name": "routerName" - } - ], - "clientFlatten": true - } - ] - }, - "identifiers": [ - "name" - ] - }, - { - "readOnly": true, - "type": "string", - "name": "mtu" - }, - { - "type": "string", - "name": "peeringLocation" - }, - { - "readOnly": true, - "type": "float", - "name": "provisionedBandwidthInGbps" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "resourceGuid" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ] - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "outputs": [ - { - "type": "object", - "ref": "$Instance", - "clientFlatten": true - } - ], - "confirmation": "" - }, - { - "name": "delete", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", - "version": "2022-01-01", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "argGroups": [ - { - "name": "", - "args": [ - { - "type": "string", - "var": "$Path.expressRoutePortName", - "options": [ - "n", - "name" - ], - "required": true, - "group": "", - "idPart": "name", - "help": { - "short": "ExpressRoute port name." - } - }, - { - "type": "ResourceGroupName", - "var": "$Path.resourceGroupName", - "options": [ - "g", - "resource-group" - ], - "required": true, - "idPart": "resource_group" - }, - { - "type": "SubscriptionId", - "var": "$Path.subscriptionId", - "options": [ - "subscription" - ], - "required": true, - "idPart": "subscription" - } - ] - } - ], - "operations": [ - { - "longRunning": { - "finalStateVia": "location" - }, - "operationId": "ExpressRoutePorts_Delete", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "delete", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - } - }, - "responses": [ - { - "statusCode": [ - 200 - ] - }, - { - "statusCode": [ - 202 - ] - }, - { - "statusCode": [ - 204 - ] - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "confirmation": "" - }, - { - "name": "create", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", - "version": "2022-01-01", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "argGroups": [ - { - "name": "", - "args": [ - { - "type": "string", - "var": "$Path.expressRoutePortName", - "options": [ - "n", - "name" - ], - "required": true, - "group": "", - "idPart": "name", - "help": { - "short": "ExpressRoute port name." - } - }, - { - "type": "ResourceGroupName", - "var": "$Path.resourceGroupName", - "options": [ - "g", - "resource-group" - ], - "required": true, - "idPart": "resource_group" - }, - { - "type": "SubscriptionId", - "var": "$Path.subscriptionId", - "options": [ - "subscription" - ], - "required": true, - "idPart": "subscription" - }, - { - "type": "ResourceLocation", - "var": "$parameters.location", - "options": [ - "l", - "location" - ], - "group": "", - "help": { - "short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`." - } - }, - { - "type": "integer", - "var": "$parameters.properties.bandwidthInGbps", - "options": [ - "bandwidth-in-gbps" - ], - "group": "", - "help": { - "short": "Bandwidth of the circuit. Usage: INT {Mbps,Gbps}. Defaults to Gbps." - } - }, - { - "type": "string", - "var": "$parameters.properties.encapsulation", - "options": [ - "encapsulation" - ], - "group": "", - "help": { - "short": "Encapsulation method on physical ports. Allowed values: Dot1Q, QinQ." - }, - "enum": { - "items": [ - { - "name": "Dot1Q", - "value": "Dot1Q" - }, - { - "name": "QinQ", - "value": "QinQ" - } - ] - } - }, - { - "type": "string", - "var": "$parameters.properties.peeringLocation", - "options": [ - "peering-location" - ], - "group": "", - "help": { - "short": "The name of the peering location that the port is mapped to physically." - } - }, - { - "type": "object", - "var": "$parameters.tags", - "options": [ - "tags" - ], - "group": "", - "help": { - "short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags." - }, - "additionalProps": { - "item": { - "type": "string" - } - } - } - ] - }, - { - "name": "Parameters", - "args": [ - { - "type": "ResourceId", - "var": "$parameters.id", - "options": [ - "id" - ], - "hide": true, - "group": "Parameters", - "help": { - "short": "Resource ID." - }, - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}" - } - }, - { - "type": "object", - "var": "$parameters.identity", - "options": [ - "identity" - ], - "hide": true, - "group": "Parameters", - "help": { - "short": "The identity of ExpressRoutePort, if configured." - }, - "args": [ - { - "type": "string", - "var": "$parameters.identity.type", - "options": [ - "type" - ], - "help": { - "short": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine." - }, - "enum": { - "items": [ - { - "name": "None", - "value": "None" - }, - { - "name": "SystemAssigned", - "value": "SystemAssigned" - }, - { - "name": "SystemAssigned, UserAssigned", - "value": "SystemAssigned, UserAssigned" - }, - { - "name": "UserAssigned", - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "var": "$parameters.identity.userAssignedIdentities", - "options": [ - "user-assigned-identities" - ], - "help": { - "short": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - }, - "additionalProps": { - "item": { - "blank": { - "value": {} - }, - "type": "object" - } - } - } - ] - } - ] - }, - { - "name": "Properties", - "args": [ - { - "type": "array", - "var": "$parameters.properties.links", - "options": [ - "links" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The set of physical links of the ExpressRoutePort resource." - }, - "item": { - "type": "object", - "args": [ - { - "type": "ResourceId", - "var": "$parameters.properties.links[].id", - "options": [ - "id" - ], - "help": { - "short": "Resource ID." - }, - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "var": "$parameters.properties.links[].name", - "options": [ - "name" - ], - "help": { - "short": "Name of child port resource that is unique among child port resources of the parent." - } - }, - { - "type": "string", - "var": "$parameters.properties.links[].properties.adminState", - "options": [ - "admin-state" - ], - "group": "Properties", - "help": { - "short": "Administrative state of the physical port." - }, - "enum": { - "items": [ - { - "name": "Disabled", - "value": "Disabled" - }, - { - "name": "Enabled", - "value": "Enabled" - } - ] - } - }, - { - "type": "object", - "var": "$parameters.properties.links[].properties.macSecConfig", - "options": [ - "mac-sec-config" - ], - "group": "Properties", - "help": { - "short": "MacSec configuration." - }, - "args": [ - { - "type": "string", - "var": "$parameters.properties.links[].properties.macSecConfig.cakSecretIdentifier", - "options": [ - "cak-secret-identifier" - ], - "help": { - "short": "Keyvault Secret Identifier URL containing Mac security CAK key." - } - }, - { - "type": "string", - "var": "$parameters.properties.links[].properties.macSecConfig.cipher", - "options": [ - "cipher" - ], - "help": { - "short": "Mac security cipher." - }, - "enum": { - "items": [ - { - "name": "GcmAes128", - "value": "GcmAes128" - }, - { - "name": "GcmAes256", - "value": "GcmAes256" - }, - { - "name": "GcmAesXpn128", - "value": "GcmAesXpn128" - }, - { - "name": "GcmAesXpn256", - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "var": "$parameters.properties.links[].properties.macSecConfig.cknSecretIdentifier", - "options": [ - "ckn-secret-identifier" - ], - "help": { - "short": "Keyvault Secret Identifier URL containing Mac security CKN key." - } - }, - { - "type": "string", - "var": "$parameters.properties.links[].properties.macSecConfig.sciState", - "options": [ - "sci-state" - ], - "help": { - "short": "Sci mode enabled/disabled." - }, - "enum": { - "items": [ - { - "name": "Disabled", - "value": "Disabled" - }, - { - "name": "Enabled", - "value": "Enabled" - } - ] - } - } - ] - } - ] - } - } - ] - } - ], - "operations": [ - { - "longRunning": { - "finalStateVia": "azure-async-operation" - }, - "operationId": "ExpressRoutePorts_CreateOrUpdate", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "put", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - }, - "body": { - "json": { - "schema": { - "type": "object", - "name": "parameters", - "required": true, - "props": [ - { - "type": "ResourceId", - "name": "id", - "arg": "$parameters.id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}" - } - }, - { - "type": "IdentityObject", - "name": "identity", - "arg": "$parameters.identity", - "props": [ - { - "type": "string", - "name": "type", - "arg": "$parameters.identity.type", - "enum": { - "items": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "SystemAssigned, UserAssigned" - }, - { - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "name": "userAssignedIdentities", - "arg": "$parameters.identity.userAssignedIdentities", - "additionalProps": { - "item": { - "type": "object" - } - } - } - ] - }, - { - "type": "ResourceLocation", - "name": "location", - "arg": "$parameters.location" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "integer", - "name": "bandwidthInGbps", - "arg": "$parameters.properties.bandwidthInGbps" - }, - { - "type": "string", - "name": "encapsulation", - "arg": "$parameters.properties.encapsulation", - "enum": { - "items": [ - { - "value": "Dot1Q" - }, - { - "value": "QinQ" - } - ] - } - }, - { - "type": "array", - "name": "links", - "arg": "$parameters.properties.links", - "item": { - "type": "object", - "props": [ - { - "type": "ResourceId", - "name": "id", - "arg": "$parameters.properties.links[].id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "name": "name", - "arg": "$parameters.properties.links[].name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "adminState", - "arg": "$parameters.properties.links[].properties.adminState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - }, - { - "type": "object", - "name": "macSecConfig", - "arg": "$parameters.properties.links[].properties.macSecConfig", - "props": [ - { - "type": "string", - "name": "cakSecretIdentifier", - "arg": "$parameters.properties.links[].properties.macSecConfig.cakSecretIdentifier" - }, - { - "type": "string", - "name": "cipher", - "arg": "$parameters.properties.links[].properties.macSecConfig.cipher", - "enum": { - "items": [ - { - "value": "GcmAes128" - }, - { - "value": "GcmAes256" - }, - { - "value": "GcmAesXpn128" - }, - { - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "name": "cknSecretIdentifier", - "arg": "$parameters.properties.links[].properties.macSecConfig.cknSecretIdentifier" - }, - { - "type": "string", - "name": "sciState", - "arg": "$parameters.properties.links[].properties.macSecConfig.sciState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - } - ] - } - ], - "clientFlatten": true - } - ] - }, - "identifiers": [ - "name" - ] - }, - { - "type": "string", - "name": "peeringLocation", - "arg": "$parameters.properties.peeringLocation" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "arg": "$parameters.tags", - "additionalProps": { - "item": { - "type": "string" - } - } - } - ], - "clientFlatten": true - } - } - } - }, - "responses": [ - { - "statusCode": [ - 200, - 201 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}" - } - }, - { - "type": "IdentityObject", - "name": "identity", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "principalId" - }, - { - "readOnly": true, - "type": "string", - "name": "tenantId" - }, - { - "type": "string", - "name": "type", - "enum": { - "items": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "SystemAssigned, UserAssigned" - }, - { - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "name": "userAssignedIdentities", - "additionalProps": { - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "clientId" - }, - { - "readOnly": true, - "type": "string", - "name": "principalId" - } - ] - } - } - } - ] - }, - { - "type": "ResourceLocation", - "name": "location" - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "allocationDate" - }, - { - "type": "integer", - "name": "bandwidthInGbps" - }, - { - "readOnly": true, - "type": "array", - "name": "circuits", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "id" - } - ] - } - }, - { - "type": "string", - "name": "encapsulation", - "enum": { - "items": [ - { - "value": "Dot1Q" - }, - { - "value": "QinQ" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "etherType" - }, - { - "type": "array", - "name": "links", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "adminState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "connectorType", - "enum": { - "items": [ - { - "value": "LC" - }, - { - "value": "SC" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "interfaceName" - }, - { - "type": "object", - "name": "macSecConfig", - "props": [ - { - "type": "string", - "name": "cakSecretIdentifier" - }, - { - "type": "string", - "name": "cipher", - "enum": { - "items": [ - { - "value": "GcmAes128" - }, - { - "value": "GcmAes256" - }, - { - "value": "GcmAesXpn128" - }, - { - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "name": "cknSecretIdentifier" - }, - { - "type": "string", - "name": "sciState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "patchPanelId" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "rackId" - }, - { - "readOnly": true, - "type": "string", - "name": "routerName" - } - ], - "clientFlatten": true - } - ] - }, - "identifiers": [ - "name" - ] - }, - { - "readOnly": true, - "type": "string", - "name": "mtu" - }, - { - "type": "string", - "name": "peeringLocation" - }, - { - "readOnly": true, - "type": "float", - "name": "provisionedBandwidthInGbps" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "resourceGuid" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ] - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "outputs": [ - { - "type": "object", - "ref": "$Instance", - "clientFlatten": true - } - ], - "confirmation": "" - }, - { - "name": "update", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", - "version": "2022-01-01", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "argGroups": [ - { - "name": "", - "args": [ - { - "type": "string", - "var": "$Path.expressRoutePortName", - "options": [ - "n", - "name" - ], - "required": true, - "group": "", - "idPart": "name", - "help": { - "short": "ExpressRoute port name." - } - }, - { - "type": "ResourceGroupName", - "var": "$Path.resourceGroupName", - "options": [ - "g", - "resource-group" - ], - "required": true, - "idPart": "resource_group" - }, - { - "type": "SubscriptionId", - "var": "$Path.subscriptionId", - "options": [ - "subscription" - ], - "required": true, - "idPart": "subscription" - }, - { - "nullable": true, - "type": "ResourceLocation", - "var": "$parameters.location", - "options": [ - "l", - "location" - ], - "hide": true, - "group": "", - "help": { - "short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`." - } - }, - { - "nullable": true, - "type": "integer", - "var": "$parameters.properties.bandwidthInGbps", - "options": [ - "bandwidth-in-gbps" - ], - "hide": true, - "group": "", - "help": { - "short": "Bandwidth of the circuit. Usage: INT {Mbps,Gbps}. Defaults to Gbps." - } - }, - { - "nullable": true, - "type": "string", - "var": "$parameters.properties.encapsulation", - "options": [ - "encapsulation" - ], - "hide": true, - "group": "", - "help": { - "short": "Encapsulation method on physical ports. Allowed values: Dot1Q, QinQ." - }, - "enum": { - "items": [ - { - "name": "Dot1Q", - "value": "Dot1Q" - }, - { - "name": "QinQ", - "value": "QinQ" - } - ] - } - }, - { - "nullable": true, - "type": "string", - "var": "$parameters.properties.peeringLocation", - "options": [ - "peering-location" - ], - "hide": true, - "group": "", - "help": { - "short": "The name of the peering location that the port is mapped to physically." - } - }, - { - "nullable": true, - "type": "object", - "var": "$parameters.tags", - "options": [ - "tags" - ], - "group": "", - "help": { - "short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags." - }, - "additionalProps": { - "item": { - "nullable": true, - "type": "string" - } - } - } - ] - }, - { - "name": "Parameters", - "args": [ - { - "nullable": true, - "type": "ResourceId", - "var": "$parameters.id", - "options": [ - "id" - ], - "hide": true, - "group": "Parameters", - "help": { - "short": "Resource ID." - }, - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}" - } - }, - { - "nullable": true, - "type": "object", - "var": "$parameters.identity", - "options": [ - "port-identity" - ], - "hide": true, - "group": "Parameters", - "help": { - "short": "The identity of ExpressRoutePort, if configured." - }, - "args": [ - { - "nullable": true, - "type": "string", - "var": "$parameters.identity.type", - "options": [ - "type" - ], - "help": { - "short": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine." - }, - "enum": { - "items": [ - { - "name": "None", - "value": "None" - }, - { - "name": "SystemAssigned", - "value": "SystemAssigned" - }, - { - "name": "SystemAssigned, UserAssigned", - "value": "SystemAssigned, UserAssigned" - }, - { - "name": "UserAssigned", - "value": "UserAssigned" - } - ] - } - }, - { - "nullable": true, - "type": "object", - "var": "$parameters.identity.userAssignedIdentities", - "options": [ - "user-assigned-identities" - ], - "help": { - "short": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - }, - "additionalProps": { - "item": { - "nullable": true, - "blank": { - "value": {} - }, - "type": "object" - } - } - } - ] - } - ] - }, - { - "name": "Properties", - "args": [ - { - "nullable": true, - "type": "array", - "var": "$parameters.properties.links", - "options": [ - "links" - ], - "hide": true, - "group": "Properties", - "help": { - "short": "The set of physical links of the ExpressRoutePort resource." - }, - "item": { - "nullable": true, - "type": "object", - "args": [ - { - "nullable": true, - "type": "ResourceId", - "var": "$parameters.properties.links[].id", - "options": [ - "id" - ], - "help": { - "short": "Resource ID." - }, - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "nullable": true, - "type": "string", - "var": "$parameters.properties.links[].name", - "options": [ - "name" - ], - "help": { - "short": "Name of child port resource that is unique among child port resources of the parent." - } - }, - { - "nullable": true, - "type": "string", - "var": "$parameters.properties.links[].properties.adminState", - "options": [ - "admin-state" - ], - "group": "Properties", - "help": { - "short": "Enable/Disable administrative state of an ExpressRoute Link. Allowed values: Disabled, Enabled." - }, - "enum": { - "items": [ - { - "name": "Disabled", - "value": "Disabled" - }, - { - "name": "Enabled", - "value": "Enabled" - } - ] - } - }, - { - "nullable": true, - "type": "string", - "var": "$parameters.properties.links[].properties.macSecConfig.cakSecretIdentifier", - "options": [ - "cak-secret-identifier" - ], - "group": "MacSecConfig", - "help": { - "short": "The connectivity association key (CAK) ID that stored in the KeyVault." - } - }, - { - "nullable": true, - "type": "string", - "var": "$parameters.properties.links[].properties.macSecConfig.cipher", - "options": [ - "cipher" - ], - "group": "MacSecConfig", - "help": { - "short": "Cipher Method. Allowed values: GcmAes128, GcmAes256, GcmAesXpn128, GcmAesXpn256." - }, - "enum": { - "items": [ - { - "name": "GcmAes128", - "value": "GcmAes128" - }, - { - "name": "GcmAes256", - "value": "GcmAes256" - }, - { - "name": "GcmAesXpn128", - "value": "GcmAesXpn128" - }, - { - "name": "GcmAesXpn256", - "value": "GcmAesXpn256" - } - ] - } - }, - { - "nullable": true, - "type": "string", - "var": "$parameters.properties.links[].properties.macSecConfig.cknSecretIdentifier", - "options": [ - "ckn-secret-identifier" - ], - "group": "MacSecConfig", - "help": { - "short": "The connectivity key name (CKN) that stored in the KeyVault." - } - }, - { - "nullable": true, - "type": "string", - "var": "$parameters.properties.links[].properties.macSecConfig.sciState", - "options": [ - "sci-state" - ], - "group": "MacSecConfig", - "help": { - "short": "Sci mode. Allowed values: Disabled, Enabled." - }, - "enum": { - "items": [ - { - "name": "Disabled", - "value": "Disabled" - }, - { - "name": "Enabled", - "value": "Enabled" - } - ] - } - } - ] - } - } - ] - } - ], - "operations": [ - { - "operationId": "ExpressRoutePorts_Get", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "get", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - } - }, - "responses": [ - { - "statusCode": [ - 200 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}" - } - }, - { - "type": "IdentityObject", - "name": "identity", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "principalId" - }, - { - "readOnly": true, - "type": "string", - "name": "tenantId" - }, - { - "type": "string", - "name": "type", - "enum": { - "items": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "SystemAssigned, UserAssigned" - }, - { - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "name": "userAssignedIdentities", - "additionalProps": { - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "clientId" - }, - { - "readOnly": true, - "type": "string", - "name": "principalId" - } - ] - } - } - } - ] - }, - { - "type": "ResourceLocation", - "name": "location" - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "allocationDate" - }, - { - "type": "integer", - "name": "bandwidthInGbps" - }, - { - "readOnly": true, - "type": "array", - "name": "circuits", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "id" - } - ] - } - }, - { - "type": "string", - "name": "encapsulation", - "enum": { - "items": [ - { - "value": "Dot1Q" - }, - { - "value": "QinQ" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "etherType" - }, - { - "type": "array", - "name": "links", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "adminState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "connectorType", - "enum": { - "items": [ - { - "value": "LC" - }, - { - "value": "SC" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "interfaceName" - }, - { - "type": "object", - "name": "macSecConfig", - "props": [ - { - "type": "string", - "name": "cakSecretIdentifier" - }, - { - "type": "string", - "name": "cipher", - "enum": { - "items": [ - { - "value": "GcmAes128" - }, - { - "value": "GcmAes256" - }, - { - "value": "GcmAesXpn128" - }, - { - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "name": "cknSecretIdentifier" - }, - { - "type": "string", - "name": "sciState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "patchPanelId" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "rackId" - }, - { - "readOnly": true, - "type": "string", - "name": "routerName" - } - ], - "clientFlatten": true - } - ] - }, - "identifiers": [ - "name" - ] - }, - { - "readOnly": true, - "type": "string", - "name": "mtu" - }, - { - "type": "string", - "name": "peeringLocation" - }, - { - "readOnly": true, - "type": "float", - "name": "provisionedBandwidthInGbps" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "resourceGuid" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ], - "cls": "ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - }, - { - "instanceUpdate": { - "ref": "$Instance", - "json": { - "schema": { - "type": "object", - "name": "parameters", - "required": true, - "props": [ - { - "type": "ResourceId", - "name": "id", - "arg": "$parameters.id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}" - } - }, - { - "type": "IdentityObject", - "name": "identity", - "arg": "$parameters.identity", - "props": [ - { - "type": "string", - "name": "type", - "arg": "$parameters.identity.type", - "enum": { - "items": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "SystemAssigned, UserAssigned" - }, - { - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "name": "userAssignedIdentities", - "arg": "$parameters.identity.userAssignedIdentities", - "additionalProps": { - "item": { - "type": "object" - } - } - } - ] - }, - { - "type": "ResourceLocation", - "name": "location", - "arg": "$parameters.location" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "integer", - "name": "bandwidthInGbps", - "arg": "$parameters.properties.bandwidthInGbps" - }, - { - "type": "string", - "name": "encapsulation", - "arg": "$parameters.properties.encapsulation", - "enum": { - "items": [ - { - "value": "Dot1Q" - }, - { - "value": "QinQ" - } - ] - } - }, - { - "type": "array", - "name": "links", - "arg": "$parameters.properties.links", - "item": { - "type": "object", - "props": [ - { - "type": "ResourceId", - "name": "id", - "arg": "$parameters.properties.links[].id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "name": "name", - "arg": "$parameters.properties.links[].name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "adminState", - "arg": "$parameters.properties.links[].properties.adminState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - }, - { - "type": "object", - "name": "macSecConfig", - "props": [ - { - "type": "string", - "name": "cakSecretIdentifier", - "arg": "$parameters.properties.links[].properties.macSecConfig.cakSecretIdentifier" - }, - { - "type": "string", - "name": "cipher", - "arg": "$parameters.properties.links[].properties.macSecConfig.cipher", - "enum": { - "items": [ - { - "value": "GcmAes128" - }, - { - "value": "GcmAes256" - }, - { - "value": "GcmAesXpn128" - }, - { - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "name": "cknSecretIdentifier", - "arg": "$parameters.properties.links[].properties.macSecConfig.cknSecretIdentifier" - }, - { - "type": "string", - "name": "sciState", - "arg": "$parameters.properties.links[].properties.macSecConfig.sciState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - } - ] - } - ], - "clientFlatten": true - } - ] - }, - "identifiers": [ - "name" - ] - }, - { - "type": "string", - "name": "peeringLocation", - "arg": "$parameters.properties.peeringLocation" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "arg": "$parameters.tags", - "additionalProps": { - "item": { - "type": "string" - } - } - } - ], - "clientFlatten": true - } - } - } - }, - { - "longRunning": { - "finalStateVia": "azure-async-operation" - }, - "operationId": "ExpressRoutePorts_CreateOrUpdate", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "put", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - }, - "body": { - "json": { - "ref": "$Instance" - } - } - }, - "responses": [ - { - "statusCode": [ - 200, - 201 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "@ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "outputs": [ - { - "type": "object", - "ref": "$Instance", - "clientFlatten": true - } - ], - "confirmation": "" - } - ], - "commandGroups": [ - { - "name": "identity", - "commands": [ - { - "name": "update", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", - "version": "2022-01-01", - "subresource": "identity", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "argGroups": [ - { - "name": "", - "args": [ - { - "type": "string", - "var": "$Path.expressRoutePortName", - "options": [ - "name" - ], - "required": true, - "group": "", - "idPart": "name", - "help": { - "short": "ExpressRoute port name." - } - }, - { - "type": "ResourceGroupName", - "var": "$Path.resourceGroupName", - "options": [ - "g", - "resource-group" - ], - "required": true, - "idPart": "resource_group" - }, - { - "type": "SubscriptionId", - "var": "$Path.subscriptionId", - "options": [ - "subscription" - ], - "required": true, - "idPart": "subscription" - } - ] - }, - { - "name": "Parameters.identity", - "args": [ - { - "nullable": true, - "type": "string", - "var": "$parameters.identity.type", - "options": [ - "type" - ], - "group": "Parameters.identity", - "help": { - "short": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine." - }, - "enum": { - "items": [ - { - "name": "None", - "value": "None" - }, - { - "name": "SystemAssigned", - "value": "SystemAssigned" - }, - { - "name": "SystemAssigned, UserAssigned", - "value": "SystemAssigned, UserAssigned" - }, - { - "name": "UserAssigned", - "value": "UserAssigned" - } - ] - } - }, - { - "nullable": true, - "type": "object", - "var": "$parameters.identity.userAssignedIdentities", - "options": [ - "user-assigned-identities" - ], - "group": "Parameters.identity", - "help": { - "short": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - }, - "additionalProps": { - "item": { - "nullable": true, - "blank": { - "value": {} - }, - "type": "object" - } - } - } - ] - } - ], - "subresourceSelector": { - "var": "$Subresource", - "ref": "$Instance", - "json": { - "type": "object", - "name": "parameters", - "prop": { - "type": "object", - "name": "identity" - } - } - }, - "operations": [ - { - "operationId": "ExpressRoutePorts_Get", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "get", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - } - }, - "responses": [ - { - "statusCode": [ - 200 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}" - } - }, - { - "type": "IdentityObject", - "name": "identity", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "principalId" - }, - { - "readOnly": true, - "type": "string", - "name": "tenantId" - }, - { - "type": "string", - "name": "type", - "enum": { - "items": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "SystemAssigned, UserAssigned" - }, - { - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "name": "userAssignedIdentities", - "additionalProps": { - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "clientId" - }, - { - "readOnly": true, - "type": "string", - "name": "principalId" - } - ] - } - } - } - ] - }, - { - "type": "ResourceLocation", - "name": "location" - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "allocationDate" - }, - { - "type": "integer", - "name": "bandwidthInGbps" - }, - { - "readOnly": true, - "type": "array", - "name": "circuits", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "id" - } - ] - } - }, - { - "type": "string", - "name": "encapsulation", - "enum": { - "items": [ - { - "value": "Dot1Q" - }, - { - "value": "QinQ" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "etherType" - }, - { - "type": "array", - "name": "links", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "adminState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "connectorType", - "enum": { - "items": [ - { - "value": "LC" - }, - { - "value": "SC" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "interfaceName" - }, - { - "type": "object", - "name": "macSecConfig", - "props": [ - { - "type": "string", - "name": "cakSecretIdentifier" - }, - { - "type": "string", - "name": "cipher", - "enum": { - "items": [ - { - "value": "GcmAes128" - }, - { - "value": "GcmAes256" - }, - { - "value": "GcmAesXpn128" - }, - { - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "name": "cknSecretIdentifier" - }, - { - "type": "string", - "name": "sciState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "patchPanelId" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "rackId" - }, - { - "readOnly": true, - "type": "string", - "name": "routerName" - } - ], - "clientFlatten": true - } - ] - }, - "identifiers": [ - "name" - ] - }, - { - "readOnly": true, - "type": "string", - "name": "mtu" - }, - { - "type": "string", - "name": "peeringLocation" - }, - { - "readOnly": true, - "type": "float", - "name": "provisionedBandwidthInGbps" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "resourceGuid" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ], - "cls": "ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - }, - { - "instanceUpdate": { - "ref": "$Subresource", - "json": { - "schema": { - "type": "IdentityObject", - "name": "parameters.identity", - "required": true, - "props": [ - { - "type": "string", - "name": "type", - "arg": "$parameters.identity.type", - "enum": { - "items": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "SystemAssigned, UserAssigned" - }, - { - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "name": "userAssignedIdentities", - "arg": "$parameters.identity.userAssignedIdentities", - "additionalProps": { - "item": { - "type": "object" - } - } - } - ] - } - } - } - }, - { - "longRunning": { - "finalStateVia": "azure-async-operation" - }, - "operationId": "ExpressRoutePorts_CreateOrUpdate", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "put", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - }, - "body": { - "json": { - "ref": "$Instance" - } - } - }, - "responses": [ - { - "statusCode": [ - 200, - 201 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "@ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "outputs": [ - { - "type": "object", - "ref": "$Subresource", - "clientFlatten": true - } - ], - "confirmation": "" - }, - { - "name": "show", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", - "version": "2022-01-01", - "subresource": "identity", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "argGroups": [ - { - "name": "", - "args": [ - { - "type": "string", - "var": "$Path.expressRoutePortName", - "options": [ - "n", - "name" - ], - "required": true, - "group": "", - "idPart": "name", - "help": { - "short": "ExpressRoute port name." - } - }, - { - "type": "ResourceGroupName", - "var": "$Path.resourceGroupName", - "options": [ - "g", - "resource-group" - ], - "required": true, - "idPart": "resource_group" - }, - { - "type": "SubscriptionId", - "var": "$Path.subscriptionId", - "options": [ - "subscription" - ], - "required": true, - "idPart": "subscription" - } - ] - } - ], - "subresourceSelector": { - "var": "$Subresource", - "ref": "$Instance", - "json": { - "type": "object", - "name": "parameters", - "prop": { - "type": "object", - "name": "identity" - } - } - }, - "operations": [ - { - "operationId": "ExpressRoutePorts_Get", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "get", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - } - }, - "responses": [ - { - "statusCode": [ - 200 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}" - } - }, - { - "type": "IdentityObject", - "name": "identity", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "principalId" - }, - { - "readOnly": true, - "type": "string", - "name": "tenantId" - }, - { - "type": "string", - "name": "type", - "enum": { - "items": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "SystemAssigned, UserAssigned" - }, - { - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "name": "userAssignedIdentities", - "additionalProps": { - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "clientId" - }, - { - "readOnly": true, - "type": "string", - "name": "principalId" - } - ] - } - } - } - ] - }, - { - "type": "ResourceLocation", - "name": "location" - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "allocationDate" - }, - { - "type": "integer", - "name": "bandwidthInGbps" - }, - { - "readOnly": true, - "type": "array", - "name": "circuits", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "id" - } - ] - } - }, - { - "type": "string", - "name": "encapsulation", - "enum": { - "items": [ - { - "value": "Dot1Q" - }, - { - "value": "QinQ" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "etherType" - }, - { - "type": "array", - "name": "links", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "adminState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "connectorType", - "enum": { - "items": [ - { - "value": "LC" - }, - { - "value": "SC" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "interfaceName" - }, - { - "type": "object", - "name": "macSecConfig", - "props": [ - { - "type": "string", - "name": "cakSecretIdentifier" - }, - { - "type": "string", - "name": "cipher", - "enum": { - "items": [ - { - "value": "GcmAes128" - }, - { - "value": "GcmAes256" - }, - { - "value": "GcmAesXpn128" - }, - { - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "name": "cknSecretIdentifier" - }, - { - "type": "string", - "name": "sciState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "patchPanelId" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "rackId" - }, - { - "readOnly": true, - "type": "string", - "name": "routerName" - } - ], - "clientFlatten": true - } - ] - }, - "identifiers": [ - "name" - ] - }, - { - "readOnly": true, - "type": "string", - "name": "mtu" - }, - { - "type": "string", - "name": "peeringLocation" - }, - { - "readOnly": true, - "type": "float", - "name": "provisionedBandwidthInGbps" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "resourceGuid" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ], - "cls": "ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "outputs": [ - { - "type": "object", - "ref": "$Subresource", - "clientFlatten": true - } - ], - "confirmation": "" - }, - { - "name": "assign", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", - "version": "2022-01-01", - "subresource": "identity", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "argGroups": [ - { - "name": "", - "args": [ - { - "type": "string", - "var": "$Path.expressRoutePortName", - "options": [ - "n", - "name" - ], - "required": true, - "group": "", - "idPart": "name", - "help": { - "short": "ExpressRoute port name." - } - }, - { - "type": "ResourceGroupName", - "var": "$Path.resourceGroupName", - "options": [ - "g", - "resource-group" - ], - "required": true, - "idPart": "resource_group" - }, - { - "type": "SubscriptionId", - "var": "$Path.subscriptionId", - "options": [ - "subscription" - ], - "required": true, - "idPart": "subscription" - } - ] - }, - { - "name": "Identity", - "args": [ - { - "type": "string", - "var": "$parameters.identity.type", - "options": [ - "type" - ], - "group": "Identity", - "help": { - "short": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine." - }, - "default": { - "value": "UserAssigned" - }, - "enum": { - "items": [ - { - "name": "None", - "value": "None" - }, - { - "name": "SystemAssigned", - "value": "SystemAssigned" - }, - { - "name": "SystemAssigned, UserAssigned", - "value": "SystemAssigned, UserAssigned" - }, - { - "name": "UserAssigned", - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "var": "$parameters.identity.userAssignedIdentities", - "options": [ - "user-assigned-identities" - ], - "group": "Identity", - "help": { - "short": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - }, - "additionalProps": { - "item": { - "blank": { - "value": {} - }, - "type": "object" - } - } - } - ] - } - ], - "subresourceSelector": { - "var": "$Subresource", - "ref": "$Instance", - "json": { - "type": "object", - "name": "parameters", - "prop": { - "type": "object", - "name": "identity" - } - } - }, - "operations": [ - { - "operationId": "ExpressRoutePorts_Get", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "get", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - } - }, - "responses": [ - { - "statusCode": [ - 200 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}" - } - }, - { - "type": "IdentityObject", - "name": "identity", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "principalId" - }, - { - "readOnly": true, - "type": "string", - "name": "tenantId" - }, - { - "type": "string", - "name": "type", - "enum": { - "items": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "SystemAssigned, UserAssigned" - }, - { - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "name": "userAssignedIdentities", - "additionalProps": { - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "clientId" - }, - { - "readOnly": true, - "type": "string", - "name": "principalId" - } - ] - } - } - } - ] - }, - { - "type": "ResourceLocation", - "name": "location" - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "allocationDate" - }, - { - "type": "integer", - "name": "bandwidthInGbps" - }, - { - "readOnly": true, - "type": "array", - "name": "circuits", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "id" - } - ] - } - }, - { - "type": "string", - "name": "encapsulation", - "enum": { - "items": [ - { - "value": "Dot1Q" - }, - { - "value": "QinQ" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "etherType" - }, - { - "type": "array", - "name": "links", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "adminState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "connectorType", - "enum": { - "items": [ - { - "value": "LC" - }, - { - "value": "SC" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "interfaceName" - }, - { - "type": "object", - "name": "macSecConfig", - "props": [ - { - "type": "string", - "name": "cakSecretIdentifier" - }, - { - "type": "string", - "name": "cipher", - "enum": { - "items": [ - { - "value": "GcmAes128" - }, - { - "value": "GcmAes256" - }, - { - "value": "GcmAesXpn128" - }, - { - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "name": "cknSecretIdentifier" - }, - { - "type": "string", - "name": "sciState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "patchPanelId" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "rackId" - }, - { - "readOnly": true, - "type": "string", - "name": "routerName" - } - ], - "clientFlatten": true - } - ] - }, - "identifiers": [ - "name" - ] - }, - { - "readOnly": true, - "type": "string", - "name": "mtu" - }, - { - "type": "string", - "name": "peeringLocation" - }, - { - "readOnly": true, - "type": "float", - "name": "provisionedBandwidthInGbps" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "resourceGuid" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ], - "cls": "ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - }, - { - "instanceCreate": { - "ref": "$Subresource", - "json": { - "schema": { - "type": "IdentityObject", - "name": "parameters.identity", - "required": true, - "props": [ - { - "type": "string", - "name": "type", - "arg": "$parameters.identity.type", - "enum": { - "items": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "SystemAssigned, UserAssigned" - }, - { - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "name": "userAssignedIdentities", - "arg": "$parameters.identity.userAssignedIdentities", - "additionalProps": { - "item": { - "type": "object" - } - } - } - ] - } - } - } - }, - { - "longRunning": { - "finalStateVia": "azure-async-operation" - }, - "operationId": "ExpressRoutePorts_CreateOrUpdate", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "put", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - }, - "body": { - "json": { - "ref": "$Instance" - } - } - }, - "responses": [ - { - "statusCode": [ - 200, - 201 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "@ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "outputs": [ - { - "type": "object", - "ref": "$Subresource", - "clientFlatten": true - } - ], - "confirmation": "" - }, - { - "name": "remove", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", - "version": "2022-01-01", - "subresource": "identity", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "argGroups": [ - { - "name": "", - "args": [ - { - "type": "string", - "var": "$Path.expressRoutePortName", - "options": [ - "n", - "name" - ], - "required": true, - "group": "", - "idPart": "name", - "help": { - "short": "ExpressRoute port name." - } - }, - { - "type": "ResourceGroupName", - "var": "$Path.resourceGroupName", - "options": [ - "g", - "resource-group" - ], - "required": true, - "idPart": "resource_group" - }, - { - "type": "SubscriptionId", - "var": "$Path.subscriptionId", - "options": [ - "subscription" - ], - "required": true, - "idPart": "subscription" - } - ] - } - ], - "subresourceSelector": { - "var": "$Subresource", - "ref": "$Instance", - "json": { - "type": "object", - "name": "parameters", - "prop": { - "type": "object", - "name": "identity" - } - } - }, - "operations": [ - { - "operationId": "ExpressRoutePorts_Get", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "get", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - } - }, - "responses": [ - { - "statusCode": [ - 200 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}" - } - }, - { - "type": "IdentityObject", - "name": "identity", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "principalId" - }, - { - "readOnly": true, - "type": "string", - "name": "tenantId" - }, - { - "type": "string", - "name": "type", - "enum": { - "items": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "SystemAssigned, UserAssigned" - }, - { - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "name": "userAssignedIdentities", - "additionalProps": { - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "clientId" - }, - { - "readOnly": true, - "type": "string", - "name": "principalId" - } - ] - } - } - } - ] - }, - { - "type": "ResourceLocation", - "name": "location" - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "allocationDate" - }, - { - "type": "integer", - "name": "bandwidthInGbps" - }, - { - "readOnly": true, - "type": "array", - "name": "circuits", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "id" - } - ] - } - }, - { - "type": "string", - "name": "encapsulation", - "enum": { - "items": [ - { - "value": "Dot1Q" - }, - { - "value": "QinQ" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "etherType" - }, - { - "type": "array", - "name": "links", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "adminState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "connectorType", - "enum": { - "items": [ - { - "value": "LC" - }, - { - "value": "SC" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "interfaceName" - }, - { - "type": "object", - "name": "macSecConfig", - "props": [ - { - "type": "string", - "name": "cakSecretIdentifier" - }, - { - "type": "string", - "name": "cipher", - "enum": { - "items": [ - { - "value": "GcmAes128" - }, - { - "value": "GcmAes256" - }, - { - "value": "GcmAesXpn128" - }, - { - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "name": "cknSecretIdentifier" - }, - { - "type": "string", - "name": "sciState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "patchPanelId" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "rackId" - }, - { - "readOnly": true, - "type": "string", - "name": "routerName" - } - ], - "clientFlatten": true - } - ] - }, - "identifiers": [ - "name" - ] - }, - { - "readOnly": true, - "type": "string", - "name": "mtu" - }, - { - "type": "string", - "name": "peeringLocation" - }, - { - "readOnly": true, - "type": "float", - "name": "provisionedBandwidthInGbps" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "resourceGuid" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ], - "cls": "ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - }, - { - "instanceDelete": { - "ref": "$Subresource", - "json": {} - } - }, - { - "longRunning": { - "finalStateVia": "azure-async-operation" - }, - "operationId": "ExpressRoutePorts_CreateOrUpdate", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "put", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - }, - "body": { - "json": { - "ref": "$Instance" - } - } - }, - "responses": [ - { - "statusCode": [ - 200, - 201 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "@ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "confirmation": "" - } - ] - }, - { - "name": "link", - "commands": [ - { - "name": "list", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", - "version": "2022-01-01", - "subresource": "properties.links", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "argGroups": [ - { - "name": "", - "args": [ - { - "type": "string", - "var": "$Path.expressRoutePortName", - "options": [ - "port-name" - ], - "required": true, - "group": "", - "idPart": "name", - "help": { - "short": "ExpressRoute port name." - } - }, - { - "type": "ResourceGroupName", - "var": "$Path.resourceGroupName", - "options": [ - "g", - "resource-group" - ], - "required": true, - "idPart": "resource_group" - }, - { - "type": "SubscriptionId", - "var": "$Path.subscriptionId", - "options": [ - "subscription" - ], - "required": true, - "idPart": "subscription" - } - ] - } - ], - "subresourceSelector": { - "var": "$Subresource", - "ref": "$Instance", - "json": { - "type": "object", - "name": "parameters", - "prop": { - "type": "array", - "name": "properties.links" - } - } - }, - "operations": [ - { - "operationId": "ExpressRoutePorts_Get", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "get", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - } - }, - "responses": [ - { - "statusCode": [ - 200 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}" - } - }, - { - "type": "IdentityObject", - "name": "identity", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "principalId" - }, - { - "readOnly": true, - "type": "string", - "name": "tenantId" - }, - { - "type": "string", - "name": "type", - "enum": { - "items": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "SystemAssigned, UserAssigned" - }, - { - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "name": "userAssignedIdentities", - "additionalProps": { - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "clientId" - }, - { - "readOnly": true, - "type": "string", - "name": "principalId" - } - ] - } - } - } - ] - }, - { - "type": "ResourceLocation", - "name": "location" - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "allocationDate" - }, - { - "type": "integer", - "name": "bandwidthInGbps" - }, - { - "readOnly": true, - "type": "array", - "name": "circuits", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "id" - } - ] - } - }, - { - "type": "string", - "name": "encapsulation", - "enum": { - "items": [ - { - "value": "Dot1Q" - }, - { - "value": "QinQ" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "etherType" - }, - { - "type": "array", - "name": "links", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "adminState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "connectorType", - "enum": { - "items": [ - { - "value": "LC" - }, - { - "value": "SC" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "interfaceName" - }, - { - "type": "object", - "name": "macSecConfig", - "props": [ - { - "type": "string", - "name": "cakSecretIdentifier" - }, - { - "type": "string", - "name": "cipher", - "enum": { - "items": [ - { - "value": "GcmAes128" - }, - { - "value": "GcmAes256" - }, - { - "value": "GcmAesXpn128" - }, - { - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "name": "cknSecretIdentifier" - }, - { - "type": "string", - "name": "sciState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "patchPanelId" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "rackId" - }, - { - "readOnly": true, - "type": "string", - "name": "routerName" - } - ], - "clientFlatten": true - } - ] - }, - "identifiers": [ - "name" - ] - }, - { - "readOnly": true, - "type": "string", - "name": "mtu" - }, - { - "type": "string", - "name": "peeringLocation" - }, - { - "readOnly": true, - "type": "float", - "name": "provisionedBandwidthInGbps" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "resourceGuid" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ], - "cls": "ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "outputs": [ - { - "type": "array", - "ref": "$Subresource", - "clientFlatten": true - } - ], - "confirmation": "" - }, - { - "name": "create", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", - "version": "2022-01-01", - "subresource": "properties.links[]", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "argGroups": [ - { - "name": "", - "args": [ - { - "type": "string", - "var": "$Path.expressRoutePortName", - "options": [ - "name" - ], - "required": true, - "group": "", - "idPart": "name", - "help": { - "short": "ExpressRoute port name." - } - }, - { - "type": "ResourceGroupName", - "var": "$Path.resourceGroupName", - "options": [ - "g", - "resource-group" - ], - "required": true, - "idPart": "resource_group" - }, - { - "type": "SubscriptionId", - "var": "$Path.subscriptionId", - "options": [ - "subscription" - ], - "required": true, - "idPart": "subscription" - }, - { - "type": "string", - "var": "$parameters.properties.links[].name", - "options": [ - "link-name" - ], - "required": true, - "help": { - "short": "Name of child port resource that is unique among child port resources of the parent." - } - } - ] - }, - { - "name": "MacSecConfig", - "args": [ - { - "type": "string", - "var": "$parameters.properties.links[].properties.macSecConfig.cakSecretIdentifier", - "options": [ - "macsec-cak-secret-identifier" - ], - "group": "MacSecConfig", - "help": { - "short": "The connectivity association key (CAK) ID that stored in the KeyVault." - } - }, - { - "type": "string", - "var": "$parameters.properties.links[].properties.macSecConfig.cipher", - "options": [ - "macsec-cipher" - ], - "group": "MacSecConfig", - "help": { - "short": "Cipher Method. Allowed values: GcmAes128, GcmAes256, GcmAesXpn128, GcmAesXpn256." - }, - "enum": { - "items": [ - { - "name": "GcmAes128", - "value": "GcmAes128" - }, - { - "name": "GcmAes256", - "value": "GcmAes256" - }, - { - "name": "GcmAesXpn128", - "value": "GcmAesXpn128" - }, - { - "name": "GcmAesXpn256", - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "var": "$parameters.properties.links[].properties.macSecConfig.cknSecretIdentifier", - "options": [ - "macsec-ckn-secret-identifier" - ], - "group": "MacSecConfig", - "help": { - "short": "The connectivity key name (CKN) that stored in the KeyVault." - } - }, - { - "type": "string", - "var": "$parameters.properties.links[].properties.macSecConfig.sciState", - "options": [ - "macsec-sci-state" - ], - "group": "MacSecConfig", - "help": { - "short": "Sci mode. Allowed values: Disabled, Enabled." - }, - "enum": { - "items": [ - { - "name": "Disabled", - "value": "Disabled" - }, - { - "name": "Enabled", - "value": "Enabled" - } - ] - } - } - ] - }, - { - "name": "Parameters.properties.links[]", - "args": [ - { - "type": "ResourceId", - "var": "$parameters.properties.links[].id", - "options": [ - "id" - ], - "group": "Parameters.properties.links[]", - "help": { - "short": "Resource ID." - }, - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - } - ] - }, - { - "name": "Properties", - "args": [ - { - "type": "string", - "var": "$parameters.properties.links[].properties.adminState", - "options": [ - "admin-state" - ], - "group": "Properties", - "help": { - "short": "Enable/Disable administrative state of an ExpressRoute Link. Allowed values: Disabled, Enabled." - }, - "enum": { - "items": [ - { - "name": "Disabled", - "value": "Disabled" - }, - { - "name": "Enabled", - "value": "Enabled" - } - ] - } - } - ] - } - ], - "subresourceSelector": { - "var": "$Subresource", - "ref": "$Instance", - "json": { - "type": "object", - "name": "parameters", - "prop": { - "type": "array", - "name": "properties.links", - "item": { - "type": "object" - }, - "identifiers": [ - { - "type": "string", - "name": "[].name", - "arg": "$parameters.properties.links[].name", - "required": true - } - ] - } - } - }, - "operations": [ - { - "operationId": "ExpressRoutePorts_Get", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "get", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - } - }, - "responses": [ - { - "statusCode": [ - 200 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}" - } - }, - { - "type": "IdentityObject", - "name": "identity", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "principalId" - }, - { - "readOnly": true, - "type": "string", - "name": "tenantId" - }, - { - "type": "string", - "name": "type", - "enum": { - "items": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "SystemAssigned, UserAssigned" - }, - { - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "name": "userAssignedIdentities", - "additionalProps": { - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "clientId" - }, - { - "readOnly": true, - "type": "string", - "name": "principalId" - } - ] - } - } - } - ] - }, - { - "type": "ResourceLocation", - "name": "location" - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "allocationDate" - }, - { - "type": "integer", - "name": "bandwidthInGbps" - }, - { - "readOnly": true, - "type": "array", - "name": "circuits", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "id" - } - ] - } - }, - { - "type": "string", - "name": "encapsulation", - "enum": { - "items": [ - { - "value": "Dot1Q" - }, - { - "value": "QinQ" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "etherType" - }, - { - "type": "array", - "name": "links", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "adminState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "connectorType", - "enum": { - "items": [ - { - "value": "LC" - }, - { - "value": "SC" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "interfaceName" - }, - { - "type": "object", - "name": "macSecConfig", - "props": [ - { - "type": "string", - "name": "cakSecretIdentifier" - }, - { - "type": "string", - "name": "cipher", - "enum": { - "items": [ - { - "value": "GcmAes128" - }, - { - "value": "GcmAes256" - }, - { - "value": "GcmAesXpn128" - }, - { - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "name": "cknSecretIdentifier" - }, - { - "type": "string", - "name": "sciState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "patchPanelId" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "rackId" - }, - { - "readOnly": true, - "type": "string", - "name": "routerName" - } - ], - "clientFlatten": true - } - ] - }, - "identifiers": [ - "name" - ] - }, - { - "readOnly": true, - "type": "string", - "name": "mtu" - }, - { - "type": "string", - "name": "peeringLocation" - }, - { - "readOnly": true, - "type": "float", - "name": "provisionedBandwidthInGbps" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "resourceGuid" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ], - "cls": "ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - }, - { - "instanceCreate": { - "ref": "$Subresource", - "json": { - "schema": { - "type": "object", - "name": "parameters.properties.links[]", - "required": true, - "props": [ - { - "type": "ResourceId", - "name": "id", - "arg": "$parameters.properties.links[].id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "name": "name", - "arg": "$parameters.properties.links[].name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "adminState", - "arg": "$parameters.properties.links[].properties.adminState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - }, - { - "type": "object", - "name": "macSecConfig", - "props": [ - { - "type": "string", - "name": "cakSecretIdentifier", - "arg": "$parameters.properties.links[].properties.macSecConfig.cakSecretIdentifier" - }, - { - "type": "string", - "name": "cipher", - "arg": "$parameters.properties.links[].properties.macSecConfig.cipher", - "enum": { - "items": [ - { - "value": "GcmAes128" - }, - { - "value": "GcmAes256" - }, - { - "value": "GcmAesXpn128" - }, - { - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "name": "cknSecretIdentifier", - "arg": "$parameters.properties.links[].properties.macSecConfig.cknSecretIdentifier" - }, - { - "type": "string", - "name": "sciState", - "arg": "$parameters.properties.links[].properties.macSecConfig.sciState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - } - ] - } - ], - "clientFlatten": true - } - ] - } - } - } - }, - { - "longRunning": { - "finalStateVia": "azure-async-operation" - }, - "operationId": "ExpressRoutePorts_CreateOrUpdate", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "put", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - }, - "body": { - "json": { - "ref": "$Instance" - } - } - }, - "responses": [ - { - "statusCode": [ - 200, - 201 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "@ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "outputs": [ - { - "type": "object", - "ref": "$Subresource", - "clientFlatten": true - } - ], - "confirmation": "" - }, - { - "name": "update", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", - "version": "2022-01-01", - "subresource": "properties.links[]", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "argGroups": [ - { - "name": "", - "args": [ - { - "type": "string", - "var": "$Path.expressRoutePortName", - "options": [ - "port-name" - ], - "required": true, - "group": "", - "idPart": "name", - "help": { - "short": "ExpressRoute port name." - } - }, - { - "type": "ResourceGroupName", - "var": "$Path.resourceGroupName", - "options": [ - "g", - "resource-group" - ], - "required": true, - "idPart": "resource_group" - }, - { - "type": "SubscriptionId", - "var": "$Path.subscriptionId", - "options": [ - "subscription" - ], - "required": true, - "idPart": "subscription" - }, - { - "nullable": true, - "type": "ResourceId", - "var": "$parameters.properties.links[].id", - "options": [ - "ids" - ], - "group": "", - "help": { - "short": "Resource ID." - }, - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "var": "$parameters.properties.links[].name", - "options": [ - "n", - "name" - ], - "required": true, - "group": "", - "help": { - "short": "The link name of the ExpressRoute Port." - } - }, - { - "nullable": true, - "type": "string", - "var": "$parameters.properties.links[].properties.adminState", - "options": [ - "admin-state" - ], - "group": "", - "help": { - "short": "Enable/Disable administrative state of an ExpressRoute Link." - }, - "enum": { - "items": [ - { - "name": "Disabled", - "value": "Disabled" - }, - { - "name": "Enabled", - "value": "Enabled" - } - ] - } - } - ] - }, - { - "name": "MACsec", - "args": [ - { - "nullable": true, - "type": "string", - "var": "$parameters.properties.links[].properties.macSecConfig.cakSecretIdentifier", - "options": [ - "macsec-cak-secret-identifier" - ], - "group": "MACsec", - "help": { - "short": "The connectivity association key (CAK) ID that stored in the KeyVault." - } - }, - { - "nullable": true, - "type": "string", - "var": "$parameters.properties.links[].properties.macSecConfig.cipher", - "options": [ - "macsec-cipher" - ], - "group": "MACsec", - "help": { - "short": "Cipher Method." - }, - "enum": { - "items": [ - { - "name": "GcmAes128", - "value": "GcmAes128" - }, - { - "name": "GcmAes256", - "value": "GcmAes256" - }, - { - "name": "GcmAesXpn128", - "value": "GcmAesXpn128" - }, - { - "name": "GcmAesXpn256", - "value": "GcmAesXpn256" - } - ] - } - }, - { - "nullable": true, - "type": "string", - "var": "$parameters.properties.links[].properties.macSecConfig.cknSecretIdentifier", - "options": [ - "macsec-ckn-secret-identifier" - ], - "group": "MACsec", - "help": { - "short": "The connectivity key name (CKN) that stored in the KeyVault." - } - }, - { - "nullable": true, - "type": "string", - "var": "$parameters.properties.links[].properties.macSecConfig.sciState", - "options": [ - "macsec-sci-state" - ], - "group": "MACsec", - "help": { - "short": "Sci mode." - }, - "enum": { - "items": [ - { - "name": "Disabled", - "value": "Disabled" - }, - { - "name": "Enabled", - "value": "Enabled" - } - ] - } - } - ] - } - ], - "subresourceSelector": { - "var": "$Subresource", - "ref": "$Instance", - "json": { - "type": "object", - "name": "parameters", - "prop": { - "type": "array", - "name": "properties.links", - "item": { - "type": "object" - }, - "identifiers": [ - { - "type": "string", - "name": "[].name", - "arg": "$parameters.properties.links[].name", - "required": true - } - ] - } - } - }, - "operations": [ - { - "operationId": "ExpressRoutePorts_Get", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "get", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - } - }, - "responses": [ - { - "statusCode": [ - 200 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}" - } - }, - { - "type": "IdentityObject", - "name": "identity", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "principalId" - }, - { - "readOnly": true, - "type": "string", - "name": "tenantId" - }, - { - "type": "string", - "name": "type", - "enum": { - "items": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "SystemAssigned, UserAssigned" - }, - { - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "name": "userAssignedIdentities", - "additionalProps": { - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "clientId" - }, - { - "readOnly": true, - "type": "string", - "name": "principalId" - } - ] - } - } - } - ] - }, - { - "type": "ResourceLocation", - "name": "location" - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "allocationDate" - }, - { - "type": "integer", - "name": "bandwidthInGbps" - }, - { - "readOnly": true, - "type": "array", - "name": "circuits", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "id" - } - ] - } - }, - { - "type": "string", - "name": "encapsulation", - "enum": { - "items": [ - { - "value": "Dot1Q" - }, - { - "value": "QinQ" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "etherType" - }, - { - "type": "array", - "name": "links", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "adminState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "connectorType", - "enum": { - "items": [ - { - "value": "LC" - }, - { - "value": "SC" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "interfaceName" - }, - { - "type": "object", - "name": "macSecConfig", - "props": [ - { - "type": "string", - "name": "cakSecretIdentifier" - }, - { - "type": "string", - "name": "cipher", - "enum": { - "items": [ - { - "value": "GcmAes128" - }, - { - "value": "GcmAes256" - }, - { - "value": "GcmAesXpn128" - }, - { - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "name": "cknSecretIdentifier" - }, - { - "type": "string", - "name": "sciState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "patchPanelId" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "rackId" - }, - { - "readOnly": true, - "type": "string", - "name": "routerName" - } - ], - "clientFlatten": true - } - ] - }, - "identifiers": [ - "name" - ] - }, - { - "readOnly": true, - "type": "string", - "name": "mtu" - }, - { - "type": "string", - "name": "peeringLocation" - }, - { - "readOnly": true, - "type": "float", - "name": "provisionedBandwidthInGbps" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "resourceGuid" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ], - "cls": "ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - }, - { - "instanceUpdate": { - "ref": "$Subresource", - "json": { - "schema": { - "type": "object", - "name": "parameters.properties.links[]", - "required": true, - "props": [ - { - "type": "ResourceId", - "name": "id", - "arg": "$parameters.properties.links[].id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "name": "name", - "arg": "$parameters.properties.links[].name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "adminState", - "arg": "$parameters.properties.links[].properties.adminState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - }, - { - "type": "object", - "name": "macSecConfig", - "props": [ - { - "type": "string", - "name": "cakSecretIdentifier", - "arg": "$parameters.properties.links[].properties.macSecConfig.cakSecretIdentifier" - }, - { - "type": "string", - "name": "cipher", - "arg": "$parameters.properties.links[].properties.macSecConfig.cipher", - "enum": { - "items": [ - { - "value": "GcmAes128" - }, - { - "value": "GcmAes256" - }, - { - "value": "GcmAesXpn128" - }, - { - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "name": "cknSecretIdentifier", - "arg": "$parameters.properties.links[].properties.macSecConfig.cknSecretIdentifier" - }, - { - "type": "string", - "name": "sciState", - "arg": "$parameters.properties.links[].properties.macSecConfig.sciState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - } - ] - } - ], - "clientFlatten": true - } - ] - } - } - } - }, - { - "longRunning": { - "finalStateVia": "azure-async-operation" - }, - "operationId": "ExpressRoutePorts_CreateOrUpdate", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "put", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - }, - "body": { - "json": { - "ref": "$Instance" - } - } - }, - "responses": [ - { - "statusCode": [ - 200, - 201 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "@ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "outputs": [ - { - "type": "object", - "ref": "$Subresource", - "clientFlatten": true - } - ], - "confirmation": "" - }, - { - "name": "delete", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", - "version": "2022-01-01", - "subresource": "properties.links[]", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "argGroups": [ - { - "name": "", - "args": [ - { - "type": "string", - "var": "$Path.expressRoutePortName", - "options": [ - "name" - ], - "required": true, - "group": "", - "idPart": "name", - "help": { - "short": "ExpressRoute port name." - } - }, - { - "type": "ResourceGroupName", - "var": "$Path.resourceGroupName", - "options": [ - "g", - "resource-group" - ], - "required": true, - "idPart": "resource_group" - }, - { - "type": "SubscriptionId", - "var": "$Path.subscriptionId", - "options": [ - "subscription" - ], - "required": true, - "idPart": "subscription" - }, - { - "type": "string", - "var": "$parameters.properties.links[].name", - "options": [ - "link-name" - ], - "required": true, - "help": { - "short": "Name of child port resource that is unique among child port resources of the parent." - } - } - ] - } - ], - "subresourceSelector": { - "var": "$Subresource", - "ref": "$Instance", - "json": { - "type": "object", - "name": "parameters", - "prop": { - "type": "array", - "name": "properties.links", - "item": { - "type": "object" - }, - "identifiers": [ - { - "type": "string", - "name": "[].name", - "arg": "$parameters.properties.links[].name", - "required": true - } - ] - } - } - }, - "operations": [ - { - "operationId": "ExpressRoutePorts_Get", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "get", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - } - }, - "responses": [ - { - "statusCode": [ - 200 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}" - } - }, - { - "type": "IdentityObject", - "name": "identity", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "principalId" - }, - { - "readOnly": true, - "type": "string", - "name": "tenantId" - }, - { - "type": "string", - "name": "type", - "enum": { - "items": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "SystemAssigned, UserAssigned" - }, - { - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "name": "userAssignedIdentities", - "additionalProps": { - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "clientId" - }, - { - "readOnly": true, - "type": "string", - "name": "principalId" - } - ] - } - } - } - ] - }, - { - "type": "ResourceLocation", - "name": "location" - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "allocationDate" - }, - { - "type": "integer", - "name": "bandwidthInGbps" - }, - { - "readOnly": true, - "type": "array", - "name": "circuits", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "id" - } - ] - } - }, - { - "type": "string", - "name": "encapsulation", - "enum": { - "items": [ - { - "value": "Dot1Q" - }, - { - "value": "QinQ" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "etherType" - }, - { - "type": "array", - "name": "links", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "adminState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "connectorType", - "enum": { - "items": [ - { - "value": "LC" - }, - { - "value": "SC" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "interfaceName" - }, - { - "type": "object", - "name": "macSecConfig", - "props": [ - { - "type": "string", - "name": "cakSecretIdentifier" - }, - { - "type": "string", - "name": "cipher", - "enum": { - "items": [ - { - "value": "GcmAes128" - }, - { - "value": "GcmAes256" - }, - { - "value": "GcmAesXpn128" - }, - { - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "name": "cknSecretIdentifier" - }, - { - "type": "string", - "name": "sciState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "patchPanelId" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "rackId" - }, - { - "readOnly": true, - "type": "string", - "name": "routerName" - } - ], - "clientFlatten": true - } - ] - }, - "identifiers": [ - "name" - ] - }, - { - "readOnly": true, - "type": "string", - "name": "mtu" - }, - { - "type": "string", - "name": "peeringLocation" - }, - { - "readOnly": true, - "type": "float", - "name": "provisionedBandwidthInGbps" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "resourceGuid" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ], - "cls": "ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - }, - { - "instanceDelete": { - "ref": "$Subresource", - "json": {} - } - }, - { - "longRunning": { - "finalStateVia": "azure-async-operation" - }, - "operationId": "ExpressRoutePorts_CreateOrUpdate", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "put", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - }, - "body": { - "json": { - "ref": "$Instance" - } - } - }, - "responses": [ - { - "statusCode": [ - 200, - 201 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "@ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "confirmation": "" - }, - { - "name": "show", - "version": "2022-01-01", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", - "version": "2022-01-01", - "subresource": "properties.links[]", - "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ==" - } - ], - "argGroups": [ - { - "name": "", - "args": [ - { - "type": "string", - "var": "$Path.expressRoutePortName", - "options": [ - "port-name" - ], - "required": true, - "group": "", - "idPart": "name", - "help": { - "short": "ExpressRoute port name." - } - }, - { - "type": "ResourceGroupName", - "var": "$Path.resourceGroupName", - "options": [ - "g", - "resource-group" - ], - "required": true, - "idPart": "resource_group" - }, - { - "type": "SubscriptionId", - "var": "$Path.subscriptionId", - "options": [ - "subscription" - ], - "required": true, - "idPart": "subscription" - }, - { - "type": "string", - "var": "$parameters.properties.links[].name", - "options": [ - "n", - "name" - ], - "required": true, - "group": "", - "help": { - "short": "The link name of the ExpressRoute Port." - } - } - ] - } - ], - "subresourceSelector": { - "var": "$Subresource", - "ref": "$Instance", - "json": { - "type": "object", - "name": "parameters", - "prop": { - "type": "array", - "name": "properties.links", - "item": { - "type": "object" - }, - "identifiers": [ - { - "type": "string", - "name": "[].name", - "arg": "$parameters.properties.links[].name", - "required": true - } - ] - } - } - }, - "operations": [ - { - "operationId": "ExpressRoutePorts_Get", - "http": { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", - "request": { - "method": "get", - "path": { - "params": [ - { - "type": "string", - "name": "expressRoutePortName", - "arg": "$Path.expressRoutePortName", - "required": true - }, - { - "type": "string", - "name": "resourceGroupName", - "arg": "$Path.resourceGroupName", - "required": true - }, - { - "type": "string", - "name": "subscriptionId", - "arg": "$Path.subscriptionId", - "required": true - } - ] - }, - "query": { - "consts": [ - { - "readOnly": true, - "const": true, - "default": { - "value": "2022-01-01" - }, - "type": "string", - "name": "api-version", - "required": true - } - ] - } - }, - "responses": [ - { - "statusCode": [ - 200 - ], - "body": { - "json": { - "var": "$Instance", - "schema": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}" - } - }, - { - "type": "IdentityObject", - "name": "identity", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "principalId" - }, - { - "readOnly": true, - "type": "string", - "name": "tenantId" - }, - { - "type": "string", - "name": "type", - "enum": { - "items": [ - { - "value": "None" - }, - { - "value": "SystemAssigned" - }, - { - "value": "SystemAssigned, UserAssigned" - }, - { - "value": "UserAssigned" - } - ] - } - }, - { - "type": "object", - "name": "userAssignedIdentities", - "additionalProps": { - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "clientId" - }, - { - "readOnly": true, - "type": "string", - "name": "principalId" - } - ] - } - } - } - ] - }, - { - "type": "ResourceLocation", - "name": "location" - }, - { - "readOnly": true, - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "allocationDate" - }, - { - "type": "integer", - "name": "bandwidthInGbps" - }, - { - "readOnly": true, - "type": "array", - "name": "circuits", - "item": { - "type": "object", - "props": [ - { - "type": "string", - "name": "id" - } - ] - } - }, - { - "type": "string", - "name": "encapsulation", - "enum": { - "items": [ - { - "value": "Dot1Q" - }, - { - "value": "QinQ" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "etherType" - }, - { - "type": "array", - "name": "links", - "item": { - "type": "object", - "props": [ - { - "readOnly": true, - "type": "string", - "name": "etag" - }, - { - "type": "ResourceId", - "name": "id", - "format": { - "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}" - } - }, - { - "type": "string", - "name": "name" - }, - { - "type": "object", - "name": "properties", - "props": [ - { - "type": "string", - "name": "adminState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "connectorType", - "enum": { - "items": [ - { - "value": "LC" - }, - { - "value": "SC" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "interfaceName" - }, - { - "type": "object", - "name": "macSecConfig", - "props": [ - { - "type": "string", - "name": "cakSecretIdentifier" - }, - { - "type": "string", - "name": "cipher", - "enum": { - "items": [ - { - "value": "GcmAes128" - }, - { - "value": "GcmAes256" - }, - { - "value": "GcmAesXpn128" - }, - { - "value": "GcmAesXpn256" - } - ] - } - }, - { - "type": "string", - "name": "cknSecretIdentifier" - }, - { - "type": "string", - "name": "sciState", - "enum": { - "items": [ - { - "value": "Disabled" - }, - { - "value": "Enabled" - } - ] - } - } - ] - }, - { - "readOnly": true, - "type": "string", - "name": "patchPanelId" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "rackId" - }, - { - "readOnly": true, - "type": "string", - "name": "routerName" - } - ], - "clientFlatten": true - } - ] - }, - "identifiers": [ - "name" - ] - }, - { - "readOnly": true, - "type": "string", - "name": "mtu" - }, - { - "type": "string", - "name": "peeringLocation" - }, - { - "readOnly": true, - "type": "float", - "name": "provisionedBandwidthInGbps" - }, - { - "readOnly": true, - "type": "string", - "name": "provisioningState", - "enum": { - "items": [ - { - "value": "Deleting" - }, - { - "value": "Failed" - }, - { - "value": "Succeeded" - }, - { - "value": "Updating" - } - ] - } - }, - { - "readOnly": true, - "type": "string", - "name": "resourceGuid" - } - ], - "clientFlatten": true - }, - { - "type": "object", - "name": "tags", - "additionalProps": { - "item": { - "type": "string" - } - } - }, - { - "readOnly": true, - "type": "string", - "name": "type" - } - ], - "cls": "ExpressRoutePort_read" - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@ODataV4Format" - } - } - } - } - ] - } - } - ], - "outputs": [ - { - "type": "object", - "ref": "$Subresource", - "clientFlatten": true - } - ], - "confirmation": "" - } - ] - } - ] - } - ] -} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ=="}], "commandGroups": [{"name": "network express-route port", "commands": [{"name": "show", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.expressRoutePortName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "ExpressRoute port name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "ExpressRoutePorts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "allocationDate"}, {"type": "integer", "name": "bandwidthInGbps"}, {"readOnly": true, "type": "array", "name": "circuits", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}, {"type": "string", "name": "encapsulation", "enum": {"items": [{"value": "Dot1Q"}, {"value": "QinQ"}]}}, {"readOnly": true, "type": "string", "name": "etherType"}, {"type": "array", "name": "links", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "connectorType", "enum": {"items": [{"value": "LC"}, {"value": "SC"}]}}, {"readOnly": true, "type": "string", "name": "interfaceName"}, {"type": "object", "name": "macSecConfig", "props": [{"type": "string", "name": "cakSecretIdentifier"}, {"type": "string", "name": "cipher", "enum": {"items": [{"value": "GcmAes128"}, {"value": "GcmAes256"}, {"value": "GcmAesXpn128"}, {"value": "GcmAesXpn256"}]}}, {"type": "string", "name": "cknSecretIdentifier"}, {"type": "string", "name": "sciState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"readOnly": true, "type": "string", "name": "patchPanelId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "rackId"}, {"readOnly": true, "type": "string", "name": "routerName"}], "clientFlatten": true}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "mtu"}, {"type": "string", "name": "peeringLocation"}, {"readOnly": true, "type": "float", "name": "provisionedBandwidthInGbps"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.expressRoutePortName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "ExpressRoute port name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "ExpressRoutePorts_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.expressRoutePortName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "ExpressRoute port name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "", "help": {"short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`."}}, {"type": "integer", "var": "$parameters.properties.bandwidthInGbps", "options": ["bandwidth-in-gbps"], "group": "", "help": {"short": "Bandwidth of the circuit. Usage: INT {Mbps,Gbps}. Defaults to Gbps."}}, {"type": "string", "var": "$parameters.properties.encapsulation", "options": ["encapsulation"], "group": "", "help": {"short": "Encapsulation method on physical ports. Allowed values: Dot1Q, QinQ."}, "enum": {"items": [{"name": "Dot1Q", "value": "Dot1Q"}, {"name": "QinQ", "value": "QinQ"}]}}, {"type": "string", "var": "$parameters.properties.peeringLocation", "options": ["peering-location"], "group": "", "help": {"short": "The name of the peering location that the port is mapped to physically."}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Parameters", "args": [{"type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}"}}, {"type": "object", "var": "$parameters.identity", "options": ["identity"], "hide": true, "group": "Parameters", "help": {"short": "The identity of ExpressRoutePort, if configured."}, "args": [{"type": "string", "var": "$parameters.identity.type", "options": ["type"], "help": {"short": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.links", "options": ["links"], "hide": true, "group": "Properties", "help": {"short": "The set of physical links of the ExpressRoutePort resource."}, "item": {"type": "object", "args": [{"type": "ResourceId", "var": "$parameters.properties.links[].id", "options": ["id"], "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "var": "$parameters.properties.links[].name", "options": ["name"], "help": {"short": "Name of child port resource that is unique among child port resources of the parent."}}, {"type": "string", "var": "$parameters.properties.links[].properties.adminState", "options": ["admin-state"], "group": "Properties", "help": {"short": "Administrative state of the physical port."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "object", "var": "$parameters.properties.links[].properties.macSecConfig", "options": ["mac-sec-config"], "group": "Properties", "help": {"short": "MacSec configuration."}, "args": [{"type": "string", "var": "$parameters.properties.links[].properties.macSecConfig.cakSecretIdentifier", "options": ["cak-secret-identifier"], "help": {"short": "Keyvault Secret Identifier URL containing Mac security CAK key."}}, {"type": "string", "var": "$parameters.properties.links[].properties.macSecConfig.cipher", "options": ["cipher"], "help": {"short": "Mac security cipher."}, "enum": {"items": [{"name": "GcmAes128", "value": "GcmAes128"}, {"name": "GcmAes256", "value": "GcmAes256"}, {"name": "GcmAesXpn128", "value": "GcmAesXpn128"}, {"name": "GcmAesXpn256", "value": "GcmAesXpn256"}]}}, {"type": "string", "var": "$parameters.properties.links[].properties.macSecConfig.cknSecretIdentifier", "options": ["ckn-secret-identifier"], "help": {"short": "Keyvault Secret Identifier URL containing Mac security CKN key."}}, {"type": "string", "var": "$parameters.properties.links[].properties.macSecConfig.sciState", "options": ["sci-state"], "help": {"short": "Sci mode enabled/disabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ExpressRoutePorts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}"}}, {"type": "IdentityObject", "name": "identity", "arg": "$parameters.identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "props": [{"type": "integer", "name": "bandwidthInGbps", "arg": "$parameters.properties.bandwidthInGbps"}, {"type": "string", "name": "encapsulation", "arg": "$parameters.properties.encapsulation", "enum": {"items": [{"value": "Dot1Q"}, {"value": "QinQ"}]}}, {"type": "array", "name": "links", "arg": "$parameters.properties.links", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.properties.links[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.links[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "adminState", "arg": "$parameters.properties.links[].properties.adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "macSecConfig", "arg": "$parameters.properties.links[].properties.macSecConfig", "props": [{"type": "string", "name": "cakSecretIdentifier", "arg": "$parameters.properties.links[].properties.macSecConfig.cakSecretIdentifier"}, {"type": "string", "name": "cipher", "arg": "$parameters.properties.links[].properties.macSecConfig.cipher", "enum": {"items": [{"value": "GcmAes128"}, {"value": "GcmAes256"}, {"value": "GcmAesXpn128"}, {"value": "GcmAesXpn256"}]}}, {"type": "string", "name": "cknSecretIdentifier", "arg": "$parameters.properties.links[].properties.macSecConfig.cknSecretIdentifier"}, {"type": "string", "name": "sciState", "arg": "$parameters.properties.links[].properties.macSecConfig.sciState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}], "clientFlatten": true}]}, "identifiers": ["name"]}, {"type": "string", "name": "peeringLocation", "arg": "$parameters.properties.peeringLocation"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "allocationDate"}, {"type": "integer", "name": "bandwidthInGbps"}, {"readOnly": true, "type": "array", "name": "circuits", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}, {"type": "string", "name": "encapsulation", "enum": {"items": [{"value": "Dot1Q"}, {"value": "QinQ"}]}}, {"readOnly": true, "type": "string", "name": "etherType"}, {"type": "array", "name": "links", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "connectorType", "enum": {"items": [{"value": "LC"}, {"value": "SC"}]}}, {"readOnly": true, "type": "string", "name": "interfaceName"}, {"type": "object", "name": "macSecConfig", "props": [{"type": "string", "name": "cakSecretIdentifier"}, {"type": "string", "name": "cipher", "enum": {"items": [{"value": "GcmAes128"}, {"value": "GcmAes256"}, {"value": "GcmAesXpn128"}, {"value": "GcmAesXpn256"}]}}, {"type": "string", "name": "cknSecretIdentifier"}, {"type": "string", "name": "sciState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"readOnly": true, "type": "string", "name": "patchPanelId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "rackId"}, {"readOnly": true, "type": "string", "name": "routerName"}], "clientFlatten": true}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "mtu"}, {"type": "string", "name": "peeringLocation"}, {"readOnly": true, "type": "float", "name": "provisionedBandwidthInGbps"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.expressRoutePortName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "ExpressRoute port name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"nullable": true, "type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "hide": true, "group": "", "help": {"short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`."}}, {"nullable": true, "type": "integer", "var": "$parameters.properties.bandwidthInGbps", "options": ["bandwidth-in-gbps"], "hide": true, "group": "", "help": {"short": "Bandwidth of the circuit. Usage: INT {Mbps,Gbps}. Defaults to Gbps."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.encapsulation", "options": ["encapsulation"], "hide": true, "group": "", "help": {"short": "Encapsulation method on physical ports. Allowed values: Dot1Q, QinQ."}, "enum": {"items": [{"name": "Dot1Q", "value": "Dot1Q"}, {"name": "QinQ", "value": "QinQ"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.peeringLocation", "options": ["peering-location"], "hide": true, "group": "", "help": {"short": "The name of the peering location that the port is mapped to physically."}}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}"}}, {"nullable": true, "type": "object", "var": "$parameters.identity", "options": ["port-identity"], "hide": true, "group": "Parameters", "help": {"short": "The identity of ExpressRoutePort, if configured."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.identity.type", "options": ["type"], "help": {"short": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.links", "options": ["links"], "hide": true, "group": "Properties", "help": {"short": "The set of physical links of the ExpressRoutePort resource."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "ResourceId", "var": "$parameters.properties.links[].id", "options": ["id"], "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.links[].name", "options": ["name"], "help": {"short": "Name of child port resource that is unique among child port resources of the parent."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.links[].properties.adminState", "options": ["admin-state"], "group": "Properties", "help": {"short": "Enable/Disable administrative state of an ExpressRoute Link. Allowed values: Disabled, Enabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.links[].properties.macSecConfig.cakSecretIdentifier", "options": ["cak-secret-identifier"], "group": "MacSecConfig", "help": {"short": "The connectivity association key (CAK) ID that stored in the KeyVault."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.links[].properties.macSecConfig.cipher", "options": ["cipher"], "group": "MacSecConfig", "help": {"short": "Cipher Method. Allowed values: GcmAes128, GcmAes256, GcmAesXpn128, GcmAesXpn256."}, "enum": {"items": [{"name": "GcmAes128", "value": "GcmAes128"}, {"name": "GcmAes256", "value": "GcmAes256"}, {"name": "GcmAesXpn128", "value": "GcmAesXpn128"}, {"name": "GcmAesXpn256", "value": "GcmAesXpn256"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.links[].properties.macSecConfig.cknSecretIdentifier", "options": ["ckn-secret-identifier"], "group": "MacSecConfig", "help": {"short": "The connectivity key name (CKN) that stored in the KeyVault."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.links[].properties.macSecConfig.sciState", "options": ["sci-state"], "group": "MacSecConfig", "help": {"short": "Sci mode. Allowed values: Disabled, Enabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}}]}], "operations": [{"operationId": "ExpressRoutePorts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "allocationDate"}, {"type": "integer", "name": "bandwidthInGbps"}, {"readOnly": true, "type": "array", "name": "circuits", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}, {"type": "string", "name": "encapsulation", "enum": {"items": [{"value": "Dot1Q"}, {"value": "QinQ"}]}}, {"readOnly": true, "type": "string", "name": "etherType"}, {"type": "array", "name": "links", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "connectorType", "enum": {"items": [{"value": "LC"}, {"value": "SC"}]}}, {"readOnly": true, "type": "string", "name": "interfaceName"}, {"type": "object", "name": "macSecConfig", "props": [{"type": "string", "name": "cakSecretIdentifier"}, {"type": "string", "name": "cipher", "enum": {"items": [{"value": "GcmAes128"}, {"value": "GcmAes256"}, {"value": "GcmAesXpn128"}, {"value": "GcmAesXpn256"}]}}, {"type": "string", "name": "cknSecretIdentifier"}, {"type": "string", "name": "sciState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"readOnly": true, "type": "string", "name": "patchPanelId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "rackId"}, {"readOnly": true, "type": "string", "name": "routerName"}], "clientFlatten": true}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "mtu"}, {"type": "string", "name": "peeringLocation"}, {"readOnly": true, "type": "float", "name": "provisionedBandwidthInGbps"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}"}}, {"type": "IdentityObject", "name": "identity", "arg": "$parameters.identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "props": [{"type": "integer", "name": "bandwidthInGbps", "arg": "$parameters.properties.bandwidthInGbps"}, {"type": "string", "name": "encapsulation", "arg": "$parameters.properties.encapsulation", "enum": {"items": [{"value": "Dot1Q"}, {"value": "QinQ"}]}}, {"type": "array", "name": "links", "arg": "$parameters.properties.links", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.properties.links[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.links[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "adminState", "arg": "$parameters.properties.links[].properties.adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "macSecConfig", "props": [{"type": "string", "name": "cakSecretIdentifier", "arg": "$parameters.properties.links[].properties.macSecConfig.cakSecretIdentifier"}, {"type": "string", "name": "cipher", "arg": "$parameters.properties.links[].properties.macSecConfig.cipher", "enum": {"items": [{"value": "GcmAes128"}, {"value": "GcmAes256"}, {"value": "GcmAesXpn128"}, {"value": "GcmAesXpn256"}]}}, {"type": "string", "name": "cknSecretIdentifier", "arg": "$parameters.properties.links[].properties.macSecConfig.cknSecretIdentifier"}, {"type": "string", "name": "sciState", "arg": "$parameters.properties.links[].properties.macSecConfig.sciState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}], "clientFlatten": true}]}, "identifiers": ["name"]}, {"type": "string", "name": "peeringLocation", "arg": "$parameters.properties.peeringLocation"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ExpressRoutePorts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}], "commandGroups": [{"name": "identity", "commands": [{"name": "assign", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", "version": "2022-01-01", "subresource": "identity", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.expressRoutePortName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "ExpressRoute port name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Identity", "args": [{"type": "string", "var": "$parameters.identity.type", "options": ["type"], "group": "Identity", "help": {"short": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine."}, "default": {"value": "UserAssigned"}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "group": "Identity", "help": {"short": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "ExpressRoutePorts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "allocationDate"}, {"type": "integer", "name": "bandwidthInGbps"}, {"readOnly": true, "type": "array", "name": "circuits", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}, {"type": "string", "name": "encapsulation", "enum": {"items": [{"value": "Dot1Q"}, {"value": "QinQ"}]}}, {"readOnly": true, "type": "string", "name": "etherType"}, {"type": "array", "name": "links", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "connectorType", "enum": {"items": [{"value": "LC"}, {"value": "SC"}]}}, {"readOnly": true, "type": "string", "name": "interfaceName"}, {"type": "object", "name": "macSecConfig", "props": [{"type": "string", "name": "cakSecretIdentifier"}, {"type": "string", "name": "cipher", "enum": {"items": [{"value": "GcmAes128"}, {"value": "GcmAes256"}, {"value": "GcmAesXpn128"}, {"value": "GcmAesXpn256"}]}}, {"type": "string", "name": "cknSecretIdentifier"}, {"type": "string", "name": "sciState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"readOnly": true, "type": "string", "name": "patchPanelId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "rackId"}, {"readOnly": true, "type": "string", "name": "routerName"}], "clientFlatten": true}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "mtu"}, {"type": "string", "name": "peeringLocation"}, {"readOnly": true, "type": "float", "name": "provisionedBandwidthInGbps"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "IdentityObject", "name": "parameters.identity", "required": true, "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ExpressRoutePorts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", "version": "2022-01-01", "subresource": "identity", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.expressRoutePortName", "options": ["name"], "required": true, "group": "", "idPart": "name", "help": {"short": "ExpressRoute port name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters.identity", "args": [{"nullable": true, "type": "string", "var": "$parameters.identity.type", "options": ["type"], "group": "Parameters.identity", "help": {"short": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "group": "Parameters.identity", "help": {"short": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "ExpressRoutePorts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "allocationDate"}, {"type": "integer", "name": "bandwidthInGbps"}, {"readOnly": true, "type": "array", "name": "circuits", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}, {"type": "string", "name": "encapsulation", "enum": {"items": [{"value": "Dot1Q"}, {"value": "QinQ"}]}}, {"readOnly": true, "type": "string", "name": "etherType"}, {"type": "array", "name": "links", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "connectorType", "enum": {"items": [{"value": "LC"}, {"value": "SC"}]}}, {"readOnly": true, "type": "string", "name": "interfaceName"}, {"type": "object", "name": "macSecConfig", "props": [{"type": "string", "name": "cakSecretIdentifier"}, {"type": "string", "name": "cipher", "enum": {"items": [{"value": "GcmAes128"}, {"value": "GcmAes256"}, {"value": "GcmAesXpn128"}, {"value": "GcmAesXpn256"}]}}, {"type": "string", "name": "cknSecretIdentifier"}, {"type": "string", "name": "sciState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"readOnly": true, "type": "string", "name": "patchPanelId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "rackId"}, {"readOnly": true, "type": "string", "name": "routerName"}], "clientFlatten": true}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "mtu"}, {"type": "string", "name": "peeringLocation"}, {"readOnly": true, "type": "float", "name": "provisionedBandwidthInGbps"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "IdentityObject", "name": "parameters.identity", "required": true, "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ExpressRoutePorts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "remove", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", "version": "2022-01-01", "subresource": "identity", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.expressRoutePortName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "ExpressRoute port name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "ExpressRoutePorts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "allocationDate"}, {"type": "integer", "name": "bandwidthInGbps"}, {"readOnly": true, "type": "array", "name": "circuits", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}, {"type": "string", "name": "encapsulation", "enum": {"items": [{"value": "Dot1Q"}, {"value": "QinQ"}]}}, {"readOnly": true, "type": "string", "name": "etherType"}, {"type": "array", "name": "links", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "connectorType", "enum": {"items": [{"value": "LC"}, {"value": "SC"}]}}, {"readOnly": true, "type": "string", "name": "interfaceName"}, {"type": "object", "name": "macSecConfig", "props": [{"type": "string", "name": "cakSecretIdentifier"}, {"type": "string", "name": "cipher", "enum": {"items": [{"value": "GcmAes128"}, {"value": "GcmAes256"}, {"value": "GcmAesXpn128"}, {"value": "GcmAesXpn256"}]}}, {"type": "string", "name": "cknSecretIdentifier"}, {"type": "string", "name": "sciState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"readOnly": true, "type": "string", "name": "patchPanelId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "rackId"}, {"readOnly": true, "type": "string", "name": "routerName"}], "clientFlatten": true}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "mtu"}, {"type": "string", "name": "peeringLocation"}, {"readOnly": true, "type": "float", "name": "provisionedBandwidthInGbps"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ExpressRoutePorts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "show", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", "version": "2022-01-01", "subresource": "identity", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.expressRoutePortName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "ExpressRoute port name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "ExpressRoutePorts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "allocationDate"}, {"type": "integer", "name": "bandwidthInGbps"}, {"readOnly": true, "type": "array", "name": "circuits", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}, {"type": "string", "name": "encapsulation", "enum": {"items": [{"value": "Dot1Q"}, {"value": "QinQ"}]}}, {"readOnly": true, "type": "string", "name": "etherType"}, {"type": "array", "name": "links", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "connectorType", "enum": {"items": [{"value": "LC"}, {"value": "SC"}]}}, {"readOnly": true, "type": "string", "name": "interfaceName"}, {"type": "object", "name": "macSecConfig", "props": [{"type": "string", "name": "cakSecretIdentifier"}, {"type": "string", "name": "cipher", "enum": {"items": [{"value": "GcmAes128"}, {"value": "GcmAes256"}, {"value": "GcmAesXpn128"}, {"value": "GcmAesXpn256"}]}}, {"type": "string", "name": "cknSecretIdentifier"}, {"type": "string", "name": "sciState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"readOnly": true, "type": "string", "name": "patchPanelId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "rackId"}, {"readOnly": true, "type": "string", "name": "routerName"}], "clientFlatten": true}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "mtu"}, {"type": "string", "name": "peeringLocation"}, {"readOnly": true, "type": "float", "name": "provisionedBandwidthInGbps"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}, {"name": "link", "commands": [{"name": "list", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", "version": "2022-01-01", "subresource": "properties.links", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.expressRoutePortName", "options": ["port-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "ExpressRoute port name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.links"}}}, "operations": [{"operationId": "ExpressRoutePorts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "allocationDate"}, {"type": "integer", "name": "bandwidthInGbps"}, {"readOnly": true, "type": "array", "name": "circuits", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}, {"type": "string", "name": "encapsulation", "enum": {"items": [{"value": "Dot1Q"}, {"value": "QinQ"}]}}, {"readOnly": true, "type": "string", "name": "etherType"}, {"type": "array", "name": "links", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "connectorType", "enum": {"items": [{"value": "LC"}, {"value": "SC"}]}}, {"readOnly": true, "type": "string", "name": "interfaceName"}, {"type": "object", "name": "macSecConfig", "props": [{"type": "string", "name": "cakSecretIdentifier"}, {"type": "string", "name": "cipher", "enum": {"items": [{"value": "GcmAes128"}, {"value": "GcmAes256"}, {"value": "GcmAesXpn128"}, {"value": "GcmAesXpn256"}]}}, {"type": "string", "name": "cknSecretIdentifier"}, {"type": "string", "name": "sciState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"readOnly": true, "type": "string", "name": "patchPanelId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "rackId"}, {"readOnly": true, "type": "string", "name": "routerName"}], "clientFlatten": true}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "mtu"}, {"type": "string", "name": "peeringLocation"}, {"readOnly": true, "type": "float", "name": "provisionedBandwidthInGbps"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "create", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", "version": "2022-01-01", "subresource": "properties.links[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.expressRoutePortName", "options": ["name"], "required": true, "group": "", "idPart": "name", "help": {"short": "ExpressRoute port name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$parameters.properties.links[].name", "options": ["link-name"], "required": true, "help": {"short": "Name of child port resource that is unique among child port resources of the parent."}}]}, {"name": "MacSecConfig", "args": [{"type": "string", "var": "$parameters.properties.links[].properties.macSecConfig.cakSecretIdentifier", "options": ["macsec-cak-secret-identifier"], "group": "MacSecConfig", "help": {"short": "The connectivity association key (CAK) ID that stored in the KeyVault."}}, {"type": "string", "var": "$parameters.properties.links[].properties.macSecConfig.cipher", "options": ["macsec-cipher"], "group": "MacSecConfig", "help": {"short": "Cipher Method. Allowed values: GcmAes128, GcmAes256, GcmAesXpn128, GcmAesXpn256."}, "enum": {"items": [{"name": "GcmAes128", "value": "GcmAes128"}, {"name": "GcmAes256", "value": "GcmAes256"}, {"name": "GcmAesXpn128", "value": "GcmAesXpn128"}, {"name": "GcmAesXpn256", "value": "GcmAesXpn256"}]}}, {"type": "string", "var": "$parameters.properties.links[].properties.macSecConfig.cknSecretIdentifier", "options": ["macsec-ckn-secret-identifier"], "group": "MacSecConfig", "help": {"short": "The connectivity key name (CKN) that stored in the KeyVault."}}, {"type": "string", "var": "$parameters.properties.links[].properties.macSecConfig.sciState", "options": ["macsec-sci-state"], "group": "MacSecConfig", "help": {"short": "Sci mode. Allowed values: Disabled, Enabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "Parameters.properties.links[]", "args": [{"type": "ResourceId", "var": "$parameters.properties.links[].id", "options": ["id"], "group": "Parameters.properties.links[]", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.links[].properties.adminState", "options": ["admin-state"], "group": "Properties", "help": {"short": "Enable/Disable administrative state of an ExpressRoute Link. Allowed values: Disabled, Enabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.links", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.links[].name", "required": true}]}}}, "operations": [{"operationId": "ExpressRoutePorts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "allocationDate"}, {"type": "integer", "name": "bandwidthInGbps"}, {"readOnly": true, "type": "array", "name": "circuits", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}, {"type": "string", "name": "encapsulation", "enum": {"items": [{"value": "Dot1Q"}, {"value": "QinQ"}]}}, {"readOnly": true, "type": "string", "name": "etherType"}, {"type": "array", "name": "links", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "connectorType", "enum": {"items": [{"value": "LC"}, {"value": "SC"}]}}, {"readOnly": true, "type": "string", "name": "interfaceName"}, {"type": "object", "name": "macSecConfig", "props": [{"type": "string", "name": "cakSecretIdentifier"}, {"type": "string", "name": "cipher", "enum": {"items": [{"value": "GcmAes128"}, {"value": "GcmAes256"}, {"value": "GcmAesXpn128"}, {"value": "GcmAesXpn256"}]}}, {"type": "string", "name": "cknSecretIdentifier"}, {"type": "string", "name": "sciState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"readOnly": true, "type": "string", "name": "patchPanelId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "rackId"}, {"readOnly": true, "type": "string", "name": "routerName"}], "clientFlatten": true}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "mtu"}, {"type": "string", "name": "peeringLocation"}, {"readOnly": true, "type": "float", "name": "provisionedBandwidthInGbps"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.links[]", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.properties.links[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.links[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "adminState", "arg": "$parameters.properties.links[].properties.adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "macSecConfig", "props": [{"type": "string", "name": "cakSecretIdentifier", "arg": "$parameters.properties.links[].properties.macSecConfig.cakSecretIdentifier"}, {"type": "string", "name": "cipher", "arg": "$parameters.properties.links[].properties.macSecConfig.cipher", "enum": {"items": [{"value": "GcmAes128"}, {"value": "GcmAes256"}, {"value": "GcmAesXpn128"}, {"value": "GcmAesXpn256"}]}}, {"type": "string", "name": "cknSecretIdentifier", "arg": "$parameters.properties.links[].properties.macSecConfig.cknSecretIdentifier"}, {"type": "string", "name": "sciState", "arg": "$parameters.properties.links[].properties.macSecConfig.sciState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}], "clientFlatten": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ExpressRoutePorts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", "version": "2022-01-01", "subresource": "properties.links[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.expressRoutePortName", "options": ["port-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "ExpressRoute port name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"nullable": true, "type": "ResourceId", "var": "$parameters.properties.links[].id", "options": ["ids"], "group": "", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "var": "$parameters.properties.links[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "The link name of the ExpressRoute Port."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.links[].properties.adminState", "options": ["admin-state"], "group": "", "help": {"short": "Enable/Disable administrative state of an ExpressRoute Link."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "MACsec", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.links[].properties.macSecConfig.cakSecretIdentifier", "options": ["macsec-cak-secret-identifier"], "group": "MACsec", "help": {"short": "The connectivity association key (CAK) ID that stored in the KeyVault."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.links[].properties.macSecConfig.cipher", "options": ["macsec-cipher"], "group": "MACsec", "help": {"short": "Cipher Method."}, "enum": {"items": [{"name": "GcmAes128", "value": "GcmAes128"}, {"name": "GcmAes256", "value": "GcmAes256"}, {"name": "GcmAesXpn128", "value": "GcmAesXpn128"}, {"name": "GcmAesXpn256", "value": "GcmAesXpn256"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.links[].properties.macSecConfig.cknSecretIdentifier", "options": ["macsec-ckn-secret-identifier"], "group": "MACsec", "help": {"short": "The connectivity key name (CKN) that stored in the KeyVault."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.links[].properties.macSecConfig.sciState", "options": ["macsec-sci-state"], "group": "MACsec", "help": {"short": "Sci mode."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.links", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.links[].name", "required": true}]}}}, "operations": [{"operationId": "ExpressRoutePorts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "allocationDate"}, {"type": "integer", "name": "bandwidthInGbps"}, {"readOnly": true, "type": "array", "name": "circuits", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}, {"type": "string", "name": "encapsulation", "enum": {"items": [{"value": "Dot1Q"}, {"value": "QinQ"}]}}, {"readOnly": true, "type": "string", "name": "etherType"}, {"type": "array", "name": "links", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "connectorType", "enum": {"items": [{"value": "LC"}, {"value": "SC"}]}}, {"readOnly": true, "type": "string", "name": "interfaceName"}, {"type": "object", "name": "macSecConfig", "props": [{"type": "string", "name": "cakSecretIdentifier"}, {"type": "string", "name": "cipher", "enum": {"items": [{"value": "GcmAes128"}, {"value": "GcmAes256"}, {"value": "GcmAesXpn128"}, {"value": "GcmAesXpn256"}]}}, {"type": "string", "name": "cknSecretIdentifier"}, {"type": "string", "name": "sciState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"readOnly": true, "type": "string", "name": "patchPanelId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "rackId"}, {"readOnly": true, "type": "string", "name": "routerName"}], "clientFlatten": true}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "mtu"}, {"type": "string", "name": "peeringLocation"}, {"readOnly": true, "type": "float", "name": "provisionedBandwidthInGbps"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.links[]", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.properties.links[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.links[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "adminState", "arg": "$parameters.properties.links[].properties.adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "macSecConfig", "props": [{"type": "string", "name": "cakSecretIdentifier", "arg": "$parameters.properties.links[].properties.macSecConfig.cakSecretIdentifier"}, {"type": "string", "name": "cipher", "arg": "$parameters.properties.links[].properties.macSecConfig.cipher", "enum": {"items": [{"value": "GcmAes128"}, {"value": "GcmAes256"}, {"value": "GcmAesXpn128"}, {"value": "GcmAesXpn256"}]}}, {"type": "string", "name": "cknSecretIdentifier", "arg": "$parameters.properties.links[].properties.macSecConfig.cknSecretIdentifier"}, {"type": "string", "name": "sciState", "arg": "$parameters.properties.links[].properties.macSecConfig.sciState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}], "clientFlatten": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ExpressRoutePorts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", "version": "2022-01-01", "subresource": "properties.links[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.expressRoutePortName", "options": ["name"], "required": true, "group": "", "idPart": "name", "help": {"short": "ExpressRoute port name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$parameters.properties.links[].name", "options": ["link-name"], "required": true, "help": {"short": "Name of child port resource that is unique among child port resources of the parent."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.links", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.links[].name", "required": true}]}}}, "operations": [{"operationId": "ExpressRoutePorts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "allocationDate"}, {"type": "integer", "name": "bandwidthInGbps"}, {"readOnly": true, "type": "array", "name": "circuits", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}, {"type": "string", "name": "encapsulation", "enum": {"items": [{"value": "Dot1Q"}, {"value": "QinQ"}]}}, {"readOnly": true, "type": "string", "name": "etherType"}, {"type": "array", "name": "links", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "connectorType", "enum": {"items": [{"value": "LC"}, {"value": "SC"}]}}, {"readOnly": true, "type": "string", "name": "interfaceName"}, {"type": "object", "name": "macSecConfig", "props": [{"type": "string", "name": "cakSecretIdentifier"}, {"type": "string", "name": "cipher", "enum": {"items": [{"value": "GcmAes128"}, {"value": "GcmAes256"}, {"value": "GcmAesXpn128"}, {"value": "GcmAesXpn256"}]}}, {"type": "string", "name": "cknSecretIdentifier"}, {"type": "string", "name": "sciState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"readOnly": true, "type": "string", "name": "patchPanelId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "rackId"}, {"readOnly": true, "type": "string", "name": "routerName"}], "clientFlatten": true}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "mtu"}, {"type": "string", "name": "peeringLocation"}, {"readOnly": true, "type": "float", "name": "provisionedBandwidthInGbps"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ExpressRoutePorts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "show", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/expressrouteports/{}", "version": "2022-01-01", "subresource": "properties.links[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9FeHByZXNzUm91dGVQb3J0cy97ZXhwcmVzc1JvdXRlUG9ydE5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.expressRoutePortName", "options": ["port-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "ExpressRoute port name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$parameters.properties.links[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "The link name of the ExpressRoute Port."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.links", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.links[].name", "required": true}]}}}, "operations": [{"operationId": "ExpressRoutePorts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "expressRoutePortName", "arg": "$Path.expressRoutePortName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "allocationDate"}, {"type": "integer", "name": "bandwidthInGbps"}, {"readOnly": true, "type": "array", "name": "circuits", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}, {"type": "string", "name": "encapsulation", "enum": {"items": [{"value": "Dot1Q"}, {"value": "QinQ"}]}}, {"readOnly": true, "type": "string", "name": "etherType"}, {"type": "array", "name": "links", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ExpressRoutePorts/{}/links/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "connectorType", "enum": {"items": [{"value": "LC"}, {"value": "SC"}]}}, {"readOnly": true, "type": "string", "name": "interfaceName"}, {"type": "object", "name": "macSecConfig", "props": [{"type": "string", "name": "cakSecretIdentifier"}, {"type": "string", "name": "cipher", "enum": {"items": [{"value": "GcmAes128"}, {"value": "GcmAes256"}, {"value": "GcmAesXpn128"}, {"value": "GcmAesXpn256"}]}}, {"type": "string", "name": "cknSecretIdentifier"}, {"type": "string", "name": "sciState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"readOnly": true, "type": "string", "name": "patchPanelId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "rackId"}, {"readOnly": true, "type": "string", "name": "routerName"}], "clientFlatten": true}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "string", "name": "mtu"}, {"type": "string", "name": "peeringLocation"}, {"readOnly": true, "type": "float", "name": "provisionedBandwidthInGbps"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ExpressRoutePort_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZXBvcnRzL3t9/2022-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZXBvcnRzL3t9/2022-01-01.xml index 3b7221447..98a1a020b 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZXBvcnRzL3t9/2022-01-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2V4cHJlc3Nyb3V0ZXBvcnRzL3t9/2022-01-01.xml @@ -157,7 +157,7 @@ - + @@ -875,18 +875,19 @@ - + - + - - + + + @@ -894,10 +895,10 @@ - + - + @@ -1053,7 +1054,7 @@ - + @@ -1071,7 +1072,7 @@ - + @@ -1109,15 +1110,34 @@ - + - + + + + + + + + + + + + + + + + + + + + @@ -1267,9 +1287,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -1278,26 +1353,6 @@ - - - - - - - - - - - - - - - - - - - - @@ -1448,25 +1503,9 @@ - - - - - - - - - - - - - - - - - - - + + + @@ -1502,9 +1541,8 @@ - - + @@ -1662,45 +1700,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +