com.microsoft.azure.management.network.implementation.DdosProtectionPlanInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-network Show documentation
Show all versions of azure-mgmt-network Show documentation
This package contains Microsoft Azure Network Management SDK.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network.implementation;
import java.util.List;
import com.microsoft.azure.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.rest.SkipParentValidation;
import com.microsoft.azure.Resource;
/**
* A DDoS protection plan in a resource group.
*/
@JsonFlatten
@SkipParentValidation
public class DdosProtectionPlanInner extends Resource {
/**
* 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.
*/
@JsonProperty(value = "properties.resourceGuid", access = JsonProperty.Access.WRITE_ONLY)
private String resourceGuid;
/**
* The provisioning state of the DDoS protection plan resource. Possible
* values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'.
*/
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private String provisioningState;
/**
* The list of virtual networks associated with the DDoS protection plan
* resource. This list is read-only.
*/
@JsonProperty(value = "properties.virtualNetworks", access = JsonProperty.Access.WRITE_ONLY)
private List virtualNetworks;
/**
* A unique read-only string that changes whenever the resource is updated.
*/
@JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY)
private String etag;
/**
* Resource ID.
*/
@JsonProperty(value = "id")
private String id;
/**
* Get the resourceGuid value.
*
* @return the resourceGuid value
*/
public String resourceGuid() {
return this.resourceGuid;
}
/**
* Get the provisioningState value.
*
* @return the provisioningState value
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* Get the virtualNetworks value.
*
* @return the virtualNetworks value
*/
public List virtualNetworks() {
return this.virtualNetworks;
}
/**
* Get the etag value.
*
* @return the etag value
*/
public String etag() {
return this.etag;
}
/**
* Get the id value.
*
* @return the id value
*/
public String id() {
return this.id;
}
/**
* Set the id value.
*
* @param id the id value to set
* @return the DdosProtectionPlanInner object itself.
*/
public DdosProtectionPlanInner withId(String id) {
this.id = id;
return this;
}
}