frontends_interfaces
Creates, updates, deletes, gets or lists a frontends_interfaces
resource.
Overview
Name | frontends_interfaces |
Type | Resource |
Id | azure.service_networking.frontends_interfaces |
Fields
- vw_frontends_interfaces
- frontends_interfaces
Name | Datatype | Description |
---|---|---|
fqdn | text | field from the properties object |
frontendName | text | field from the properties object |
location | text | The geo-location where the resource lives |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
trafficControllerName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Frontend Properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | frontendName, resourceGroupName, subscriptionId, trafficControllerName | Get a Frontend |
list_by_traffic_controller | SELECT | resourceGroupName, subscriptionId, trafficControllerName | List Frontend resources by TrafficController |
create_or_update | INSERT | frontendName, resourceGroupName, subscriptionId, trafficControllerName | Create a Frontend |
delete | DELETE | frontendName, resourceGroupName, subscriptionId, trafficControllerName | Delete a Frontend |
update | UPDATE | frontendName, resourceGroupName, subscriptionId, trafficControllerName | Update a Frontend |
SELECT
examples
List Frontend resources by TrafficController
- vw_frontends_interfaces
- frontends_interfaces
SELECT
fqdn,
frontendName,
location,
provisioning_state,
resourceGroupName,
subscriptionId,
tags,
trafficControllerName
FROM azure.service_networking.vw_frontends_interfaces
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND trafficControllerName = '{{ trafficControllerName }}';
SELECT
location,
properties,
tags
FROM azure.service_networking.frontends_interfaces
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND trafficControllerName = '{{ trafficControllerName }}';
INSERT
example
Use the following StackQL query and manifest file to create a new frontends_interfaces
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.service_networking.frontends_interfaces (
frontendName,
resourceGroupName,
subscriptionId,
trafficControllerName,
properties,
tags,
location
)
SELECT
'{{ frontendName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ trafficControllerName }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: fqdn
value: string
- name: provisioningState
value: []
- name: tags
value: object
- name: location
value: string
UPDATE
example
Updates a frontends_interfaces
resource.
/*+ update */
UPDATE azure.service_networking.frontends_interfaces
SET
tags = '{{ tags }}'
WHERE
frontendName = '{{ frontendName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND trafficControllerName = '{{ trafficControllerName }}';
DELETE
example
Deletes the specified frontends_interfaces
resource.
/*+ delete */
DELETE FROM azure.service_networking.frontends_interfaces
WHERE frontendName = '{{ frontendName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND trafficControllerName = '{{ trafficControllerName }}';