MediaService Constructors
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.
Overloads
MediaService() |
Initializes a new instance of the MediaService class. |
MediaService(String, String, String, String, IDictionary<String, String>, Guid, IList<StorageAccount>, Nullable<StorageAuthentication>, AccountEncryption, KeyDelivery, Nullable<PublicNetworkAccess>, MediaServiceIdentity, SystemData) |
Initializes a new instance of the MediaService class. |
MediaService()
Initializes a new instance of the MediaService class.
public MediaService ();
Public Sub New ()
Applies to
MediaService(String, String, String, String, IDictionary<String, String>, Guid, IList<StorageAccount>, Nullable<StorageAuthentication>, AccountEncryption, KeyDelivery, Nullable<PublicNetworkAccess>, MediaServiceIdentity, SystemData)
Initializes a new instance of the MediaService class.
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)
Parameters
- location
- String
The geo-location where the resource lives
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- tags
- IDictionary<String,String>
Resource tags.
- mediaServiceId
- Guid
The Media Services account ID.
- storageAccounts
- IList<StorageAccount>
The storage accounts for this resource.
- storageAuthentication
- Nullable<StorageAuthentication>
Possible values include: 'System', 'ManagedIdentity'
- encryption
- AccountEncryption
The account encryption properties.
- keyDelivery
- KeyDelivery
The Key Delivery properties for Media Services account.
- publicNetworkAccess
- Nullable<PublicNetworkAccess>
Whether or not public network access is allowed for resources under the Media Services account. Possible values include: 'Enabled', 'Disabled'
- identity
- MediaServiceIdentity
The Managed Identity for the Media Services account.
- systemData
- SystemData
The system metadata relating to this resource.
Applies to
Azure SDK for .NET