swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector ManagedNetworkPeeringPolicies API schemes: - https tags: - name: ManagedNetworkPeeringPolicies paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName} : get: tags: - ManagedNetworkPeeringPolicies operationId: microsoftAzureManagednetworkpeeringpoliciesGet description: The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name parameters: - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupNameParameter' - $ref: '#/parameters/ManagedNetworkNameParameter' - $ref: '#/parameters/ManagedNetworkPeeringPolicyNameParameter' responses: '200': description: Get successful. The operation returns the specified Managed Network Peering Policy resource. schema: $ref: '#/definitions/ManagedNetworkPeeringPolicy' default: description: Resource Provider error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-examples: ManagedNetworkPeeringPoliciesGet: $ref: ./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Managednetwork Managednetworks Managednetworkname Managednetworkpeeringpolicies Managednetworkpeeringpolicyname put: tags: - ManagedNetworkPeeringPolicies operationId: microsoftAzureManagednetworkpeeringpoliciesCreateorupdate description: The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy parameters: - name: managedNetworkPolicy in: body required: true schema: $ref: '#/definitions/ManagedNetworkPeeringPolicy' description: Parameters supplied to create/update a Managed Network Peering Policy - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupNameParameter' - $ref: '#/parameters/ManagedNetworkNameParameter' - $ref: '#/parameters/ManagedNetworkPeeringPolicyNameParameter' responses: '200': description: Update successful. The operation returns the resulting Managed Network Peering Policy resource. schema: $ref: '#/definitions/ManagedNetworkPeeringPolicy' '201': description: Create successful. The operation returns the resulting Managed Network Peering Policy resource. schema: $ref: '#/definitions/ManagedNetworkPeeringPolicy' default: description: Resource Provider error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-examples: ManagedNetworkPeeringPoliciesPut: $ref: ./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json x-ms-long-running-operation: true x-ms-long-running-operation-options: final-state-via: azure-async-operation summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Managednetwork Managednetworks Managednetworkname Managednetworkpeeringpolicies Managednetworkpeeringpolicyname delete: tags: - ManagedNetworkPeeringPolicies operationId: microsoftAzureManagednetworkpeeringpoliciesDelete description: The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name parameters: - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupNameParameter' - $ref: '#/parameters/ManagedNetworkNameParameter' - $ref: '#/parameters/ManagedNetworkPeeringPolicyNameParameter' responses: '200': description: Delete successful. '202': description: Accepted and the operation will complete asynchronously. '204': description: Request successful. Resource does not exist. default: description: Resource Provider error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-examples: ManagedNetworkPeeringPoliciesDelete: $ref: ./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json x-ms-long-running-operation: true x-ms-long-running-operation-options: final-state-via: azure-async-operation summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Managednetwork Managednetworks Managednetworkname Managednetworkpeeringpolicies Managednetworkpeeringpolicyname ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies : get: tags: - ManagedNetworkPeeringPolicies operationId: microsoftAzureManagednetworkpeeringpoliciesListbymanagednetwork description: The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format. parameters: - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupNameParameter' - $ref: '#/parameters/ManagedNetworkNameParameter' - $ref: '#/parameters/ListPageSizeParameter' - $ref: '#/parameters/ListSkipTokenParameter' responses: '200': description: Get successful. The operation returns all Managed Network Peering Policy resources in the specified Managed Network, in a paginated format schema: $ref: '#/definitions/ManagedNetworkPeeringPolicyListResult' default: description: Resource Provider error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-pageable: nextLinkName: nextLink x-ms-examples: ManagedNetworkPeeringPoliciesListByManagedNetwork: $ref: ./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Managednetwork Managednetworks Managednetworkname Managednetworkpeeringpolicies definitions: ManagedNetworkPeeringPolicyProperties: properties: type: type: string enum: - HubAndSpokeTopology - MeshTopology x-ms-enum: name: type modelAsString: true description: Gets or sets the connectivity type of a network structure policy hub: $ref: '#/definitions/ResourceId' description: Gets or sets the hub virtual network ID spokes: type: array items: $ref: '#/definitions/ResourceId' description: Gets or sets the spokes group IDs mesh: type: array items: $ref: '#/definitions/ResourceId' description: Gets or sets the mesh group IDs allOf: - $ref: '#/definitions/ResourceProperties' required: - type description: Properties of a Managed Network Peering Policy ErrorResponse: description: The error response that indicates why an operation has failed. type: object properties: code: description: The error code. type: string readOnly: true message: description: The error message. type: string readOnly: true ProxyResource: description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags allOf: - $ref: '#/definitions/Resource' Resource: description: The general resource model definition properties: id: readOnly: true type: string description: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} name: readOnly: true type: string description: The name of the resource type: readOnly: true type: string description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. location: type: string x-ms-mutability: - read - create description: The geo-location where the resource lives x-ms-azure-resource: true ResourceId: properties: id: type: string description: Resource Id description: Generic pointer to a resource ManagedNetworkPeeringPolicyListResult: properties: value: type: array items: $ref: '#/definitions/ManagedNetworkPeeringPolicy' description: Gets a page of Peering Policies nextLink: type: string description: Gets the URL to get the next page of results. description: Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results. ResourceProperties: properties: provisioningState: type: string readOnly: true description: Provisioning state of the ManagedNetwork resource. enum: - Updating - Deleting - Failed - Succeeded x-ms-enum: name: ProvisioningState modelAsString: true etag: type: string readOnly: true description: A unique read-only string that changes whenever the resource is updated. description: Base for resource properties. ManagedNetworkPeeringPolicy: properties: properties: $ref: '#/definitions/ManagedNetworkPeeringPolicyProperties' description: Gets or sets the properties of a Managed Network Policy allOf: - $ref: '#/definitions/ProxyResource' description: The Managed Network Peering Policy resource parameters: ListPageSizeParameter: name: $top description: May be used to limit the number of results in a page for list queries. in: query required: false type: integer minimum: 1 maximum: 20 x-ms-parameter-location: method ResourceGroupNameParameter: name: resourceGroupName in: path required: true type: string description: The name of the resource group. x-ms-parameter-location: method ApiVersionParameter: name: api-version in: query required: true type: string description: Client Api Version. ManagedNetworkNameParameter: name: managedNetworkName in: path required: true type: string description: The name of the Managed Network. x-ms-parameter-location: method SubscriptionIdParameter: name: subscriptionId in: path required: true type: string description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. ListSkipTokenParameter: name: $skiptoken description: Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. in: query required: false type: string x-ms-parameter-location: method ManagedNetworkPeeringPolicyNameParameter: name: managedNetworkPeeringPolicyName in: path required: true type: string description: The name of the Managed Network Peering Policy. x-ms-parameter-location: method x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'