Class: Azure::Network::Mgmt::V2016_06_01::Models::ExpressRouteCircuitAuthorization

Inherits:
SubResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb

Overview

Authorization in a ExpressRouteCircuit resource

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id

Class Method Summary collapse

Instance Attribute Details

#authorization_keyString

Returns Gets or sets the authorization key.

Returns:

  • (String)

    Gets or sets the authorization key



16
17
18
# File 'lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb', line 16

def authorization_key
  @authorization_key
end

#authorization_use_statusAuthorizationUseStatus

Possible values include: ‘Available’, ‘InUse’

Returns:



20
21
22
# File 'lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb', line 20

def authorization_use_status
  @authorization_use_status
end

#etagString

resource is updated

Returns:

  • (String)

    A unique read-only string that changes whenever the



32
33
34
# File 'lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb', line 32

def etag
  @etag
end

#nameString

resource group. This name can be used to access the resource

Returns:

  • (String)

    Gets name of the resource that is unique within a



28
29
30
# File 'lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb', line 28

def name
  @name
end

#provisioning_stateString

Updating/Deleting/Failed

Returns:

  • (String)

    Gets provisioning state of the PublicIP resource



24
25
26
# File 'lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb', line 24

def provisioning_state
  @provisioning_state
end

Class Method Details

.mapperObject

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



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
# File 'lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb', line 39

def self.mapper()
  {
    required: false,
    serialized_name: 'ExpressRouteCircuitAuthorization',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteCircuitAuthorization',
      model_properties: {
        id: {
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        authorization_key: {
          required: false,
          serialized_name: 'properties.authorizationKey',
          type: {
            name: 'String'
          }
        },
        authorization_use_status: {
          required: false,
          serialized_name: 'properties.authorizationUseStatus',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        name: {
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end