class Azure::Network::Mgmt::V2019_02_01::Models::Delegation

Details the service to which the subnet is delegated.

Attributes

actions[RW]

@return [Array<String>] Describes 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 [String] The provisioning state of the resource.

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/2019-02-01/generated/azure_mgmt_network/models/delegation.rb, line 39
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,
          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,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end