Class: Azure::Network::Mgmt::V2018_08_01::Models::HubVirtualNetworkConnection

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

Overview

HubVirtualNetworkConnection Resource.

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id

Class Method Summary collapse

Instance Attribute Details

#allow_hub_to_remote_vnet_transitBoolean

Returns VirtualHub to RemoteVnet transit to enabled or not.

Returns:

  • (Boolean)

    VirtualHub to RemoteVnet transit to enabled or not.


19
20
21
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb', line 19

def allow_hub_to_remote_vnet_transit
  @allow_hub_to_remote_vnet_transit
end

#allow_remote_vnet_to_use_hub_vnet_gatewaysBoolean

Returns Allow RemoteVnet to use Virtual Hub's gateways.

Returns:

  • (Boolean)

    Allow RemoteVnet to use Virtual Hub's gateways.


22
23
24
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb', line 22

def allow_remote_vnet_to_use_hub_vnet_gateways
  @allow_remote_vnet_to_use_hub_vnet_gateways
end

#enable_internet_securityBoolean

Returns Enable internet security.

Returns:

  • (Boolean)

    Enable internet security


25
26
27
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb', line 25

def enable_internet_security
  @enable_internet_security
end

#etagString

the resource is updated.

Returns:

  • (String)

    Gets a unique read-only string that changes whenever


37
38
39
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb', line 37

def etag
  @etag
end

#nameString

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

Returns:

  • (String)

    The name of the resource that is unique within a


33
34
35
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb', line 33

def name
  @name
end

#provisioning_stateProvisioningState

Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

Returns:


29
30
31
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb', line 29

def provisioning_state
  @provisioning_state
end

#remote_virtual_networkSubResource

Returns Reference to the remote virtual network.

Returns:

  • (SubResource)

    Reference to the remote virtual network.


16
17
18
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb', line 16

def remote_virtual_network
  @remote_virtual_network
end

Class Method Details

.mapperObject

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


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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/hub_virtual_network_connection.rb', line 44

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HubVirtualNetworkConnection',
    type: {
      name: 'Composite',
      class_name: 'HubVirtualNetworkConnection',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        remote_virtual_network: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.remoteVirtualNetwork',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        allow_hub_to_remote_vnet_transit: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.allowHubToRemoteVnetTransit',
          type: {
            name: 'Boolean'
          }
        },
        allow_remote_vnet_to_use_hub_vnet_gateways: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.allowRemoteVnetToUseHubVnetGateways',
          type: {
            name: 'Boolean'
          }
        },
        enable_internet_security: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableInternetSecurity',
          type: {
            name: 'Boolean'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          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