Class: Azure::Network::Mgmt::V2019_08_01::Models::AvailableDelegation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_network/models/available_delegation.rb

Overview

The serviceName of an AvailableDelegation indicates a possible delegation for a subnet.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#actionsArray<String>

upon delegation.

Returns:

  • (Array<String>)

    Describes the actions permitted to the service


31
32
33
# File 'lib/2019-08-01/generated/azure_mgmt_network/models/available_delegation.rb', line 31

def actions
  @actions
end

#idString

resource.

Returns:

  • (String)

    A unique identifier of the AvailableDelegation


21
22
23
# File 'lib/2019-08-01/generated/azure_mgmt_network/models/available_delegation.rb', line 21

def id
  @id
end

#nameString

Returns The name of the AvailableDelegation resource.

Returns:

  • (String)

    The name of the AvailableDelegation resource.


17
18
19
# File 'lib/2019-08-01/generated/azure_mgmt_network/models/available_delegation.rb', line 17

def name
  @name
end

#service_nameString

Returns The name of the service and resource.

Returns:

  • (String)

    The name of the service and resource.


27
28
29
# File 'lib/2019-08-01/generated/azure_mgmt_network/models/available_delegation.rb', line 27

def service_name
  @service_name
end

#typeString

Returns Resource type.

Returns:

  • (String)

    Resource type.


24
25
26
# File 'lib/2019-08-01/generated/azure_mgmt_network/models/available_delegation.rb', line 24

def type
  @type
end

Class Method Details

.mapperObject

Mapper for AvailableDelegation class as Ruby Hash. This will be used for serialization/deserialization.


38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'lib/2019-08-01/generated/azure_mgmt_network/models/available_delegation.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AvailableDelegation',
    type: {
      name: 'Composite',
      class_name: 'AvailableDelegation',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        service_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'serviceName',
          type: {
            name: 'String'
          }
        },
        actions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'actions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end