Share via


Asset Constructors

Definition

Overloads

Asset()

Initializes a new instance of the Asset class.

Asset(String, String, String, Guid, DateTime, DateTime, String, String, String, String, AssetStorageEncryptionFormat, SystemData)

Initializes a new instance of the Asset class.

Asset()

Initializes a new instance of the Asset class.

public Asset ();
Public Sub New ()

Applies to

Asset(String, String, String, Guid, DateTime, DateTime, String, String, String, String, AssetStorageEncryptionFormat, SystemData)

Initializes a new instance of the Asset class.

public Asset (string id = default, string name = default, string type = default, Guid assetId = default, DateTime created = default, DateTime lastModified = default, string alternateId = default, string description = default, string container = default, string storageAccountName = default, Microsoft.Azure.Management.Media.Models.AssetStorageEncryptionFormat storageEncryptionFormat = default, Microsoft.Azure.Management.Media.Models.SystemData systemData = default);
new Microsoft.Azure.Management.Media.Models.Asset : string * string * string * Guid * DateTime * DateTime * string * string * string * string * Microsoft.Azure.Management.Media.Models.AssetStorageEncryptionFormat * Microsoft.Azure.Management.Media.Models.SystemData -> Microsoft.Azure.Management.Media.Models.Asset
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional assetId As Guid = Nothing, Optional created As DateTime = Nothing, Optional lastModified As DateTime = Nothing, Optional alternateId As String = Nothing, Optional description As String = Nothing, Optional container As String = Nothing, Optional storageAccountName As String = Nothing, Optional storageEncryptionFormat As AssetStorageEncryptionFormat = Nothing, Optional systemData As SystemData = Nothing)

Parameters

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"

assetId
Guid

The Asset ID.

created
DateTime

The creation date of the Asset.

lastModified
DateTime

The last modified date of the Asset.

alternateId
String

The alternate ID of the Asset.

description
String

The Asset description.

container
String

The name of the asset blob container.

storageAccountName
String

The name of the storage account.

storageEncryptionFormat
AssetStorageEncryptionFormat

The Asset encryption format. One of None or MediaStorageEncryption. Possible values include: 'None', 'MediaStorageClientEncryption'

systemData
SystemData

The system metadata relating to this resource.

Applies to