JobResource Constructors
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
JobResource() |
Initializes a new instance of the JobResource class. |
JobResource(String, Sku, TransferType, IDictionary<String,String>, ResourceIdentity, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<DateTime>, CloudError, JobDetails, String, Nullable<JobDeliveryType>, JobDeliveryInfo, Nullable<Boolean>, String, String, String, SystemData) |
Initializes a new instance of the JobResource class. |
JobResource()
Initializes a new instance of the JobResource class.
public JobResource ();
Public Sub New ()
Applies to
JobResource(String, Sku, TransferType, IDictionary<String,String>, ResourceIdentity, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<DateTime>, CloudError, JobDetails, String, Nullable<JobDeliveryType>, JobDeliveryInfo, Nullable<Boolean>, String, String, String, SystemData)
Initializes a new instance of the JobResource class.
public JobResource (string location, Microsoft.Azure.Management.DataBox.Models.Sku sku, Microsoft.Azure.Management.DataBox.Models.TransferType transferType, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.DataBox.Models.ResourceIdentity identity = default, bool? isCancellable = default, bool? isDeletable = default, bool? isShippingAddressEditable = default, bool? isPrepareToShipEnabled = default, string status = default, DateTime? startTime = default, Microsoft.Rest.Azure.CloudError error = default, Microsoft.Azure.Management.DataBox.Models.JobDetails details = default, string cancellationReason = default, Microsoft.Azure.Management.DataBox.Models.JobDeliveryType? deliveryType = default, Microsoft.Azure.Management.DataBox.Models.JobDeliveryInfo deliveryInfo = default, bool? isCancellableWithoutFee = default, string name = default, string id = default, string type = default, Microsoft.Azure.Management.DataBox.Models.SystemData systemData = default);
new Microsoft.Azure.Management.DataBox.Models.JobResource : string * Microsoft.Azure.Management.DataBox.Models.Sku * Microsoft.Azure.Management.DataBox.Models.TransferType * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.DataBox.Models.ResourceIdentity * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * Nullable<DateTime> * Microsoft.Rest.Azure.CloudError * Microsoft.Azure.Management.DataBox.Models.JobDetails * string * Nullable<Microsoft.Azure.Management.DataBox.Models.JobDeliveryType> * Microsoft.Azure.Management.DataBox.Models.JobDeliveryInfo * Nullable<bool> * string * string * string * Microsoft.Azure.Management.DataBox.Models.SystemData -> Microsoft.Azure.Management.DataBox.Models.JobResource
Public Sub New (location As String, sku As Sku, transferType As TransferType, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As ResourceIdentity = Nothing, Optional isCancellable As Nullable(Of Boolean) = Nothing, Optional isDeletable As Nullable(Of Boolean) = Nothing, Optional isShippingAddressEditable As Nullable(Of Boolean) = Nothing, Optional isPrepareToShipEnabled As Nullable(Of Boolean) = Nothing, Optional status As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional error As CloudError = Nothing, Optional details As JobDetails = Nothing, Optional cancellationReason As String = Nothing, Optional deliveryType As Nullable(Of JobDeliveryType) = Nothing, Optional deliveryInfo As JobDeliveryInfo = Nothing, Optional isCancellableWithoutFee As Nullable(Of Boolean) = Nothing, Optional name As String = Nothing, Optional id As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing)
Parameters
- location
- String
The location of the resource. This will be one of the supported and registered Azure Regions (e.g. West US, East US, Southeast Asia, etc.). The region of a resource cannot be changed once it is created, but if an identical region is specified on update the request will succeed.
- sku
- Sku
The sku type.
- transferType
- TransferType
Type of the data transfer. Possible values include: 'ImportToAzure', 'ExportFromAzure'
- tags
- IDictionary<String,String>
The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).
- identity
- ResourceIdentity
Msi identity of the resource
Describes whether the shipping address is editable or not.
- status
- String
Name of the stage which is in progress. Possible values include: 'DeviceOrdered', 'DevicePrepared', 'Dispatched', 'Delivered', 'PickedUp', 'AtAzureDC', 'DataCopy', 'Completed', 'CompletedWithErrors', 'Cancelled', 'Failed_IssueReportedAtCustomer', 'Failed_IssueDetectedAtAzureDC', 'Aborted', 'CompletedWithWarnings', 'ReadyToDispatchFromAzureDC', 'ReadyToReceiveAtAzureDC', 'Created', 'ShippedToAzureDC', 'AwaitingShipmentDetails', 'PreparingToShipFromAzureDC', 'ShippedToCustomer'
- error
- CloudError
Top level error for the job.
- details
- JobDetails
Details of a job run. This field will only be sent for expand details filter.
- cancellationReason
- String
Reason for cancellation.
- deliveryType
- Nullable<JobDeliveryType>
Delivery type of Job. Possible values include: 'NonScheduled', 'Scheduled'
- deliveryInfo
- JobDeliveryInfo
Delivery Info of Job.
- name
- String
Name of the object.
- id
- String
Id of the object.
- type
- String
Type of the object.
- systemData
- SystemData
Metadata pertaining to creation and last modification of the resource.
Applies to
Azure SDK for .NET