Class: Azure::Network::Mgmt::V2019_11_01::Models::PublicIPPrefix

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

Overview

Public IP prefix resource.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #location, #name, #tags, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#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/public_ipprefix.rb', line 51

def etag
  @etag
end

#ip_prefixString

Returns The allocated Prefix.

Returns:

  • (String)

    The allocated Prefix.


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

def ip_prefix
  @ip_prefix
end

#ip_tagsArray<IpTag>

prefix.

Returns:

  • (Array<IpTag>)

    The list of tags associated with the public IP


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

def ip_tags
  @ip_tags
end

#load_balancer_frontend_ip_configurationSubResource

configuration associated with the public IP prefix.

Returns:

  • (SubResource)

    The reference to load balancer frontend IP


38
39
40
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/public_ipprefix.rb', line 38

def load_balancer_frontend_ip_configuration
  @load_balancer_frontend_ip_configuration
end

#prefix_lengthInteger

Returns The Length of the Public IP Prefix.

Returns:

  • (Integer)

    The Length of the Public IP Prefix.


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

def prefix_length
  @prefix_length
end

#provisioning_stateProvisioningState

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

Returns:


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

def provisioning_state
  @provisioning_state
end

#public_ipaddress_versionIPVersion

include: 'IPv4', 'IPv6'

Returns:

  • (IPVersion)

    The public IP address version. Possible values


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

def public_ipaddress_version
  @public_ipaddress_version
end

#public_ipaddressesArray<ReferencedPublicIpAddress>

PublicIPAddresses.

Returns:


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

def public_ipaddresses
  @public_ipaddresses
end

#resource_guidString

resource.

Returns:

  • (String)

    The resource GUID property of the public IP prefix


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

def resource_guid
  @resource_guid
end

#skuPublicIPPrefixSku

Returns The public IP prefix SKU.

Returns:


16
17
18
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/public_ipprefix.rb', line 16

def sku
  @sku
end

#zonesArray<String>

allocated for the resource needs to come from.

Returns:

  • (Array<String>)

    A list of availability zones denoting the IP


55
56
57
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/public_ipprefix.rb', line 55

def zones
  @zones
end

Class Method Details

.mapperObject

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


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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/public_ipprefix.rb', line 62

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PublicIPPrefix',
    type: {
      name: 'Composite',
      class_name: 'PublicIPPrefix',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'PublicIPPrefixSku'
          }
        },
        public_ipaddress_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.publicIPAddressVersion',
          type: {
            name: 'String'
          }
        },
        ip_tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.ipTags',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'IpTagElementType',
                type: {
                  name: 'Composite',
                  class_name: 'IpTag'
                }
            }
          }
        },
        prefix_length: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.prefixLength',
          type: {
            name: 'Number'
          }
        },
        ip_prefix: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.ipPrefix',
          type: {
            name: 'String'
          }
        },
        public_ipaddresses: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.publicIPAddresses',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ReferencedPublicIpAddressElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ReferencedPublicIpAddress'
                }
            }
          }
        },
        load_balancer_frontend_ip_configuration: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.loadBalancerFrontendIpConfiguration',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        resource_guid: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.resourceGuid',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        zones: {
          client_side_validation: true,
          required: false,
          serialized_name: 'zones',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end