Skip to main content

load_balancers

Creates, updates, deletes, gets or lists a load_balancers resource.

Overview

Nameload_balancers
TypeResource
Idazure_stack.network_admin.load_balancers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectProperties of a load balancer.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId$filter, $orderBy, $top, $skip, $inlineCountGet a list of all load balancers.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
subscriptionIdstringThe ID of the target subscription.
$filterstringOData filter parameter.
$inlineCountstringOData inline count parameter.
$orderBystringOData orderBy parameter.
$skipstringOData skip parameter.
$topstringOData top parameter.

SELECT examples

Get a list of all load balancers.

SELECT
id,
name,
properties,
type
FROM azure_stack.network_admin.load_balancers
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND $filter = '{{ $filter }}'
AND $orderBy = '{{ $orderBy }}'
AND $top = '{{ $top }}'
AND $skip = '{{ $skip }}'
AND $inlineCount = '{{ $inlineCount }}'
;