swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector BgpPeers API schemes: - https tags: - name: BgpPeers paths: /{resourceUri}/providers/Microsoft.KubernetesRuntime/bgpPeers: get: operationId: microsoftAzureBgppeersList tags: - BgpPeers description: List BgpPeer resources by parent parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: '#/parameters/Azure.ResourceManager.ResourceUriParameter' responses: '200': description: Azure operation completed successfully. schema: $ref: '#/definitions/BgpPeerListResult' default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse x-ms-examples: BgpPeers_List: $ref: ./examples/BgpPeers_List.json x-ms-pageable: nextLinkName: nextLink summary: Microsoft Azure Get Resourceuri Providers Microsoft Kubernetesruntime Bgppeers /{resourceUri}/providers/Microsoft.KubernetesRuntime/bgpPeers/{bgpPeerName}: get: operationId: microsoftAzureBgppeersGet tags: - BgpPeers description: Get a BgpPeer parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: '#/parameters/Azure.ResourceManager.ResourceUriParameter' - name: bgpPeerName in: path description: The name of the BgpPeer required: true type: string pattern: ^[a-zA-Z0-9-]{3,24}$ responses: '200': description: Azure operation completed successfully. schema: $ref: '#/definitions/BgpPeer' default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse x-ms-examples: BgpPeers_Get: $ref: ./examples/BgpPeers_Get.json summary: Microsoft Azure Get Resourceuri Providers Microsoft Kubernetesruntime Bgppeers Bgppeername put: operationId: microsoftAzureBgppeersCreateorupdate tags: - BgpPeers description: Create a BgpPeer parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: '#/parameters/Azure.ResourceManager.ResourceUriParameter' - name: bgpPeerName in: path description: The name of the BgpPeer required: true type: string pattern: ^[a-zA-Z0-9-]{3,24}$ - name: resource in: body description: Resource create parameters. required: true schema: $ref: '#/definitions/BgpPeer' responses: '200': description: Resource 'BgpPeer' update operation succeeded schema: $ref: '#/definitions/BgpPeer' '201': description: Resource 'BgpPeer' create operation succeeded schema: $ref: '#/definitions/BgpPeer' headers: Retry-After: type: integer format: int32 description: The Retry-After header can indicate how long the client should wait before polling the operation status. default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse x-ms-examples: BgpPeers_CreateOrUpdate: $ref: ./examples/BgpPeers_CreateOrUpdate.json x-ms-long-running-operation-options: final-state-via: azure-async-operation x-ms-long-running-operation: true summary: Microsoft Azure Put Resourceuri Providers Microsoft Kubernetesruntime Bgppeers Bgppeername delete: operationId: microsoftAzureBgppeersDelete tags: - BgpPeers description: Delete a BgpPeer parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: '#/parameters/Azure.ResourceManager.ResourceUriParameter' - name: bgpPeerName in: path description: The name of the BgpPeer required: true type: string pattern: ^[a-zA-Z0-9-]{3,24}$ responses: '202': description: Resource deletion accepted. headers: Location: type: string description: The Location header contains the URL where the status of the long running operation can be checked. Retry-After: type: integer format: int32 description: The Retry-After header can indicate how long the client should wait before polling the operation status. '204': description: Resource does not exist. default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse x-ms-examples: BgpPeers_Delete: $ref: ./examples/BgpPeers_Delete.json x-ms-long-running-operation-options: final-state-via: location x-ms-long-running-operation: true summary: Microsoft Azure Delete Resourceuri Providers Microsoft Kubernetesruntime Bgppeers Bgppeername definitions: BgpPeerProperties: type: object description: Details of the BgpPeer. properties: myAsn: type: integer format: int32 description: My ASN peerAsn: type: integer format: int32 description: Peer ASN peerAddress: type: string description: Peer Address provisioningState: $ref: '#/definitions/ProvisioningState' description: Resource provision state readOnly: true required: - myAsn - peerAsn - peerAddress ProvisioningState: type: string description: The status of the current operation. enum: - Succeeded - Failed - Canceled - Provisioning - Updating - Deleting - Accepted x-ms-enum: name: ProvisioningState modelAsString: true values: - name: Succeeded value: Succeeded description: Resource has been created. - name: Failed value: Failed description: Resource creation failed. - name: Canceled value: Canceled description: Resource creation was canceled. - name: Provisioning value: Provisioning description: Initial provisioning in progress - name: Updating value: Updating description: Update in progress - name: Deleting value: Deleting description: Deletion in progress - name: Accepted value: Accepted description: Change accepted for processing readOnly: true BgpPeer: type: object description: A BgpPeer resource for an Arc connected cluster (Microsoft.Kubernetes/connectedClusters) properties: properties: $ref: '#/definitions/BgpPeerProperties' description: The resource-specific properties for this resource. x-ms-client-flatten: true x-ms-mutability: - read - create allOf: - $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource BgpPeerListResult: type: object description: The response of a BgpPeer list operation. properties: value: type: array description: The BgpPeer items on this page items: $ref: '#/definitions/BgpPeer' nextLink: type: string format: uri description: The link to the next page of items required: - value parameters: Azure.ResourceManager.ResourceUriParameter: name: resourceUri in: path description: The fully qualified Azure Resource manager identifier of the resource. required: true type: string x-ms-parameter-location: method x-ms-skip-url-encoding: true x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'