Class VpnSiteInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.network.fluent.models.VpnSiteInner
-
public final class VpnSiteInner extends com.azure.core.management.ResourceVpnSite Resource.
-
-
Constructor Summary
Constructors Constructor Description VpnSiteInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressSpaceaddressSpace()Get the addressSpace property: The AddressSpace that contains an array of IP address ranges.BgpSettingsbgpProperties()Get the bgpProperties property: The set of bgp properties.DevicePropertiesdeviceProperties()Get the deviceProperties property: The device properties.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.Stringid()Get the id property: Resource ID.StringipAddress()Get the ipAddress property: The ip-address for the vpn-site.BooleanisSecuritySite()Get the isSecuritySite property: IsSecuritySite flag.O365PolicyPropertieso365Policy()Get the o365Policy property: Office365 Policy.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the VPN site resource.StringsiteKey()Get the siteKey property: The key for vpn-site that can be used for connections.voidvalidate()Validates the instance.com.azure.core.management.SubResourcevirtualWan()Get the virtualWan property: The VirtualWAN to which the vpnSite belongs.List<VpnSiteLinkInner>vpnSiteLinks()Get the vpnSiteLinks property: List of all vpn site links.VpnSiteInnerwithAddressSpace(AddressSpace addressSpace)Set the addressSpace property: The AddressSpace that contains an array of IP address ranges.VpnSiteInnerwithBgpProperties(BgpSettings bgpProperties)Set the bgpProperties property: The set of bgp properties.VpnSiteInnerwithDeviceProperties(DeviceProperties deviceProperties)Set the deviceProperties property: The device properties.VpnSiteInnerwithId(String id)Set the id property: Resource ID.VpnSiteInnerwithIpAddress(String ipAddress)Set the ipAddress property: The ip-address for the vpn-site.VpnSiteInnerwithIsSecuritySite(Boolean isSecuritySite)Set the isSecuritySite property: IsSecuritySite flag.VpnSiteInnerwithLocation(String location)VpnSiteInnerwithO365Policy(O365PolicyProperties o365Policy)Set the o365Policy property: Office365 Policy.VpnSiteInnerwithSiteKey(String siteKey)Set the siteKey property: The key for vpn-site that can be used for connections.VpnSiteInnerwithTags(Map<String,String> tags)VpnSiteInnerwithVirtualWan(com.azure.core.management.SubResource virtualWan)Set the virtualWan property: The VirtualWAN to which the vpnSite belongs.VpnSiteInnerwithVpnSiteLinks(List<VpnSiteLinkInner> vpnSiteLinks)Set the vpnSiteLinks property: List of all vpn site links.
-
-
-
Method Detail
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
id
public String id()
Get the id property: Resource ID.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
public VpnSiteInner withId(String id)
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the VpnSiteInner object itself.
-
withLocation
public VpnSiteInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public VpnSiteInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
virtualWan
public com.azure.core.management.SubResource virtualWan()
Get the virtualWan property: The VirtualWAN to which the vpnSite belongs.- Returns:
- the virtualWan value.
-
withVirtualWan
public VpnSiteInner withVirtualWan(com.azure.core.management.SubResource virtualWan)
Set the virtualWan property: The VirtualWAN to which the vpnSite belongs.- Parameters:
virtualWan- the virtualWan value to set.- Returns:
- the VpnSiteInner object itself.
-
deviceProperties
public DeviceProperties deviceProperties()
Get the deviceProperties property: The device properties.- Returns:
- the deviceProperties value.
-
withDeviceProperties
public VpnSiteInner withDeviceProperties(DeviceProperties deviceProperties)
Set the deviceProperties property: The device properties.- Parameters:
deviceProperties- the deviceProperties value to set.- Returns:
- the VpnSiteInner object itself.
-
ipAddress
public String ipAddress()
Get the ipAddress property: The ip-address for the vpn-site.- Returns:
- the ipAddress value.
-
withIpAddress
public VpnSiteInner withIpAddress(String ipAddress)
Set the ipAddress property: The ip-address for the vpn-site.- Parameters:
ipAddress- the ipAddress value to set.- Returns:
- the VpnSiteInner object itself.
-
siteKey
public String siteKey()
Get the siteKey property: The key for vpn-site that can be used for connections.- Returns:
- the siteKey value.
-
withSiteKey
public VpnSiteInner withSiteKey(String siteKey)
Set the siteKey property: The key for vpn-site that can be used for connections.- Parameters:
siteKey- the siteKey value to set.- Returns:
- the VpnSiteInner object itself.
-
addressSpace
public AddressSpace addressSpace()
Get the addressSpace property: The AddressSpace that contains an array of IP address ranges.- Returns:
- the addressSpace value.
-
withAddressSpace
public VpnSiteInner withAddressSpace(AddressSpace addressSpace)
Set the addressSpace property: The AddressSpace that contains an array of IP address ranges.- Parameters:
addressSpace- the addressSpace value to set.- Returns:
- the VpnSiteInner object itself.
-
bgpProperties
public BgpSettings bgpProperties()
Get the bgpProperties property: The set of bgp properties.- Returns:
- the bgpProperties value.
-
withBgpProperties
public VpnSiteInner withBgpProperties(BgpSettings bgpProperties)
Set the bgpProperties property: The set of bgp properties.- Parameters:
bgpProperties- the bgpProperties value to set.- Returns:
- the VpnSiteInner object itself.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the VPN site resource.- Returns:
- the provisioningState value.
-
isSecuritySite
public Boolean isSecuritySite()
Get the isSecuritySite property: IsSecuritySite flag.- Returns:
- the isSecuritySite value.
-
withIsSecuritySite
public VpnSiteInner withIsSecuritySite(Boolean isSecuritySite)
Set the isSecuritySite property: IsSecuritySite flag.- Parameters:
isSecuritySite- the isSecuritySite value to set.- Returns:
- the VpnSiteInner object itself.
-
vpnSiteLinks
public List<VpnSiteLinkInner> vpnSiteLinks()
Get the vpnSiteLinks property: List of all vpn site links.- Returns:
- the vpnSiteLinks value.
-
withVpnSiteLinks
public VpnSiteInner withVpnSiteLinks(List<VpnSiteLinkInner> vpnSiteLinks)
Set the vpnSiteLinks property: List of all vpn site links.- Parameters:
vpnSiteLinks- the vpnSiteLinks value to set.- Returns:
- the VpnSiteInner object itself.
-
o365Policy
public O365PolicyProperties o365Policy()
Get the o365Policy property: Office365 Policy.- Returns:
- the o365Policy value.
-
withO365Policy
public VpnSiteInner withO365Policy(O365PolicyProperties o365Policy)
Set the o365Policy property: Office365 Policy.- Parameters:
o365Policy- the o365Policy value to set.- Returns:
- the VpnSiteInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-