Skip to main content

virtual_hub_ip_configurations

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

Overview

Namevirtual_hub_ip_configurations
TypeResource
Idazure.network.virtual_hub_ip_configurations

Fields

NameDatatypeDescription
idtextResource ID.
nametextName of the Ip Configuration.
etagtextA unique read-only string that changes whenever the resource is updated.
ipConfigNametextfield from the properties object
private_ip_addresstextfield from the properties object
private_ip_allocation_methodtextfield from the properties object
provisioning_statetextfield from the properties object
public_ip_addresstextfield from the properties object
resourceGroupNametextfield from the properties object
subnettextfield from the properties object
subscriptionIdtextfield from the properties object
typetextIpconfiguration type.
virtualHubNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTipConfigName, resourceGroupName, subscriptionId, virtualHubNameRetrieves the details of a Virtual Hub Ip configuration.
listSELECTresourceGroupName, subscriptionId, virtualHubNameRetrieves the details of all VirtualHubIpConfigurations.
create_or_updateINSERTipConfigName, resourceGroupName, subscriptionId, virtualHubNameCreates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration.
deleteDELETEipConfigName, resourceGroupName, subscriptionId, virtualHubNameDeletes a VirtualHubIpConfiguration.

SELECT examples

Retrieves the details of all VirtualHubIpConfigurations.

SELECT
id,
name,
etag,
ipConfigName,
private_ip_address,
private_ip_allocation_method,
provisioning_state,
public_ip_address,
resourceGroupName,
subnet,
subscriptionId,
type,
virtualHubName
FROM azure.network.vw_virtual_hub_ip_configurations
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND virtualHubName = '{{ virtualHubName }}';

INSERT example

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

/*+ create */
INSERT INTO azure.network.virtual_hub_ip_configurations (
ipConfigName,
resourceGroupName,
subscriptionId,
virtualHubName,
properties,
name,
id
)
SELECT
'{{ ipConfigName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ virtualHubName }}',
'{{ properties }}',
'{{ name }}',
'{{ id }}'
;

DELETE example

Deletes the specified virtual_hub_ip_configurations resource.

/*+ delete */
DELETE FROM azure.network.virtual_hub_ip_configurations
WHERE ipConfigName = '{{ ipConfigName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND virtualHubName = '{{ virtualHubName }}';