共用方式為


ArmMediaModelFactory.MediaServicesAccountData Method

Definition

Initializes a new instance of MediaServicesAccountData.

public static Azure.ResourceManager.Media.MediaServicesAccountData MediaServicesAccountData (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.Models.ManagedServiceIdentity identity = default, Guid? mediaServicesAccountId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Media.Models.MediaServicesStorageAccount> storageAccounts = default, Azure.ResourceManager.Media.Models.MediaStorageAuthentication? storageAuthentication = default, Azure.ResourceManager.Media.Models.AccountEncryption encryption = default, Azure.ResourceManager.Media.Models.MediaAccessControl keyDeliveryAccessControl = default, Azure.ResourceManager.Media.Models.MediaServicesPublicNetworkAccess? publicNetworkAccess = default, Azure.ResourceManager.Media.Models.MediaServicesProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Media.MediaServicesPrivateEndpointConnectionData> privateEndpointConnections = default, Azure.ResourceManager.Media.Models.MediaServicesMinimumTlsVersion? minimumTlsVersion = default);
static member MediaServicesAccountData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * Nullable<Guid> * seq<Azure.ResourceManager.Media.Models.MediaServicesStorageAccount> * Nullable<Azure.ResourceManager.Media.Models.MediaStorageAuthentication> * Azure.ResourceManager.Media.Models.AccountEncryption * Azure.ResourceManager.Media.Models.MediaAccessControl * Nullable<Azure.ResourceManager.Media.Models.MediaServicesPublicNetworkAccess> * Nullable<Azure.ResourceManager.Media.Models.MediaServicesProvisioningState> * seq<Azure.ResourceManager.Media.MediaServicesPrivateEndpointConnectionData> * Nullable<Azure.ResourceManager.Media.Models.MediaServicesMinimumTlsVersion> -> Azure.ResourceManager.Media.MediaServicesAccountData
Public Shared Function MediaServicesAccountData (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 identity As ManagedServiceIdentity = Nothing, Optional mediaServicesAccountId As Nullable(Of Guid) = Nothing, Optional storageAccounts As IEnumerable(Of MediaServicesStorageAccount) = Nothing, Optional storageAuthentication As Nullable(Of MediaStorageAuthentication) = Nothing, Optional encryption As AccountEncryption = Nothing, Optional keyDeliveryAccessControl As MediaAccessControl = Nothing, Optional publicNetworkAccess As Nullable(Of MediaServicesPublicNetworkAccess) = Nothing, Optional provisioningState As Nullable(Of MediaServicesProvisioningState) = Nothing, Optional privateEndpointConnections As IEnumerable(Of MediaServicesPrivateEndpointConnectionData) = Nothing, Optional minimumTlsVersion As Nullable(Of MediaServicesMinimumTlsVersion) = Nothing) As MediaServicesAccountData

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.

identity
ManagedServiceIdentity

The Managed Identity for the Media Services account.

mediaServicesAccountId
Nullable<Guid>

The Media Services account ID.

storageAccounts
IEnumerable<MediaServicesStorageAccount>

The storage accounts for this resource.

storageAuthentication
Nullable<MediaStorageAuthentication>
encryption
AccountEncryption

The account encryption properties.

keyDeliveryAccessControl
MediaAccessControl

The Key Delivery properties for Media Services account.

publicNetworkAccess
Nullable<MediaServicesPublicNetworkAccess>

Whether or not public network access is allowed for resources under the Media Services account.

provisioningState
Nullable<MediaServicesProvisioningState>

Provisioning state of the Media Services account.

privateEndpointConnections
IEnumerable<MediaServicesPrivateEndpointConnectionData>

The Private Endpoint Connections created for the Media Service account.

minimumTlsVersion
Nullable<MediaServicesMinimumTlsVersion>

The minimum TLS version allowed for this account's requests. This is an optional property. If unspecified, a secure default value will be used.

Returns

A new MediaServicesAccountData instance for mocking.

Applies to