UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 75.3 kB
{"openapi":"3.0.0","info":{"description":"APIs to manage Peering resources through the Azure Resource Manager.","title":"PeeringManagementClient","version":"2019-07-01-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/peering/resource-manager/Microsoft.Peering/preview/2019-07-01-preview/peering.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"peering","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/providers/Microsoft.Peering/operations":{"get":{"description":"Lists all of the available API operations for peering resources.","operationId":"Operations_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationListResult"},"examples":{"List peering operations":{"$ref":"#/components/examples/List_peering_operations"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Operations"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Peering/CheckServiceProviderAvailability":{"post":{"description":"Checks if the peering service provider is present within 1000 distance of customer's location","operationId":"CheckServiceProviderAvailability","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckServiceProviderAvailabilityInput"}}},"description":"The CheckServiceProviderAvailabilityInput.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"enum":["Available","UnAvailable"],"type":"string"},"examples":{"Check if peering service provider is available in customer location":{"$ref":"#/components/examples/Check_if_peering_service_provider_is_available_in_customer_location"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["CheckServiceProviderAvailability"]}},"/subscriptions/{subscriptionId}/providers/Microsoft.Peering/legacyPeerings":{"get":{"description":"Lists all of the legacy peerings under the given subscription matching the specified kind and location.","operationId":"LegacyPeerings_List","parameters":[{"description":"The location of the peering.","in":"query","name":"peeringLocation","required":true,"schema":{"type":"string"},"examples":{"List legacy peerings":{"value":"peeringLocation0"}}},{"description":"The kind of the peering.","in":"query","name":"kind","required":true,"schema":{"type":"string","enum":["Direct","Exchange"]},"examples":{"List legacy peerings":{"value":"Exchange"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringListResult"},"examples":{"List legacy peerings":{"$ref":"#/components/examples/List_legacy_peerings"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["LegacyPeerings"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peerAsns":{"get":{"description":"Lists all of the peer ASNs under the given subscription.","operationId":"PeerAsns_ListBySubscription","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeerAsnListResult"},"examples":{"List peer ASNs in a subscription":{"$ref":"#/components/examples/List_peer_ASNs_in_a_subscription"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeerAsns"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peerAsns/{peerAsnName}":{"delete":{"description":"Deletes an existing peer ASN with the specified name under the given subscription.","operationId":"PeerAsns_Delete","parameters":[{"description":"The peer ASN name.","in":"path","name":"peerAsnName","required":true,"schema":{"type":"string"},"examples":{"Delete a peer ASN":{"value":"peerAsnName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK"},"204":{"description":"No Content"},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeerAsns"]},"get":{"description":"Gets the peer ASN with the specified name under the given subscription.","operationId":"PeerAsns_Get","parameters":[{"description":"The peer ASN name.","in":"path","name":"peerAsnName","required":true,"schema":{"type":"string"},"examples":{"Get a peer ASN":{"value":"peerAsnName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeerAsn"},"examples":{"Get a peer ASN":{"$ref":"#/components/examples/Get_a_peer_ASN"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeerAsns"]},"put":{"description":"Creates a new peer ASN or updates an existing peer ASN with the specified name under the given subscription.","operationId":"PeerAsns_CreateOrUpdate","parameters":[{"description":"The peer ASN name.","in":"path","name":"peerAsnName","required":true,"schema":{"type":"string"},"examples":{"Create a peer ASN":{"value":"peerAsnName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeerAsn"}}},"description":"The peer ASN.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeerAsn"},"examples":{"Create a peer ASN":{"$ref":"#/components/examples/Create_a_peer_ASN"}}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeerAsn"},"examples":{"Create a peer ASN":{"$ref":"#/components/examples/Create_a_peer_ASN"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeerAsns"]}},"/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringLocations":{"get":{"description":"Lists all of the available peering locations for the specified kind of peering.","operationId":"PeeringLocations_List","parameters":[{"description":"The kind of the peering.","in":"query","name":"kind","required":true,"schema":{"type":"string","enum":["Direct","Exchange"]},"examples":{"List direct peering locations":{"value":"Direct"},"List exchange peering locations":{"value":"Exchange"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringLocationListResult"},"examples":{"List direct peering locations":{"$ref":"#/components/examples/List_direct_peering_locations"},"List exchange peering locations":{"$ref":"#/components/examples/List_exchange_peering_locations"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeeringLocations"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServiceLocations":{"get":{"description":"Lists all of the available peering service locations for the specified kind of peering.","operationId":"PeeringServiceLocations_List","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringServiceLocationListResult"},"examples":{"List peering service locations":{"$ref":"#/components/examples/List_peering_service_locations"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeeringServiceLocations"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServiceProviders":{"get":{"description":"Lists all of the available peering service locations for the specified kind of peering.","operationId":"PeeringServiceProviders_List","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringServiceProviderListResult"},"examples":{"List peering service providers":{"$ref":"#/components/examples/List_peering_service_providers"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeeringServiceProviders"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServices":{"get":{"description":"Lists all of the peerings under the given subscription.","operationId":"PeeringServices_ListBySubscription","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringServiceListResult"},"examples":{"List peering services in a subscription":{"$ref":"#/components/examples/List_peering_services_in_a_subscription"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeeringServices"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peerings":{"get":{"description":"Lists all of the peerings under the given subscription.","operationId":"Peerings_ListBySubscription","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringListResult"},"examples":{"List peerings in a subscription":{"$ref":"#/components/examples/List_peerings_in_a_subscription"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Peerings"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices":{"get":{"description":"Lists all of the peering services under the given subscription and resource group.","operationId":"PeeringServices_ListByResourceGroup","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"List peering services in a resource group":{"value":"rgName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringServiceListResult"},"examples":{"List peering services in a resource group":{"$ref":"#/components/examples/List_peering_services_in_a_resource_group"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeeringServices"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}":{"delete":{"description":"Deletes an existing peering service with the specified name under the given subscription and resource group.","operationId":"PeeringServices_Delete","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Delete a peering service":{"value":"rgName"}}},{"description":"The name of the peering service.","in":"path","name":"peeringServiceName","required":true,"schema":{"type":"string"},"examples":{"Delete a peering service":{"value":"peeringServiceName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK"},"204":{"description":"NoContent"},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeeringServices"]},"get":{"description":"Gets an existing peering service with the specified name under the given subscription and resource group.","operationId":"PeeringServices_Get","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Get a peering service":{"value":"rgName"}}},{"description":"The name of the peering.","in":"path","name":"peeringServiceName","required":true,"schema":{"type":"string"},"examples":{"Get a peering service":{"value":"peeringServiceName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringService"},"examples":{"Get a peering service":{"$ref":"#/components/examples/Get_a_peering_service"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeeringServices"]},"patch":{"description":"Updates tags for a peering service with the specified name under the given subscription and resource group.","operationId":"PeeringServices_Update","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Update peering service tags":{"value":"rgName"}}},{"description":"The name of the peering service.","in":"path","name":"peeringServiceName","required":true,"schema":{"type":"string"},"examples":{"Update peering service tags":{"value":"peeringServiceName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"$ref":"#/components/requestBodies/ResourceTags"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringService"},"examples":{"Update peering service tags":{"$ref":"#/components/examples/Update_peering_service_tags"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeeringServices"]},"put":{"description":"Creates a new peering service or updates an existing peering with the specified name under the given subscription and resource group.","operationId":"PeeringServices_CreateOrUpdate","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Create a peering service":{"value":"rgName"}}},{"description":"The name of the peering service.","in":"path","name":"peeringServiceName","required":true,"schema":{"type":"string"},"examples":{"Create a peering service":{"value":"peeringServiceName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringService"}}},"description":"The properties needed to create or update a peering service.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringService"},"examples":{"Create a peering service":{"$ref":"#/components/examples/Create_a_peering_service"}}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringService"},"examples":{"Create a peering service":{"$ref":"#/components/examples/Create_a_peering_service"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeeringServices"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}/prefixes":{"get":{"description":"Lists the peerings prefix in the resource group.","operationId":"Prefixes_ListByPeeringService","parameters":[{"description":"The resource group name.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"List all the prefixes associated with the peering service":{"value":"rgName"}}},{"description":"The peering service name.","in":"path","name":"peeringServiceName","required":true,"schema":{"type":"string"},"examples":{"List all the prefixes associated with the peering service":{"value":"peeringServiceName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringServicePrefixListResult"},"examples":{"List all the prefixes associated with the peering service":{"$ref":"#/components/examples/List_all_the_prefixes_associated_with_the_peering_service"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeeringServicePrefixes"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}/prefixes/{prefixName}":{"delete":{"description":"removes the peering prefix.","operationId":"PeeringServicePrefixes_Delete","parameters":[{"description":"The resource group name.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Delete a prefix associated with the peering service":{"value":"rgName"}}},{"description":"The peering service name.","in":"path","name":"peeringServiceName","required":true,"schema":{"type":"string"},"examples":{"Delete a prefix associated with the peering service":{"value":"peeringServiceName"}}},{"description":"The prefix name","in":"path","name":"prefixName","required":true,"schema":{"type":"string"},"examples":{"Delete a prefix associated with the peering service":{"value":"peeringServicePrefixName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK"},"204":{"description":"NoContent"},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeeringServicePrefixes"]},"get":{"description":"Gets the peering service prefix.","operationId":"PeeringServicePrefixes_Get","parameters":[{"description":"The resource group name.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Get a prefix associated with the peering service":{"value":"rgName"}}},{"description":"The peering service name.","in":"path","name":"peeringServiceName","required":true,"schema":{"type":"string"},"examples":{"Get a prefix associated with the peering service":{"value":"peeringServiceName"}}},{"description":"The prefix name.","in":"path","name":"prefixName","required":true,"schema":{"type":"string"},"examples":{"Get a prefix associated with the peering service":{"value":"peeringServicePrefixName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringServicePrefix"},"examples":{"Get a prefix associated with the peering service":{"$ref":"#/components/examples/Get_a_prefix_associated_with_the_peering_service"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeeringServicePrefixes"]},"put":{"description":"Creates or updates the peering prefix.","operationId":"PeeringServicePrefixes_CreateOrUpdate","parameters":[{"description":"The resource group name.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Create or update a prefix for the peering service":{"value":"rgName"}}},{"description":"The peering service name.","in":"path","name":"peeringServiceName","required":true,"schema":{"type":"string"},"examples":{"Create or update a prefix for the peering service":{"value":"peeringServiceName"}}},{"description":"The prefix name","in":"path","name":"prefixName","required":true,"schema":{"type":"string"},"examples":{"Create or update a prefix for the peering service":{"value":"peeringServicePrefixName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringServicePrefix"}}},"description":"The IP prefix for an peering","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringServicePrefix"},"examples":{"Create or update a prefix for the peering service":{"$ref":"#/components/examples/Create_or_update_a_prefix_for_the_peering_service"}}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringServicePrefix"},"examples":{"Create or update a prefix for the peering service":{"$ref":"#/components/examples/Create_or_update_a_prefix_for_the_peering_service"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["PeeringServicePrefixes"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings":{"get":{"description":"Lists all of the peerings under the given subscription and resource group.","operationId":"Peerings_ListByResourceGroup","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"List peerings in a resource group":{"value":"rgName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeeringListResult"},"examples":{"List peerings in a resource group":{"$ref":"#/components/examples/List_peerings_in_a_resource_group"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Peerings"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peerings/{peeringName}":{"delete":{"description":"Deletes an existing peering with the specified name under the given subscription and resource group.","operationId":"Peerings_Delete","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Delete a peering":{"value":"rgName"}}},{"description":"The name of the peering.","in":"path","name":"peeringName","required":true,"schema":{"type":"string"},"examples":{"Delete a peering":{"value":"peeringName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK"},"204":{"description":"NoContent"},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Peerings"]},"get":{"description":"Gets an existing peering with the specified name under the given subscription and resource group.","operationId":"Peerings_Get","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Get a peering":{"value":"rgName"}}},{"description":"The name of the peering.","in":"path","name":"peeringName","required":true,"schema":{"type":"string"},"examples":{"Get a peering":{"value":"peeringName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Peering"},"examples":{"Get a peering":{"$ref":"#/components/examples/Get_a_peering"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Peerings"]},"patch":{"description":"Updates tags for a peering with the specified name under the given subscription and resource group.","operationId":"Peerings_Update","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Update peering tags":{"value":"rgName"}}},{"description":"The name of the peering.","in":"path","name":"peeringName","required":true,"schema":{"type":"string"},"examples":{"Update peering tags":{"value":"peeringName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"$ref":"#/components/requestBodies/ResourceTags"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Peering"},"examples":{"Update peering tags":{"$ref":"#/components/examples/Update_peering_tags"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Peerings"]},"put":{"description":"Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.","operationId":"Peerings_CreateOrUpdate","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Create a direct peering":{"value":"rgName"},"Create an exchange peering":{"value":"rgName"}}},{"description":"The name of the peering.","in":"path","name":"peeringName","required":true,"schema":{"type":"string"},"examples":{"Create a direct peering":{"value":"peeringName"},"Create an exchange peering":{"value":"peeringName"}}},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Peering"}}},"description":"The properties needed to create or update a peering.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Peering"},"examples":{"Create a direct peering":{"$ref":"#/components/examples/Create_a_direct_peering"},"Create an exchange peering":{"$ref":"#/components/examples/Create_an_exchange_peering"}}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Peering"},"examples":{"Create a direct peering":{"$ref":"#/components/examples/Create_a_direct_peering"},"Create an exchange peering":{"$ref":"#/components/examples/Create_an_exchange_peering"}}}}},"default":{"description":"Error response describing why the operation has failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Peerings"]}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"List_peering_operations":{"value":{"value":[{"display":{"description":"Registers the subscription for the Peering Resource Provider and enables the creation of peerings","operation":"Registers the Peering Resource Provider","provider":"Microsoft.Peering","resource":"Peering Resource Provider"},"isDataAction":false,"name":"Microsoft.Peering/register/action"},{"display":{"description":"Write any peerAsns","operation":"Write PeerAsn","provider":"Microsoft.Peering","resource":"peerAsns"},"isDataAction":false,"name":"Microsoft.Peering/peerAsns/write"},{"display":{"description":"Read any peerAsns","operation":"Read PeerAsn","provider":"Microsoft.Peering","resource":"peerAsns"},"isDataAction":false,"name":"Microsoft.Peering/peerAsns/read"},{"display":{"description":"Delete any peerAsns","operation":"Delete PeerAsn","provider":"Microsoft.Peering","resource":"peerAsns"},"isDataAction":false,"name":"Microsoft.Peering/peerAsns/delete"},{"display":{"description":"Read any peeringLocations","operation":"Read PeeringLocation","provider":"Microsoft.Peering","resource":"peeringLocations"},"isDataAction":false,"name":"Microsoft.Peering/peeringLocations/read"},{"display":{"description":"Read any legacyPeerings","operation":"Read LegacyPeering","provider":"Microsoft.Peering","resource":"legacyPeerings"},"isDataAction":false,"name":"Microsoft.Peering/legacyPeerings/read"},{"display":{"description":"Write any peerings","operation":"Write Peering","provider":"Microsoft.Peering","resource":"peerings"},"isDataAction":false,"name":"Microsoft.Peering/peerings/write"},{"display":{"description":"Read any peerings","operation":"Read Peering","provider":"Microsoft.Peering","resource":"peerings"},"isDataAction":false,"name":"Microsoft.Peering/peerings/read"},{"display":{"description":"Delete any peerings","operation":"Delete Peering","provider":"Microsoft.Peering","resource":"peerings"},"isDataAction":false,"name":"Microsoft.Peering/peerings/delete"},{"display":{"description":"Read any peeringServiceLocations","operation":"Read PeeringServiceLocations","provider":"Microsoft.Peering","resource":"peeringServiceLocations"},"isDataAction":false,"name":"Microsoft.Peering/peeringServiceLocations/read"},{"display":{"description":"Read any peeringServiceProviders","operation":"Read PeeringServiceProviders","provider":"Microsoft.Peering","resource":"peeringServiceProviders"},"isDataAction":false,"name":"Microsoft.Peering/peeringServiceProviders/read"},{"display":{"description":"Read any peeringServices","operation":"Read PeeringServices","provider":"Microsoft.Peering","resource":"peeringServices"},"isDataAction":false,"name":"Microsoft.Peering/peeringServices/read"},{"display":{"description":"Write any peeringServices","operation":"Write PeeringService","provider":"Microsoft.Peering","resource":"peeringServices"},"isDataAction":false,"name":"Microsoft.Peering/peeringServices/write"},{"display":{"description":"Delete any peeringServices","operation":"Delete PeeringServices","provider":"Microsoft.Peering","resource":"peeringServices"},"isDataAction":false,"name":"Microsoft.Peering/peeringServices/delete"},{"display":{"description":"Read any prefixes","operation":"Read PeeringServicePrefixes","provider":"Microsoft.Peering","resource":"prefixes"},"isDataAction":false,"name":"Microsoft.Peering/peeringServices/prefixes/read"},{"display":{"description":"Write any prefixes","operation":"Write PeeringServicePrefixes","provider":"Microsoft.Peering","resource":"prefixes"},"isDataAction":false,"name":"Microsoft.Peering/peeringServices/prefixes/write"},{"display":{"description":"Delete any prefixes","operation":"Delete PeeringServicePrefixes","provider":"Microsoft.Peering","resource":"prefixes"},"isDataAction":false,"name":"Microsoft.Peering/peeringServices/prefixes/delete"}]}},"Check_if_peering_service_provider_is_available_in_customer_location":{"value":"Available"},"List_legacy_peerings":{"value":{"value":[{"id":"/subscriptions/subId/providers/Microsoft.Peering/peerings/peeringName","kind":"Exchange","location":"centralus","name":"peeringName","properties":{"exchange":{"connections":[{"bgpSession":{"maxPrefixesAdvertisedV4":1000,"maxPrefixesAdvertisedV6":100,"md5AuthenticationKey":"test-md5-auth-key","microsoftSessionIPv4Address":"192.168.3.1","microsoftSessionIPv6Address":"fd00::1:1","peerSessionIPv4Address":"192.168.2.1","peerSessionIPv6Address":"fd00::1","sessionStateV4":"Established","sessionStateV6":"Established"},"connectionState":"Active","peeringDBFacilityId":99999},{"bgpSession":{"maxPrefixesAdvertisedV4":1000,"maxPrefixesAdvertisedV6":100,"md5AuthenticationKey":"test-md5-auth-key","microsoftSessionIPv4Address":"192.168.3.2","microsoftSessionIPv6Address":"fd00::1:2","peerSessionIPv4Address":"192.168.2.2","peerSessionIPv6Address":"fd00::2","sessionStateV4":"Established","sessionStateV6":"Established"},"connectionState":"Active","peeringDBFacilityId":99999}],"peerAsn":{"id":"/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1"}},"peeringLocation":"peeringLocation0","provisioningState":"Succeeded"},"sku":{"family":"Exchange","name":"Basic_Exchange_Free","size":"Free","tier":"Basic"},"type":"Microsoft.Peering/peerings"}]}},"List_peer_ASNs_in_a_subscription":{"value":{"value":[{"id":"/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName","name":"peerAsnName","properties":{"peerAsn":65000,"peerContactInfo":{"emails":["abc@contoso.com","xyz@contoso.com"],"phone":["+1 (234) 567-8900"]},"peerName":"Contoso","validationState":"Approved"},"type":"Microsoft.Peering/peerAsns"}]}},"Get_a_peer_ASN":{"value":{"id":"/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName","name":"peerAsnName","properties":{"peerAsn":65000,"peerContactInfo":{"emails":["abc@contoso.com","xyz@contoso.com"],"phone":["+1 (234) 567-8900"]},"peerName":"Contoso","validationState":"Approved"},"type":"Microsoft.Peering/peerAsns"}},"Create_a_peer_ASN":{"value":{"id":"/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName","name":"peerAsnName","properties":{"peerAsn":65000,"peerContactInfo":{"emails":["abc@contoso.com","xyz@contoso.com"],"phone":["+1 (234) 567-8900"]},"peerName":"Contoso","validationState":"Pending"},"type":"Microsoft.Peering/peerAsns"}},"List_direct_peering_locations":{"value":{"value":[{"id":"/subscriptions/subId/providers/Microsoft.Peering/peeringLocations/peeringLocation1","kind":"Direct","name":"peeringLocation1","properties":{"country":"country1","direct":{"bandwidthOffers":[{"offerName":"10Gbps","valueInMbps":10000},{"offerName":"100Gbps","valueInMbps":100000}],"peeringFacilities":[{"address":"address1","peeringDBFacilityId":99999,"peeringDBFacilityLink":"https://www.peeringdb.com/fac/99999"},{"address":"address3","peeringDBFacilityId":99999,"peeringDBFacilityLink":"https://www.peeringdb.com/fac/99999"}]},"peeringLocation":"peeringLocation1"},"type":"Microsoft.Peering/peeringLocations"},{"id":"/subscriptions/subId/providers/Microsoft.Peering/peeringLocations/peeringLocation2","kind":"Direct","name":"peeringLocation2","properties":{"country":"country2","direct":{"bandwidthOffers":[{"offerName":"10Gbps","valueInMbps":10000},{"offerName":"100Gbps","valueInMbps":100000}],"peeringFacilities":[{"address":"address2","peeringDBFacilityId":99999,"peeringDBFacilityLink":"https://www.peeringdb.com/fac/99999"}]},"peeringLocation":"peeringLocation2"},"type":"Microsoft.Peering/peeringLocations"}]}},"List_exchange_peering_locations":{"value":{"value":[{"id":"/subscriptions/subId/providers/Microsoft.Peering/peeringLocations/peeringLocation1","kind":"Exchange","name":"peeringLocation1","properties":{"country":"country1","exchange":{"peeringFacilities":[{"bandwidthInMbps":10000,"exchangeName":"name1","facilityIPv4Prefix":"192.168.128.0/17","facilityIPv6Prefix":"fd00::1000:0/98","microsoftIPv4Address":"192.168.131.1","microsoftIPv6Address":"fd00::1:1","peeringDBFacilityId":99999,"peeringDBFacilityLink":"https://www.peeringdb.com/ix/99999"},{"bandwidthInMbps":10000,"exchangeName":"name3","facilityIPv4Prefix":"192.168.0.0/17","facilityIPv6Prefix":"fd00::0/98","microsoftIPv4Address":"192.168.2.2","microsoftIPv6Address":"fd00::2","peeringDBFacilityId":99999,"peeringDBFacilityLink":"https://www.peeringdb.com/ix/99999"}]},"peeringLocation":"peeringLocation1"},"type":"Microsoft.Peering/peeringLocations"},{"id":"/subscriptions/subId/providers/Microsoft.Peering/peeringLocations/peeringLocation2","kind":"Exchange","name":"peeringLocation2","properties":{"country":"country2","exchange":{"peeringFacilities":[{"bandwidthInMbps":10000,"exchangeName":"name2","facilityIPv4Prefix":"192.168.0.0/16","facilityIPv6Prefix":"fd00::0/98","microsoftIPv4Address":"192.168.2.1","microsoftIPv6Address":"fd00::2","peeringDBFacilityId":99999,"peeringDBFacilityLink":"https://www.peeringdb.com/ix/99999"}]},"peeringLocation":"peeringLocation2"},"type":"Microsoft.Peering/peeringLocations"}]}},"List_peering_service_locations":{"value":{"value":[{"id":"/subscriptions/subId/providers/Microsoft.Peering/peeringServiceLocations/peeringServiceLocation1","name":"peeringServiceLocation1","properties":{"country":"country1","state":"state1"},"type":"Microsoft.Peering/peeringServiceLocations"},{"id":"/subscriptions/subId/providers/Microsoft.Peering/peeringServiceLocations/peeringServiceLocation2","name":"peeringServiceLocation2","properties":{"country":"country2","state":"state2"},"type":"Microsoft.Peering/peeringServiceLocations"}]}},"List_peering_service_providers":{"value":{"value":[{"id":"/subscriptions/subId/providers/Microsoft.Peering/peeringServiceProviders/peeringServiceProvider1","name":"peeringServiceProvider1","properties":{"serviceProviderName":"peeringServiceProvider1"},"type":"Microsoft.Peering/peeringServiceProviders"},{"id":"/subscriptions/subId/providers/Microsoft.Peering/peeringServiceProviders/peeringServiceProvider2","name":"peeringServiceProvider2","properties":{"serviceProviderName":"peeringServiceProvider2"},"type":"Microsoft.Peering/peeringServiceProviders"}]}},"List_peering_services_in_a_subscription":{"value":{"value":[{"id":"/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName","location":"eastus","name":"peeringServiceName","properties":{"peeringServiceLocation":"state1","peeringServiceProvider":"serviceProvider1","provisioningState":"Succeeded"},"type":"Microsoft.Peering/peeringServices"}]}},"List_peerings_in_a_subscription":{"value":{"value":[{"id":"/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName","kind":"Exchange","location":"eastus","name":"peeringName","properties":{"exchange":{"connections":[{"bgpSession":{"maxPrefixesAdvertisedV4":1000,"maxPrefixesAdvertisedV6":100,"md5AuthenticationKey":"test-md5-auth-key","microsoftSessionIPv4Address":"192.168.3.1","microsoftSessionIPv6Address":"fd00::1:1","peerSessionIPv4Address":"192.168.2.1","peerSessionIPv6Address":"fd00::1","sessionStateV4":"Established","sessionStateV6":"Established"},"connectionIdentifier":"00000000-0000-0000-0000-000000000000","connectionState":"Active","peeringDBFacilityId":99999},{"bgpSession":{"maxPrefixesAdvertisedV4":1000,"maxPrefixesAdvertisedV6":100,"md5AuthenticationKey":"test-md5-auth-key","microsoftSessionIPv4Address":"192.168.3.2","microsoftSessionIPv6Address":"fd00::1:2","peerSessionIPv4Address":"192.168.2.2","peerSessionIPv6Address":"fd00::2","sessionStateV4":"Established","sessionStateV6":"Established"},"connectionIdentifier":"00000000-0000-0000-0000-000000000000","connectionState":"Active","peeringDBFacilityId":99999}],"peerAsn":{"id":"/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1"}},"peeringLocation":"peeringLocation0","provisioningState":"Succeeded"},"sku":{"family":"Exchange","name":"Basic_Exchange_Free","size":"Free","tier":"Basic"},"type":"Microsoft.Peering/peerings"}]}},"List_peering_services_in_a_resource_group":{"value":{"value":[{"id":"/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName","location":"eastus","name":"peeringServiceName","properties":{"peeringServiceLocation":"state1","peeringServiceProvider":"serviceProvider1","provisioningState":"Succeeded"},"type":"Microsoft.Peering/peeringServices"}]}},"Get_a_peering_service":{"value":{"id":"/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName","location":"eastus","name":"peeringServiceName","properties":{"peeringServiceLocation":"state1","peeringServiceProvider":"serviceProvider1","provisioningState":"Succeeded"},"type":"Microsoft.Peering/peeringServices"}},"Update_peering_service_tags":{"value":{"id":"/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName","location":"eastus","name":"peeringServiceName","properties":{"peeringServiceLocation":"state1","peeringServiceProvider":"serviceProvider1","provisioningState":"Succeeded"},"tags":{"tag0":"value0","tag1":"value1"},"type":"Microsoft.Peering/peeringServices"}},"Create_a_peering_service":{"value":{"id":"/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName","location":"eastus","name":"peeringServiceName","properties":{"peeringServiceLocation":"state1","peeringServiceProvider":"serviceProvider1","provisioningState":"Succeeded"},"type":"Microsoft.Peering/peeringServices"}},"List_all_the_prefixes_associated_with_the_peering_service":{"value":{"value":[{"id":"/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName1","name":"peeringServicePrefixName1","properties":{"learnedType":"None","prefix":"192.168.1.0/24","prefixValidationState":"Verified","provisioningState":"Succeeded"}},{"id":"/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName2","name":"peeringServicePrefixName2","properties":{"learnedType":"None","prefix":"192.168.2.0/24","prefixValidationState":"Verified","provisioningState":"Succeeded"}}]}},"Get_a_prefix_associated_with_the_peering_service":{"value":{"id":"/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName","name":"peeringServicePrefixName","properties":{"learnedType":"None","prefix":"192.168.1.0/24","prefixValidationState":"Verified","provisioningState":"Succeeded"}}},"Create_or_update_a_prefix_for_the_peering_service":{"value":{"id":"/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName","name":"peeringServicePrefixName","properties":{"learnedType":"None","prefix":"192.168.1.0/24","prefixValidationState":"Pending","provisioningState":"Succeeded"}}},"List_peerings_in_a_resource_group":{"value":{"value":[{"id":"/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName","kind":"Exchange","location":"eastus","name":"peeringName","properties":{"exchange":{"connections":[{"bgpSession":{"maxPrefixesAdvertisedV4":1000,"maxPrefixesAdvertisedV6":100,"md5AuthenticationKey":"test-md5-auth-key","microsoftSessionIPv4Address":"192.168.3.1","microsoftSessionIPv6Address":"fd00::1:1","peerSessionIPv4Address":"192.168.2.1","peerSessionIPv6Address":"fd00::1","sessionStateV4":"Established","sessionStateV6":"Established"},"connectionIdentifier":"00000000-0000-0000-0000-000000000000","connectionState":"Active","peeringDBFacilityId":99999},{"bgpSession":{"maxPrefixesAdvertisedV4":1000,"maxPrefixesAdvertisedV6":100,"md5AuthenticationKey":"test-md5-auth-key","microsoftSessionIPv4Address":"192.168.3.2","microsoftSessionIPv6Address":"fd00::1:2","peerSessionIPv4Address":"192.168.2.2","peerSessionIPv6Address":"fd00::2","sessionStateV4":"Established","sessionStateV6":"Established"},"connectionIdentifier":"00000000-0000-0000-0000-000000000000","connectionState":"Active","peeringDBFacilityId":99999}],"peerAsn":{"id":"/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1"}},"peeringLocation":"peeringLocation0","provisioningState":"Succeeded"},"sku":{"family":"Exchange","name":"Basic_Exchange_Free","size":"Free","tier":"Basic"},"type":"Microsoft.Peering/peerings"}]}},"Get_a_peering":{"value":{"id":"/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName","kind":"Exchange","location":"eastus","name":"peeringName","properties":{"exchange":{"connections":[{"bgpSession":{"maxPrefixesAdvertisedV4":1000,"maxPrefixesAdvertisedV6":100,"md5AuthenticationKey":"test-md5-auth-key","microsoftSessionIPv4Address":"192.168.3.1","microsoftSessionIPv6Address":"fd00::1:1","peerSessionIPv4Address":"192.168.2.1","peerSessionIPv6Address":"fd00::1","sessionStateV4":"Established","sessionStateV6":"Established"},"connectionIdentifier":"00000000-0000-0000-0000-000000000000","connectionState":"Active","peeringDBFacilityId":99999},{"bgpSession":{"maxPrefixesAdvertisedV4":1000,"maxPrefixesAdvertisedV6":100,"md5AuthenticationKey":"test-md5-auth-key","microsoftSessionIPv4Address":"192.168.3.2","microsoftSessionIPv6Address":"fd00::1:2","peerSessionIPv4Address":"192.168.2.2","peerSessionIPv6Address":"fd00::2","sessionStateV4":"Established","sessionStateV6":"Established"},"connectionIdentifier":"00000000-0000-0000-0000-000000000000","connectionState":"Active","peeringDBFacilityId":99999}],"peerAsn":{"id":"/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1"}},"peeringLocation":"peeringLocation0","provisioningState":"Succeeded"},"sku":{"family":"Exchange","name":"Basic_Exchange_Free","size":"Free","tier":"Basic"},"type":"Microsoft.Peering/peerings"}},"Update_peering_tags":{"value":{"id":"/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName","kind":"Exchange","location":"eastus","name":"peeringName","properties":{"exchange":{"connections":[{"bgpSession":{"maxPrefixesAdvertisedV4":1000,"maxPrefixesAdvertisedV6":100,"md5AuthenticationKey":"test-md5-auth-key","microsoftSessionIPv4Address":"192.168.3.1","microsoftSessionIPv6Address":"fd00::1:1","peerSessionIPv4Address":"192.168.2.1","peerSessionIPv6Address":"fd00::1","sessionStateV4":"Established","sessionStateV6":"Established"},"connectionIdentifier":"00000000-0000-0000-0000-000000000000","connectionState":"Active","peeringDBFacilityId":99999},{"bgpSession":{"maxPrefixesAdvertisedV4":1000,"maxPrefixesAdvertisedV6":100,"md5AuthenticationKey":"test-md5-auth-key","microsoftSessionIPv4Address":"192.168.3.2","microsoftSessionIPv6Address":"fd00::1:2","peerSessionIPv4Address":"192.168.2.2","peerSessionIPv6Address":"fd00::2","sessionStateV4":"Established","sessionStateV6":"Established"},"connectionIdentifier":"00000000-0000-0000-0000-000000000000","connectionState":"Active","peeringDBFacilityId":99999}],"peerAsn":{"id":"/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1"}},"peeringLocation":"peeringLocation0","provisioningState":"Succeeded"},"sku":{"family":"Exchange","name":"Basic_Exchange_Free","size":"Free","tier":"Basic"},"tags":{"tag0":"value0","tag1":"value1"},"type":"Microsoft.Peering/peerings"}},"Create_a_direct_peering":{"value":{"id":"/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName","kind":"Direct","location":"eastus","name":"peeringName","properties":{"direct":{"connections":[{"bandwidthInMbps":10000,"bgpSession":{"maxPrefixesAdvertisedV4":1000,"maxPrefixesAdvertisedV6":100,"md5AuthenticationKey":"test-md5-auth-key","sessionPrefixV4":"192.168.0.0/31","sessionPrefixV6":"fd00::0/127","sessionStateV4":"PendingAdd","sessionStateV6":"PendingAdd"},"connectionIdentifier":"00000000-0000-0000-0000-000000000000","connectionState":"PendingApproval","peeringDBFacilityId":99999,"prov