Class: Azure::Web::Mgmt::V2018_02_01::Models::VnetInfo

Inherits:
ProxyOnlyResource show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_web/models/vnet_info.rb

Overview

Virtual Network information contract.

Instance Attribute Summary collapse

Attributes inherited from ProxyOnlyResource

#id, #kind, #name, #type

Class Method Summary collapse

Instance Attribute Details

#cert_blobArray<Integer>

public key of the private key used to authenticate a Point-To-Site VPN connection.

Returns:

  • (Array<Integer>)

    A certificate file (.cer) blob containing the



24
25
26
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/vnet_info.rb', line 24

def cert_blob
  @cert_blob
end

#cert_thumbprintString

Returns The client certificate thumbprint.

Returns:

  • (String)

    The client certificate thumbprint.



19
20
21
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/vnet_info.rb', line 19

def cert_thumbprint
  @cert_thumbprint
end

#dns_serversString

should be a comma-separated list of IP addresses.

Returns:

  • (String)

    DNS servers to be used by this Virtual Network. This



36
37
38
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/vnet_info.rb', line 36

def dns_servers
  @dns_servers
end

#resync_requiredBoolean

false.

Returns:

  • (Boolean)

    true if a resync is required; otherwise,



32
33
34
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/vnet_info.rb', line 32

def resync_required
  @resync_required
end

#routesArray<VnetRoute>

connection uses.

Returns:

  • (Array<VnetRoute>)

    The routes that this Virtual Network



28
29
30
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/vnet_info.rb', line 28

def routes
  @routes
end

#vnet_resource_idString

Returns The Virtual Network’s resource ID.

Returns:

  • (String)

    The Virtual Network’s resource ID.



16
17
18
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/vnet_info.rb', line 16

def vnet_resource_id
  @vnet_resource_id
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/vnet_info.rb', line 43

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VnetInfo',
    type: {
      name: 'Composite',
      class_name: 'VnetInfo',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        vnet_resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.vnetResourceId',
          type: {
            name: 'String'
          }
        },
        cert_thumbprint: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.certThumbprint',
          type: {
            name: 'String'
          }
        },
        cert_blob: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.certBlob',
          type: {
            name: 'ByteArray'
          }
        },
        routes: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.routes',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VnetRouteElementType',
                type: {
                  name: 'Composite',
                  class_name: 'VnetRoute'
                }
            }
          }
        },
        resync_required: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.resyncRequired',
          type: {
            name: 'Boolean'
          }
        },
        dns_servers: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dnsServers',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end