ArmBatchModelFactory.BatchApplicationPackageData Method
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
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
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
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.
- 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
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
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.
Returns
A new BatchApplicationPackageData instance for mocking.
Applies to
Azure SDK for .NET