Skip to main content

network_profiles

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

Overview

Namenetwork_profiles
TypeResource
Idazure.network.network_profiles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource ID.
namestringResource name.
containerNetworkInterfaceConfigurationsarrayList of chid container network interface configurations.
containerNetworkInterfacesarrayList of child container network interfaces.
etagstringA unique read-only string that changes whenever the resource is updated.
locationstringResource location.
provisioningStatestringThe provisioning state of the network profile resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting". (Failed, Succeeded, Canceled, Creating, Updating, Deleting)
resourceGuidstringThe resource GUID property of the network profile resource.
tagsobjectResource tags.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, network_profile_name, subscription_id$expandGets the specified network profile in a specified resource group.
listselectresource_group_name, subscription_idGets all network profiles in a resource group.
list_allselectsubscription_idGets all the network profiles in a subscription.
create_or_updateinsertresource_group_name, network_profile_name, subscription_idCreates or updates a network profile.
update_tagsupdateresource_group_name, network_profile_name, subscription_idUpdates network profile tags.
create_or_updatereplaceresource_group_name, network_profile_name, subscription_idCreates or updates a network profile.
deletedeleteresource_group_name, network_profile_name, subscription_idDeletes the specified network profile.

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
network_profile_namestringThe name of the public IP prefix. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
$expandstringExpands referenced resources. Default value is None.

SELECT examples

Gets the specified network profile in a specified resource group.

SELECT
id,
name,
containerNetworkInterfaceConfigurations,
containerNetworkInterfaces,
etag,
location,
provisioningState,
resourceGuid,
tags,
type
FROM azure.network.network_profiles
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND network_profile_name = '{{ network_profile_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $expand = '{{ $expand }}'
;

INSERT examples

Creates or updates a network profile.

INSERT INTO azure.network.network_profiles (
id,
location,
tags,
properties,
resource_group_name,
network_profile_name,
subscription_id
)
SELECT
'{{ id }}',
'{{ location }}',
'{{ tags }}',
'{{ properties }}',
'{{ resource_group_name }}',
'{{ network_profile_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
location,
properties,
tags,
type
;

UPDATE examples

Updates network profile tags.

UPDATE azure.network.network_profiles
SET
tags = '{{ tags }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND network_profile_name = '{{ network_profile_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
location,
properties,
tags,
type;

REPLACE examples

Creates or updates a network profile.

REPLACE azure.network.network_profiles
SET
id = '{{ id }}',
location = '{{ location }}',
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND network_profile_name = '{{ network_profile_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
location,
properties,
tags,
type;

DELETE examples

Deletes the specified network profile.

DELETE FROM azure.network.network_profiles
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND network_profile_name = '{{ network_profile_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;