Freigeben über


ArmBatchModelFactory.BatchApplicationData Method

Definition

Initializes a new instance of BatchApplicationData.

public static Azure.ResourceManager.Batch.BatchApplicationData BatchApplicationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, bool? allowUpdates = default, string defaultVersion = default, Azure.ETag? etag = default);
static member BatchApplicationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<bool> * string * Nullable<Azure.ETag> -> Azure.ResourceManager.Batch.BatchApplicationData
Public Shared Function BatchApplicationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional displayName As String = Nothing, Optional allowUpdates As Nullable(Of Boolean) = Nothing, Optional defaultVersion As String = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As BatchApplicationData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

displayName
String

The display name for the application.

allowUpdates
Nullable<Boolean>

A value indicating whether packages within the application may be overwritten using the same version string.

defaultVersion
String

The package to use if a client requests the application but does not specify a version. This property can only be set to the name of an existing package.

etag
Nullable<ETag>

The ETag of the resource, used for concurrency statements.

Returns

A new BatchApplicationData instance for mocking.

Applies to