class Azure::Network::Mgmt::V2020_03_01::Models::Delegation
Details the service to which the subnet is delegated.
Attributes
actions[RW]
@return [Array<String>] The actions permitted to the service upon delegation.
etag[RW]
@return [String] A unique read-only string that changes whenever the resource is updated.
name[RW]
@return [String] The name of the resource that is unique within a subnet. This name can be used to access the resource.
provisioning_state[RW]
@return [ProvisioningState] The provisioning state of the service delegation resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
service_name[RW]
@return [String] The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
Public Class Methods
mapper()
click to toggle source
Mapper for Delegation
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-03-01/generated/azure_mgmt_network/models/delegation.rb, line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Delegation', type: { name: 'Composite', class_name: 'Delegation', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, service_name: { client_side_validation: true, required: false, serialized_name: 'properties.serviceName', type: { name: 'String' } }, actions: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.actions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, etag: { client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', type: { name: 'String' } } } } } end