streaming_endpoints
Creates, updates, deletes, gets or lists a streaming_endpoints
resource.
Overview
Name | streaming_endpoints |
Type | Resource |
Id | azure.media_services.streaming_endpoints |
Fields
- vw_streaming_endpoints
- streaming_endpoints
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
access_control | text | field from the properties object |
accountName | text | field from the properties object |
availability_set_name | text | field from the properties object |
cdn_enabled | text | field from the properties object |
cdn_profile | text | field from the properties object |
cdn_provider | text | field from the properties object |
created | text | field from the properties object |
cross_site_access_policies | text | field from the properties object |
custom_host_names | text | field from the properties object |
free_trial_end_time | text | field from the properties object |
host_name | text | field from the properties object |
last_modified | text | field from the properties object |
location | text | The geo-location where the resource lives |
max_cache_age | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resource_state | text | field from the properties object |
scale_units | text | field from the properties object |
sku | text | The streaming endpoint current sku. |
streamingEndpointName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | The streaming endpoint properties. |
sku | object | The streaming endpoint current sku. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | accountName, resourceGroupName, streamingEndpointName, subscriptionId | Gets a streaming endpoint. |
list | SELECT | accountName, resourceGroupName, subscriptionId | Lists the streaming endpoints in the account. |
create | INSERT | accountName, resourceGroupName, streamingEndpointName, subscriptionId | Creates a streaming endpoint. |
delete | DELETE | accountName, resourceGroupName, streamingEndpointName, subscriptionId | Deletes a streaming endpoint. |
update | UPDATE | accountName, resourceGroupName, streamingEndpointName, subscriptionId | Updates a existing streaming endpoint. |
async_operation | EXEC | accountName, operationId, resourceGroupName, subscriptionId | Get a streaming endpoint operation status. |
operation_location | EXEC | accountName, operationId, resourceGroupName, streamingEndpointName, subscriptionId | Get a streaming endpoint operation status. |
scale | EXEC | accountName, resourceGroupName, streamingEndpointName, subscriptionId | Scales an existing streaming endpoint. |
skus | EXEC | accountName, resourceGroupName, streamingEndpointName, subscriptionId | List streaming endpoint supported skus. |
start | EXEC | accountName, resourceGroupName, streamingEndpointName, subscriptionId | Starts an existing streaming endpoint. |
stop | EXEC | accountName, resourceGroupName, streamingEndpointName, subscriptionId | Stops an existing streaming endpoint. |
SELECT
examples
Lists the streaming endpoints in the account.
- vw_streaming_endpoints
- streaming_endpoints
SELECT
description,
access_control,
accountName,
availability_set_name,
cdn_enabled,
cdn_profile,
cdn_provider,
created,
cross_site_access_policies,
custom_host_names,
free_trial_end_time,
host_name,
last_modified,
location,
max_cache_age,
provisioning_state,
resourceGroupName,
resource_state,
scale_units,
sku,
streamingEndpointName,
subscriptionId,
system_data,
tags
FROM azure.media_services.vw_streaming_endpoints
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
sku,
systemData,
tags
FROM azure.media_services.streaming_endpoints
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new streaming_endpoints
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.media_services.streaming_endpoints (
accountName,
resourceGroupName,
streamingEndpointName,
subscriptionId,
properties,
sku,
tags,
location
)
SELECT
'{{ accountName }}',
'{{ resourceGroupName }}',
'{{ streamingEndpointName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ sku }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: description
value: string
- name: scaleUnits
value: integer
- name: availabilitySetName
value: string
- name: accessControl
value:
- name: akamai
value:
- name: akamaiSignatureHeaderAuthenticationKeyList
value:
- - name: identifier
value: string
- name: base64Key
value: string
- name: expiration
value: string
- name: ip
value:
- name: allow
value:
- - name: name
value: string
- name: address
value: string
- name: subnetPrefixLength
value: integer
- name: maxCacheAge
value: integer
- name: customHostNames
value:
- string
- name: hostName
value: string
- name: cdnEnabled
value: boolean
- name: cdnProvider
value: string
- name: cdnProfile
value: string
- name: provisioningState
value: string
- name: resourceState
value: string
- name: crossSiteAccessPolicies
value:
- name: clientAccessPolicy
value: string
- name: crossDomainPolicy
value: string
- name: freeTrialEndTime
value: string
- name: created
value: string
- name: lastModified
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: sku
value:
- name: name
value: string
- name: capacity
value: integer
- name: tags
value: object
- name: location
value: string
UPDATE
example
Updates a streaming_endpoints
resource.
/*+ update */
UPDATE azure.media_services.streaming_endpoints
SET
properties = '{{ properties }}',
sku = '{{ sku }}',
tags = '{{ tags }}',
location = '{{ location }}'
WHERE
accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND streamingEndpointName = '{{ streamingEndpointName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified streaming_endpoints
resource.
/*+ delete */
DELETE FROM azure.media_services.streaming_endpoints
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND streamingEndpointName = '{{ streamingEndpointName }}'
AND subscriptionId = '{{ subscriptionId }}';