ArmDataBoxModelFactory.DataBoxJobData 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.
Initializes a new instance of DataBoxJobData.
public static Azure.ResourceManager.DataBox.DataBoxJobData DataBoxJobData (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.DataBox.Models.DataBoxJobTransferType transferType = Azure.ResourceManager.DataBox.Models.DataBoxJobTransferType.ImportToAzure, bool? isCancellable = default, bool? isDeletable = default, bool? isShippingAddressEditable = default, Azure.ResourceManager.DataBox.Models.ReverseShippingDetailsEditStatus? reverseShippingDetailsUpdate = default, Azure.ResourceManager.DataBox.Models.ReverseTransportPreferenceEditStatus? reverseTransportPreferenceUpdate = default, bool? isPrepareToShipEnabled = default, Azure.ResourceManager.DataBox.Models.DataBoxStageName? status = default, DateTimeOffset? startOn = default, Azure.ResponseError error = default, Azure.ResourceManager.DataBox.Models.DataBoxBasicJobDetails details = default, string cancellationReason = default, Azure.ResourceManager.DataBox.Models.JobDeliveryType? deliveryType = default, DateTimeOffset? deliveryInfoScheduledOn = default, bool? isCancellableWithoutFee = default, Azure.ResourceManager.DataBox.Models.DataBoxSku sku = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member DataBoxJobData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.DataBoxJobTransferType * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.DataBox.Models.ReverseShippingDetailsEditStatus> * Nullable<Azure.ResourceManager.DataBox.Models.ReverseTransportPreferenceEditStatus> * Nullable<bool> * Nullable<Azure.ResourceManager.DataBox.Models.DataBoxStageName> * Nullable<DateTimeOffset> * Azure.ResponseError * Azure.ResourceManager.DataBox.Models.DataBoxBasicJobDetails * string * Nullable<Azure.ResourceManager.DataBox.Models.JobDeliveryType> * Nullable<DateTimeOffset> * Nullable<bool> * Azure.ResourceManager.DataBox.Models.DataBoxSku * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.DataBox.DataBoxJobData
Public Shared Function DataBoxJobData (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 transferType As DataBoxJobTransferType = Azure.ResourceManager.DataBox.Models.DataBoxJobTransferType.ImportToAzure, Optional isCancellable As Nullable(Of Boolean) = Nothing, Optional isDeletable As Nullable(Of Boolean) = Nothing, Optional isShippingAddressEditable As Nullable(Of Boolean) = Nothing, Optional reverseShippingDetailsUpdate As Nullable(Of ReverseShippingDetailsEditStatus) = Nothing, Optional reverseTransportPreferenceUpdate As Nullable(Of ReverseTransportPreferenceEditStatus) = Nothing, Optional isPrepareToShipEnabled As Nullable(Of Boolean) = Nothing, Optional status As Nullable(Of DataBoxStageName) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional error As ResponseError = Nothing, Optional details As DataBoxBasicJobDetails = Nothing, Optional cancellationReason As String = Nothing, Optional deliveryType As Nullable(Of JobDeliveryType) = Nothing, Optional deliveryInfoScheduledOn As Nullable(Of DateTimeOffset) = Nothing, Optional isCancellableWithoutFee As Nullable(Of Boolean) = Nothing, Optional sku As DataBoxSku = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As DataBoxJobData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- transferType
- DataBoxJobTransferType
Type of the data transfer.
Describes whether the shipping address is editable or not.
- reverseShippingDetailsUpdate
- Nullable<ReverseShippingDetailsEditStatus>
The Editable status for Reverse Shipping Address and Contact Info.
- reverseTransportPreferenceUpdate
- Nullable<ReverseTransportPreferenceEditStatus>
The Editable status for Reverse Transport preferences.
- status
- Nullable<DataBoxStageName>
Name of the stage which is in progress.
- startOn
- Nullable<DateTimeOffset>
Time at which the job was started in UTC ISO 8601 format.
- error
- ResponseError
Top level error for the job.
- details
- DataBoxBasicJobDetails
Details of a job run. This field will only be sent for expand details filter. Please note DataBoxBasicJobDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DataBoxJobDetails, DataBoxCustomerDiskJobDetails, DataBoxDiskJobDetails and DataBoxHeavyJobDetails.
- cancellationReason
- String
Reason for cancellation.
- deliveryType
- Nullable<JobDeliveryType>
Delivery type of Job.
- deliveryInfoScheduledOn
- Nullable<DateTimeOffset>
Delivery Info of Job.
- sku
- DataBoxSku
The sku type.
- identity
- ManagedServiceIdentity
Msi identity of the resource.
Returns
A new DataBoxJobData instance for mocking.
Applies to
Azure SDK for .NET