ConnectionPolicyProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ConnectionPolicyProperties
- com.
Implements
public final class ConnectionPolicyProperties
implements JsonSerializable<ConnectionPolicyProperties>
Properties of the ConnectionPolicy resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ConnectionPolicyProperties() |
Creates an instance of Connection |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
associatedConnections()
Get the associated |
| Boolean |
enableInternetSecurity()
Get the enable |
|
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
|
Common |
provisioningState()
Get the provisioning |
|
Routing |
routingConfiguration()
Get the routing |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Connection |
withEnableInternetSecurity(Boolean enableInternetSecurity)
Set the enable |
|
Connection |
withRoutingConfiguration(RoutingConfiguration routingConfiguration)
Set the routing |
Methods inherited from java.lang.Object
Constructor Details
ConnectionPolicyProperties
public ConnectionPolicyProperties()
Creates an instance of ConnectionPolicyProperties class.
Method Details
associatedConnections
public List<String> associatedConnections()
Get the associatedConnections property: List of connection names (e.g. VpnConnection, HubVirtualNetworkConnection) associated with this ConnectionPolicy. These are resource names, not Azure resource IDs, consistent with the established VirtualWAN pattern used by HubRouteTable.associatedConnections.
Returns:
enableInternetSecurity
public Boolean enableInternetSecurity()
Get the enableInternetSecurity property: Enable internet security.
Returns:
fromJson
public static ConnectionPolicyProperties fromJson(JsonReader jsonReader)
Reads an instance of ConnectionPolicyProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public CommonProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the ConnectionPolicy resource.
Returns:
routingConfiguration
public RoutingConfiguration routingConfiguration()
Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnableInternetSecurity
public ConnectionPolicyProperties withEnableInternetSecurity(Boolean enableInternetSecurity)
Set the enableInternetSecurity property: Enable internet security.
Parameters:
Returns:
withRoutingConfiguration
public ConnectionPolicyProperties withRoutingConfiguration(RoutingConfiguration routingConfiguration)
Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.
Parameters:
Returns: