Skip to navigation

Create or update Streaming Locator

Create or update a Streaming Locator. When updating a streaming locator, only start time, end time and suppressed can be modified.

RBAC Capability Required: ams.streaminglocator.create or ams.streaminglocator.update

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

project_namestringRequired
locator_namestringRequired

Request

This endpoint expects an object.
propertiesobjectRequired
Properties for streaming locator

Response

Updated
propertiesobject
Properties for streaming locator
idstringOptionalRead-only

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

namestringOptionalRead-onlyformat: "^[^\^\'<>%&:\\?/*+]+$"1-260 characters
The name of the resource
systemDataobjectOptional
Metadata pertaining to creation and last modification of the resource.
typestringOptionalRead-only

The type of the resource. E.g. "Microsoft.Media/mediaservices/assets"

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error