class Azure::Network::Mgmt::V2020_07_01::Models::DdosProtectionPlan
A DDoS protection plan in a resource group.
Attributes
@return [String] A unique read-only string that changes whenever the resource is updated.
@return [String] Resource
ID.
@return [String] Resource
location.
@return [String] Resource
name.
@return [ProvisioningState] The provisioning state of the DDoS protection plan resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
@return [String] 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.
@return [String] Resource
type.
@return [Array<SubResource>] The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
Public Class Methods
Mapper for DdosProtectionPlan
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-07-01/generated/azure_mgmt_network/models/ddos_protection_plan.rb, line 54 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DdosProtectionPlan', type: { name: 'Composite', class_name: 'DdosProtectionPlan', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, resource_guid: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGuid', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, virtual_networks: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.virtualNetworks', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { name: 'Composite', class_name: 'SubResource' } } } }, etag: { client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', type: { name: 'String' } } } } } end