Successfully retrieved Azure VNet Peering requests.
curl -i -X GET \ -u <username>:<password> \ https://api.instaclustr.com/cluster-management/v2/data-sources/providers/azure/vnet-peers/v2
[- {
- "accountId": "string",
- "peeringRequests": [
- {
- "dataCentreResourceGroup": "My Azure Vnet Peering connection",
- "peerVirtualNetworkName": "network-aabb1122",
- "peerSubnets": [
- "10.1.0.0/16",
- "10.2.0.0/16"
], - "name": "instaclustr-project-123",
- "peerAdObjectId": "00000000-0000-0000-0000-000000000000",
- "id": "068c447e-8475-49b2-974b-ca1c91702ed4",
- "dataCentreSubscriptionId": "00000000-0000-0000-0000-000000000000",
- "peerResourceGroup": "My Azure Vnet Peering connection",
- "peerSubscriptionId": "00000000-0000-0000-0000-000000000000",
- "cdcId": "aabc665c-8916-40ae-978c-96d39a3a1364",
- "dataCentreVirtualNetworkName": "network-aabb1122"
}
]
}
]
Azure Vnet Peering request created.
{- "cdcId": "f3eab841-6952-430d-ba90-1bfc3f15da10",
- "peerAdObjectId": "00000000-0000-0000-0000-000000000000",
- "peerResourceGroup": "example-resource-group-123",
- "peerSubnets": [
- "10.1.0.0/16",
- "10.2.0.0/16"
], - "peerSubscriptionId": "00000000-0000-0000-0000-000000000000",
- "peerVirtualNetworkName": "network-aabb-1122"
}
{- "cdcId": "f3eab841-6952-430d-ba90-1bfc3f15da10",
- "peerAdObjectId": "00000000-0000-0000-0000-000000000000",
- "peerResourceGroup": "example-resource-group-123",
- "peerSubnets": [
- "10.1.0.0/16",
- "10.2.0.0/16"
], - "peerSubscriptionId": "00000000-0000-0000-0000-000000000000",
- "peerVirtualNetworkName": "network-aabb-1122"
}
Fetches the details for a given Azure Vnet Peering Connection.
Azure Vnet Peering Connection info retrieved.
VPC Peering Connection not found.
curl -i -X GET \ -u <username>:<password> \ 'https://api.instaclustr.com/cluster-management/v2/resources/providers/azure/vnet-peers/v2/{vpcPeerId}'
{- "cdcId": "f3eab841-6952-430d-ba90-1bfc3f15da10",
- "peerAdObjectId": "00000000-0000-0000-0000-000000000000",
- "peerResourceGroup": "example-resource-group-123",
- "peerSubnets": [
- "10.1.0.0/16",
- "10.2.0.0/16"
], - "peerSubscriptionId": "00000000-0000-0000-0000-000000000000",
- "peerVirtualNetworkName": "network-aabb-1122"
}
Azure Vnet Peering request deleted
VPC Peering Connection not found.
curl -i -X DELETE \ -u <username>:<password> \ 'https://api.instaclustr.com/cluster-management/v2/resources/providers/azure/vnet-peers/v2/{vpcPeerId}'
{- "errors": [
- {
- "name": "string",
- "message": "string"
}
]
}