你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MediaService 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
MediaService()
初始化 MediaService 类的新实例。
public MediaService ();
Public Sub New ()
适用于
MediaService(String, String, String, String, IDictionary<String, String>, Guid, IList<StorageAccount>, Nullable<StorageAuthentication>, AccountEncryption, KeyDelivery, Nullable<PublicNetworkAccess>, MediaServiceIdentity, SystemData)
初始化 MediaService 类的新实例。
public MediaService (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Guid mediaServiceId = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.StorageAccount> storageAccounts = default, Microsoft.Azure.Management.Media.Models.StorageAuthentication? storageAuthentication = default, Microsoft.Azure.Management.Media.Models.AccountEncryption encryption = default, Microsoft.Azure.Management.Media.Models.KeyDelivery keyDelivery = default, Microsoft.Azure.Management.Media.Models.PublicNetworkAccess? publicNetworkAccess = default, Microsoft.Azure.Management.Media.Models.MediaServiceIdentity identity = default, Microsoft.Azure.Management.Media.Models.SystemData systemData = default);
new Microsoft.Azure.Management.Media.Models.MediaService : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Guid * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.StorageAccount> * Nullable<Microsoft.Azure.Management.Media.Models.StorageAuthentication> * Microsoft.Azure.Management.Media.Models.AccountEncryption * Microsoft.Azure.Management.Media.Models.KeyDelivery * Nullable<Microsoft.Azure.Management.Media.Models.PublicNetworkAccess> * Microsoft.Azure.Management.Media.Models.MediaServiceIdentity * Microsoft.Azure.Management.Media.Models.SystemData -> Microsoft.Azure.Management.Media.Models.MediaService
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional mediaServiceId As Guid = Nothing, Optional storageAccounts As IList(Of StorageAccount) = Nothing, Optional storageAuthentication As Nullable(Of StorageAuthentication) = Nothing, Optional encryption As AccountEncryption = Nothing, Optional keyDelivery As KeyDelivery = Nothing, Optional publicNetworkAccess As Nullable(Of PublicNetworkAccess) = Nothing, Optional identity As MediaServiceIdentity = Nothing, Optional systemData As SystemData = Nothing)
参数
- location
- String
资源所在的地理位置
- id
- String
资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
资源的名称
- type
- String
资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”
- tags
- IDictionary<String,String>
资源标记。
- mediaServiceId
- Guid
媒体服务帐户 ID。
- storageAccounts
- IList<StorageAccount>
此资源的存储帐户。
- storageAuthentication
- Nullable<StorageAuthentication>
可能的值包括:“System”、“ManagedIdentity”
- encryption
- AccountEncryption
帐户加密属性。
- keyDelivery
- KeyDelivery
媒体服务帐户的密钥传递属性。
- publicNetworkAccess
- Nullable<PublicNetworkAccess>
媒体服务帐户下的资源是否允许公用网络访问。 可能的值包括:“Enabled”、“Disabled”
- identity
- MediaServiceIdentity
媒体服务帐户的托管标识。
- systemData
- SystemData
与此资源相关的系统元数据。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈