DdosProtectionPlanInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. DdosProtectionPlanInner
- com.
- com.
- com.
public final class DdosProtectionPlanInner
extends Resource
A DDoS protection plan in a resource group.
Constructor Summary
Constructor | Description |
---|---|
DdosProtectionPlanInner() |
Creates an instance of Ddos |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Ddos |
fromJson(JsonReader jsonReader)
Reads an instance of Ddos |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Provisioning |
provisioningState()
Get the provisioning |
List<Sub |
publicIpAddresses()
Get the public |
String |
resourceGuid()
Get the resource |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
List<Sub |
virtualNetworks()
Get the virtual |
Ddos |
withLocation(String location) |
Ddos |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
DdosProtectionPlanInner
public DdosProtectionPlanInner()
Creates an instance of DdosProtectionPlanInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static DdosProtectionPlanInner fromJson(JsonReader jsonReader)
Reads an instance of DdosProtectionPlanInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DdosProtectionPlanInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DdosProtectionPlanInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the DDoS protection plan resource.
Returns:
publicIpAddresses
public List
Get the publicIpAddresses property: The list of public IPs associated with the DDoS protection plan resource. This list is read-only.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DdosProtectionPlanInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DdosProtectionPlanInner.type()Returns:
validate
public void validate()
Validates the instance.
virtualNetworks
public List
Get the virtualNetworks property: The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
Returns:
withLocation
public DdosProtectionPlanInner withLocation(String location)
Overrides:
DdosProtectionPlanInner.withLocation(String location)Parameters:
withTags
public DdosProtectionPlanInner withTags(Map
Overrides:
DdosProtectionPlanInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java