Dela via


StreamingPoliciesOperationsExtensions.GetAsync Method

Definition

Get a Streaming Policy

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.StreamingPolicy> GetAsync (this Microsoft.Azure.Management.Media.IStreamingPoliciesOperations operations, string resourceGroupName, string accountName, string streamingPolicyName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Media.IStreamingPoliciesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.StreamingPolicy>
<Extension()>
Public Function GetAsync (operations As IStreamingPoliciesOperations, resourceGroupName As String, accountName As String, streamingPolicyName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StreamingPolicy)

Parameters

operations
IStreamingPoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the Azure subscription.

accountName
String

The Media Services account name.

streamingPolicyName
String

The Streaming Policy name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to