3
// Copyright (c) Microsoft and contributors. All rights reserved.
5
// Licensed under the Apache License, Version 2.0 (the "License");
6
// you may not use this file except in compliance with the License.
7
// You may obtain a copy of the License at
8
// http://www.apache.org/licenses/LICENSE-2.0
10
// Unless required by applicable law or agreed to in writing, software
11
// distributed under the License is distributed on an "AS IS" BASIS,
12
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
// See the License for the specific language governing permissions and
15
// limitations under the License.
17
// Code generated by Microsoft (R) AutoRest Code Generator 0.12.0.0
18
// Changes may cause incorrect behavior and will be lost if the code is
22
"github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest"
23
"github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest/to"
27
// ApplicationGatewayCookieBasedAffinity enumerates the values for application
28
// gateway cookie based affinity.
29
type ApplicationGatewayCookieBasedAffinity string
32
// Disabled specifies the disabled state for application gateway cookie
34
Disabled ApplicationGatewayCookieBasedAffinity = "Disabled"
35
// Enabled specifies the enabled state for application gateway cookie
37
Enabled ApplicationGatewayCookieBasedAffinity = "Enabled"
40
// ApplicationGatewayOperationalState enumerates the values for application
41
// gateway operational state.
42
type ApplicationGatewayOperationalState string
45
// Running specifies the running state for application gateway operational
47
Running ApplicationGatewayOperationalState = "Running"
48
// Starting specifies the starting state for application gateway
50
Starting ApplicationGatewayOperationalState = "Starting"
51
// Stopped specifies the stopped state for application gateway operational
53
Stopped ApplicationGatewayOperationalState = "Stopped"
54
// Stopping specifies the stopping state for application gateway
56
Stopping ApplicationGatewayOperationalState = "Stopping"
59
// ApplicationGatewayProtocol enumerates the values for application gateway
61
type ApplicationGatewayProtocol string
64
// HTTP specifies the http state for application gateway protocol.
65
HTTP ApplicationGatewayProtocol = "Http"
66
// HTTPS specifies the https state for application gateway protocol.
67
HTTPS ApplicationGatewayProtocol = "Https"
70
// ApplicationGatewayRequestRoutingRuleType enumerates the values for
71
// application gateway request routing rule type.
72
type ApplicationGatewayRequestRoutingRuleType string
75
// Basic specifies the basic state for application gateway request routing
77
Basic ApplicationGatewayRequestRoutingRuleType = "Basic"
80
// ApplicationGatewaySkuName enumerates the values for application gateway sku
82
type ApplicationGatewaySkuName string
85
// StandardLarge specifies the standard large state for application
87
StandardLarge ApplicationGatewaySkuName = "Standard_Large"
88
// StandardMedium specifies the standard medium state for application
90
StandardMedium ApplicationGatewaySkuName = "Standard_Medium"
91
// StandardSmall specifies the standard small state for application
93
StandardSmall ApplicationGatewaySkuName = "Standard_Small"
96
// ApplicationGatewayTier enumerates the values for application gateway tier.
97
type ApplicationGatewayTier string
100
// Standard specifies the standard state for application gateway tier.
101
Standard ApplicationGatewayTier = "Standard"
104
// AuthorizationUseStatus enumerates the values for authorization use status.
105
type AuthorizationUseStatus string
108
// Available specifies the available state for authorization use status.
109
Available AuthorizationUseStatus = "Available"
110
// InUse specifies the in use state for authorization use status.
111
InUse AuthorizationUseStatus = "InUse"
114
// ExpressRouteCircuitPeeringAdvertisedPublicPrefixState enumerates the values
115
// for express route circuit peering advertised public prefix state.
116
type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState string
119
// Configured specifies the configured state for express route circuit
120
// peering advertised public prefix state.
121
Configured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configured"
122
// Configuring specifies the configuring state for express route circuit
123
// peering advertised public prefix state.
124
Configuring ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configuring"
125
// NotConfigured specifies the not configured state for express route
126
// circuit peering advertised public prefix state.
127
NotConfigured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "NotConfigured"
128
// ValidationNeeded specifies the validation needed state for express
129
// route circuit peering advertised public prefix state.
130
ValidationNeeded ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "ValidationNeeded"
133
// ExpressRouteCircuitPeeringState enumerates the values for express route
134
// circuit peering state.
135
type ExpressRouteCircuitPeeringState string
138
// ExpressRouteCircuitPeeringStateDisabled specifies the express route
139
// circuit peering state disabled state for express route circuit peering
141
ExpressRouteCircuitPeeringStateDisabled ExpressRouteCircuitPeeringState = "Disabled"
142
// ExpressRouteCircuitPeeringStateEnabled specifies the express route
143
// circuit peering state enabled state for express route circuit peering
145
ExpressRouteCircuitPeeringStateEnabled ExpressRouteCircuitPeeringState = "Enabled"
148
// ExpressRouteCircuitPeeringType enumerates the values for express route
149
// circuit peering type.
150
type ExpressRouteCircuitPeeringType string
153
// AzurePrivatePeering specifies the azure private peering state for
154
// express route circuit peering type.
155
AzurePrivatePeering ExpressRouteCircuitPeeringType = "AzurePrivatePeering"
156
// AzurePublicPeering specifies the azure public peering state for express
157
// route circuit peering type.
158
AzurePublicPeering ExpressRouteCircuitPeeringType = "AzurePublicPeering"
159
// MicrosoftPeering specifies the microsoft peering state for express
160
// route circuit peering type.
161
MicrosoftPeering ExpressRouteCircuitPeeringType = "MicrosoftPeering"
164
// ExpressRouteCircuitSkuFamily enumerates the values for express route
165
// circuit sku family.
166
type ExpressRouteCircuitSkuFamily string
169
// MeteredData specifies the metered data state for express route circuit
171
MeteredData ExpressRouteCircuitSkuFamily = "MeteredData"
172
// UnlimitedData specifies the unlimited data state for express route
173
// circuit sku family.
174
UnlimitedData ExpressRouteCircuitSkuFamily = "UnlimitedData"
177
// ExpressRouteCircuitSkuTier enumerates the values for express route circuit
179
type ExpressRouteCircuitSkuTier string
182
// ExpressRouteCircuitSkuTierPremium specifies the express route circuit
183
// sku tier premium state for express route circuit sku tier.
184
ExpressRouteCircuitSkuTierPremium ExpressRouteCircuitSkuTier = "Premium"
185
// ExpressRouteCircuitSkuTierStandard specifies the express route circuit
186
// sku tier standard state for express route circuit sku tier.
187
ExpressRouteCircuitSkuTierStandard ExpressRouteCircuitSkuTier = "Standard"
190
// IPAllocationMethod enumerates the values for ip allocation method.
191
type IPAllocationMethod string
194
// Dynamic specifies the dynamic state for ip allocation method.
195
Dynamic IPAllocationMethod = "Dynamic"
196
// Static specifies the static state for ip allocation method.
197
Static IPAllocationMethod = "Static"
200
// LoadDistribution enumerates the values for load distribution.
201
type LoadDistribution string
204
// Default specifies the default state for load distribution.
205
Default LoadDistribution = "Default"
206
// SourceIP specifies the source ip state for load distribution.
207
SourceIP LoadDistribution = "SourceIP"
208
// SourceIPProtocol specifies the source ip protocol state for load
210
SourceIPProtocol LoadDistribution = "SourceIPProtocol"
213
// OperationStatus enumerates the values for operation status.
214
type OperationStatus string
217
// Failed specifies the failed state for operation status.
218
Failed OperationStatus = "Failed"
219
// InProgress specifies the in progress state for operation status.
220
InProgress OperationStatus = "InProgress"
221
// Succeeded specifies the succeeded state for operation status.
222
Succeeded OperationStatus = "Succeeded"
225
// ProbeProtocol enumerates the values for probe protocol.
226
type ProbeProtocol string
229
// ProbeProtocolHTTP specifies the probe protocol http state for probe
231
ProbeProtocolHTTP ProbeProtocol = "Http"
232
// ProbeProtocolTCP specifies the probe protocol tcp state for probe
234
ProbeProtocolTCP ProbeProtocol = "Tcp"
237
// RouteNextHopType enumerates the values for route next hop type.
238
type RouteNextHopType string
241
// RouteNextHopTypeInternet specifies the route next hop type internet
242
// state for route next hop type.
243
RouteNextHopTypeInternet RouteNextHopType = "Internet"
244
// RouteNextHopTypeNone specifies the route next hop type none state for
245
// route next hop type.
246
RouteNextHopTypeNone RouteNextHopType = "None"
247
// RouteNextHopTypeVirtualAppliance specifies the route next hop type
248
// virtual appliance state for route next hop type.
249
RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance"
250
// RouteNextHopTypeVirtualNetworkGateway specifies the route next hop type
251
// virtual network gateway state for route next hop type.
252
RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway"
253
// RouteNextHopTypeVnetLocal specifies the route next hop type vnet local
254
// state for route next hop type.
255
RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal"
258
// SecurityRuleAccess enumerates the values for security rule access.
259
type SecurityRuleAccess string
262
// Allow specifies the allow state for security rule access.
263
Allow SecurityRuleAccess = "Allow"
264
// Deny specifies the deny state for security rule access.
265
Deny SecurityRuleAccess = "Deny"
268
// SecurityRuleDirection enumerates the values for security rule direction.
269
type SecurityRuleDirection string
272
// Inbound specifies the inbound state for security rule direction.
273
Inbound SecurityRuleDirection = "Inbound"
274
// Outbound specifies the outbound state for security rule direction.
275
Outbound SecurityRuleDirection = "Outbound"
278
// SecurityRuleProtocol enumerates the values for security rule protocol.
279
type SecurityRuleProtocol string
282
// Asterisk specifies the asterisk state for security rule protocol.
283
Asterisk SecurityRuleProtocol = "*"
284
// TCP specifies the tcp state for security rule protocol.
285
TCP SecurityRuleProtocol = "Tcp"
286
// UDP specifies the udp state for security rule protocol.
287
UDP SecurityRuleProtocol = "Udp"
290
// ServiceProviderProvisioningState enumerates the values for service provider
291
// provisioning state.
292
type ServiceProviderProvisioningState string
295
// Deprovisioning specifies the deprovisioning state for service provider
296
// provisioning state.
297
Deprovisioning ServiceProviderProvisioningState = "Deprovisioning"
298
// NotProvisioned specifies the not provisioned state for service provider
299
// provisioning state.
300
NotProvisioned ServiceProviderProvisioningState = "NotProvisioned"
301
// Provisioned specifies the provisioned state for service provider
302
// provisioning state.
303
Provisioned ServiceProviderProvisioningState = "Provisioned"
304
// Provisioning specifies the provisioning state for service provider
305
// provisioning state.
306
Provisioning ServiceProviderProvisioningState = "Provisioning"
309
// TransportProtocol enumerates the values for transport protocol.
310
type TransportProtocol string
313
// TransportProtocolTCP specifies the transport protocol tcp state for
314
// transport protocol.
315
TransportProtocolTCP TransportProtocol = "Tcp"
316
// TransportProtocolUDP specifies the transport protocol udp state for
317
// transport protocol.
318
TransportProtocolUDP TransportProtocol = "Udp"
321
// UsageUnit enumerates the values for usage unit.
322
type UsageUnit string
325
// Count specifies the count state for usage unit.
326
Count UsageUnit = "Count"
329
// VirtualNetworkGatewayConnectionStatus enumerates the values for virtual
330
// network gateway connection status.
331
type VirtualNetworkGatewayConnectionStatus string
334
// Connected specifies the connected state for virtual network gateway
335
// connection status.
336
Connected VirtualNetworkGatewayConnectionStatus = "Connected"
337
// Connecting specifies the connecting state for virtual network gateway
338
// connection status.
339
Connecting VirtualNetworkGatewayConnectionStatus = "Connecting"
340
// NotConnected specifies the not connected state for virtual network
341
// gateway connection status.
342
NotConnected VirtualNetworkGatewayConnectionStatus = "NotConnected"
343
// Unknown specifies the unknown state for virtual network gateway
344
// connection status.
345
Unknown VirtualNetworkGatewayConnectionStatus = "Unknown"
348
// VirtualNetworkGatewayConnectionType enumerates the values for virtual
349
// network gateway connection type.
350
type VirtualNetworkGatewayConnectionType string
353
// ExpressRoute specifies the express route state for virtual network
354
// gateway connection type.
355
ExpressRoute VirtualNetworkGatewayConnectionType = "ExpressRoute"
356
// IPsec specifies the i psec state for virtual network gateway connection
358
IPsec VirtualNetworkGatewayConnectionType = "IPsec"
359
// Vnet2Vnet specifies the vnet 2 vnet state for virtual network gateway
361
Vnet2Vnet VirtualNetworkGatewayConnectionType = "Vnet2Vnet"
362
// VPNClient specifies the vpn client state for virtual network gateway
364
VPNClient VirtualNetworkGatewayConnectionType = "VPNClient"
367
// VirtualNetworkGatewayType enumerates the values for virtual network gateway
369
type VirtualNetworkGatewayType string
372
// VirtualNetworkGatewayTypeExpressRoute specifies the virtual network
373
// gateway type express route state for virtual network gateway type.
374
VirtualNetworkGatewayTypeExpressRoute VirtualNetworkGatewayType = "ExpressRoute"
375
// VirtualNetworkGatewayTypeVpn specifies the virtual network gateway type
376
// vpn state for virtual network gateway type.
377
VirtualNetworkGatewayTypeVpn VirtualNetworkGatewayType = "Vpn"
380
// VpnType enumerates the values for vpn type.
384
// PolicyBased specifies the policy based state for vpn type.
385
PolicyBased VpnType = "PolicyBased"
386
// RouteBased specifies the route based state for vpn type.
387
RouteBased VpnType = "RouteBased"
390
// AddressSpace is addressSpace contains an array of IP address ranges that
391
// can be used by subnets
392
type AddressSpace struct {
393
AddressPrefixes *[]string `json:"addressPrefixes,omitempty"`
396
// ApplicationGateway is applicationGateways resource
397
type ApplicationGateway struct {
398
autorest.Response `json:"-"`
399
ID *string `json:"id,omitempty"`
400
Name *string `json:"name,omitempty"`
401
Type *string `json:"type,omitempty"`
402
Location *string `json:"location,omitempty"`
403
Tags *map[string]*string `json:"tags,omitempty"`
404
Properties *ApplicationGatewayPropertiesFormat `json:"properties,omitempty"`
405
Etag *string `json:"etag,omitempty"`
408
// ApplicationGatewayBackendAddress is backend Address of application gateway
409
type ApplicationGatewayBackendAddress struct {
410
Fqdn *string `json:"fqdn,omitempty"`
411
IPAddress *string `json:"ipAddress,omitempty"`
414
// ApplicationGatewayBackendAddressPool is backend Address Pool of application
416
type ApplicationGatewayBackendAddressPool struct {
417
ID *string `json:"id,omitempty"`
418
Properties *ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"`
419
Name *string `json:"name,omitempty"`
420
Etag *string `json:"etag,omitempty"`
423
// ApplicationGatewayBackendAddressPoolPropertiesFormat is properties of
424
// Backend Address Pool of application gateway
425
type ApplicationGatewayBackendAddressPoolPropertiesFormat struct {
426
BackendIPConfigurations *[]SubResource `json:"backendIPConfigurations,omitempty"`
427
BackendAddresses *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"`
428
ProvisioningState *string `json:"provisioningState,omitempty"`
431
// ApplicationGatewayBackendHTTPSettings is backend address pool settings of
432
// application gateway
433
type ApplicationGatewayBackendHTTPSettings struct {
434
ID *string `json:"id,omitempty"`
435
Properties *ApplicationGatewayBackendHTTPSettingsPropertiesFormat `json:"properties,omitempty"`
436
Name *string `json:"name,omitempty"`
437
Etag *string `json:"etag,omitempty"`
440
// ApplicationGatewayBackendHTTPSettingsPropertiesFormat is properties of
441
// Backend address pool settings of application gateway
442
type ApplicationGatewayBackendHTTPSettingsPropertiesFormat struct {
443
Port *int `json:"port,omitempty"`
444
Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"`
445
CookieBasedAffinity ApplicationGatewayCookieBasedAffinity `json:"cookieBasedAffinity,omitempty"`
446
ProvisioningState *string `json:"provisioningState,omitempty"`
449
// ApplicationGatewayFrontendIPConfiguration is frontend IP configuration of
450
// application gateway
451
type ApplicationGatewayFrontendIPConfiguration struct {
452
ID *string `json:"id,omitempty"`
453
Properties *ApplicationGatewayFrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"`
454
Name *string `json:"name,omitempty"`
455
Etag *string `json:"etag,omitempty"`
458
// ApplicationGatewayFrontendIPConfigurationPropertiesFormat is properties of
459
// Frontend IP configuration of application gateway
460
type ApplicationGatewayFrontendIPConfigurationPropertiesFormat struct {
461
PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
462
PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
463
Subnet *SubResource `json:"subnet,omitempty"`
464
PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"`
465
ProvisioningState *string `json:"provisioningState,omitempty"`
468
// ApplicationGatewayFrontendPort is frontend Port of application gateway
469
type ApplicationGatewayFrontendPort struct {
470
ID *string `json:"id,omitempty"`
471
Properties *ApplicationGatewayFrontendPortPropertiesFormat `json:"properties,omitempty"`
472
Name *string `json:"name,omitempty"`
473
Etag *string `json:"etag,omitempty"`
476
// ApplicationGatewayFrontendPortPropertiesFormat is properties of Frontend
477
// Port of application gateway
478
type ApplicationGatewayFrontendPortPropertiesFormat struct {
479
Port *int `json:"port,omitempty"`
480
ProvisioningState *string `json:"provisioningState,omitempty"`
483
// ApplicationGatewayHTTPListener is http listener of application gateway
484
type ApplicationGatewayHTTPListener struct {
485
ID *string `json:"id,omitempty"`
486
Properties *ApplicationGatewayHTTPListenerPropertiesFormat `json:"properties,omitempty"`
487
Name *string `json:"name,omitempty"`
488
Etag *string `json:"etag,omitempty"`
491
// ApplicationGatewayHTTPListenerPropertiesFormat is properties of Http
492
// listener of application gateway
493
type ApplicationGatewayHTTPListenerPropertiesFormat struct {
494
FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`
495
FrontendPort *SubResource `json:"frontendPort,omitempty"`
496
Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"`
497
SslCertificate *SubResource `json:"sslCertificate,omitempty"`
498
ProvisioningState *string `json:"provisioningState,omitempty"`
501
// ApplicationGatewayIPConfiguration is iP configuration of application gateway
502
type ApplicationGatewayIPConfiguration struct {
503
ID *string `json:"id,omitempty"`
504
Properties *ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"`
505
Name *string `json:"name,omitempty"`
506
Etag *string `json:"etag,omitempty"`
509
// ApplicationGatewayIPConfigurationPropertiesFormat is properties of IP
510
// configuration of application gateway
511
type ApplicationGatewayIPConfigurationPropertiesFormat struct {
512
Subnet *SubResource `json:"subnet,omitempty"`
513
ProvisioningState *string `json:"provisioningState,omitempty"`
516
// ApplicationGatewayListResult is response for ListLoadBalancers Api service
518
type ApplicationGatewayListResult struct {
519
autorest.Response `json:"-"`
520
Value *[]ApplicationGateway `json:"value,omitempty"`
521
NextLink *string `json:"nextLink,omitempty"`
524
// ApplicationGatewayListResultPreparer prepares a request to retrieve the next set of results. It returns
525
// nil if no more results exist.
526
func (client ApplicationGatewayListResult) ApplicationGatewayListResultPreparer() (*http.Request, error) {
527
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
530
return autorest.Prepare(&http.Request{},
533
autorest.WithBaseURL(to.String(client.NextLink)))
536
// ApplicationGatewayPropertiesFormat is properties of Application Gateway
537
type ApplicationGatewayPropertiesFormat struct {
538
Sku *ApplicationGatewaySku `json:"sku,omitempty"`
539
OperationalState ApplicationGatewayOperationalState `json:"operationalState,omitempty"`
540
GatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"gatewayIPConfigurations,omitempty"`
541
SslCertificates *[]ApplicationGatewaySslCertificate `json:"sslCertificates,omitempty"`
542
FrontendIPConfigurations *[]ApplicationGatewayFrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"`
543
FrontendPorts *[]ApplicationGatewayFrontendPort `json:"frontendPorts,omitempty"`
544
BackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"backendAddressPools,omitempty"`
545
BackendHTTPSettingsCollection *[]ApplicationGatewayBackendHTTPSettings `json:"backendHttpSettingsCollection,omitempty"`
546
HTTPListeners *[]ApplicationGatewayHTTPListener `json:"httpListeners,omitempty"`
547
RequestRoutingRules *[]ApplicationGatewayRequestRoutingRule `json:"requestRoutingRules,omitempty"`
548
ResourceGUID *string `json:"resourceGuid,omitempty"`
549
ProvisioningState *string `json:"provisioningState,omitempty"`
552
// ApplicationGatewayRequestRoutingRule is request routing rule of application
554
type ApplicationGatewayRequestRoutingRule struct {
555
ID *string `json:"id,omitempty"`
556
Properties *ApplicationGatewayRequestRoutingRulePropertiesFormat `json:"properties,omitempty"`
557
Name *string `json:"name,omitempty"`
558
Etag *string `json:"etag,omitempty"`
561
// ApplicationGatewayRequestRoutingRulePropertiesFormat is properties of
562
// Request routing rule of application gateway
563
type ApplicationGatewayRequestRoutingRulePropertiesFormat struct {
564
RuleType ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"`
565
BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`
566
BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"`
567
HTTPListener *SubResource `json:"httpListener,omitempty"`
568
ProvisioningState *string `json:"provisioningState,omitempty"`
571
// ApplicationGatewaySku is sKU of application gateway
572
type ApplicationGatewaySku struct {
573
Name ApplicationGatewaySkuName `json:"name,omitempty"`
574
Tier ApplicationGatewayTier `json:"tier,omitempty"`
575
Capacity *int `json:"capacity,omitempty"`
578
// ApplicationGatewaySslCertificate is sSL certificates of application gateway
579
type ApplicationGatewaySslCertificate struct {
580
ID *string `json:"id,omitempty"`
581
Properties *ApplicationGatewaySslCertificatePropertiesFormat `json:"properties,omitempty"`
582
Name *string `json:"name,omitempty"`
583
Etag *string `json:"etag,omitempty"`
586
// ApplicationGatewaySslCertificatePropertiesFormat is properties of SSL
587
// certificates of application gateway
588
type ApplicationGatewaySslCertificatePropertiesFormat struct {
589
Data *string `json:"data,omitempty"`
590
Password *string `json:"password,omitempty"`
591
PublicCertData *string `json:"publicCertData,omitempty"`
592
ProvisioningState *string `json:"provisioningState,omitempty"`
595
// AuthorizationListResult is response for ListAuthorizations Api service
596
// callRetrieves all authorizations that belongs to an ExpressRouteCircuit
597
type AuthorizationListResult struct {
598
autorest.Response `json:"-"`
599
Value *[]ExpressRouteCircuitAuthorization `json:"value,omitempty"`
600
NextLink *string `json:"nextLink,omitempty"`
603
// AuthorizationListResultPreparer prepares a request to retrieve the next set of results. It returns
604
// nil if no more results exist.
605
func (client AuthorizationListResult) AuthorizationListResultPreparer() (*http.Request, error) {
606
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
609
return autorest.Prepare(&http.Request{},
612
autorest.WithBaseURL(to.String(client.NextLink)))
615
// AuthorizationPropertiesFormat is
616
type AuthorizationPropertiesFormat struct {
617
AuthorizationKey *string `json:"authorizationKey,omitempty"`
618
AuthorizationUseStatus AuthorizationUseStatus `json:"authorizationUseStatus,omitempty"`
619
ProvisioningState *string `json:"provisioningState,omitempty"`
622
// AzureAsyncOperationResult is the response body contains the status of the
623
// specified asynchronous operation, indicating whether it has succeeded, is
624
// inprogress, or has failed. Note that this status is distinct from the HTTP
625
// status code returned for the Get Operation Status operation itself. If the
626
// asynchronous operation succeeded, the response body includes the HTTP
627
// status code for the successful request. If the asynchronous operation
628
// failed, the response body includes the HTTP status code for the failed
629
// request and error information regarding the failure.
630
type AzureAsyncOperationResult struct {
631
Status OperationStatus `json:"status,omitempty"`
632
Error *Error `json:"error,omitempty"`
635
// BackendAddressPool is pool of backend IP addresseses
636
type BackendAddressPool struct {
637
ID *string `json:"id,omitempty"`
638
Properties *BackendAddressPoolPropertiesFormat `json:"properties,omitempty"`
639
Name *string `json:"name,omitempty"`
640
Etag *string `json:"etag,omitempty"`
643
// BackendAddressPoolPropertiesFormat is properties of BackendAddressPool
644
type BackendAddressPoolPropertiesFormat struct {
645
BackendIPConfigurations *[]SubResource `json:"backendIPConfigurations,omitempty"`
646
LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"`
647
OutboundNatRule *SubResource `json:"outboundNatRule,omitempty"`
648
ProvisioningState *string `json:"provisioningState,omitempty"`
651
// ConnectionResetSharedKey is
652
type ConnectionResetSharedKey struct {
653
autorest.Response `json:"-"`
654
KeyLength *int32 `json:"keyLength,omitempty"`
657
// ConnectionSharedKey is response for GetConnectionSharedKey Api servive call
658
type ConnectionSharedKey struct {
659
autorest.Response `json:"-"`
660
Value *string `json:"value,omitempty"`
663
// DhcpOptions is dHCPOptions contains an array of DNS servers available to
664
// VMs deployed in the virtual networkStandard DHCP option for a subnet
665
// overrides VNET DHCP options.
666
type DhcpOptions struct {
667
DNSServers *[]string `json:"dnsServers,omitempty"`
670
// DNSNameAvailabilityResult is response for CheckDnsNameAvailability Api
672
type DNSNameAvailabilityResult struct {
673
autorest.Response `json:"-"`
674
Available *bool `json:"available,omitempty"`
679
Code *string `json:"code,omitempty"`
680
Message *string `json:"message,omitempty"`
681
Target *string `json:"target,omitempty"`
682
Details *[]ErrorDetails `json:"details,omitempty"`
683
InnerError *string `json:"innerError,omitempty"`
687
type ErrorDetails struct {
688
Code *string `json:"code,omitempty"`
689
Target *string `json:"target,omitempty"`
690
Message *string `json:"message,omitempty"`
693
// ExpressRouteCircuit is expressRouteCircuit resource
694
type ExpressRouteCircuit struct {
695
autorest.Response `json:"-"`
696
ID *string `json:"id,omitempty"`
697
Name *string `json:"name,omitempty"`
698
Type *string `json:"type,omitempty"`
699
Location *string `json:"location,omitempty"`
700
Tags *map[string]*string `json:"tags,omitempty"`
701
Sku *ExpressRouteCircuitSku `json:"sku,omitempty"`
702
Properties *ExpressRouteCircuitPropertiesFormat `json:"properties,omitempty"`
703
Etag *string `json:"etag,omitempty"`
706
// ExpressRouteCircuitArpTable is the arp table associated with the
707
// ExpressRouteCircuit
708
type ExpressRouteCircuitArpTable struct {
709
IPAddress *string `json:"ipAddress,omitempty"`
710
MacAddress *string `json:"macAddress,omitempty"`
713
// ExpressRouteCircuitAuthorization is authorization in a ExpressRouteCircuit
715
type ExpressRouteCircuitAuthorization struct {
716
autorest.Response `json:"-"`
717
ID *string `json:"id,omitempty"`
718
Properties *AuthorizationPropertiesFormat `json:"properties,omitempty"`
719
Name *string `json:"name,omitempty"`
720
Etag *string `json:"etag,omitempty"`
723
// ExpressRouteCircuitListResult is response for ListExpressRouteCircuit Api
725
type ExpressRouteCircuitListResult struct {
726
autorest.Response `json:"-"`
727
Value *[]ExpressRouteCircuit `json:"value,omitempty"`
728
NextLink *string `json:"nextLink,omitempty"`
731
// ExpressRouteCircuitListResultPreparer prepares a request to retrieve the next set of results. It returns
732
// nil if no more results exist.
733
func (client ExpressRouteCircuitListResult) ExpressRouteCircuitListResultPreparer() (*http.Request, error) {
734
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
737
return autorest.Prepare(&http.Request{},
740
autorest.WithBaseURL(to.String(client.NextLink)))
743
// ExpressRouteCircuitPeering is peering in a ExpressRouteCircuit resource
744
type ExpressRouteCircuitPeering struct {
745
autorest.Response `json:"-"`
746
ID *string `json:"id,omitempty"`
747
Properties *ExpressRouteCircuitPeeringPropertiesFormat `json:"properties,omitempty"`
748
Name *string `json:"name,omitempty"`
749
Etag *string `json:"etag,omitempty"`
752
// ExpressRouteCircuitPeeringConfig is specfies the peering config
753
type ExpressRouteCircuitPeeringConfig struct {
754
AdvertisedPublicPrefixes *[]string `json:"advertisedPublicPrefixes,omitempty"`
755
AdvertisedPublicPrefixesState ExpressRouteCircuitPeeringAdvertisedPublicPrefixState `json:"advertisedPublicPrefixesState,omitempty"`
756
CustomerASN *int `json:"customerASN,omitempty"`
757
RoutingRegistryName *string `json:"routingRegistryName,omitempty"`
760
// ExpressRouteCircuitPeeringListResult is response for ListPeering Api
761
// service callRetrieves all Peerings that belongs to an ExpressRouteCircuit
762
type ExpressRouteCircuitPeeringListResult struct {
763
autorest.Response `json:"-"`
764
Value *[]ExpressRouteCircuitPeering `json:"value,omitempty"`
765
NextLink *string `json:"nextLink,omitempty"`
768
// ExpressRouteCircuitPeeringListResultPreparer prepares a request to retrieve the next set of results. It returns
769
// nil if no more results exist.
770
func (client ExpressRouteCircuitPeeringListResult) ExpressRouteCircuitPeeringListResultPreparer() (*http.Request, error) {
771
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
774
return autorest.Prepare(&http.Request{},
777
autorest.WithBaseURL(to.String(client.NextLink)))
780
// ExpressRouteCircuitPeeringPropertiesFormat is
781
type ExpressRouteCircuitPeeringPropertiesFormat struct {
782
PeeringType ExpressRouteCircuitPeeringType `json:"peeringType,omitempty"`
783
State ExpressRouteCircuitPeeringState `json:"state,omitempty"`
784
AzureASN *int `json:"azureASN,omitempty"`
785
PeerASN *int `json:"peerASN,omitempty"`
786
PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"`
787
SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"`
788
PrimaryAzurePort *string `json:"primaryAzurePort,omitempty"`
789
SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty"`
790
SharedKey *string `json:"sharedKey,omitempty"`
791
VlanID *int `json:"vlanId,omitempty"`
792
MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"`
793
Stats *ExpressRouteCircuitStats `json:"stats,omitempty"`
794
ProvisioningState *string `json:"provisioningState,omitempty"`
797
// ExpressRouteCircuitPropertiesFormat is properties of ExpressRouteCircuit
798
type ExpressRouteCircuitPropertiesFormat struct {
799
CircuitProvisioningState *string `json:"circuitProvisioningState,omitempty"`
800
ServiceProviderProvisioningState ServiceProviderProvisioningState `json:"serviceProviderProvisioningState,omitempty"`
801
Authorizations *[]ExpressRouteCircuitAuthorization `json:"authorizations,omitempty"`
802
Peerings *[]ExpressRouteCircuitPeering `json:"peerings,omitempty"`
803
ServiceKey *string `json:"serviceKey,omitempty"`
804
ServiceProviderNotes *string `json:"serviceProviderNotes,omitempty"`
805
ServiceProviderProperties *ExpressRouteCircuitServiceProviderProperties `json:"serviceProviderProperties,omitempty"`
806
ProvisioningState *string `json:"provisioningState,omitempty"`
809
// ExpressRouteCircuitRoutesTable is the routes table associated with the
810
// ExpressRouteCircuit
811
type ExpressRouteCircuitRoutesTable struct {
812
AddressPrefix *string `json:"addressPrefix,omitempty"`
813
NextHopType RouteNextHopType `json:"nextHopType,omitempty"`
814
NextHopIP *string `json:"nextHopIP,omitempty"`
815
AsPath *string `json:"asPath,omitempty"`
818
// ExpressRouteCircuitsArpTableListResult is response for ListArpTable
819
// associated with the Express Route Circuits Api
820
type ExpressRouteCircuitsArpTableListResult struct {
821
autorest.Response `json:"-"`
822
Value *[]ExpressRouteCircuitArpTable `json:"value,omitempty"`
823
NextLink *string `json:"nextLink,omitempty"`
826
// ExpressRouteCircuitsArpTableListResultPreparer prepares a request to retrieve the next set of results. It returns
827
// nil if no more results exist.
828
func (client ExpressRouteCircuitsArpTableListResult) ExpressRouteCircuitsArpTableListResultPreparer() (*http.Request, error) {
829
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
832
return autorest.Prepare(&http.Request{},
835
autorest.WithBaseURL(to.String(client.NextLink)))
838
// ExpressRouteCircuitServiceProviderProperties is contains
839
// ServiceProviderProperties in an ExpressRouteCircuit
840
type ExpressRouteCircuitServiceProviderProperties struct {
841
ServiceProviderName *string `json:"serviceProviderName,omitempty"`
842
PeeringLocation *string `json:"peeringLocation,omitempty"`
843
BandwidthInMbps *int `json:"bandwidthInMbps,omitempty"`
846
// ExpressRouteCircuitSku is contains sku in an ExpressRouteCircuit
847
type ExpressRouteCircuitSku struct {
848
Name *string `json:"name,omitempty"`
849
Tier ExpressRouteCircuitSkuTier `json:"tier,omitempty"`
850
Family ExpressRouteCircuitSkuFamily `json:"family,omitempty"`
853
// ExpressRouteCircuitsRoutesTableListResult is response for ListRoutesTable
854
// associated with the Express Route Circuits Api
855
type ExpressRouteCircuitsRoutesTableListResult struct {
856
autorest.Response `json:"-"`
857
Value *[]ExpressRouteCircuitRoutesTable `json:"value,omitempty"`
858
NextLink *string `json:"nextLink,omitempty"`
861
// ExpressRouteCircuitsRoutesTableListResultPreparer prepares a request to retrieve the next set of results. It returns
862
// nil if no more results exist.
863
func (client ExpressRouteCircuitsRoutesTableListResult) ExpressRouteCircuitsRoutesTableListResultPreparer() (*http.Request, error) {
864
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
867
return autorest.Prepare(&http.Request{},
870
autorest.WithBaseURL(to.String(client.NextLink)))
873
// ExpressRouteCircuitsStatsListResult is response for ListStats from Express
874
// Route Circuits Api service call
875
type ExpressRouteCircuitsStatsListResult struct {
876
autorest.Response `json:"-"`
877
Value *[]ExpressRouteCircuitStats `json:"value,omitempty"`
878
NextLink *string `json:"nextLink,omitempty"`
881
// ExpressRouteCircuitsStatsListResultPreparer prepares a request to retrieve the next set of results. It returns
882
// nil if no more results exist.
883
func (client ExpressRouteCircuitsStatsListResult) ExpressRouteCircuitsStatsListResultPreparer() (*http.Request, error) {
884
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
887
return autorest.Prepare(&http.Request{},
890
autorest.WithBaseURL(to.String(client.NextLink)))
893
// ExpressRouteCircuitStats is contains Stats associated with the peering
894
type ExpressRouteCircuitStats struct {
895
BytesIn *int `json:"bytesIn,omitempty"`
896
BytesOut *int `json:"bytesOut,omitempty"`
899
// ExpressRouteServiceProvider is expressRouteResourceProvider object
900
type ExpressRouteServiceProvider struct {
901
ID *string `json:"id,omitempty"`
902
Name *string `json:"name,omitempty"`
903
Type *string `json:"type,omitempty"`
904
Properties *ExpressRouteServiceProviderPropertiesFormat `json:"properties,omitempty"`
907
// ExpressRouteServiceProviderBandwidthsOffered is contains Bandwidths offered
908
// in ExpressRouteServiceProviders
909
type ExpressRouteServiceProviderBandwidthsOffered struct {
910
OfferName *string `json:"offerName,omitempty"`
911
ValueInMbps *int `json:"valueInMbps,omitempty"`
914
// ExpressRouteServiceProviderListResult is response for
915
// ListExpressRouteServiceProvider Api service call
916
type ExpressRouteServiceProviderListResult struct {
917
autorest.Response `json:"-"`
918
Value *[]ExpressRouteServiceProvider `json:"value,omitempty"`
919
NextLink *string `json:"nextLink,omitempty"`
922
// ExpressRouteServiceProviderListResultPreparer prepares a request to retrieve the next set of results. It returns
923
// nil if no more results exist.
924
func (client ExpressRouteServiceProviderListResult) ExpressRouteServiceProviderListResultPreparer() (*http.Request, error) {
925
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
928
return autorest.Prepare(&http.Request{},
931
autorest.WithBaseURL(to.String(client.NextLink)))
934
// ExpressRouteServiceProviderPropertiesFormat is properties of
935
// ExpressRouteServiceProvider
936
type ExpressRouteServiceProviderPropertiesFormat struct {
937
PeeringLocations *[]string `json:"peeringLocations,omitempty"`
938
BandwidthsOffered *[]ExpressRouteServiceProviderBandwidthsOffered `json:"bandwidthsOffered,omitempty"`
939
ProvisioningState *string `json:"provisioningState,omitempty"`
942
// FrontendIPConfiguration is frontend IP address of the load balancer
943
type FrontendIPConfiguration struct {
944
ID *string `json:"id,omitempty"`
945
Properties *FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"`
946
Name *string `json:"name,omitempty"`
947
Etag *string `json:"etag,omitempty"`
950
// FrontendIPConfigurationPropertiesFormat is properties of Frontend IP
951
// Configuration of the load balancer
952
type FrontendIPConfigurationPropertiesFormat struct {
953
PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
954
PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
955
Subnet *SubResource `json:"subnet,omitempty"`
956
PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"`
957
InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"`
958
InboundNatPools *[]SubResource `json:"inboundNatPools,omitempty"`
959
OutboundNatRules *[]SubResource `json:"outboundNatRules,omitempty"`
960
LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"`
961
ProvisioningState *string `json:"provisioningState,omitempty"`
964
// InboundNatPool is inbound NAT pool of the loadbalancer
965
type InboundNatPool struct {
966
ID *string `json:"id,omitempty"`
967
Properties *InboundNatPoolPropertiesFormat `json:"properties,omitempty"`
968
Name *string `json:"name,omitempty"`
969
Etag *string `json:"etag,omitempty"`
972
// InboundNatPoolPropertiesFormat is properties of Inbound NAT pool
973
type InboundNatPoolPropertiesFormat struct {
974
FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`
975
Protocol TransportProtocol `json:"protocol,omitempty"`
976
FrontendPortRangeStart *int `json:"frontendPortRangeStart,omitempty"`
977
FrontendPortRangeEnd *int `json:"frontendPortRangeEnd,omitempty"`
978
BackendPort *int `json:"backendPort,omitempty"`
979
ProvisioningState *string `json:"provisioningState,omitempty"`
982
// InboundNatRule is inbound NAT rule of the loadbalancer
983
type InboundNatRule struct {
984
ID *string `json:"id,omitempty"`
985
Properties *InboundNatRulePropertiesFormat `json:"properties,omitempty"`
986
Name *string `json:"name,omitempty"`
987
Etag *string `json:"etag,omitempty"`
990
// InboundNatRulePropertiesFormat is properties of Inbound NAT rule
991
type InboundNatRulePropertiesFormat struct {
992
FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`
993
BackendIPConfiguration *SubResource `json:"backendIPConfiguration,omitempty"`
994
Protocol TransportProtocol `json:"protocol,omitempty"`
995
FrontendPort *int `json:"frontendPort,omitempty"`
996
BackendPort *int `json:"backendPort,omitempty"`
997
IdleTimeoutInMinutes *int `json:"idleTimeoutInMinutes,omitempty"`
998
EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"`
999
ProvisioningState *string `json:"provisioningState,omitempty"`
1002
// Interface is a NetworkInterface in a resource group
1003
type Interface struct {
1004
autorest.Response `json:"-"`
1005
ID *string `json:"id,omitempty"`
1006
Name *string `json:"name,omitempty"`
1007
Type *string `json:"type,omitempty"`
1008
Location *string `json:"location,omitempty"`
1009
Tags *map[string]*string `json:"tags,omitempty"`
1010
Properties *InterfacePropertiesFormat `json:"properties,omitempty"`
1011
Etag *string `json:"etag,omitempty"`
1014
// InterfaceDNSSettings is dns Settings of a network interface
1015
type InterfaceDNSSettings struct {
1016
DNSServers *[]string `json:"dnsServers,omitempty"`
1017
AppliedDNSServers *[]string `json:"appliedDnsServers,omitempty"`
1018
InternalDNSNameLabel *string `json:"internalDnsNameLabel,omitempty"`
1019
InternalFqdn *string `json:"internalFqdn,omitempty"`
1022
// InterfaceIPConfiguration is iPConfiguration in a NetworkInterface
1023
type InterfaceIPConfiguration struct {
1024
ID *string `json:"id,omitempty"`
1025
Properties *InterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"`
1026
Name *string `json:"name,omitempty"`
1027
Etag *string `json:"etag,omitempty"`
1030
// InterfaceIPConfigurationPropertiesFormat is properties of IPConfiguration
1031
type InterfaceIPConfigurationPropertiesFormat struct {
1032
PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
1033
PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
1034
Subnet *SubResource `json:"subnet,omitempty"`
1035
PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"`
1036
LoadBalancerBackendAddressPools *[]SubResource `json:"loadBalancerBackendAddressPools,omitempty"`
1037
LoadBalancerInboundNatRules *[]SubResource `json:"loadBalancerInboundNatRules,omitempty"`
1038
ProvisioningState *string `json:"provisioningState,omitempty"`
1041
// InterfaceListResult is response for ListNetworkInterface Api service call
1042
type InterfaceListResult struct {
1043
autorest.Response `json:"-"`
1044
Value *[]Interface `json:"value,omitempty"`
1045
NextLink *string `json:"nextLink,omitempty"`
1048
// InterfaceListResultPreparer prepares a request to retrieve the next set of results. It returns
1049
// nil if no more results exist.
1050
func (client InterfaceListResult) InterfaceListResultPreparer() (*http.Request, error) {
1051
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
1054
return autorest.Prepare(&http.Request{},
1057
autorest.WithBaseURL(to.String(client.NextLink)))
1060
// InterfacePropertiesFormat is networkInterface properties.
1061
type InterfacePropertiesFormat struct {
1062
VirtualMachine *SubResource `json:"virtualMachine,omitempty"`
1063
NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"`
1064
IPConfigurations *[]InterfaceIPConfiguration `json:"ipConfigurations,omitempty"`
1065
DNSSettings *InterfaceDNSSettings `json:"dnsSettings,omitempty"`
1066
MacAddress *string `json:"macAddress,omitempty"`
1067
Primary *bool `json:"primary,omitempty"`
1068
EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"`
1069
ResourceGUID *string `json:"resourceGuid,omitempty"`
1070
ProvisioningState *string `json:"provisioningState,omitempty"`
1073
// LoadBalancer is loadBalancer resource
1074
type LoadBalancer struct {
1075
autorest.Response `json:"-"`
1076
ID *string `json:"id,omitempty"`
1077
Name *string `json:"name,omitempty"`
1078
Type *string `json:"type,omitempty"`
1079
Location *string `json:"location,omitempty"`
1080
Tags *map[string]*string `json:"tags,omitempty"`
1081
Properties *LoadBalancerPropertiesFormat `json:"properties,omitempty"`
1082
Etag *string `json:"etag,omitempty"`
1085
// LoadBalancerListResult is response for ListLoadBalancers Api service call
1086
type LoadBalancerListResult struct {
1087
autorest.Response `json:"-"`
1088
Value *[]LoadBalancer `json:"value,omitempty"`
1089
NextLink *string `json:"nextLink,omitempty"`
1092
// LoadBalancerListResultPreparer prepares a request to retrieve the next set of results. It returns
1093
// nil if no more results exist.
1094
func (client LoadBalancerListResult) LoadBalancerListResultPreparer() (*http.Request, error) {
1095
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
1098
return autorest.Prepare(&http.Request{},
1101
autorest.WithBaseURL(to.String(client.NextLink)))
1104
// LoadBalancerPropertiesFormat is properties of Load Balancer
1105
type LoadBalancerPropertiesFormat struct {
1106
FrontendIPConfigurations *[]FrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"`
1107
BackendAddressPools *[]BackendAddressPool `json:"backendAddressPools,omitempty"`
1108
LoadBalancingRules *[]LoadBalancingRule `json:"loadBalancingRules,omitempty"`
1109
Probes *[]Probe `json:"probes,omitempty"`
1110
InboundNatRules *[]InboundNatRule `json:"inboundNatRules,omitempty"`
1111
InboundNatPools *[]InboundNatPool `json:"inboundNatPools,omitempty"`
1112
OutboundNatRules *[]OutboundNatRule `json:"outboundNatRules,omitempty"`
1113
ResourceGUID *string `json:"resourceGuid,omitempty"`
1114
ProvisioningState *string `json:"provisioningState,omitempty"`
1117
// LoadBalancingRule is rules of the load balancer
1118
type LoadBalancingRule struct {
1119
ID *string `json:"id,omitempty"`
1120
Properties *LoadBalancingRulePropertiesFormat `json:"properties,omitempty"`
1121
Name *string `json:"name,omitempty"`
1122
Etag *string `json:"etag,omitempty"`
1125
// LoadBalancingRulePropertiesFormat is properties of the load balancer
1126
type LoadBalancingRulePropertiesFormat struct {
1127
FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`
1128
BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`
1129
Probe *SubResource `json:"probe,omitempty"`
1130
Protocol TransportProtocol `json:"protocol,omitempty"`
1131
LoadDistribution LoadDistribution `json:"loadDistribution,omitempty"`
1132
FrontendPort *int `json:"frontendPort,omitempty"`
1133
BackendPort *int `json:"backendPort,omitempty"`
1134
IdleTimeoutInMinutes *int `json:"idleTimeoutInMinutes,omitempty"`
1135
EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"`
1136
ProvisioningState *string `json:"provisioningState,omitempty"`
1139
// LocalNetworkGateway is a common class for general resource information
1140
type LocalNetworkGateway struct {
1141
autorest.Response `json:"-"`
1142
ID *string `json:"id,omitempty"`
1143
Name *string `json:"name,omitempty"`
1144
Type *string `json:"type,omitempty"`
1145
Location *string `json:"location,omitempty"`
1146
Tags *map[string]*string `json:"tags,omitempty"`
1147
Properties *LocalNetworkGatewayPropertiesFormat `json:"properties,omitempty"`
1148
Etag *string `json:"etag,omitempty"`
1151
// LocalNetworkGatewayListResult is response for ListLocalNetworkGateways Api
1153
type LocalNetworkGatewayListResult struct {
1154
autorest.Response `json:"-"`
1155
Value *[]LocalNetworkGateway `json:"value,omitempty"`
1156
NextLink *string `json:"nextLink,omitempty"`
1159
// LocalNetworkGatewayListResultPreparer prepares a request to retrieve the next set of results. It returns
1160
// nil if no more results exist.
1161
func (client LocalNetworkGatewayListResult) LocalNetworkGatewayListResultPreparer() (*http.Request, error) {
1162
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
1165
return autorest.Prepare(&http.Request{},
1168
autorest.WithBaseURL(to.String(client.NextLink)))
1171
// LocalNetworkGatewayPropertiesFormat is localNetworkGateway properties
1172
type LocalNetworkGatewayPropertiesFormat struct {
1173
LocalNetworkAddressSpace *AddressSpace `json:"localNetworkAddressSpace,omitempty"`
1174
GatewayIPAddress *string `json:"gatewayIpAddress,omitempty"`
1175
ResourceGUID *string `json:"resourceGuid,omitempty"`
1176
ProvisioningState *string `json:"provisioningState,omitempty"`
1179
// OutboundNatRule is outbound NAT pool of the loadbalancer
1180
type OutboundNatRule struct {
1181
ID *string `json:"id,omitempty"`
1182
Properties *OutboundNatRulePropertiesFormat `json:"properties,omitempty"`
1183
Name *string `json:"name,omitempty"`
1184
Etag *string `json:"etag,omitempty"`
1187
// OutboundNatRulePropertiesFormat is outbound NAT pool of the loadbalancer
1188
type OutboundNatRulePropertiesFormat struct {
1189
AllocatedOutboundPorts *int `json:"allocatedOutboundPorts,omitempty"`
1190
FrontendIPConfigurations *[]SubResource `json:"frontendIPConfigurations,omitempty"`
1191
BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`
1192
ProvisioningState *string `json:"provisioningState,omitempty"`
1195
// Probe is load balancer Probe
1197
ID *string `json:"id,omitempty"`
1198
Properties *ProbePropertiesFormat `json:"properties,omitempty"`
1199
Name *string `json:"name,omitempty"`
1200
Etag *string `json:"etag,omitempty"`
1203
// ProbePropertiesFormat is
1204
type ProbePropertiesFormat struct {
1205
LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"`
1206
Protocol ProbeProtocol `json:"protocol,omitempty"`
1207
Port *int `json:"port,omitempty"`
1208
IntervalInSeconds *int `json:"intervalInSeconds,omitempty"`
1209
NumberOfProbes *int `json:"numberOfProbes,omitempty"`
1210
RequestPath *string `json:"requestPath,omitempty"`
1211
ProvisioningState *string `json:"provisioningState,omitempty"`
1214
// PublicIPAddress is publicIPAddress resource
1215
type PublicIPAddress struct {
1216
autorest.Response `json:"-"`
1217
ID *string `json:"id,omitempty"`
1218
Name *string `json:"name,omitempty"`
1219
Type *string `json:"type,omitempty"`
1220
Location *string `json:"location,omitempty"`
1221
Tags *map[string]*string `json:"tags,omitempty"`
1222
Properties *PublicIPAddressPropertiesFormat `json:"properties,omitempty"`
1223
Etag *string `json:"etag,omitempty"`
1226
// PublicIPAddressDNSSettings is contains FQDN of the DNS record associated
1227
// with the public IP address
1228
type PublicIPAddressDNSSettings struct {
1229
DomainNameLabel *string `json:"domainNameLabel,omitempty"`
1230
Fqdn *string `json:"fqdn,omitempty"`
1231
ReverseFqdn *string `json:"reverseFqdn,omitempty"`
1234
// PublicIPAddressListResult is response for ListPublicIpAddresses Api service
1236
type PublicIPAddressListResult struct {
1237
autorest.Response `json:"-"`
1238
Value *[]PublicIPAddress `json:"value,omitempty"`
1239
NextLink *string `json:"nextLink,omitempty"`
1242
// PublicIPAddressListResultPreparer prepares a request to retrieve the next set of results. It returns
1243
// nil if no more results exist.
1244
func (client PublicIPAddressListResult) PublicIPAddressListResultPreparer() (*http.Request, error) {
1245
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
1248
return autorest.Prepare(&http.Request{},
1251
autorest.WithBaseURL(to.String(client.NextLink)))
1254
// PublicIPAddressPropertiesFormat is publicIpAddress properties
1255
type PublicIPAddressPropertiesFormat struct {
1256
PublicIPAllocationMethod IPAllocationMethod `json:"publicIPAllocationMethod,omitempty"`
1257
IPConfiguration *SubResource `json:"ipConfiguration,omitempty"`
1258
DNSSettings *PublicIPAddressDNSSettings `json:"dnsSettings,omitempty"`
1259
IPAddress *string `json:"ipAddress,omitempty"`
1260
IdleTimeoutInMinutes *int `json:"idleTimeoutInMinutes,omitempty"`
1261
ResourceGUID *string `json:"resourceGuid,omitempty"`
1262
ProvisioningState *string `json:"provisioningState,omitempty"`
1266
type Resource struct {
1267
ID *string `json:"id,omitempty"`
1268
Name *string `json:"name,omitempty"`
1269
Type *string `json:"type,omitempty"`
1270
Location *string `json:"location,omitempty"`
1271
Tags *map[string]*string `json:"tags,omitempty"`
1274
// Route is route resource
1276
autorest.Response `json:"-"`
1277
ID *string `json:"id,omitempty"`
1278
Properties *RoutePropertiesFormat `json:"properties,omitempty"`
1279
Name *string `json:"name,omitempty"`
1280
Etag *string `json:"etag,omitempty"`
1283
// RouteListResult is response for ListRoute Api servive call
1284
type RouteListResult struct {
1285
autorest.Response `json:"-"`
1286
Value *[]Route `json:"value,omitempty"`
1287
NextLink *string `json:"nextLink,omitempty"`
1290
// RouteListResultPreparer prepares a request to retrieve the next set of results. It returns
1291
// nil if no more results exist.
1292
func (client RouteListResult) RouteListResultPreparer() (*http.Request, error) {
1293
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
1296
return autorest.Prepare(&http.Request{},
1299
autorest.WithBaseURL(to.String(client.NextLink)))
1302
// RoutePropertiesFormat is route resource
1303
type RoutePropertiesFormat struct {
1304
AddressPrefix *string `json:"addressPrefix,omitempty"`
1305
NextHopType RouteNextHopType `json:"nextHopType,omitempty"`
1306
NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"`
1307
ProvisioningState *string `json:"provisioningState,omitempty"`
1310
// RouteTable is routeTable resource
1311
type RouteTable struct {
1312
autorest.Response `json:"-"`
1313
ID *string `json:"id,omitempty"`
1314
Name *string `json:"name,omitempty"`
1315
Type *string `json:"type,omitempty"`
1316
Location *string `json:"location,omitempty"`
1317
Tags *map[string]*string `json:"tags,omitempty"`
1318
Properties *RouteTablePropertiesFormat `json:"properties,omitempty"`
1319
Etag *string `json:"etag,omitempty"`
1322
// RouteTableListResult is response for ListRouteTable Api servive call
1323
type RouteTableListResult struct {
1324
autorest.Response `json:"-"`
1325
Value *[]RouteTable `json:"value,omitempty"`
1326
NextLink *string `json:"nextLink,omitempty"`
1329
// RouteTableListResultPreparer prepares a request to retrieve the next set of results. It returns
1330
// nil if no more results exist.
1331
func (client RouteTableListResult) RouteTableListResultPreparer() (*http.Request, error) {
1332
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
1335
return autorest.Prepare(&http.Request{},
1338
autorest.WithBaseURL(to.String(client.NextLink)))
1341
// RouteTablePropertiesFormat is route Table resource
1342
type RouteTablePropertiesFormat struct {
1343
Routes *[]Route `json:"routes,omitempty"`
1344
Subnets *[]SubResource `json:"subnets,omitempty"`
1345
ProvisioningState *string `json:"provisioningState,omitempty"`
1348
// SecurityGroup is networkSecurityGroup resource
1349
type SecurityGroup struct {
1350
autorest.Response `json:"-"`
1351
ID *string `json:"id,omitempty"`
1352
Name *string `json:"name,omitempty"`
1353
Type *string `json:"type,omitempty"`
1354
Location *string `json:"location,omitempty"`
1355
Tags *map[string]*string `json:"tags,omitempty"`
1356
Properties *SecurityGroupPropertiesFormat `json:"properties,omitempty"`
1357
Etag *string `json:"etag,omitempty"`
1360
// SecurityGroupListResult is response for ListNetworkSecurityGroups Api
1362
type SecurityGroupListResult struct {
1363
autorest.Response `json:"-"`
1364
Value *[]SecurityGroup `json:"value,omitempty"`
1365
NextLink *string `json:"nextLink,omitempty"`
1368
// SecurityGroupListResultPreparer prepares a request to retrieve the next set of results. It returns
1369
// nil if no more results exist.
1370
func (client SecurityGroupListResult) SecurityGroupListResultPreparer() (*http.Request, error) {
1371
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
1374
return autorest.Prepare(&http.Request{},
1377
autorest.WithBaseURL(to.String(client.NextLink)))
1380
// SecurityGroupPropertiesFormat is network Security Group resource
1381
type SecurityGroupPropertiesFormat struct {
1382
SecurityRules *[]SecurityRule `json:"securityRules,omitempty"`
1383
DefaultSecurityRules *[]SecurityRule `json:"defaultSecurityRules,omitempty"`
1384
NetworkInterfaces *[]SubResource `json:"networkInterfaces,omitempty"`
1385
Subnets *[]SubResource `json:"subnets,omitempty"`
1386
ResourceGUID *string `json:"resourceGuid,omitempty"`
1387
ProvisioningState *string `json:"provisioningState,omitempty"`
1390
// SecurityRule is network security rule
1391
type SecurityRule struct {
1392
autorest.Response `json:"-"`
1393
ID *string `json:"id,omitempty"`
1394
Properties *SecurityRulePropertiesFormat `json:"properties,omitempty"`
1395
Name *string `json:"name,omitempty"`
1396
Etag *string `json:"etag,omitempty"`
1399
// SecurityRuleListResult is response for ListSecurityRule Api service
1400
// callRetrieves all security rules that belongs to a network security group
1401
type SecurityRuleListResult struct {
1402
autorest.Response `json:"-"`
1403
Value *[]SecurityRule `json:"value,omitempty"`
1404
NextLink *string `json:"nextLink,omitempty"`
1407
// SecurityRuleListResultPreparer prepares a request to retrieve the next set of results. It returns
1408
// nil if no more results exist.
1409
func (client SecurityRuleListResult) SecurityRuleListResultPreparer() (*http.Request, error) {
1410
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
1413
return autorest.Prepare(&http.Request{},
1416
autorest.WithBaseURL(to.String(client.NextLink)))
1419
// SecurityRulePropertiesFormat is
1420
type SecurityRulePropertiesFormat struct {
1421
Description *string `json:"description,omitempty"`
1422
Protocol SecurityRuleProtocol `json:"protocol,omitempty"`
1423
SourcePortRange *string `json:"sourcePortRange,omitempty"`
1424
DestinationPortRange *string `json:"destinationPortRange,omitempty"`
1425
SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"`
1426
DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"`
1427
Access SecurityRuleAccess `json:"access,omitempty"`
1428
Priority *int `json:"priority,omitempty"`
1429
Direction SecurityRuleDirection `json:"direction,omitempty"`
1430
ProvisioningState *string `json:"provisioningState,omitempty"`
1433
// Subnet is subnet in a VirtualNework resource
1434
type Subnet struct {
1435
autorest.Response `json:"-"`
1436
ID *string `json:"id,omitempty"`
1437
Properties *SubnetPropertiesFormat `json:"properties,omitempty"`
1438
Name *string `json:"name,omitempty"`
1439
Etag *string `json:"etag,omitempty"`
1442
// SubnetListResult is response for ListSubnets Api service callRetrieves all
1443
// subnet that belongs to a virtual network
1444
type SubnetListResult struct {
1445
autorest.Response `json:"-"`
1446
Value *[]Subnet `json:"value,omitempty"`
1447
NextLink *string `json:"nextLink,omitempty"`
1450
// SubnetListResultPreparer prepares a request to retrieve the next set of results. It returns
1451
// nil if no more results exist.
1452
func (client SubnetListResult) SubnetListResultPreparer() (*http.Request, error) {
1453
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
1456
return autorest.Prepare(&http.Request{},
1459
autorest.WithBaseURL(to.String(client.NextLink)))
1462
// SubnetPropertiesFormat is
1463
type SubnetPropertiesFormat struct {
1464
AddressPrefix *string `json:"addressPrefix,omitempty"`
1465
NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"`
1466
RouteTable *SubResource `json:"routeTable,omitempty"`
1467
IPConfigurations *[]SubResource `json:"ipConfigurations,omitempty"`
1468
ProvisioningState *string `json:"provisioningState,omitempty"`
1472
type SubResource struct {
1473
ID *string `json:"id,omitempty"`
1476
// Usage is describes Network Resource Usage.
1478
Unit UsageUnit `json:"unit,omitempty"`
1479
CurrentValue *int `json:"currentValue,omitempty"`
1480
Limit *int32 `json:"limit,omitempty"`
1481
Name *UsageName `json:"name,omitempty"`
1484
// UsageName is the Usage Names.
1485
type UsageName struct {
1486
Value *string `json:"value,omitempty"`
1487
LocalizedValue *string `json:"localizedValue,omitempty"`
1490
// UsagesListResult is the List Usages operation response.
1491
type UsagesListResult struct {
1492
autorest.Response `json:"-"`
1493
Value *[]Usage `json:"value,omitempty"`
1496
// VirtualNetwork is virtual Network resource
1497
type VirtualNetwork struct {
1498
autorest.Response `json:"-"`
1499
ID *string `json:"id,omitempty"`
1500
Name *string `json:"name,omitempty"`
1501
Type *string `json:"type,omitempty"`
1502
Location *string `json:"location,omitempty"`
1503
Tags *map[string]*string `json:"tags,omitempty"`
1504
Properties *VirtualNetworkPropertiesFormat `json:"properties,omitempty"`
1505
Etag *string `json:"etag,omitempty"`
1508
// VirtualNetworkGateway is a common class for general resource information
1509
type VirtualNetworkGateway struct {
1510
autorest.Response `json:"-"`
1511
ID *string `json:"id,omitempty"`
1512
Name *string `json:"name,omitempty"`
1513
Type *string `json:"type,omitempty"`
1514
Location *string `json:"location,omitempty"`
1515
Tags *map[string]*string `json:"tags,omitempty"`
1516
Properties *VirtualNetworkGatewayPropertiesFormat `json:"properties,omitempty"`
1517
Etag *string `json:"etag,omitempty"`
1520
// VirtualNetworkGatewayConnection is a common class for general resource
1522
type VirtualNetworkGatewayConnection struct {
1523
autorest.Response `json:"-"`
1524
ID *string `json:"id,omitempty"`
1525
Name *string `json:"name,omitempty"`
1526
Type *string `json:"type,omitempty"`
1527
Location *string `json:"location,omitempty"`
1528
Tags *map[string]*string `json:"tags,omitempty"`
1529
Properties *VirtualNetworkGatewayConnectionPropertiesFormat `json:"properties,omitempty"`
1530
Etag *string `json:"etag,omitempty"`
1533
// VirtualNetworkGatewayConnectionListResult is response for
1534
// ListVirtualNetworkGatewayConnections Api service call
1535
type VirtualNetworkGatewayConnectionListResult struct {
1536
autorest.Response `json:"-"`
1537
Value *[]VirtualNetworkGatewayConnection `json:"value,omitempty"`
1538
NextLink *string `json:"nextLink,omitempty"`
1541
// VirtualNetworkGatewayConnectionListResultPreparer prepares a request to retrieve the next set of results. It returns
1542
// nil if no more results exist.
1543
func (client VirtualNetworkGatewayConnectionListResult) VirtualNetworkGatewayConnectionListResultPreparer() (*http.Request, error) {
1544
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
1547
return autorest.Prepare(&http.Request{},
1550
autorest.WithBaseURL(to.String(client.NextLink)))
1553
// VirtualNetworkGatewayConnectionPropertiesFormat is
1554
// virtualNeworkGatewayConnection properties
1555
type VirtualNetworkGatewayConnectionPropertiesFormat struct {
1556
VirtualNetworkGateway1 *VirtualNetworkGateway `json:"virtualNetworkGateway1,omitempty"`
1557
VirtualNetworkGateway2 *VirtualNetworkGateway `json:"virtualNetworkGateway2,omitempty"`
1558
LocalNetworkGateway2 *LocalNetworkGateway `json:"localNetworkGateway2,omitempty"`
1559
ConnectionType VirtualNetworkGatewayConnectionType `json:"connectionType,omitempty"`
1560
RoutingWeight *int `json:"routingWeight,omitempty"`
1561
SharedKey *string `json:"sharedKey,omitempty"`
1562
ConnectionStatus VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty"`
1563
EgressBytesTransferred *int32 `json:"egressBytesTransferred,omitempty"`
1564
IngressBytesTransferred *int32 `json:"ingressBytesTransferred,omitempty"`
1565
Peer *SubResource `json:"peer,omitempty"`
1566
ResourceGUID *string `json:"resourceGuid,omitempty"`
1567
ProvisioningState *string `json:"provisioningState,omitempty"`
1570
// VirtualNetworkGatewayIPConfiguration is ipConfiguration for Virtual network
1572
type VirtualNetworkGatewayIPConfiguration struct {
1573
ID *string `json:"id,omitempty"`
1574
Properties *VirtualNetworkGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"`
1575
Name *string `json:"name,omitempty"`
1576
Etag *string `json:"etag,omitempty"`
1579
// VirtualNetworkGatewayIPConfigurationPropertiesFormat is properties of
1580
// VirtualNetworkGatewayIPConfiguration
1581
type VirtualNetworkGatewayIPConfigurationPropertiesFormat struct {
1582
PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
1583
PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
1584
Subnet *SubResource `json:"subnet,omitempty"`
1585
PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"`
1586
ProvisioningState *string `json:"provisioningState,omitempty"`
1589
// VirtualNetworkGatewayListResult is response for ListVirtualNetworkGateways
1591
type VirtualNetworkGatewayListResult struct {
1592
autorest.Response `json:"-"`
1593
Value *[]VirtualNetworkGateway `json:"value,omitempty"`
1594
NextLink *string `json:"nextLink,omitempty"`
1597
// VirtualNetworkGatewayListResultPreparer prepares a request to retrieve the next set of results. It returns
1598
// nil if no more results exist.
1599
func (client VirtualNetworkGatewayListResult) VirtualNetworkGatewayListResultPreparer() (*http.Request, error) {
1600
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
1603
return autorest.Prepare(&http.Request{},
1606
autorest.WithBaseURL(to.String(client.NextLink)))
1609
// VirtualNetworkGatewayPropertiesFormat is virtualNeworkGateay properties
1610
type VirtualNetworkGatewayPropertiesFormat struct {
1611
IPConfigurations *[]VirtualNetworkGatewayIPConfiguration `json:"ipConfigurations,omitempty"`
1612
GatewayType VirtualNetworkGatewayType `json:"gatewayType,omitempty"`
1613
VpnType VpnType `json:"vpnType,omitempty"`
1614
EnableBgp *bool `json:"enableBgp,omitempty"`
1615
GatewayDefaultSite *SubResource `json:"gatewayDefaultSite,omitempty"`
1616
ResourceGUID *string `json:"resourceGuid,omitempty"`
1617
ProvisioningState *string `json:"provisioningState,omitempty"`
1620
// VirtualNetworkListResult is response for ListVirtualNetworks Api servive
1622
type VirtualNetworkListResult struct {
1623
autorest.Response `json:"-"`
1624
Value *[]VirtualNetwork `json:"value,omitempty"`
1625
NextLink *string `json:"nextLink,omitempty"`
1628
// VirtualNetworkListResultPreparer prepares a request to retrieve the next set of results. It returns
1629
// nil if no more results exist.
1630
func (client VirtualNetworkListResult) VirtualNetworkListResultPreparer() (*http.Request, error) {
1631
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
1634
return autorest.Prepare(&http.Request{},
1637
autorest.WithBaseURL(to.String(client.NextLink)))
1640
// VirtualNetworkPropertiesFormat is
1641
type VirtualNetworkPropertiesFormat struct {
1642
AddressSpace *AddressSpace `json:"addressSpace,omitempty"`
1643
DhcpOptions *DhcpOptions `json:"dhcpOptions,omitempty"`
1644
Subnets *[]Subnet `json:"subnets,omitempty"`
1645
ResourceGUID *string `json:"resourceGuid,omitempty"`
1646
ProvisioningState *string `json:"provisioningState,omitempty"`