Class: Azure::Network::Mgmt::V2019_11_01::Models::ExpressRouteLink

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

Overview

ExpressRouteLink child resource definition.

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id

Class Method Summary collapse

Instance Attribute Details

#admin_stateExpressRouteLinkAdminState

physical port. Possible values include: 'Enabled', 'Disabled'

Returns:


35
36
37
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_link.rb', line 35

def admin_state
  @admin_state
end

#connector_typeExpressRouteLinkConnectorType

Possible values include: 'LC', 'SC'

Returns:


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

def connector_type
  @connector_type
end

#etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the


51
52
53
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_link.rb', line 51

def etag
  @etag
end

#interface_nameString

Returns Name of Azure router interface.

Returns:

  • (String)

    Name of Azure router interface.


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

def interface_name
  @interface_name
end

#mac_sec_configExpressRouteLinkMacSecConfig

Returns MacSec configuration.

Returns:


43
44
45
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_link.rb', line 43

def mac_sec_config
  @mac_sec_config
end

#nameString

port resources of the parent.

Returns:

  • (String)

    Name of child port resource that is unique among child


47
48
49
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_link.rb', line 47

def name
  @name
end

#patch_panel_idString

Returns Mapping between physical port to patch panel port.

Returns:

  • (String)

    Mapping between physical port to patch panel port.


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

def patch_panel_id
  @patch_panel_id
end

#provisioning_stateProvisioningState

link resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

Returns:


40
41
42
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_link.rb', line 40

def provisioning_state
  @provisioning_state
end

#rack_idString

Returns Mapping of physical patch panel to rack.

Returns:

  • (String)

    Mapping of physical patch panel to rack.


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

def rack_id
  @rack_id
end

#router_nameString

Returns Name of Azure router associated with physical port.

Returns:

  • (String)

    Name of Azure router associated with physical port.


18
19
20
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_link.rb', line 18

def router_name
  @router_name
end

Class Method Details

.mapperObject

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


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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/express_route_link.rb', line 58

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRouteLink',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteLink',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        router_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.routerName',
          type: {
            name: 'String'
          }
        },
        interface_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.interfaceName',
          type: {
            name: 'String'
          }
        },
        patch_panel_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.patchPanelId',
          type: {
            name: 'String'
          }
        },
        rack_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.rackId',
          type: {
            name: 'String'
          }
        },
        connector_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.connectorType',
          type: {
            name: 'String'
          }
        },
        admin_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.adminState',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        mac_sec_config: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.macSecConfig',
          type: {
            name: 'Composite',
            class_name: 'ExpressRouteLinkMacSecConfig'
          }
        },
        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