dataflow_profiles
Creates, updates, deletes, gets or lists a dataflow_profiles
resource.
Overview
Name | dataflow_profiles |
Type | Resource |
Id | azure.iotoperations.dataflow_profiles |
Fields
- vw_dataflow_profiles
- dataflow_profiles
Name | Datatype | Description |
---|---|---|
dataflowProfileName | text | field from the properties object |
diagnostics | text | field from the properties object |
extended_location | text | field from the properties object |
instanceName | text | field from the properties object |
instance_count | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
extendedLocation | object | Extended location is an extension of Azure locations. They provide a way to use their Azure ARC enabled Kubernetes clusters as target locations for deploying Azure services instances. |
properties | object | DataflowProfile Resource properties |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | dataflowProfileName, instanceName, resourceGroupName, subscriptionId | Get a DataflowProfileResource |
list_by_resource_group | SELECT | instanceName, resourceGroupName, subscriptionId | List DataflowProfileResource resources by InstanceResource |
create_or_update | INSERT | dataflowProfileName, instanceName, resourceGroupName, subscriptionId, data__extendedLocation | Create a DataflowProfileResource |
delete | DELETE | dataflowProfileName, instanceName, resourceGroupName, subscriptionId | Delete a DataflowProfileResource |
SELECT
examples
List DataflowProfileResource resources by InstanceResource
- vw_dataflow_profiles
- dataflow_profiles
SELECT
dataflowProfileName,
diagnostics,
extended_location,
instanceName,
instance_count,
provisioning_state,
resourceGroupName,
subscriptionId
FROM azure.iotoperations.vw_dataflow_profiles
WHERE instanceName = '{{ instanceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
extendedLocation,
properties
FROM azure.iotoperations.dataflow_profiles
WHERE instanceName = '{{ instanceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new dataflow_profiles
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.iotoperations.dataflow_profiles (
dataflowProfileName,
instanceName,
resourceGroupName,
subscriptionId,
data__extendedLocation,
properties,
extendedLocation
)
SELECT
'{{ dataflowProfileName }}',
'{{ instanceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__extendedLocation }}',
'{{ properties }}',
'{{ extendedLocation }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: diagnostics
value:
- name: logs
value:
- name: opentelemetryExportConfig
value:
- name: otlpGrpcEndpoint
value: string
- name: intervalSeconds
value: integer
- name: level
value: string
- name: level
value: string
- name: metrics
value:
- name: opentelemetryExportConfig
value:
- name: otlpGrpcEndpoint
value: string
- name: intervalSeconds
value: integer
- name: prometheusPort
value: integer
- name: instanceCount
value: integer
- name: provisioningState
value: []
- name: extendedLocation
value:
- name: name
value: string
- name: type
value: []
DELETE
example
Deletes the specified dataflow_profiles
resource.
/*+ delete */
DELETE FROM azure.iotoperations.dataflow_profiles
WHERE dataflowProfileName = '{{ dataflowProfileName }}'
AND instanceName = '{{ instanceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';