Aracılığıyla paylaş


StreamingEndpointsOperationsExtensions.ScaleAsync Method

Definition

Scale StreamingEndpoint

public static System.Threading.Tasks.Task ScaleAsync (this Microsoft.Azure.Management.Media.IStreamingEndpointsOperations operations, string resourceGroupName, string accountName, string streamingEndpointName, int? scaleUnit = default, System.Threading.CancellationToken cancellationToken = default);
static member ScaleAsync : Microsoft.Azure.Management.Media.IStreamingEndpointsOperations * string * string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function ScaleAsync (operations As IStreamingEndpointsOperations, resourceGroupName As String, accountName As String, streamingEndpointName As String, Optional scaleUnit As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IStreamingEndpointsOperations

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.

streamingEndpointName
String

The name of the streaming endpoint, maximum length is 24.

scaleUnit
Nullable<Int32>

The scale unit number of the streaming endpoint.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Scales an existing streaming endpoint.

Applies to