Skip to main content

static_members

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

Overview

Namestatic_members
TypeResource
Idazure.network.static_members

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
etagtextA unique read-only string that changes whenever the resource is updated.
networkGroupNametextfield from the properties object
networkManagerNametextfield from the properties object
provisioning_statetextfield from the properties object
regiontextfield from the properties object
resourceGroupNametextfield from the properties object
resource_idtextfield from the properties object
staticMemberNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTnetworkGroupName, networkManagerName, resourceGroupName, staticMemberName, subscriptionIdGets the specified static member.
listSELECTnetworkGroupName, networkManagerName, resourceGroupName, subscriptionIdLists the specified static member.
create_or_updateINSERTnetworkGroupName, networkManagerName, resourceGroupName, staticMemberName, subscriptionIdCreates or updates a static member.
deleteDELETEnetworkGroupName, networkManagerName, resourceGroupName, staticMemberName, subscriptionIdDeletes a static member.

SELECT examples

Lists the specified static member.

SELECT
id,
name,
etag,
networkGroupName,
networkManagerName,
provisioning_state,
region,
resourceGroupName,
resource_id,
staticMemberName,
subscriptionId,
system_data,
type
FROM azure.network.vw_static_members
WHERE networkGroupName = '{{ networkGroupName }}'
AND networkManagerName = '{{ networkManagerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new static_members resource.

/*+ create */
INSERT INTO azure.network.static_members (
networkGroupName,
networkManagerName,
resourceGroupName,
staticMemberName,
subscriptionId,
properties
)
SELECT
'{{ networkGroupName }}',
'{{ networkManagerName }}',
'{{ resourceGroupName }}',
'{{ staticMemberName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified static_members resource.

/*+ delete */
DELETE FROM azure.network.static_members
WHERE networkGroupName = '{{ networkGroupName }}'
AND networkManagerName = '{{ networkManagerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND staticMemberName = '{{ staticMemberName }}'
AND subscriptionId = '{{ subscriptionId }}';