Share via


ArmBatchModelFactory.BatchApplicationPackageData Method

Definition

Overloads

BatchApplicationPackageData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<BatchApplicationPackageState>, String, Uri, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<ETag>, IDictionary<String,String>)

Initializes a new instance of BatchApplicationPackageData.

BatchApplicationPackageData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<BatchApplicationPackageState>, String, Uri, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<ETag>)

Initializes a new instance of BatchApplicationPackageData.

BatchApplicationPackageData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<BatchApplicationPackageState>, String, Uri, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<ETag>, IDictionary<String,String>)

Source:
ArmBatchModelFactory.cs

Initializes a new instance of BatchApplicationPackageData.

public static Azure.ResourceManager.Batch.BatchApplicationPackageData BatchApplicationPackageData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Batch.Models.BatchApplicationPackageState? state = default, string format = default, Uri storageUri = default, DateTimeOffset? storageUriExpireOn = default, DateTimeOffset? lastActivatedOn = default, Azure.ETag? etag = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member BatchApplicationPackageData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Batch.Models.BatchApplicationPackageState> * string * Uri * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ETag> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Batch.BatchApplicationPackageData
Public Shared Function BatchApplicationPackageData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional state As Nullable(Of BatchApplicationPackageState) = Nothing, Optional format As String = Nothing, Optional storageUri As Uri = Nothing, Optional storageUriExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastActivatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As BatchApplicationPackageData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

state
Nullable<BatchApplicationPackageState>

The current state of the application package.

format
String

The format of the application package, if the package is active.

storageUri
Uri

The URL for the application package in Azure Storage.

storageUriExpireOn
Nullable<DateTimeOffset>

The UTC time at which the Azure Storage URL will expire.

lastActivatedOn
Nullable<DateTimeOffset>

The time at which the package was last activated, if the package is active.

etag
Nullable<ETag>

The ETag of the resource, used for concurrency statements.

tags
IDictionary<String,String>

The tags of the resource.

Returns

A new BatchApplicationPackageData instance for mocking.

Applies to

BatchApplicationPackageData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<BatchApplicationPackageState>, String, Uri, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<ETag>)

Source:
ArmBatchModelFactory.cs

Initializes a new instance of BatchApplicationPackageData.

public static Azure.ResourceManager.Batch.BatchApplicationPackageData BatchApplicationPackageData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Batch.Models.BatchApplicationPackageState? state = default, string format = default, Uri storageUri = default, DateTimeOffset? storageUriExpireOn = default, DateTimeOffset? lastActivatedOn = default, Azure.ETag? etag = default);
static member BatchApplicationPackageData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Batch.Models.BatchApplicationPackageState> * string * Uri * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ETag> -> Azure.ResourceManager.Batch.BatchApplicationPackageData
Public Shared Function BatchApplicationPackageData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional state As Nullable(Of BatchApplicationPackageState) = Nothing, Optional format As String = Nothing, Optional storageUri As Uri = Nothing, Optional storageUriExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastActivatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As BatchApplicationPackageData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

state
Nullable<BatchApplicationPackageState>

The current state of the application package.

format
String

The format of the application package, if the package is active.

storageUri
Uri

The URL for the application package in Azure Storage.

storageUriExpireOn
Nullable<DateTimeOffset>

The UTC time at which the Azure Storage URL will expire.

lastActivatedOn
Nullable<DateTimeOffset>

The time at which the package was last activated, if the package is active.

etag
Nullable<ETag>

The ETag of the resource, used for concurrency statements.

Returns

A new BatchApplicationPackageData instance for mocking.

Applies to