Skip to content

Commit 832424a

Browse files
authored
Merge pull request #198 from stackql/feature/doc-updates
azure lb update
2 parents 8eb0d8e + 7b918d1 commit 832424a

File tree

1 file changed

+24
-67
lines changed
  • docs/azure-docs/providers/azure/network/load_balancers

1 file changed

+24
-67
lines changed

docs/azure-docs/providers/azure/network/load_balancers/index.md

Lines changed: 24 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ hide_table_of_contents: false
55
keywords:
66
- load_balancers
77
- network
8-
- google
9-
- stackql
8+
- azure
9+
- microsoft azure
1010
- infrastructure-as-code
1111
- configuration-as-data
1212
- 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
1414
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
1616
---
1717

1818
import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';
@@ -31,15 +31,21 @@ Creates, updates, deletes, gets or lists a <code>load_balancers</code> resource.
3131
## Fields
3232
| Name | Datatype | Description |
3333
|:-----|:---------|:------------|
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" |
3542

3643
## Methods
3744
| Name | Accessible by | Required Params | Description |
3845
|:-----|:--------------|:----------------|:------------|
3946
| <CopyableCode code="get" /> | `SELECT` | <CopyableCode code="loadBalancerName, resourceGroupName, subscriptionId" /> | Gets the specified load balancer. |
4047
| <CopyableCode code="list" /> | `SELECT` | <CopyableCode code="resourceGroupName, subscriptionId" /> | Gets all the load balancers in a resource group. |
4148
| <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. |
4349
| <CopyableCode code="create_or_update" /> | `INSERT` | <CopyableCode code="loadBalancerName, resourceGroupName, subscriptionId" /> | Creates or updates a load balancer. |
4450
| <CopyableCode code="delete" /> | `DELETE` | <CopyableCode code="loadBalancerName, resourceGroupName, subscriptionId" /> | Deletes the specified load balancer. |
4551
| <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.
5359

5460
```sql
5561
SELECT
56-
inboundNatRulePortMappings
62+
id,
63+
name,
64+
etag,
65+
extendedLocation,
66+
properties,
67+
sku,
68+
systemData,
69+
type
5770
FROM azure.network.load_balancers
5871
WHERE subscriptionId = '{{ subscriptionId }}';
5972
```
@@ -78,21 +91,15 @@ resourceGroupName,
7891
subscriptionId,
7992
extendedLocation,
8093
sku,
81-
properties,
82-
id,
83-
location,
84-
tags
94+
properties
8595
)
8696
SELECT
8797
'{{ loadBalancerName }}',
8898
'{{ resourceGroupName }}',
8999
'{{ subscriptionId }}',
90100
'{{ extendedLocation }}',
91101
'{{ sku }}',
92-
'{{ properties }}',
93-
'{{ id }}',
94-
'{{ location }}',
95-
'{{ tags }}'
102+
'{{ properties }}'
96103
;
97104
```
98105
</TabItem>
@@ -185,10 +192,8 @@ SELECT
185192
value: string
186193
- name: type
187194
value: string
188-
- name: location
189-
value: string
190-
- name: tags
191-
value: object
195+
- name: systemData
196+
value: []
192197
- name: destinationAddressPrefix
193198
value: string
194199
- name: destinationAddressPrefixes
@@ -204,10 +209,6 @@ SELECT
204209
value: string
205210
- name: type
206211
value: string
207-
- name: location
208-
value: string
209-
- name: tags
210-
value: object
211212
- name: sourcePortRanges
212213
value:
213214
- string
@@ -260,10 +261,6 @@ SELECT
260261
value: string
261262
- name: type
262263
value: string
263-
- name: location
264-
value: string
265-
- name: tags
266-
value: object
267264
- name: ipConfigurations
268265
value:
269266
- - name: properties
@@ -335,10 +332,6 @@ SELECT
335332
value: string
336333
- name: type
337334
value: string
338-
- name: location
339-
value: string
340-
- name: tags
341-
value: object
342335
- name: migrationPhase
343336
value: string
344337
- name: auxiliaryMode
@@ -353,10 +346,6 @@ SELECT
353346
value: string
354347
- name: type
355348
value: string
356-
- name: location
357-
value: string
358-
- name: tags
359-
value: object
360349
- name: subnets
361350
value:
362351
- - name: name
@@ -415,10 +404,6 @@ SELECT
415404
value: string
416405
- name: type
417406
value: string
418-
- name: location
419-
value: string
420-
- name: tags
421-
value: object
422407
- name: resourceGuid
423408
value: string
424409
- name: etag
@@ -429,10 +414,6 @@ SELECT
429414
value: string
430415
- name: type
431416
value: string
432-
- name: location
433-
value: string
434-
- name: tags
435-
value: object
436417
- name: routeTable
437418
value:
438419
- name: properties
@@ -479,10 +460,6 @@ SELECT
479460
value: string
480461
- name: type
481462
value: string
482-
- name: location
483-
value: string
484-
- name: tags
485-
value: object
486463
- name: serviceEndpoints
487464
value:
488465
- - name: service
@@ -540,10 +517,6 @@ SELECT
540517
value: string
541518
- name: type
542519
value: string
543-
- name: location
544-
value: string
545-
- name: tags
546-
value: object
547520
- name: privateEndpoints
548521
value:
549522
- - name: etag
@@ -554,10 +527,6 @@ SELECT
554527
value: string
555528
- name: type
556529
value: string
557-
- name: location
558-
value: string
559-
- name: tags
560-
value: object
561530
- name: ipConfigurations
562531
value:
563532
- - name: properties
@@ -625,10 +594,6 @@ SELECT
625594
value: string
626595
- name: type
627596
value: string
628-
- name: location
629-
value: string
630-
- name: tags
631-
value: object
632597
- name: migrationPhase
633598
value: string
634599
- name: deleteOption
@@ -644,10 +609,6 @@ SELECT
644609
value: string
645610
- name: type
646611
value: string
647-
- name: location
648-
value: string
649-
- name: tags
650-
value: object
651612
- name: name
652613
value: string
653614
- name: etag
@@ -989,10 +950,6 @@ SELECT
989950
value: string
990951
- name: type
991952
value: string
992-
- name: location
993-
value: string
994-
- name: tags
995-
value: object
996953

997954
```
998955
</TabItem>

0 commit comments

Comments
 (0)