@@ -5,14 +5,14 @@ hide_table_of_contents: false
5
5
keywords :
6
6
- load_balancers
7
7
- network
8
- - google
9
- - stackql
8
+ - azure
9
+ - microsoft azure
10
10
- infrastructure-as-code
11
11
- configuration-as-data
12
12
- cloud inventory
13
- description : Query, deploy and manage Google Cloud Platform (GCP) infrastructure and resources using SQL
13
+ description : Query, deploy and manage Microsoft Azure infrastructure and resources using SQL
14
14
custom_edit_url : null
15
- image : /img/providers/google /stackql-google -provider-featured-image.png
15
+ image : /img/providers/azure /stackql-azure -provider-featured-image.png
16
16
---
17
17
18
18
import CopyableCode from '@site/src /components/CopyableCode/CopyableCode';
@@ -31,15 +31,21 @@ Creates, updates, deletes, gets or lists a <code>load_balancers</code> resource.
31
31
## Fields
32
32
| Name | Datatype | Description |
33
33
| :-----| :---------| :------------|
34
- | <CopyableCode code =" inboundNatRulePortMappings " /> | ` array ` | Collection of inbound NAT rule port mappings. |
34
+ | <CopyableCode code =" id " /> | ` string ` | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
35
+ | <CopyableCode code =" name " /> | ` string ` | The name of the resource |
36
+ | <CopyableCode code =" etag " /> | ` string ` | A unique read-only string that changes whenever the resource is updated. |
37
+ | <CopyableCode code =" extendedLocation " /> | ` object ` | ExtendedLocation complex type. |
38
+ | <CopyableCode code =" properties " /> | ` object ` | Properties of the load balancer. |
39
+ | <CopyableCode code =" sku " /> | ` object ` | SKU of a load balancer. |
40
+ | <CopyableCode code =" systemData " /> | ` object ` | Metadata pertaining to creation and last modification of the resource. |
41
+ | <CopyableCode code =" type " /> | ` string ` | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
35
42
36
43
## Methods
37
44
| Name | Accessible by | Required Params | Description |
38
45
| :-----| :--------------| :----------------| :------------|
39
46
| <CopyableCode code =" get " /> | ` SELECT ` | <CopyableCode code =" loadBalancerName, resourceGroupName, subscriptionId " /> | Gets the specified load balancer. |
40
47
| <CopyableCode code =" list " /> | ` SELECT ` | <CopyableCode code =" resourceGroupName, subscriptionId " /> | Gets all the load balancers in a resource group. |
41
48
| <CopyableCode code =" list_all " /> | ` SELECT ` | <CopyableCode code =" subscriptionId " /> | Gets all the load balancers in a subscription. |
42
- | <CopyableCode code =" list_inbound_nat_rule_port_mappings " /> | ` SELECT ` | <CopyableCode code =" backendPoolName, groupName, loadBalancerName, subscriptionId " /> | List of inbound NAT rule port mappings. |
43
49
| <CopyableCode code =" create_or_update " /> | ` INSERT ` | <CopyableCode code =" loadBalancerName, resourceGroupName, subscriptionId " /> | Creates or updates a load balancer. |
44
50
| <CopyableCode code =" delete " /> | ` DELETE ` | <CopyableCode code =" loadBalancerName, resourceGroupName, subscriptionId " /> | Deletes the specified load balancer. |
45
51
| <CopyableCode code =" migrate_to_ip_based " /> | ` EXEC ` | <CopyableCode code =" groupName, loadBalancerName, subscriptionId " /> | Migrate load balancer to IP Based |
@@ -53,7 +59,14 @@ Gets all the load balancers in a subscription.
53
59
54
60
``` sql
55
61
SELECT
56
- inboundNatRulePortMappings
62
+ id,
63
+ name,
64
+ etag,
65
+ extendedLocation,
66
+ properties,
67
+ sku,
68
+ systemData,
69
+ type
57
70
FROM azure .network .load_balancers
58
71
WHERE subscriptionId = ' {{ subscriptionId }}' ;
59
72
```
@@ -78,21 +91,15 @@ resourceGroupName,
78
91
subscriptionId,
79
92
extendedLocation,
80
93
sku,
81
- properties,
82
- id,
83
- location,
84
- tags
94
+ properties
85
95
)
86
96
SELECT
87
97
' {{ loadBalancerName }}' ,
88
98
' {{ resourceGroupName }}' ,
89
99
' {{ subscriptionId }}' ,
90
100
' {{ extendedLocation }}' ,
91
101
' {{ sku }}' ,
92
- ' {{ properties }}' ,
93
- ' {{ id }}' ,
94
- ' {{ location }}' ,
95
- ' {{ tags }}'
102
+ ' {{ properties }}'
96
103
;
97
104
```
98
105
</TabItem >
@@ -185,10 +192,8 @@ SELECT
185
192
value : string
186
193
- name : type
187
194
value : string
188
- - name : location
189
- value : string
190
- - name : tags
191
- value : object
195
+ - name : systemData
196
+ value : []
192
197
- name : destinationAddressPrefix
193
198
value : string
194
199
- name : destinationAddressPrefixes
@@ -204,10 +209,6 @@ SELECT
204
209
value : string
205
210
- name : type
206
211
value : string
207
- - name : location
208
- value : string
209
- - name : tags
210
- value : object
211
212
- name : sourcePortRanges
212
213
value :
213
214
- string
@@ -260,10 +261,6 @@ SELECT
260
261
value : string
261
262
- name : type
262
263
value : string
263
- - name : location
264
- value : string
265
- - name : tags
266
- value : object
267
264
- name : ipConfigurations
268
265
value :
269
266
- - name : properties
@@ -335,10 +332,6 @@ SELECT
335
332
value : string
336
333
- name : type
337
334
value : string
338
- - name : location
339
- value : string
340
- - name : tags
341
- value : object
342
335
- name : migrationPhase
343
336
value : string
344
337
- name : auxiliaryMode
@@ -353,10 +346,6 @@ SELECT
353
346
value : string
354
347
- name : type
355
348
value : string
356
- - name : location
357
- value : string
358
- - name : tags
359
- value : object
360
349
- name : subnets
361
350
value :
362
351
- - name : name
@@ -415,10 +404,6 @@ SELECT
415
404
value : string
416
405
- name : type
417
406
value : string
418
- - name : location
419
- value : string
420
- - name : tags
421
- value : object
422
407
- name : resourceGuid
423
408
value : string
424
409
- name : etag
@@ -429,10 +414,6 @@ SELECT
429
414
value : string
430
415
- name : type
431
416
value : string
432
- - name : location
433
- value : string
434
- - name : tags
435
- value : object
436
417
- name : routeTable
437
418
value :
438
419
- name : properties
@@ -479,10 +460,6 @@ SELECT
479
460
value : string
480
461
- name : type
481
462
value : string
482
- - name : location
483
- value : string
484
- - name : tags
485
- value : object
486
463
- name : serviceEndpoints
487
464
value :
488
465
- - name : service
@@ -540,10 +517,6 @@ SELECT
540
517
value : string
541
518
- name : type
542
519
value : string
543
- - name : location
544
- value : string
545
- - name : tags
546
- value : object
547
520
- name : privateEndpoints
548
521
value :
549
522
- - name : etag
@@ -554,10 +527,6 @@ SELECT
554
527
value : string
555
528
- name : type
556
529
value : string
557
- - name : location
558
- value : string
559
- - name : tags
560
- value : object
561
530
- name : ipConfigurations
562
531
value :
563
532
- - name : properties
@@ -625,10 +594,6 @@ SELECT
625
594
value : string
626
595
- name : type
627
596
value : string
628
- - name : location
629
- value : string
630
- - name : tags
631
- value : object
632
597
- name : migrationPhase
633
598
value : string
634
599
- name : deleteOption
@@ -644,10 +609,6 @@ SELECT
644
609
value : string
645
610
- name : type
646
611
value : string
647
- - name : location
648
- value : string
649
- - name : tags
650
- value : object
651
612
- name : name
652
613
value : string
653
614
- name : etag
@@ -989,10 +950,6 @@ SELECT
989
950
value : string
990
951
- name : type
991
952
value : string
992
- - name : location
993
- value : string
994
- - name : tags
995
- value : object
996
953
997
954
```
998
955
</TabItem >
0 commit comments