Local Network Gateways - List
Bir kaynak grubundaki tüm yerel ağ geçitlerini alır.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways?api-version=2023-09-01
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
resource
|
path | True |
string |
Kaynak grubunun adı. |
subscription
|
path | True |
string |
Microsoft Azure aboneliğini benzersiz olarak tanımlayan abonelik kimlik bilgileri. Abonelik kimliği, her hizmet çağrısı için URI'nin bir parçasını oluşturur. |
api-version
|
query | True |
string |
İstemci API sürümü. |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
İstek başarılı. İşlem, LocalNetworkGateway kaynaklarının listesini döndürür. |
|
Other Status Codes |
İşlemin neden başarısız olduğunu açıklayan hata yanıtı. |
Güvenlik
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | kullanıcı hesabınızın kimliğine bürünme |
Örnekler
ListLocalNetworkGateways
Sample Request
Sample Response
{
"value": [
{
"name": "localgw1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1",
"etag": "W/\"00000000-0000-0000-0000-000000000000\"",
"type": "Microsoft.Network/localNetworkGateways",
"location": "centralus",
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-000000000000",
"localNetworkAddressSpace": {
"addressPrefixes": [
"10.1.0.0/16"
]
},
"gatewayIpAddress": "x.x.x.x"
}
},
{
"name": "localgw2",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2",
"etag": "W/\"00000000-0000-0000-0000-000000000000\"",
"type": "Microsoft.Network/localNetworkGateways",
"location": "eastus",
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-000000000000",
"localNetworkAddressSpace": {
"addressPrefixes": [
"10.2.0.0/16"
]
},
"gatewayIpAddress": "x.x.x.x"
}
}
]
}
Tanımlar
Name | Description |
---|---|
Address |
AddressSpace, sanal ağın alt ağları tarafından kullanılabilecek bir IP adresi aralıkları dizisi içerir. |
Bgp |
BGP ayarları ayrıntıları. |
Cloud |
Hizmetten bir hata yanıtı. |
Cloud |
Hizmetten bir hata yanıtı. |
IPConfiguration |
IPConfigurationBgpPeeringAddress özellikleri. |
Local |
Genel kaynak bilgileri için ortak bir sınıf. |
Local |
ListLocalNetworkGateways API hizmet çağrısı yanıtı. |
Provisioning |
Geçerli sağlama durumu. |
AddressSpace
AddressSpace, sanal ağın alt ağları tarafından kullanılabilecek bir IP adresi aralıkları dizisi içerir.
Name | Tür | Description |
---|---|---|
addressPrefixes |
string[] |
CIDR gösteriminde bu sanal ağ için ayrılmış adres bloklarının listesi. |
BgpSettings
BGP ayarları ayrıntıları.
Name | Tür | Description |
---|---|---|
asn |
integer |
BGP hoparlörün ASN'sini. |
bgpPeeringAddress |
string |
Bu BGP konuşmacısının BGP eşleme adresi ve BGP tanımlayıcısı. |
bgpPeeringAddresses |
Sanal ağ geçidi için IP yapılandırma kimliğine sahip BGP eşleme adresi. |
|
peerWeight |
integer |
Bu BGP hoparlöründen öğrenilen rotalara eklenen ağırlık. |
CloudError
Hizmetten bir hata yanıtı.
Name | Tür | Description |
---|---|---|
error |
Bulut hata gövdesi. |
CloudErrorBody
Hizmetten bir hata yanıtı.
Name | Tür | Description |
---|---|---|
code |
string |
Hatanın tanımlayıcısı. Kodlar sabittir ve program aracılığıyla kullanılması amaçlanmıştır. |
details |
Hatayla ilgili ek ayrıntıların listesi. |
|
message |
string |
Hatayı açıklayan ve kullanıcı arabiriminde görüntülenmeye uygun olması amaçlanan bir ileti. |
target |
string |
Belirli bir hatanın hedefi. Örneğin, özelliğin adı hatalı. |
IPConfigurationBgpPeeringAddress
IPConfigurationBgpPeeringAddress özellikleri.
Name | Tür | Description |
---|---|---|
customBgpIpAddresses |
string[] |
IP yapılandırmasına ait özel BGP eşleme adreslerinin listesi. |
defaultBgpIpAddresses |
string[] |
IP yapılandırmasına ait varsayılan BGP eşleme adreslerinin listesi. |
ipconfigurationId |
string |
Ağ geçidine ait IP yapılandırmasının kimliği. |
tunnelIpAddresses |
string[] |
IP yapılandırmasına ait tünel genel IP adreslerinin listesi. |
LocalNetworkGateway
Genel kaynak bilgileri için ortak bir sınıf.
Name | Tür | Description |
---|---|---|
etag |
string |
Kaynak her güncelleştirildiğinde değişen benzersiz bir salt okunur dize. |
id |
string |
Kaynak Kimliği. |
location |
string |
Kaynak konumu. |
name |
string |
Kaynak adı. |
properties.bgpSettings |
Yerel ağ geçidinin BGP hoparlör ayarları. |
|
properties.fqdn |
string |
Yerel ağ geçidinin FQDN'sini seçin. |
properties.gatewayIpAddress |
string |
Yerel ağ geçidinin IP adresi. |
properties.localNetworkAddressSpace |
Yerel ağ sitesi adres alanı. |
|
properties.provisioningState |
Yerel ağ geçidi kaynağının sağlama durumu. |
|
properties.resourceGuid |
string |
Yerel ağ geçidi kaynağının kaynak GUID özelliği. |
tags |
object |
Kaynak etiketleri. |
type |
string |
Kaynak türü. |
LocalNetworkGatewayListResult
ListLocalNetworkGateways API hizmet çağrısı yanıtı.
Name | Tür | Description |
---|---|---|
nextLink |
string |
Sonraki sonuç kümesini almak için URL. |
value |
Kaynak grubunda bulunan yerel ağ geçitlerinin listesi. |
ProvisioningState
Geçerli sağlama durumu.
Name | Tür | Description |
---|---|---|
Deleting |
string |
|
Failed |
string |
|
Succeeded |
string |
|
Updating |
string |