@datafire/azure_mediaservices_streamingservice
v3.0.0
Published
DataFire integration for Azure Media Services
Downloads
5
Readme
@datafire/azure_mediaservices_streamingservice
Client library for Azure Media Services
Installation and Usage
npm install --save @datafire/azure_mediaservices_streamingservice
let azure_mediaservices_streamingservice = require('@datafire/azure_mediaservices_streamingservice').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Description
Streaming resource management client for Azure Media Services
Actions
LiveEvents_List
Lists the Live Events in the account.
azure_mediaservices_streamingservice.LiveEvents_List({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"api-version": ""
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - api-version required
string
: The Version of the API to be used with the client request.
- subscriptionId required
Output
- output LiveEventListResult
LiveEvents_Delete
Deletes a Live Event.
azure_mediaservices_streamingservice.LiveEvents_Delete({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"liveEventName": "",
"api-version": ""
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - liveEventName required
string
: The name of the Live Event. - api-version required
string
: The Version of the API to be used with the client request.
- subscriptionId required
Output
Output schema unknown
LiveEvents_Get
Gets a Live Event.
azure_mediaservices_streamingservice.LiveEvents_Get({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"liveEventName": "",
"api-version": ""
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - liveEventName required
string
: The name of the Live Event. - api-version required
string
: The Version of the API to be used with the client request.
- subscriptionId required
Output
- output LiveEvent
LiveEvents_Update
Updates a existing Live Event.
azure_mediaservices_streamingservice.LiveEvents_Update({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"liveEventName": "",
"api-version": "",
"parameters": null
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - liveEventName required
string
: The name of the Live Event. - api-version required
string
: The Version of the API to be used with the client request. - parameters required LiveEvent
- subscriptionId required
Output
- output LiveEvent
LiveEvents_Create
Creates a Live Event.
azure_mediaservices_streamingservice.LiveEvents_Create({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"liveEventName": "",
"api-version": "",
"parameters": null
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - liveEventName required
string
: The name of the Live Event. - api-version required
string
: The Version of the API to be used with the client request. - autoStart
boolean
: The flag indicates if the resource should be automatically started on creation. - parameters required LiveEvent
- subscriptionId required
Output
- output LiveEvent
LiveOutputs_List
Lists the Live Outputs in the Live Event.
azure_mediaservices_streamingservice.LiveOutputs_List({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"liveEventName": "",
"api-version": ""
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - liveEventName required
string
: The name of the Live Event. - api-version required
string
: The Version of the API to be used with the client request.
- subscriptionId required
Output
- output LiveOutputListResult
LiveOutputs_Delete
Deletes a Live Output.
azure_mediaservices_streamingservice.LiveOutputs_Delete({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"liveEventName": "",
"liveOutputName": "",
"api-version": ""
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - liveEventName required
string
: The name of the Live Event. - liveOutputName required
string
: The name of the Live Output. - api-version required
string
: The Version of the API to be used with the client request.
- subscriptionId required
Output
Output schema unknown
LiveOutputs_Get
Gets a Live Output.
azure_mediaservices_streamingservice.LiveOutputs_Get({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"liveEventName": "",
"liveOutputName": "",
"api-version": ""
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - liveEventName required
string
: The name of the Live Event. - liveOutputName required
string
: The name of the Live Output. - api-version required
string
: The Version of the API to be used with the client request.
- subscriptionId required
Output
- output LiveOutput
LiveOutputs_Create
Creates a Live Output.
azure_mediaservices_streamingservice.LiveOutputs_Create({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"liveEventName": "",
"liveOutputName": "",
"api-version": "",
"parameters": null
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - liveEventName required
string
: The name of the Live Event. - liveOutputName required
string
: The name of the Live Output. - api-version required
string
: The Version of the API to be used with the client request. - parameters required LiveOutput
- subscriptionId required
Output
- output LiveOutput
LiveEvents_Reset
Resets an existing Live Event.
azure_mediaservices_streamingservice.LiveEvents_Reset({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"liveEventName": "",
"api-version": ""
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - liveEventName required
string
: The name of the Live Event. - api-version required
string
: The Version of the API to be used with the client request.
- subscriptionId required
Output
Output schema unknown
LiveEvents_Start
Starts an existing Live Event.
azure_mediaservices_streamingservice.LiveEvents_Start({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"liveEventName": "",
"api-version": ""
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - liveEventName required
string
: The name of the Live Event. - api-version required
string
: The Version of the API to be used with the client request.
- subscriptionId required
Output
Output schema unknown
LiveEvents_Stop
Stops an existing Live Event.
azure_mediaservices_streamingservice.LiveEvents_Stop({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"liveEventName": "",
"api-version": "",
"parameters": null
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - liveEventName required
string
: The name of the Live Event. - api-version required
string
: The Version of the API to be used with the client request. - parameters required LiveEventActionInput
- subscriptionId required
Output
Output schema unknown
StreamingEndpoints_List
Lists the StreamingEndpoints in the account.
azure_mediaservices_streamingservice.StreamingEndpoints_List({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"api-version": ""
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - api-version required
string
: The Version of the API to be used with the client request.
- subscriptionId required
Output
- output StreamingEndpointListResult
StreamingEndpoints_Delete
Deletes a StreamingEndpoint.
azure_mediaservices_streamingservice.StreamingEndpoints_Delete({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"streamingEndpointName": "",
"api-version": ""
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - streamingEndpointName required
string
: The name of the StreamingEndpoint. - api-version required
string
: The Version of the API to be used with the client request.
- subscriptionId required
Output
Output schema unknown
StreamingEndpoints_Get
Gets a StreamingEndpoint.
azure_mediaservices_streamingservice.StreamingEndpoints_Get({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"streamingEndpointName": "",
"api-version": ""
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - streamingEndpointName required
string
: The name of the StreamingEndpoint. - api-version required
string
: The Version of the API to be used with the client request.
- subscriptionId required
Output
- output StreamingEndpoint
StreamingEndpoints_Update
Updates a existing StreamingEndpoint.
azure_mediaservices_streamingservice.StreamingEndpoints_Update({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"streamingEndpointName": "",
"api-version": "",
"parameters": null
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - streamingEndpointName required
string
: The name of the StreamingEndpoint. - api-version required
string
: The Version of the API to be used with the client request. - parameters required StreamingEndpoint
- subscriptionId required
Output
- output StreamingEndpoint
StreamingEndpoints_Create
Creates a StreamingEndpoint.
azure_mediaservices_streamingservice.StreamingEndpoints_Create({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"streamingEndpointName": "",
"api-version": "",
"parameters": null
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - streamingEndpointName required
string
: The name of the StreamingEndpoint. - api-version required
string
: The Version of the API to be used with the client request. - autoStart
boolean
: The flag indicates if the resource should be automatically started on creation. - parameters required StreamingEndpoint
- subscriptionId required
Output
- output StreamingEndpoint
StreamingEndpoints_Scale
Scales an existing StreamingEndpoint.
azure_mediaservices_streamingservice.StreamingEndpoints_Scale({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"streamingEndpointName": "",
"api-version": "",
"parameters": null
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - streamingEndpointName required
string
: The name of the StreamingEndpoint. - api-version required
string
: The Version of the API to be used with the client request. - parameters required StreamingEntityScaleUnit
- subscriptionId required
Output
Output schema unknown
StreamingEndpoints_Start
Starts an existing StreamingEndpoint.
azure_mediaservices_streamingservice.StreamingEndpoints_Start({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"streamingEndpointName": "",
"api-version": ""
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - streamingEndpointName required
string
: The name of the StreamingEndpoint. - api-version required
string
: The Version of the API to be used with the client request.
- subscriptionId required
Output
Output schema unknown
StreamingEndpoints_Stop
Stops an existing StreamingEndpoint.
azure_mediaservices_streamingservice.StreamingEndpoints_Stop({
"subscriptionId": "",
"resourceGroupName": "",
"accountName": "",
"streamingEndpointName": "",
"api-version": ""
}, context)
Input
- input
object
- subscriptionId required
string
: The unique identifier for a Microsoft Azure subscription. - resourceGroupName required
string
: The name of the resource group within the Azure subscription. - accountName required
string
: The Media Services account name. - streamingEndpointName required
string
: The name of the StreamingEndpoint. - api-version required
string
: The Version of the API to be used with the client request.
- subscriptionId required
Output
Output schema unknown
Definitions
AkamaiAccessControl
- AkamaiAccessControl
object
: Akamai access control- akamaiSignatureHeaderAuthenticationKeyList
array
: authentication key list
- akamaiSignatureHeaderAuthenticationKeyList
AkamaiSignatureHeaderAuthenticationKey
- AkamaiSignatureHeaderAuthenticationKey
object
: Akamai Signature Header authentication key.- base64Key
string
: authentication key - expiration
string
: The expiration time of the authentication key. - identifier
string
: identifier of the key
- base64Key
ApiError
- ApiError
object
: The API error.- error ODataError
CrossSiteAccessPolicies
- CrossSiteAccessPolicies
object
: The client access policy.- clientAccessPolicy
string
: The content of clientaccesspolicy.xml used by Silverlight. - crossDomainPolicy
string
: The content of crossdomain.xml used by Silverlight.
- clientAccessPolicy
Hls
- Hls
object
: The HLS configuration.- fragmentsPerTsSegment
integer
: The amount of fragments per HTTP Live Streaming (HLS) segment.
- fragmentsPerTsSegment
IPAccessControl
- IPAccessControl
object
: The IP access control.- allow
array
: The IP allow list.- items IPRange
- allow
IPRange
- IPRange
object
: The IP address range in the CIDR scheme.- address
string
: The IP address. - name
string
: The friendly name for the IP address range. - subnetPrefixLength
integer
: The subnet mask prefix length (see CIDR notation).
- address
LiveEvent
- LiveEvent
object
: The Live Event.- properties LiveEventProperties
- location
string
: The Azure Region of the resource. - tags
object
: Resource tags. - id
string
: Fully qualified resource ID for the resource. - name
string
: The name of the resource. - type
string
: The type of the resource.
LiveEventActionInput
- LiveEventActionInput
object
: The LiveEvent action input parameter definition.- removeOutputsOnStop
boolean
: The flag indicates if remove LiveOutputs on Stop.
- removeOutputsOnStop
LiveEventEncoding
- LiveEventEncoding
object
: The Live Event encoding.- encodingType
string
(values: None, Basic, Standard, Premium1080p): The encoding type for Live Event. This value is specified at creation time and cannot be updated. - presetName
string
: The encoding preset name. This value is specified at creation time and cannot be updated.
- encodingType
LiveEventEndpoint
- LiveEventEndpoint
object
: The Live Event endpoint.- protocol
string
: The endpoint protocol. - url
string
: The endpoint URL.
- protocol
LiveEventInput
- LiveEventInput
object
: The Live Event input.- accessControl LiveEventInputAccessControl
- accessToken
string
: A unique identifier for a stream. This can be specified at creation time but cannot be updated. If omitted, the service will generate a unique value. - endpoints
array
: The input endpoints for the Live Event.- items LiveEventEndpoint
- keyFrameIntervalDuration
string
: ISO 8601 timespan duration of the key frame interval duration. - streamingProtocol required
string
(values: FragmentedMP4, RTMP): The streaming protocol for the Live Event. This is specified at creation time and cannot be updated.
LiveEventInputAccessControl
- LiveEventInputAccessControl
object
: The IP access control for Live Event Input.
LiveEventInputTrackSelection
- LiveEventInputTrackSelection
object
: A track selection condition.- operation
string
: Comparing operation. - property
string
: Property name to select. - value
string
: Property value to select.
- operation
LiveEventListResult
- LiveEventListResult
object
: The LiveEvent list result.- @odata.count
integer
: The number of result. - @odata.nextLink
string
: Th link to the next set of results. Not empty if value contains incomplete list of Live Outputs. - value
array
: The result of the List Live Event operation.- items LiveEvent
- @odata.count
LiveEventOutputTranscriptionTrack
- LiveEventOutputTranscriptionTrack
object
: Describes a transcription track in the output of a Live Event, generated using speech-to-text transcription.- trackName required
string
: The output track name.
- trackName required
LiveEventPreview
- LiveEventPreview
object
: The Live Event preview.- accessControl LiveEventPreviewAccessControl
- alternativeMediaId
string
: An Alternative Media Identifier associated with the StreamingLocator created for the preview. This value is specified at creation time and cannot be updated. The identifier can be used in the CustomLicenseAcquisitionUrlTemplate or the CustomKeyAcquisitionUrlTemplate of the StreamingPolicy specified in the StreamingPolicyName field. - endpoints
array
: The endpoints for preview.- items LiveEventEndpoint
- previewLocator
string
: The identifier of the preview locator in Guid format. Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. This value cannot be updated once the live event is created. - streamingPolicyName
string
: The name of streaming policy used for the LiveEvent preview. This value is specified at creation time and cannot be updated.
LiveEventPreviewAccessControl
- LiveEventPreviewAccessControl
object
: The IP access control for Live Event preview.
LiveEventProperties
- LiveEventProperties
object
: The Live Event properties.- created
string
: The exact time the Live Event was created. - crossSiteAccessPolicies CrossSiteAccessPolicies
- description
string
: The Live Event description. - encoding LiveEventEncoding
- input required LiveEventInput
- lastModified
string
: The exact time the Live Event was last modified. - preview LiveEventPreview
- provisioningState
string
: The provisioning state of the Live Event. - resourceState
string
(values: Stopped, Starting, Running, Stopping, Deleting): The resource state of the Live Event. - streamOptions
array
: The options to use for the LiveEvent. This value is specified at creation time and cannot be updated.- items
string
(values: Default, LowLatency)
- items
- transcriptions
array
: The Live Event transcription.- items LiveEventTranscription
- vanityUrl
boolean
: Specifies whether to use a vanity url with the Live Event. This value is specified at creation time and cannot be updated.
- created
LiveEventTranscription
- LiveEventTranscription
object
: Describes the transcription tracks in the output of a Live Event, generated using speech-to-text transcription.- inputTrackSelection
array
: Provides a mechanism to select the audio track in the input live feed, to which speech-to-text transcription is applied. - language
string
: Specifies the language (locale) used for speech-to-text transcription � it should match the spoken language in the audio track. The value should be in BCP-47 format of 'language tag-region' (e.g: 'en-US'). The list of supported languages are 'en-US' and 'en-GB'. - outputTranscriptionTrack LiveEventOutputTranscriptionTrack
- inputTrackSelection
LiveOutput
- LiveOutput
object
: The Live Output.- properties LiveOutputProperties
- id
string
: Fully qualified resource ID for the resource. - name
string
: The name of the resource. - type
string
: The type of the resource.
LiveOutputListResult
- LiveOutputListResult
object
: The LiveOutput list result.- @odata.count
integer
: The number of result. - @odata.nextLink
string
: Th link to the next set of results. Not empty if value contains incomplete list of Live Outputs. - value
array
: The result of the List Live Output operation.- items LiveOutput
- @odata.count
LiveOutputProperties
- LiveOutputProperties
object
: The JSON object that contains the properties required to create a Live Output.- archiveWindowLength required
string
: ISO 8601 timespan duration of the archive window length. This is duration that customer want to retain the recorded content. - assetName required
string
: The asset name. - created
string
: The exact time the Live Output was created. - description
string
: The description of the Live Output. - hls Hls
- lastModified
string
: The exact time the Live Output was last modified. - manifestName
string
: The manifest file name. If not provided, the service will generate one automatically. - outputSnapTime
integer
: The output snapshot time. - provisioningState
string
: The provisioning state of the Live Output. - resourceState
string
(values: Creating, Running, Deleting): The resource state of the Live Output.
- archiveWindowLength required
ODataError
- ODataError
object
: Information about an error.- code
string
: A language-independent error name. - details
array
: The error details.- items ODataError
- message
string
: The error message. - target
string
: The target of the error (for example, the name of the property in error).
- code
StreamingEndpoint
- StreamingEndpoint
object
: The StreamingEndpoint.- properties StreamingEndpointProperties
- location
string
: The Azure Region of the resource. - tags
object
: Resource tags. - id
string
: Fully qualified resource ID for the resource. - name
string
: The name of the resource. - type
string
: The type of the resource.
StreamingEndpointAccessControl
- StreamingEndpointAccessControl
object
: StreamingEndpoint access control definition.- akamai AkamaiAccessControl
- ip IPAccessControl
StreamingEndpointListResult
- StreamingEndpointListResult
object
: The StreamingEndpoint list result.- @odata.count
integer
: The number of result. - @odata.nextLink
string
: Th link to the next set of results. Not empty if value contains incomplete list of StreamingEndpoints. - value
array
: The result of the List StreamingEndpoint operation.- items StreamingEndpoint
- @odata.count
StreamingEndpointProperties
- StreamingEndpointProperties
object
: The StreamingEndpoint properties.- accessControl StreamingEndpointAccessControl
- availabilitySetName
string
: The name of the AvailabilitySet used with this StreamingEndpoint for high availability streaming. This value can only be set at creation time. - cdnEnabled
boolean
: The CDN enabled flag. - cdnProfile
string
: The CDN profile name. - cdnProvider
string
: The CDN provider name. - created
string
: The exact time the StreamingEndpoint was created. - crossSiteAccessPolicies CrossSiteAccessPolicies
- customHostNames
array
: The custom host names of the StreamingEndpoint- items
string
: custom host name
- items
- description
string
: The StreamingEndpoint description. - freeTrialEndTime
string
: The free trial expiration time. - hostName
string
: The StreamingEndpoint host name. - lastModified
string
: The exact time the StreamingEndpoint was last modified. - maxCacheAge
integer
: Max cache age - provisioningState
string
: The provisioning state of the StreamingEndpoint. - resourceState
string
(values: Stopped, Starting, Running, Stopping, Deleting, Scaling): The resource state of the StreamingEndpoint. - scaleUnits required
integer
: The number of scale units. Use the Scale operation to adjust this value.
StreamingEntityScaleUnit
- StreamingEntityScaleUnit
object
: scale units definition- scaleUnit
integer
: The scale unit number of the StreamingEndpoint.
- scaleUnit