Skip to main content

service_association_links

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

Overview

Nameservice_association_links
TypeResource
Idazure.network.service_association_links

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource ID.
namestringName of the resource that is unique within a resource group. This name can be used to access the resource.
allowDeletebooleanIf true, the resource can be deleted.
etagstringA unique read-only string that changes whenever the resource is updated.
linkstringLink to the external resource.
linkedResourceTypestringResource type of the linked resource.
locationsarrayA list of locations.
provisioningStatestringThe provisioning state of the service association link resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting". (Failed, Succeeded, Canceled, Creating, Updating, Deleting)
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresource_group_name, virtual_network_name, subnet_name, subscription_idGets a list of service association links for a subnet.

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
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subnet_namestringThe name of the subnet. Required.
subscription_idstring
virtual_network_namestringThe name of the virtual network. Required.

SELECT examples

Gets a list of service association links for a subnet.

SELECT
id,
name,
allowDelete,
etag,
link,
linkedResourceType,
locations,
provisioningState,
type
FROM azure.network.service_association_links
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND virtual_network_name = '{{ virtual_network_name }}' -- required
AND subnet_name = '{{ subnet_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;