VpnSiteInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. VpnSiteInner
- com.
- com.
- com.
public final class VpnSiteInner
extends Resource
VpnSite Resource.
Constructor Summary
Constructor | Description |
---|---|
VpnSiteInner() |
Creates an instance of Vpn |
Method Summary
Modifier and Type | Method and Description |
---|---|
Address |
addressSpace()
Get the address |
Bgp |
bgpProperties()
Get the bgp |
Device |
deviceProperties()
Get the device |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Vpn |
fromJson(JsonReader jsonReader)
Reads an instance of Vpn |
String |
id()
Get the id property: Resource ID. |
String |
ipAddress()
Get the ip |
Boolean |
isSecuritySite()
Get the is |
String |
name()
Get the name property: The name of the resource. |
O365Policy |
o365Policy()
Get the o365Policy property: Office365 Policy. |
Provisioning |
provisioningState()
Get the provisioning |
String |
siteKey()
Get the site |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Sub |
virtualWan()
Get the virtual |
List<Vpn |
vpnSiteLinks()
Get the vpn |
Vpn |
withAddressSpace(AddressSpace addressSpace)
Set the address |
Vpn |
withBgpProperties(BgpSettings bgpProperties)
Set the bgp |
Vpn |
withDeviceProperties(DeviceProperties deviceProperties)
Set the device |
Vpn |
withId(String id)
Set the id property: Resource ID. |
Vpn |
withIpAddress(String ipAddress)
Set the ip |
Vpn |
withIsSecuritySite(Boolean isSecuritySite)
Set the is |
Vpn |
withLocation(String location) |
Vpn |
withO365Policy(O365PolicyProperties o365Policy)
Set the o365Policy property: Office365 Policy. |
Vpn |
withSiteKey(String siteKey)
Set the site |
Vpn |
withTags(Map<String,String> tags) |
Vpn |
withVirtualWan(SubResource virtualWan)
Set the virtual |
Vpn |
withVpnSiteLinks(List<VpnSiteLinkInner> vpnSiteLinks)
Set the vpn |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
VpnSiteInner
public VpnSiteInner()
Creates an instance of VpnSiteInner class.
Method Details
addressSpace
public AddressSpace addressSpace()
Get the addressSpace property: The AddressSpace that contains an array of IP address ranges.
Returns:
bgpProperties
public BgpSettings bgpProperties()
Get the bgpProperties property: The set of bgp properties.
Returns:
deviceProperties
public DeviceProperties deviceProperties()
Get the deviceProperties property: The device properties.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static VpnSiteInner fromJson(JsonReader jsonReader)
Reads an instance of VpnSiteInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
VpnSiteInner.id()Returns:
ipAddress
public String ipAddress()
Get the ipAddress property: The ip-address for the vpn-site.
Returns:
isSecuritySite
public Boolean isSecuritySite()
Get the isSecuritySite property: IsSecuritySite flag.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
VpnSiteInner.name()Returns:
o365Policy
public O365PolicyProperties o365Policy()
Get the o365Policy property: Office365 Policy.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the VPN site resource.
Returns:
siteKey
public String siteKey()
Get the siteKey property: The key for vpn-site that can be used for connections.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VpnSiteInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
VpnSiteInner.type()Returns:
validate
public void validate()
Validates the instance.
virtualWan
public SubResource virtualWan()
Get the virtualWan property: The VirtualWAN to which the vpnSite belongs.
Returns:
vpnSiteLinks
public List
Get the vpnSiteLinks property: List of all vpn site links.
Returns:
withAddressSpace
public VpnSiteInner withAddressSpace(AddressSpace addressSpace)
Set the addressSpace property: The AddressSpace that contains an array of IP address ranges.
Parameters:
Returns:
withBgpProperties
public VpnSiteInner withBgpProperties(BgpSettings bgpProperties)
Set the bgpProperties property: The set of bgp properties.
Parameters:
Returns:
withDeviceProperties
public VpnSiteInner withDeviceProperties(DeviceProperties deviceProperties)
Set the deviceProperties property: The device properties.
Parameters:
Returns:
withId
public VpnSiteInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withIpAddress
public VpnSiteInner withIpAddress(String ipAddress)
Set the ipAddress property: The ip-address for the vpn-site.
Parameters:
Returns:
withIsSecuritySite
public VpnSiteInner withIsSecuritySite(Boolean isSecuritySite)
Set the isSecuritySite property: IsSecuritySite flag.
Parameters:
Returns:
withLocation
public VpnSiteInner withLocation(String location)
Overrides:
VpnSiteInner.withLocation(String location)Parameters:
withO365Policy
public VpnSiteInner withO365Policy(O365PolicyProperties o365Policy)
Set the o365Policy property: Office365 Policy.
Parameters:
Returns:
withSiteKey
public VpnSiteInner withSiteKey(String siteKey)
Set the siteKey property: The key for vpn-site that can be used for connections.
Parameters:
Returns:
withTags
public VpnSiteInner withTags(Map
Overrides:
VpnSiteInner.withTags(Map<String,String> tags)Parameters:
withVirtualWan
public VpnSiteInner withVirtualWan(SubResource virtualWan)
Set the virtualWan property: The VirtualWAN to which the vpnSite belongs.
Parameters:
Returns:
withVpnSiteLinks
public VpnSiteInner withVpnSiteLinks(List
Set the vpnSiteLinks property: List of all vpn site links.
Parameters:
Returns:
Applies to
Azure SDK for Java