StreamingEndpointsOperationsExtensions.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create StreamingEndpoint
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.StreamingEndpoint> CreateAsync (this Microsoft.Azure.Management.Media.IStreamingEndpointsOperations operations, string resourceGroupName, string accountName, string streamingEndpointName, Microsoft.Azure.Management.Media.Models.StreamingEndpoint parameters, bool? autoStart = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Media.IStreamingEndpointsOperations * string * string * string * Microsoft.Azure.Management.Media.Models.StreamingEndpoint * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.StreamingEndpoint>
<Extension()>
Public Function CreateAsync (operations As IStreamingEndpointsOperations, resourceGroupName As String, accountName As String, streamingEndpointName As String, parameters As StreamingEndpoint, Optional autoStart As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StreamingEndpoint)
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.
- parameters
- StreamingEndpoint
Streaming endpoint properties needed for creation.
The flag indicates if the resource should be automatically started on creation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Creates a streaming endpoint.
Applies to
Azure SDK for .NET