你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmMediaModelFactory.StreamingEndpointData 方法

定义

初始化 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

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

tags
IDictionary<String,String>

标记。

location
AzureLocation

位置。

sku
StreamingEndpointCurrentSku

流式处理终结点 SKU。

description
String

流式处理终结点说明。

scaleUnits
Nullable<Int32>

缩放单元数。 使用缩放操作调整此值。

availabilitySetName
String

此功能已弃用,请勿为此属性设置值。

accessControl
StreamingEndpointAccessControl

流式处理终结点的访问控制定义。

maxCacheAge
Nullable<Int64>

最大缓存期限。

customHostNames
IEnumerable<String>

流式处理终结点的自定义主机名。

hostName
String

流式处理终结点主机名。

isCdnEnabled
Nullable<Boolean>

已启用 CDN 的标志。

cdnProvider
String

CDN 提供程序名称。

cdnProfile
String

CDN 配置文件名称。

provisioningState
String

流式处理终结点的预配状态。

resourceState
Nullable<StreamingEndpointResourceState>

流式处理终结点的资源状态。

crossSiteAccessPolicies
CrossSiteAccessPolicies

流式处理终结点访问策略。

freeTrialEndOn
Nullable<DateTimeOffset>

免费试用到期时间。

createdOn
Nullable<DateTimeOffset>

创建流式处理终结点的确切时间。

lastModifiedOn
Nullable<DateTimeOffset>

上次修改流式处理终结点的确切时间。

返回

用于模拟的新 StreamingEndpointData 实例。

适用于