Class: Azure::ARM::Network::Models::VirtualNetworkPeering
- Inherits:
-
MsRestAzure::SubResource
- Object
- MsRestAzure::SubResource
- Azure::ARM::Network::Models::VirtualNetworkPeering
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_network/models/virtual_network_peering.rb
Overview
Peerings in a virtual network resource.
Instance Attribute Summary collapse
-
#allow_forwarded_traffic ⇒ Boolean
remote virtual network will be allowed/disallowed.
-
#allow_gateway_transit ⇒ Boolean
networking to link to this virtual network.
-
#allow_virtual_network_access ⇒ Boolean
would be able to access all the VMs in local Virtual network space.
-
#etag ⇒ String
resource is updated.
-
#name ⇒ String
resource group.
-
#peering_state ⇒ VirtualNetworkPeeringState
peering.
-
#provisioning_state ⇒ String
The provisioning state of the resource.
-
#remote_virtual_network ⇒ SubResource
The reference of the remote virtual network.
-
#use_remote_gateways ⇒ Boolean
network.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualNetworkPeering class as Ruby Hash.
Instance Attribute Details
#allow_forwarded_traffic ⇒ Boolean
remote virtual network will be allowed/disallowed.
22 23 24 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_peering.rb', line 22 def allow_forwarded_traffic @allow_forwarded_traffic end |
#allow_gateway_transit ⇒ Boolean
networking to link to this virtual network.
26 27 28 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_peering.rb', line 26 def allow_gateway_transit @allow_gateway_transit end |
#allow_virtual_network_access ⇒ Boolean
would be able to access all the VMs in local Virtual network space.
18 19 20 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_peering.rb', line 18 def allow_virtual_network_access @allow_virtual_network_access end |
#etag ⇒ String
resource is updated.
53 54 55 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_peering.rb', line 53 def etag @etag end |
#name ⇒ String
resource group. This name can be used to access the resource.
49 50 51 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_peering.rb', line 49 def name @name end |
#peering_state ⇒ VirtualNetworkPeeringState
peering. Possible values are ‘Initiated’, ‘Connected’, and ‘Disconnected’. Possible values include: ‘Initiated’, ‘Connected’, ‘Disconnected’
42 43 44 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_peering.rb', line 42 def peering_state @peering_state end |
#provisioning_state ⇒ String
Returns The provisioning state of the resource.
45 46 47 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_peering.rb', line 45 def provisioning_state @provisioning_state end |
#remote_virtual_network ⇒ SubResource
Returns The reference of the remote virtual network.
36 37 38 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_peering.rb', line 36 def remote_virtual_network @remote_virtual_network end |
#use_remote_gateways ⇒ Boolean
network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
33 34 35 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_peering.rb', line 33 def use_remote_gateways @use_remote_gateways end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualNetworkPeering class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_peering.rb', line 60 def self.mapper() { required: false, serialized_name: 'VirtualNetworkPeering', type: { name: 'Composite', class_name: 'VirtualNetworkPeering', model_properties: { id: { required: false, serialized_name: 'id', type: { name: 'String' } }, allow_virtual_network_access: { required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { name: 'Boolean' } }, allow_forwarded_traffic: { required: false, serialized_name: 'properties.allowForwardedTraffic', type: { name: 'Boolean' } }, allow_gateway_transit: { required: false, serialized_name: 'properties.allowGatewayTransit', type: { name: 'Boolean' } }, use_remote_gateways: { required: false, serialized_name: 'properties.useRemoteGateways', type: { name: 'Boolean' } }, remote_virtual_network: { required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { name: 'Composite', class_name: 'SubResource' } }, peering_state: { required: false, serialized_name: 'properties.peeringState', 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 |