This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.network.getVpnSite
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
Retrieves the details of a VPN site. Azure REST API version: 2023-02-01.
Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01.
Using getVpnSite
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVpnSite(args: GetVpnSiteArgs, opts?: InvokeOptions): Promise<GetVpnSiteResult>
function getVpnSiteOutput(args: GetVpnSiteOutputArgs, opts?: InvokeOptions): Output<GetVpnSiteResult>def get_vpn_site(resource_group_name: Optional[str] = None,
                 vpn_site_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetVpnSiteResult
def get_vpn_site_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                 vpn_site_name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetVpnSiteResult]func LookupVpnSite(ctx *Context, args *LookupVpnSiteArgs, opts ...InvokeOption) (*LookupVpnSiteResult, error)
func LookupVpnSiteOutput(ctx *Context, args *LookupVpnSiteOutputArgs, opts ...InvokeOption) LookupVpnSiteResultOutput> Note: This function is named LookupVpnSite in the Go SDK.
public static class GetVpnSite 
{
    public static Task<GetVpnSiteResult> InvokeAsync(GetVpnSiteArgs args, InvokeOptions? opts = null)
    public static Output<GetVpnSiteResult> Invoke(GetVpnSiteInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVpnSiteResult> getVpnSite(GetVpnSiteArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: azure-native:network:getVpnSite
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The resource group name of the VpnSite.
- VpnSite stringName 
- The name of the VpnSite being retrieved.
- ResourceGroup stringName 
- The resource group name of the VpnSite.
- VpnSite stringName 
- The name of the VpnSite being retrieved.
- resourceGroup StringName 
- The resource group name of the VpnSite.
- vpnSite StringName 
- The name of the VpnSite being retrieved.
- resourceGroup stringName 
- The resource group name of the VpnSite.
- vpnSite stringName 
- The name of the VpnSite being retrieved.
- resource_group_ strname 
- The resource group name of the VpnSite.
- vpn_site_ strname 
- The name of the VpnSite being retrieved.
- resourceGroup StringName 
- The resource group name of the VpnSite.
- vpnSite StringName 
- The name of the VpnSite being retrieved.
getVpnSite Result
The following output properties are available:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Location string
- Resource location.
- Name string
- Resource name.
- ProvisioningState string
- The provisioning state of the VPN site resource.
- Type string
- Resource type.
- AddressSpace Pulumi.Azure Native. Network. Outputs. Address Space Response 
- The AddressSpace that contains an array of IP address ranges.
- BgpProperties Pulumi.Azure Native. Network. Outputs. Bgp Settings Response 
- The set of bgp properties.
- DeviceProperties Pulumi.Azure Native. Network. Outputs. Device Properties Response 
- The device properties.
- Id string
- Resource ID.
- IpAddress string
- The ip-address for the vpn-site.
- IsSecurity boolSite 
- IsSecuritySite flag.
- O365Policy
Pulumi.Azure Native. Network. Outputs. O365Policy Properties Response 
- Office365 Policy.
- SiteKey string
- The key for vpn-site that can be used for connections.
- Dictionary<string, string>
- Resource tags.
- VirtualWan Pulumi.Azure Native. Network. Outputs. Sub Resource Response 
- The VirtualWAN to which the vpnSite belongs.
- VpnSite List<Pulumi.Links Azure Native. Network. Outputs. Vpn Site Link Response> 
- List of all vpn site links.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Location string
- Resource location.
- Name string
- Resource name.
- ProvisioningState string
- The provisioning state of the VPN site resource.
- Type string
- Resource type.
- AddressSpace AddressSpace Response 
- The AddressSpace that contains an array of IP address ranges.
- BgpProperties BgpSettings Response 
- The set of bgp properties.
- DeviceProperties DeviceProperties Response 
- The device properties.
- Id string
- Resource ID.
- IpAddress string
- The ip-address for the vpn-site.
- IsSecurity boolSite 
- IsSecuritySite flag.
- O365Policy
O365PolicyProperties Response 
- Office365 Policy.
- SiteKey string
- The key for vpn-site that can be used for connections.
- map[string]string
- Resource tags.
- VirtualWan SubResource Response 
- The VirtualWAN to which the vpnSite belongs.
- VpnSite []VpnLinks Site Link Response 
- List of all vpn site links.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- location String
- Resource location.
- name String
- Resource name.
- provisioningState String
- The provisioning state of the VPN site resource.
- type String
- Resource type.
- addressSpace AddressSpace Response 
- The AddressSpace that contains an array of IP address ranges.
- bgpProperties BgpSettings Response 
- The set of bgp properties.
- deviceProperties DeviceProperties Response 
- The device properties.
- id String
- Resource ID.
- ipAddress String
- The ip-address for the vpn-site.
- isSecurity BooleanSite 
- IsSecuritySite flag.
- o365Policy
O365PolicyProperties Response 
- Office365 Policy.
- siteKey String
- The key for vpn-site that can be used for connections.
- Map<String,String>
- Resource tags.
- virtualWan SubResource Response 
- The VirtualWAN to which the vpnSite belongs.
- vpnSite List<VpnLinks Site Link Response> 
- List of all vpn site links.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- location string
- Resource location.
- name string
- Resource name.
- provisioningState string
- The provisioning state of the VPN site resource.
- type string
- Resource type.
- addressSpace AddressSpace Response 
- The AddressSpace that contains an array of IP address ranges.
- bgpProperties BgpSettings Response 
- The set of bgp properties.
- deviceProperties DeviceProperties Response 
- The device properties.
- id string
- Resource ID.
- ipAddress string
- The ip-address for the vpn-site.
- isSecurity booleanSite 
- IsSecuritySite flag.
- o365Policy
O365PolicyProperties Response 
- Office365 Policy.
- siteKey string
- The key for vpn-site that can be used for connections.
- {[key: string]: string}
- Resource tags.
- virtualWan SubResource Response 
- The VirtualWAN to which the vpnSite belongs.
- vpnSite VpnLinks Site Link Response[] 
- List of all vpn site links.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- location str
- Resource location.
- name str
- Resource name.
- provisioning_state str
- The provisioning state of the VPN site resource.
- type str
- Resource type.
- address_space AddressSpace Response 
- The AddressSpace that contains an array of IP address ranges.
- bgp_properties BgpSettings Response 
- The set of bgp properties.
- device_properties DeviceProperties Response 
- The device properties.
- id str
- Resource ID.
- ip_address str
- The ip-address for the vpn-site.
- is_security_ boolsite 
- IsSecuritySite flag.
- o365_policy O365PolicyProperties Response 
- Office365 Policy.
- site_key str
- The key for vpn-site that can be used for connections.
- Mapping[str, str]
- Resource tags.
- virtual_wan SubResource Response 
- The VirtualWAN to which the vpnSite belongs.
- vpn_site_ Sequence[Vpnlinks Site Link Response] 
- List of all vpn site links.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- location String
- Resource location.
- name String
- Resource name.
- provisioningState String
- The provisioning state of the VPN site resource.
- type String
- Resource type.
- addressSpace Property Map
- The AddressSpace that contains an array of IP address ranges.
- bgpProperties Property Map
- The set of bgp properties.
- deviceProperties Property Map
- The device properties.
- id String
- Resource ID.
- ipAddress String
- The ip-address for the vpn-site.
- isSecurity BooleanSite 
- IsSecuritySite flag.
- o365Policy Property Map
- Office365 Policy.
- siteKey String
- The key for vpn-site that can be used for connections.
- Map<String>
- Resource tags.
- virtualWan Property Map
- The VirtualWAN to which the vpnSite belongs.
- vpnSite List<Property Map>Links 
- List of all vpn site links.
Supporting Types
AddressSpaceResponse  
- AddressPrefixes List<string>
- A list of address blocks reserved for this virtual network in CIDR notation.
- AddressPrefixes []string
- A list of address blocks reserved for this virtual network in CIDR notation.
- addressPrefixes List<String>
- A list of address blocks reserved for this virtual network in CIDR notation.
- addressPrefixes string[]
- A list of address blocks reserved for this virtual network in CIDR notation.
- address_prefixes Sequence[str]
- A list of address blocks reserved for this virtual network in CIDR notation.
- addressPrefixes List<String>
- A list of address blocks reserved for this virtual network in CIDR notation.
BgpSettingsResponse  
- Asn double
- The BGP speaker's ASN.
- BgpPeering stringAddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- BgpPeering List<Pulumi.Addresses Azure Native. Network. Inputs. IPConfiguration Bgp Peering Address Response> 
- BGP peering address with IP configuration ID for virtual network gateway.
- PeerWeight int
- The weight added to routes learned from this BGP speaker.
- Asn float64
- The BGP speaker's ASN.
- BgpPeering stringAddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- BgpPeering []IPConfigurationAddresses Bgp Peering Address Response 
- BGP peering address with IP configuration ID for virtual network gateway.
- PeerWeight int
- The weight added to routes learned from this BGP speaker.
- asn Double
- The BGP speaker's ASN.
- bgpPeering StringAddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- bgpPeering List<IPConfigurationAddresses Bgp Peering Address Response> 
- BGP peering address with IP configuration ID for virtual network gateway.
- peerWeight Integer
- The weight added to routes learned from this BGP speaker.
- asn number
- The BGP speaker's ASN.
- bgpPeering stringAddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- bgpPeering IPConfigurationAddresses Bgp Peering Address Response[] 
- BGP peering address with IP configuration ID for virtual network gateway.
- peerWeight number
- The weight added to routes learned from this BGP speaker.
- asn float
- The BGP speaker's ASN.
- bgp_peering_ straddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- bgp_peering_ Sequence[IPConfigurationaddresses Bgp Peering Address Response] 
- BGP peering address with IP configuration ID for virtual network gateway.
- peer_weight int
- The weight added to routes learned from this BGP speaker.
- asn Number
- The BGP speaker's ASN.
- bgpPeering StringAddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- bgpPeering List<Property Map>Addresses 
- BGP peering address with IP configuration ID for virtual network gateway.
- peerWeight Number
- The weight added to routes learned from this BGP speaker.
DevicePropertiesResponse  
- DeviceModel string
- Model of the device.
- DeviceVendor string
- Name of the device Vendor.
- LinkSpeed intIn Mbps 
- Link speed.
- DeviceModel string
- Model of the device.
- DeviceVendor string
- Name of the device Vendor.
- LinkSpeed intIn Mbps 
- Link speed.
- deviceModel String
- Model of the device.
- deviceVendor String
- Name of the device Vendor.
- linkSpeed IntegerIn Mbps 
- Link speed.
- deviceModel string
- Model of the device.
- deviceVendor string
- Name of the device Vendor.
- linkSpeed numberIn Mbps 
- Link speed.
- device_model str
- Model of the device.
- device_vendor str
- Name of the device Vendor.
- link_speed_ intin_ mbps 
- Link speed.
- deviceModel String
- Model of the device.
- deviceVendor String
- Name of the device Vendor.
- linkSpeed NumberIn Mbps 
- Link speed.
IPConfigurationBgpPeeringAddressResponse    
- DefaultBgp List<string>Ip Addresses 
- The list of default BGP peering addresses which belong to IP configuration.
- TunnelIp List<string>Addresses 
- The list of tunnel public IP addresses which belong to IP configuration.
- CustomBgp List<string>Ip Addresses 
- The list of custom BGP peering addresses which belong to IP configuration.
- IpconfigurationId string
- The ID of IP configuration which belongs to gateway.
- DefaultBgp []stringIp Addresses 
- The list of default BGP peering addresses which belong to IP configuration.
- TunnelIp []stringAddresses 
- The list of tunnel public IP addresses which belong to IP configuration.
- CustomBgp []stringIp Addresses 
- The list of custom BGP peering addresses which belong to IP configuration.
- IpconfigurationId string
- The ID of IP configuration which belongs to gateway.
- defaultBgp List<String>Ip Addresses 
- The list of default BGP peering addresses which belong to IP configuration.
- tunnelIp List<String>Addresses 
- The list of tunnel public IP addresses which belong to IP configuration.
- customBgp List<String>Ip Addresses 
- The list of custom BGP peering addresses which belong to IP configuration.
- ipconfigurationId String
- The ID of IP configuration which belongs to gateway.
- defaultBgp string[]Ip Addresses 
- The list of default BGP peering addresses which belong to IP configuration.
- tunnelIp string[]Addresses 
- The list of tunnel public IP addresses which belong to IP configuration.
- customBgp string[]Ip Addresses 
- The list of custom BGP peering addresses which belong to IP configuration.
- ipconfigurationId string
- The ID of IP configuration which belongs to gateway.
- default_bgp_ Sequence[str]ip_ addresses 
- The list of default BGP peering addresses which belong to IP configuration.
- tunnel_ip_ Sequence[str]addresses 
- The list of tunnel public IP addresses which belong to IP configuration.
- custom_bgp_ Sequence[str]ip_ addresses 
- The list of custom BGP peering addresses which belong to IP configuration.
- ipconfiguration_id str
- The ID of IP configuration which belongs to gateway.
- defaultBgp List<String>Ip Addresses 
- The list of default BGP peering addresses which belong to IP configuration.
- tunnelIp List<String>Addresses 
- The list of tunnel public IP addresses which belong to IP configuration.
- customBgp List<String>Ip Addresses 
- The list of custom BGP peering addresses which belong to IP configuration.
- ipconfigurationId String
- The ID of IP configuration which belongs to gateway.
O365BreakOutCategoryPoliciesResponse    
O365PolicyPropertiesResponse  
- BreakOut Pulumi.Categories Azure Native. Network. Inputs. O365Break Out Category Policies Response 
- Office365 breakout categories.
- BreakOut O365BreakCategories Out Category Policies Response 
- Office365 breakout categories.
- breakOut O365BreakCategories Out Category Policies Response 
- Office365 breakout categories.
- breakOut O365BreakCategories Out Category Policies Response 
- Office365 breakout categories.
- break_out_ O365Breakcategories Out Category Policies Response 
- Office365 breakout categories.
- breakOut Property MapCategories 
- Office365 breakout categories.
SubResourceResponse  
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
VpnLinkBgpSettingsResponse    
- Asn double
- The BGP speaker's ASN.
- BgpPeering stringAddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- Asn float64
- The BGP speaker's ASN.
- BgpPeering stringAddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- asn Double
- The BGP speaker's ASN.
- bgpPeering StringAddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- asn number
- The BGP speaker's ASN.
- bgpPeering stringAddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- asn float
- The BGP speaker's ASN.
- bgp_peering_ straddress 
- The BGP peering address and BGP identifier of this BGP speaker.
- asn Number
- The BGP speaker's ASN.
- bgpPeering StringAddress 
- The BGP peering address and BGP identifier of this BGP speaker.
VpnLinkProviderPropertiesResponse    
- LinkProvider stringName 
- Name of the link provider.
- LinkSpeed intIn Mbps 
- Link speed.
- LinkProvider stringName 
- Name of the link provider.
- LinkSpeed intIn Mbps 
- Link speed.
- linkProvider StringName 
- Name of the link provider.
- linkSpeed IntegerIn Mbps 
- Link speed.
- linkProvider stringName 
- Name of the link provider.
- linkSpeed numberIn Mbps 
- Link speed.
- link_provider_ strname 
- Name of the link provider.
- link_speed_ intin_ mbps 
- Link speed.
- linkProvider StringName 
- Name of the link provider.
- linkSpeed NumberIn Mbps 
- Link speed.
VpnSiteLinkResponse   
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- ProvisioningState string
- The provisioning state of the VPN site link resource.
- Type string
- Resource type.
- BgpProperties Pulumi.Azure Native. Network. Inputs. Vpn Link Bgp Settings Response 
- The set of bgp properties.
- Fqdn string
- FQDN of vpn-site-link.
- Id string
- Resource ID.
- IpAddress string
- The ip-address for the vpn-site-link.
- LinkProperties Pulumi.Azure Native. Network. Inputs. Vpn Link Provider Properties Response 
- The link provider properties.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- ProvisioningState string
- The provisioning state of the VPN site link resource.
- Type string
- Resource type.
- BgpProperties VpnLink Bgp Settings Response 
- The set of bgp properties.
- Fqdn string
- FQDN of vpn-site-link.
- Id string
- Resource ID.
- IpAddress string
- The ip-address for the vpn-site-link.
- LinkProperties VpnLink Provider Properties Response 
- The link provider properties.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- provisioningState String
- The provisioning state of the VPN site link resource.
- type String
- Resource type.
- bgpProperties VpnLink Bgp Settings Response 
- The set of bgp properties.
- fqdn String
- FQDN of vpn-site-link.
- id String
- Resource ID.
- ipAddress String
- The ip-address for the vpn-site-link.
- linkProperties VpnLink Provider Properties Response 
- The link provider properties.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- provisioningState string
- The provisioning state of the VPN site link resource.
- type string
- Resource type.
- bgpProperties VpnLink Bgp Settings Response 
- The set of bgp properties.
- fqdn string
- FQDN of vpn-site-link.
- id string
- Resource ID.
- ipAddress string
- The ip-address for the vpn-site-link.
- linkProperties VpnLink Provider Properties Response 
- The link provider properties.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- provisioning_state str
- The provisioning state of the VPN site link resource.
- type str
- Resource type.
- bgp_properties VpnLink Bgp Settings Response 
- The set of bgp properties.
- fqdn str
- FQDN of vpn-site-link.
- id str
- Resource ID.
- ip_address str
- The ip-address for the vpn-site-link.
- link_properties VpnLink Provider Properties Response 
- The link provider properties.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- provisioningState String
- The provisioning state of the VPN site link resource.
- type String
- Resource type.
- bgpProperties Property Map
- The set of bgp properties.
- fqdn String
- FQDN of vpn-site-link.
- id String
- Resource ID.
- ipAddress String
- The ip-address for the vpn-site-link.
- linkProperties Property Map
- The link provider properties.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi