public class VpnSiteInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
VpnSiteInner() |
| Modifier and Type | Method and Description |
|---|---|
AddressSpace |
addressSpace()
Get the addressSpace property: The AddressSpace that contains an array of IP address ranges.
|
BgpSettings |
bgpProperties()
Get the bgpProperties property: The set of bgp properties.
|
DeviceProperties |
deviceProperties()
Get the deviceProperties property: The device properties.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
id()
Get the id property: Resource ID.
|
String |
ipAddress()
Get the ipAddress property: The ip-address for the vpn-site.
|
Boolean |
isSecuritySite()
Get the isSecuritySite property: IsSecuritySite flag.
|
O365PolicyProperties |
o365Policy()
Get the o365Policy property: Office365 Policy.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the VPN site resource.
|
String |
siteKey()
Get the siteKey property: The key for vpn-site that can be used for connections.
|
void |
validate()
Validates the instance.
|
com.azure.core.management.SubResource |
virtualWan()
Get the virtualWan property: The VirtualWAN to which the vpnSite belongs.
|
List<VpnSiteLinkInner> |
vpnSiteLinks()
Get the vpnSiteLinks property: List of all vpn site links.
|
VpnSiteInner |
withAddressSpace(AddressSpace addressSpace)
Set the addressSpace property: The AddressSpace that contains an array of IP address ranges.
|
VpnSiteInner |
withBgpProperties(BgpSettings bgpProperties)
Set the bgpProperties property: The set of bgp properties.
|
VpnSiteInner |
withDeviceProperties(DeviceProperties deviceProperties)
Set the deviceProperties property: The device properties.
|
VpnSiteInner |
withId(String id)
Set the id property: Resource ID.
|
VpnSiteInner |
withIpAddress(String ipAddress)
Set the ipAddress property: The ip-address for the vpn-site.
|
VpnSiteInner |
withIsSecuritySite(Boolean isSecuritySite)
Set the isSecuritySite property: IsSecuritySite flag.
|
VpnSiteInner |
withLocation(String location) |
VpnSiteInner |
withO365Policy(O365PolicyProperties o365Policy)
Set the o365Policy property: Office365 Policy.
|
VpnSiteInner |
withSiteKey(String siteKey)
Set the siteKey property: The key for vpn-site that can be used for connections.
|
VpnSiteInner |
withTags(Map<String,String> tags) |
VpnSiteInner |
withVirtualWan(com.azure.core.management.SubResource virtualWan)
Set the virtualWan property: The VirtualWAN to which the vpnSite belongs.
|
VpnSiteInner |
withVpnSiteLinks(List<VpnSiteLinkInner> vpnSiteLinks)
Set the vpnSiteLinks property: List of all vpn site links.
|
public String etag()
public com.azure.core.management.SubResource virtualWan()
public VpnSiteInner withVirtualWan(com.azure.core.management.SubResource virtualWan)
virtualWan - the virtualWan value to set.public DeviceProperties deviceProperties()
public VpnSiteInner withDeviceProperties(DeviceProperties deviceProperties)
deviceProperties - the deviceProperties value to set.public String ipAddress()
public VpnSiteInner withIpAddress(String ipAddress)
ipAddress - the ipAddress value to set.public String siteKey()
public VpnSiteInner withSiteKey(String siteKey)
siteKey - the siteKey value to set.public AddressSpace addressSpace()
public VpnSiteInner withAddressSpace(AddressSpace addressSpace)
addressSpace - the addressSpace value to set.public BgpSettings bgpProperties()
public VpnSiteInner withBgpProperties(BgpSettings bgpProperties)
bgpProperties - the bgpProperties value to set.public ProvisioningState provisioningState()
public Boolean isSecuritySite()
public VpnSiteInner withIsSecuritySite(Boolean isSecuritySite)
isSecuritySite - the isSecuritySite value to set.public List<VpnSiteLinkInner> vpnSiteLinks()
public VpnSiteInner withVpnSiteLinks(List<VpnSiteLinkInner> vpnSiteLinks)
vpnSiteLinks - the vpnSiteLinks value to set.public O365PolicyProperties o365Policy()
public VpnSiteInner withO365Policy(O365PolicyProperties o365Policy)
o365Policy - the o365Policy value to set.public String id()
id in class com.azure.core.management.ProxyResourcepublic VpnSiteInner withId(String id)
id - the id value to set.public VpnSiteInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic VpnSiteInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.