Share via


StreamingLocatorResource Class

Definition

A Class representing a StreamingLocator along with the instance operations that can be performed on it. If you have a Azure.Core.ResourceIdentifier you can construct a StreamingLocatorResource from an instance of Azure.ResourceManager.ArmClient using the GetStreamingLocatorResource method. Otherwise you can get one from its parent resource MediaServicesAccountResource using the GetStreamingLocator method.

public class StreamingLocatorResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.StreamingLocatorData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.StreamingLocatorData>
type StreamingLocatorResource = class
    inherit ArmResource
    interface IJsonModel<StreamingLocatorData>
    interface IPersistableModel<StreamingLocatorData>
Public Class StreamingLocatorResource
Inherits ArmResource
Implements IJsonModel(Of StreamingLocatorData), IPersistableModel(Of StreamingLocatorData)
Inheritance
Azure.ResourceManager.ArmResource
StreamingLocatorResource
Implements
System.ClientModel.Primitives.IJsonModel<StreamingLocatorData> System.ClientModel.Primitives.IPersistableModel<StreamingLocatorData> System.ClientModel.Primitives.IPersistableModel<T>

Constructors

StreamingLocatorResource()

Initializes a new instance of the StreamingLocatorResource class for mocking.

Fields

ResourceType

Gets the resource type for the operations.

Properties

Data

Gets the data representing this Feature.

HasData

Gets whether or not the current instance has data.

Methods

CreateResourceIdentifier(String, String, String, String)

Generate the resource identifier of a StreamingLocatorResource instance.

Delete(WaitUntil, CancellationToken)

Deletes a Streaming Locator in the Media Services account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}
  • Operation Id: StreamingLocators_Delete
  • Default Api Version: 2023-01-01
  • Resource: StreamingLocatorResource
DeleteAsync(WaitUntil, CancellationToken)

Deletes a Streaming Locator in the Media Services account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}
  • Operation Id: StreamingLocators_Delete
  • Default Api Version: 2023-01-01
  • Resource: StreamingLocatorResource
Get(CancellationToken)

Get the details of a Streaming Locator in the Media Services account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}
  • Operation Id: StreamingLocators_Get
  • Default Api Version: 2023-01-01
  • Resource: StreamingLocatorResource
GetAsync(CancellationToken)

Get the details of a Streaming Locator in the Media Services account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}
  • Operation Id: StreamingLocators_Get
  • Default Api Version: 2023-01-01
  • Resource: StreamingLocatorResource
GetContentKeys(CancellationToken)

List Content Keys used by this Streaming Locator

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listContentKeys
  • Operation Id: StreamingLocators_ListContentKeys
  • Default Api Version: 2023-01-01
  • Resource: StreamingLocatorResource
GetContentKeysAsync(CancellationToken)

List Content Keys used by this Streaming Locator

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listContentKeys
  • Operation Id: StreamingLocators_ListContentKeys
  • Default Api Version: 2023-01-01
  • Resource: StreamingLocatorResource
GetStreamingPaths(CancellationToken)

List Paths supported by this Streaming Locator

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listPaths
  • Operation Id: StreamingLocators_ListPaths
  • Default Api Version: 2023-01-01
  • Resource: StreamingLocatorResource
GetStreamingPathsAsync(CancellationToken)

List Paths supported by this Streaming Locator

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listPaths
  • Operation Id: StreamingLocators_ListPaths
  • Default Api Version: 2023-01-01
  • Resource: StreamingLocatorResource
Update(WaitUntil, StreamingLocatorData, CancellationToken)

Create a Streaming Locator in the Media Services account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}
  • Operation Id: StreamingLocators_Create
  • Default Api Version: 2023-01-01
  • Resource: StreamingLocatorResource
UpdateAsync(WaitUntil, StreamingLocatorData, CancellationToken)

Create a Streaming Locator in the Media Services account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}
  • Operation Id: StreamingLocators_Create
  • Default Api Version: 2023-01-01
  • Resource: StreamingLocatorResource

Explicit Interface Implementations

IJsonModel<StreamingLocatorData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<StreamingLocatorData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided System.Text.Json.Utf8JsonWriter.

IPersistableModel<StreamingLocatorData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

IPersistableModel<StreamingLocatorData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<StreamingLocatorData>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Applies to