DdosCustomPolicyPropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. DdosCustomPolicyPropertiesFormat
- com.
Implements
public final class DdosCustomPolicyPropertiesFormat
implements JsonSerializable<DdosCustomPolicyPropertiesFormat>
DDoS custom policy properties.
Constructor Summary
| Constructor | Description |
|---|---|
| DdosCustomPolicyPropertiesFormat() |
Creates an instance of Ddos |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Ddos |
detectionRules()
Get the detection |
|
static
Ddos |
fromJson(JsonReader jsonReader)
Reads an instance of Ddos |
|
List<Sub |
frontEndIpConfiguration()
Get the front |
|
Provisioning |
provisioningState()
Get the provisioning |
|
List<Sub |
publicIPAddresses()
Get the public |
| String |
resourceGuid()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Ddos |
withDetectionRules(List<DdosDetectionRule> detectionRules)
Set the detection |
|
Ddos |
withFrontEndIpConfiguration(List<SubResource> frontEndIpConfiguration)
Set the front |
Methods inherited from java.lang.Object
Constructor Details
DdosCustomPolicyPropertiesFormat
public DdosCustomPolicyPropertiesFormat()
Creates an instance of DdosCustomPolicyPropertiesFormat class.
Method Details
detectionRules
public List<DdosDetectionRule> detectionRules()
Get the detectionRules property: The list of DDoS detection rules associated with the custom policy.
Returns:
fromJson
public static DdosCustomPolicyPropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of DdosCustomPolicyPropertiesFormat from the JsonReader.
Parameters:
Returns:
Throws:
frontEndIpConfiguration
public List<SubResource> frontEndIpConfiguration()
Get the frontEndIpConfiguration property: The list of frontend IP configurations associated with the custom policy.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the DDoS custom policy resource.
Returns:
publicIPAddresses
public List<SubResource> publicIPAddresses()
Get the publicIPAddresses property: The list of public IP addresses associated with the custom policy. This list is read-only.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDetectionRules
public DdosCustomPolicyPropertiesFormat withDetectionRules(List<DdosDetectionRule> detectionRules)
Set the detectionRules property: The list of DDoS detection rules associated with the custom policy.
Parameters:
Returns:
withFrontEndIpConfiguration
public DdosCustomPolicyPropertiesFormat withFrontEndIpConfiguration(List<SubResource> frontEndIpConfiguration)
Set the frontEndIpConfiguration property: The list of frontend IP configurations associated with the custom policy.
Parameters:
Returns: