Compartilhar via


ArmMediaModelFactory.StreamingEndpointData Method

Definition

Initializes a new instance of StreamingEndpointData.

public static Azure.ResourceManager.Media.StreamingEndpointData StreamingEndpointData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Media.Models.StreamingEndpointCurrentSku sku = default, string description = default, int? scaleUnits = default, string availabilitySetName = default, Azure.ResourceManager.Media.Models.StreamingEndpointAccessControl accessControl = default, long? maxCacheAge = default, System.Collections.Generic.IEnumerable<string> customHostNames = default, string hostName = default, bool? isCdnEnabled = default, string cdnProvider = default, string cdnProfile = default, string provisioningState = default, Azure.ResourceManager.Media.Models.StreamingEndpointResourceState? resourceState = default, Azure.ResourceManager.Media.Models.CrossSiteAccessPolicies crossSiteAccessPolicies = default, DateTimeOffset? freeTrialEndOn = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default);
static member StreamingEndpointData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Media.Models.StreamingEndpointCurrentSku * string * Nullable<int> * string * Azure.ResourceManager.Media.Models.StreamingEndpointAccessControl * Nullable<int64> * seq<string> * string * Nullable<bool> * string * string * string * Nullable<Azure.ResourceManager.Media.Models.StreamingEndpointResourceState> * Azure.ResourceManager.Media.Models.CrossSiteAccessPolicies * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Media.StreamingEndpointData
Public Shared Function StreamingEndpointData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As StreamingEndpointCurrentSku = Nothing, Optional description As String = Nothing, Optional scaleUnits As Nullable(Of Integer) = Nothing, Optional availabilitySetName As String = Nothing, Optional accessControl As StreamingEndpointAccessControl = Nothing, Optional maxCacheAge As Nullable(Of Long) = Nothing, Optional customHostNames As IEnumerable(Of String) = Nothing, Optional hostName As String = Nothing, Optional isCdnEnabled As Nullable(Of Boolean) = Nothing, Optional cdnProvider As String = Nothing, Optional cdnProfile As String = Nothing, Optional provisioningState As String = Nothing, Optional resourceState As Nullable(Of StreamingEndpointResourceState) = Nothing, Optional crossSiteAccessPolicies As CrossSiteAccessPolicies = Nothing, Optional freeTrialEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing) As StreamingEndpointData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

sku
StreamingEndpointCurrentSku

The streaming endpoint sku.

description
String

The streaming endpoint description.

scaleUnits
Nullable<Int32>

The number of scale units. Use the Scale operation to adjust this value.

availabilitySetName
String

This feature is deprecated, do not set a value for this property.

accessControl
StreamingEndpointAccessControl

The access control definition of the streaming endpoint.

maxCacheAge
Nullable<Int64>

Max cache age.

customHostNames
IEnumerable<String>

The custom host names of the streaming endpoint.

hostName
String

The streaming endpoint host name.

isCdnEnabled
Nullable<Boolean>

The CDN enabled flag.

cdnProvider
String

The CDN provider name.

cdnProfile
String

The CDN profile name.

provisioningState
String

The provisioning state of the streaming endpoint.

resourceState
Nullable<StreamingEndpointResourceState>

The resource state of the streaming endpoint.

crossSiteAccessPolicies
CrossSiteAccessPolicies

The streaming endpoint access policies.

freeTrialEndOn
Nullable<DateTimeOffset>

The free trial expiration time.

createdOn
Nullable<DateTimeOffset>

The exact time the streaming endpoint was created.

lastModifiedOn
Nullable<DateTimeOffset>

The exact time the streaming endpoint was last modified.

Returns

A new StreamingEndpointData instance for mocking.

Applies to