Obtient le peering de réseau virtuel spécifié.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}?api-version=2023-09-01
Paramètres URI
Nom |
Dans |
Obligatoire |
Type |
Description |
resourceGroupName
|
path |
True
|
string
|
Nom du groupe de ressources.
|
subscriptionId
|
path |
True
|
string
|
Informations d’identification d’abonnement qui identifient de façon unique l’abonnement Microsoft Azure. L’ID d’abonnement fait partie de l’URI pour chaque appel de service.
|
virtualNetworkName
|
path |
True
|
string
|
nom du réseau virtuel.
|
virtualNetworkPeeringName
|
path |
True
|
string
|
Nom du peering de réseau virtuel.
|
api-version
|
query |
True
|
string
|
Version d’API client.
|
Réponses
Nom |
Type |
Description |
200 OK
|
VirtualNetworkPeering
|
Demande réussie. L’opération retourne la ressource VirtualNetworkPeering résultante.
|
Other Status Codes
|
CloudError
|
Réponse d’erreur décrivant la raison de l’échec de l’opération.
|
Sécurité
azure_auth
Flux OAuth2 Azure Active Directory.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Nom |
Description |
user_impersonation
|
Emprunter l’identité de votre compte d’utilisateur
|
Exemples
Get peering
Sample Request
GET https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer?api-version=2023-09-01
/**
* Samples for VirtualNetworkPeerings Get.
*/
public final class Main {
/*
* x-ms-original-file:
* specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/examples/VirtualNetworkPeeringGet.json
*/
/**
* Sample code: Get peering.
*
* @param azure The entry point for accessing resource management APIs in Azure.
*/
public static void getPeering(com.azure.resourcemanager.AzureResourceManager azure) {
azure.networks().manager().serviceClient().getVirtualNetworkPeerings().getWithResponse("peerTest", "vnet1",
"peer", com.azure.core.util.Context.NONE);
}
/*
* x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/examples/
* VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json
*/
/**
* Sample code: Get peering with remote virtual network encryption.
*
* @param azure The entry point for accessing resource management APIs in Azure.
*/
public static void
getPeeringWithRemoteVirtualNetworkEncryption(com.azure.resourcemanager.AzureResourceManager azure) {
azure.networks().manager().serviceClient().getVirtualNetworkPeerings().getWithResponse("peerTest", "vnet1",
"peer", com.azure.core.util.Context.NONE);
}
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
from azure.identity import DefaultAzureCredential
from azure.mgmt.network import NetworkManagementClient
"""
# PREREQUISITES
pip install azure-identity
pip install azure-mgmt-network
# USAGE
python virtual_network_peering_get.py
Before run the sample, please set the values of the client ID, tenant ID and client secret
of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID,
AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
"""
def main():
client = NetworkManagementClient(
credential=DefaultAzureCredential(),
subscription_id="subid",
)
response = client.virtual_network_peerings.get(
resource_group_name="peerTest",
virtual_network_name="vnet1",
virtual_network_peering_name="peer",
)
print(response)
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/examples/VirtualNetworkPeeringGet.json
if __name__ == "__main__":
main()
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
package armnetwork_test
import (
"context"
"log"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v5"
)
// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d4205894880b989ede35d62d97c8e901ed14fb5a/specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/examples/VirtualNetworkPeeringGet.json
func ExampleVirtualNetworkPeeringsClient_Get_getPeering() {
cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armnetwork.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewVirtualNetworkPeeringsClient().Get(ctx, "peerTest", "vnet1", "peer", nil)
if err != nil {
log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.VirtualNetworkPeering = armnetwork.VirtualNetworkPeering{
// ID: to.Ptr("/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer"),
// Name: to.Ptr("peer"),
// Properties: &armnetwork.VirtualNetworkPeeringPropertiesFormat{
// AllowForwardedTraffic: to.Ptr(true),
// AllowGatewayTransit: to.Ptr(false),
// AllowVirtualNetworkAccess: to.Ptr(true),
// PeeringState: to.Ptr(armnetwork.VirtualNetworkPeeringStateInitiated),
// PeeringSyncLevel: to.Ptr(armnetwork.VirtualNetworkPeeringLevelFullyInSync),
// ProvisioningState: to.Ptr(armnetwork.ProvisioningStateSucceeded),
// RemoteAddressSpace: &armnetwork.AddressSpace{
// AddressPrefixes: []*string{
// to.Ptr("12.0.0.0/8")},
// },
// RemoteBgpCommunities: &armnetwork.VirtualNetworkBgpCommunities{
// RegionalCommunity: to.Ptr("12076:50004"),
// VirtualNetworkCommunity: to.Ptr("12076:20002"),
// },
// RemoteVirtualNetwork: &armnetwork.SubResource{
// ID: to.Ptr("/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2"),
// },
// RemoteVirtualNetworkAddressSpace: &armnetwork.AddressSpace{
// AddressPrefixes: []*string{
// to.Ptr("12.0.0.0/8")},
// },
// UseRemoteGateways: to.Ptr(false),
// },
// }
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
const { NetworkManagementClient } = require("@azure/arm-network");
const { DefaultAzureCredential } = require("@azure/identity");
/**
* This sample demonstrates how to Gets the specified virtual network peering.
*
* @summary Gets the specified virtual network peering.
* x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/examples/VirtualNetworkPeeringGet.json
*/
async function getPeering() {
const subscriptionId = process.env["NETWORK_SUBSCRIPTION_ID"] || "subid";
const resourceGroupName = process.env["NETWORK_RESOURCE_GROUP"] || "peerTest";
const virtualNetworkName = "vnet1";
const virtualNetworkPeeringName = "peer";
const credential = new DefaultAzureCredential();
const client = new NetworkManagementClient(credential, subscriptionId);
const result = await client.virtualNetworkPeerings.get(
resourceGroupName,
virtualNetworkName,
virtualNetworkPeeringName,
);
console.log(result);
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
using System;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Identity;
using Azure.ResourceManager;
using Azure.ResourceManager.Network;
using Azure.ResourceManager.Network.Models;
// Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/examples/VirtualNetworkPeeringGet.json
// this example is just showing the usage of "VirtualNetworkPeerings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this VirtualNetworkResource created on azure
// for more information of creating VirtualNetworkResource, please refer to the document of VirtualNetworkResource
string subscriptionId = "subid";
string resourceGroupName = "peerTest";
string virtualNetworkName = "vnet1";
ResourceIdentifier virtualNetworkResourceId = VirtualNetworkResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, virtualNetworkName);
VirtualNetworkResource virtualNetwork = client.GetVirtualNetworkResource(virtualNetworkResourceId);
// get the collection of this VirtualNetworkPeeringResource
VirtualNetworkPeeringCollection collection = virtualNetwork.GetVirtualNetworkPeerings();
// invoke the operation
string virtualNetworkPeeringName = "peer";
NullableResponse<VirtualNetworkPeeringResource> response = await collection.GetIfExistsAsync(virtualNetworkPeeringName);
VirtualNetworkPeeringResource result = response.HasValue ? response.Value : null;
if (result == null)
{
Console.WriteLine($"Succeeded with null as result");
}
else
{
// the variable result is a resource, you could call other operations on this instance as well
// but just for demo, we get its data from this resource instance
VirtualNetworkPeeringData resourceData = result.Data;
// for demo we just print out the id
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
Sample Response
{
"id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer",
"name": "peer",
"properties": {
"allowVirtualNetworkAccess": true,
"allowForwardedTraffic": true,
"allowGatewayTransit": false,
"useRemoteGateways": false,
"remoteVirtualNetwork": {
"id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2"
},
"remoteAddressSpace": {
"addressPrefixes": [
"12.0.0.0/8"
]
},
"remoteVirtualNetworkAddressSpace": {
"addressPrefixes": [
"12.0.0.0/8"
]
},
"remoteBgpCommunities": {
"virtualNetworkCommunity": "12076:20002",
"regionalCommunity": "12076:50004"
},
"peeringState": "Initiated",
"peeringSyncLevel": "FullyInSync",
"provisioningState": "Succeeded"
}
}
Get peering with remote virtual network encryption
Sample Request
GET https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer?api-version=2023-09-01
from azure.identity import DefaultAzureCredential
from azure.mgmt.network import NetworkManagementClient
"""
# PREREQUISITES
pip install azure-identity
pip install azure-mgmt-network
# USAGE
python virtual_network_peering_get_with_remote_virtual_network_encryption.py
Before run the sample, please set the values of the client ID, tenant ID and client secret
of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID,
AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
"""
def main():
client = NetworkManagementClient(
credential=DefaultAzureCredential(),
subscription_id="subid",
)
response = client.virtual_network_peerings.get(
resource_group_name="peerTest",
virtual_network_name="vnet1",
virtual_network_peering_name="peer",
)
print(response)
# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/examples/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json
if __name__ == "__main__":
main()
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
package armnetwork_test
import (
"context"
"log"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v5"
)
// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/d4205894880b989ede35d62d97c8e901ed14fb5a/specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/examples/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json
func ExampleVirtualNetworkPeeringsClient_Get_getPeeringWithRemoteVirtualNetworkEncryption() {
cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armnetwork.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewVirtualNetworkPeeringsClient().Get(ctx, "peerTest", "vnet1", "peer", nil)
if err != nil {
log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.VirtualNetworkPeering = armnetwork.VirtualNetworkPeering{
// ID: to.Ptr("/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer"),
// Name: to.Ptr("peer"),
// Properties: &armnetwork.VirtualNetworkPeeringPropertiesFormat{
// AllowForwardedTraffic: to.Ptr(true),
// AllowGatewayTransit: to.Ptr(false),
// AllowVirtualNetworkAccess: to.Ptr(true),
// PeeringState: to.Ptr(armnetwork.VirtualNetworkPeeringStateInitiated),
// ProvisioningState: to.Ptr(armnetwork.ProvisioningStateSucceeded),
// RemoteAddressSpace: &armnetwork.AddressSpace{
// AddressPrefixes: []*string{
// to.Ptr("12.0.0.0/8")},
// },
// RemoteBgpCommunities: &armnetwork.VirtualNetworkBgpCommunities{
// RegionalCommunity: to.Ptr("12076:50004"),
// VirtualNetworkCommunity: to.Ptr("12076:20002"),
// },
// RemoteVirtualNetwork: &armnetwork.SubResource{
// ID: to.Ptr("/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2"),
// },
// RemoteVirtualNetworkEncryption: &armnetwork.VirtualNetworkEncryption{
// Enabled: to.Ptr(true),
// Enforcement: to.Ptr(armnetwork.VirtualNetworkEncryptionEnforcementAllowUnencrypted),
// },
// UseRemoteGateways: to.Ptr(false),
// },
// }
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
const { NetworkManagementClient } = require("@azure/arm-network");
const { DefaultAzureCredential } = require("@azure/identity");
/**
* This sample demonstrates how to Gets the specified virtual network peering.
*
* @summary Gets the specified virtual network peering.
* x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/examples/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json
*/
async function getPeeringWithRemoteVirtualNetworkEncryption() {
const subscriptionId = process.env["NETWORK_SUBSCRIPTION_ID"] || "subid";
const resourceGroupName = process.env["NETWORK_RESOURCE_GROUP"] || "peerTest";
const virtualNetworkName = "vnet1";
const virtualNetworkPeeringName = "peer";
const credential = new DefaultAzureCredential();
const client = new NetworkManagementClient(credential, subscriptionId);
const result = await client.virtualNetworkPeerings.get(
resourceGroupName,
virtualNetworkName,
virtualNetworkPeeringName,
);
console.log(result);
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
using System;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Identity;
using Azure.ResourceManager;
using Azure.ResourceManager.Network;
using Azure.ResourceManager.Network.Models;
// Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/examples/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json
// this example is just showing the usage of "VirtualNetworkPeerings_Get" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this VirtualNetworkResource created on azure
// for more information of creating VirtualNetworkResource, please refer to the document of VirtualNetworkResource
string subscriptionId = "subid";
string resourceGroupName = "peerTest";
string virtualNetworkName = "vnet1";
ResourceIdentifier virtualNetworkResourceId = VirtualNetworkResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, virtualNetworkName);
VirtualNetworkResource virtualNetwork = client.GetVirtualNetworkResource(virtualNetworkResourceId);
// get the collection of this VirtualNetworkPeeringResource
VirtualNetworkPeeringCollection collection = virtualNetwork.GetVirtualNetworkPeerings();
// invoke the operation
string virtualNetworkPeeringName = "peer";
NullableResponse<VirtualNetworkPeeringResource> response = await collection.GetIfExistsAsync(virtualNetworkPeeringName);
VirtualNetworkPeeringResource result = response.HasValue ? response.Value : null;
if (result == null)
{
Console.WriteLine($"Succeeded with null as result");
}
else
{
// the variable result is a resource, you could call other operations on this instance as well
// but just for demo, we get its data from this resource instance
VirtualNetworkPeeringData resourceData = result.Data;
// for demo we just print out the id
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
Sample Response
{
"id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer",
"name": "peer",
"properties": {
"allowVirtualNetworkAccess": true,
"allowForwardedTraffic": true,
"allowGatewayTransit": false,
"useRemoteGateways": false,
"remoteVirtualNetwork": {
"id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2"
},
"remoteAddressSpace": {
"addressPrefixes": [
"12.0.0.0/8"
]
},
"remoteBgpCommunities": {
"virtualNetworkCommunity": "12076:20002",
"regionalCommunity": "12076:50004"
},
"remoteVirtualNetworkEncryption": {
"enabled": true,
"enforcement": "AllowUnencrypted"
},
"peeringState": "Initiated",
"provisioningState": "Succeeded"
}
}
Définitions
AddressSpace
AddressSpace contient un tableau de plages d'adresses IP qui peuvent être utilisées par les sous-réseaux du réseau virtuel.
Nom |
Type |
Description |
addressPrefixes
|
string[]
|
Liste des blocs d’adresses réservés à ce réseau virtuel en notation CIDR.
|
CloudError
Réponse d’erreur du service.
CloudErrorBody
Réponse d’erreur du service.
Nom |
Type |
Description |
code
|
string
|
Identificateur de l'erreur. Les codes sont invariants et sont destinés à être consommés par programmation.
|
details
|
CloudErrorBody[]
|
Liste des détails supplémentaires sur l’erreur.
|
message
|
string
|
Message décrivant l’erreur, destiné à être affiché dans une interface utilisateur.
|
target
|
string
|
Cible de l’erreur particulière. Par exemple, le nom de la propriété dans l’erreur.
|
ProvisioningState
État d’approvisionnement actuel.
Nom |
Type |
Description |
Deleting
|
string
|
|
Failed
|
string
|
|
Succeeded
|
string
|
|
Updating
|
string
|
|
SubResource
Référence à une autre sous-ressource.
Nom |
Type |
Description |
id
|
string
|
ID de la ressource
|
VirtualNetworkBgpCommunities
Communautés Bgp envoyées via ExpressRoute avec chaque itinéraire correspondant à un préfixe dans ce réseau virtuel.
Nom |
Type |
Description |
regionalCommunity
|
string
|
Communauté BGP associée à la région du réseau virtuel.
|
virtualNetworkCommunity
|
string
|
Communauté BGP associée au réseau virtuel.
|
VirtualNetworkEncryption
Indique si le chiffrement est activé sur le réseau virtuel et si la machine virtuelle sans chiffrement est autorisée dans le réseau virtuel chiffré.
Nom |
Type |
Description |
enabled
|
boolean
|
Indique si le chiffrement est activé sur le réseau virtuel.
|
enforcement
|
VirtualNetworkEncryptionEnforcement
|
Si le réseau virtuel chiffré autorise la machine virtuelle qui ne prend pas en charge le chiffrement
|
VirtualNetworkEncryptionEnforcement
Si le réseau virtuel chiffré autorise la machine virtuelle qui ne prend pas en charge le chiffrement
Nom |
Type |
Description |
AllowUnencrypted
|
string
|
|
DropUnencrypted
|
string
|
|
VirtualNetworkPeering
Peerings dans une ressource de réseau virtuel.
Nom |
Type |
Description |
etag
|
string
|
Chaîne en lecture seule unique qui change chaque fois que la ressource est mise à jour.
|
id
|
string
|
ID de la ressource
|
name
|
string
|
Nom de la ressource unique au sein d’un groupe de ressources. Ce nom peut être utilisé pour accéder à la ressource.
|
properties.allowForwardedTraffic
|
boolean
|
Indique si le trafic transféré à partir des machines virtuelles du réseau virtuel local sera autorisé/interdit dans le réseau virtuel distant.
|
properties.allowGatewayTransit
|
boolean
|
Si des liens de passerelle peuvent être utilisés dans un réseau virtuel distant pour établir une liaison à ce réseau virtuel.
|
properties.allowVirtualNetworkAccess
|
boolean
|
Indique si les machines virtuelles de l’espace réseau virtuel local peuvent accéder aux machines virtuelles dans l’espace du réseau virtuel distant.
|
properties.doNotVerifyRemoteGateways
|
boolean
|
Si nous devons vérifier l’état d’approvisionnement de la passerelle distante.
|
properties.peeringState
|
VirtualNetworkPeeringState
|
Status du peering de réseaux virtuels.
|
properties.peeringSyncLevel
|
VirtualNetworkPeeringLevel
|
La synchronisation de peering status du peering de réseau virtuel.
|
properties.provisioningState
|
ProvisioningState
|
État d’approvisionnement de la ressource de peering de réseaux virtuels.
|
properties.remoteAddressSpace
|
AddressSpace
|
Référence à l’espace d’adressage appairé avec le réseau virtuel distant.
|
properties.remoteBgpCommunities
|
VirtualNetworkBgpCommunities
|
Référence aux communautés Bgp du réseau virtuel distant.
|
properties.remoteVirtualNetwork
|
SubResource
|
Référence au réseau virtuel distant. Le réseau virtuel distant peut se trouver dans la même région ou dans une autre région (préversion). Consultez ici pour vous inscrire à la préversion et en savoir plus (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
|
properties.remoteVirtualNetworkAddressSpace
|
AddressSpace
|
Référence à l’espace d’adressage actuel du réseau virtuel distant.
|
properties.remoteVirtualNetworkEncryption
|
VirtualNetworkEncryption
|
Référence au chiffrement du réseau virtuel distant
|
properties.resourceGuid
|
string
|
Propriété resourceGuid de la ressource de peering Réseau virtuel.
|
properties.useRemoteGateways
|
boolean
|
Si les passerelles distantes peuvent être utilisées sur ce réseau virtuel. Si l’indicateur est défini sur true et que allowGatewayTransit sur le peering distant a également la valeur true, le réseau virtuel utilise des passerelles de réseau virtuel distant pour le transit. Un seul peering peut avoir cet indicateur défini sur true. Cet indicateur ne peut pas être défini si le réseau virtuel dispose déjà d’une passerelle.
|
type
|
string
|
Type de ressource.
|
VirtualNetworkPeeringLevel
La synchronisation de peering status du peering de réseau virtuel.
Nom |
Type |
Description |
FullyInSync
|
string
|
|
LocalAndRemoteNotInSync
|
string
|
|
LocalNotInSync
|
string
|
|
RemoteNotInSync
|
string
|
|
VirtualNetworkPeeringState
Status du peering de réseaux virtuels.
Nom |
Type |
Description |
Connected
|
string
|
|
Disconnected
|
string
|
|
Initiated
|
string
|
|