Partilhar via


JobResource Construtores

Definição

Sobrecargas

JobResource()

Inicializa uma nova instância da classe JobResource.

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)

Inicializa uma nova instância da classe JobResource.

JobResource()

Inicializa uma nova instância da classe JobResource.

public JobResource ();
Public Sub New ()

Aplica-se a

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)

Inicializa uma nova instância da classe JobResource.

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)

Parâmetros

location
String

A localização do recurso. Esta será uma das Regiões do Azure com suporte e registradas (por exemplo, Oeste dos EUA, Leste dos EUA, Sudeste Asiático etc.). A região de um recurso não pode ser alterada depois de criada, mas se uma região idêntica for especificada na atualização, a solicitação terá êxito.

sku
Sku

O tipo de sku.

transferType
TransferType

Tipo da transferência de dados. Os valores possíveis incluem: 'ImportToAzure', 'ExportFromAzure'

tags
IDictionary<String,String>

A lista de pares chave-valor que descrevem o recurso. Essas marcas podem ser usadas para exibir e agrupar esse recurso (entre grupos de recursos).

identity
ResourceIdentity

Identidade msi do recurso

isCancellable
Nullable<Boolean>

Descreve se o trabalho é cancelável ou não.

isDeletable
Nullable<Boolean>

Descreve se o trabalho é deletável ou não.

isShippingAddressEditable
Nullable<Boolean>

Descreve se o endereço de envio é editável ou não.

isPrepareToShipEnabled
Nullable<Boolean>

É Preparar para Enviar Habilitado neste trabalho

status
String

Nome do estágio que está em andamento. Os valores possíveis incluem: 'DeviceOrdered', 'DevicePrepared', 'Dispatched', 'Delivered', 'PickedUp', 'AtAzureDC', 'DataCopy', 'Completed', 'CompletedWithErrors', 'Cancelled', 'Failed_IssueReportedAtCustomer', 'Failed_IssueDetectedAtAzureDC', 'Aborted', 'CompletedWithWarnings', 'ReadyToDispatchFromAzureDC', 'ReadyToReceiveAtAzureDC', 'Created', 'ShippedToAzureDC', 'AwaitingShipmentDetails', 'PreparingToShipFromAzureDC', 'ShippedToCustomer'

startTime
Nullable<DateTime>

Hora em que o trabalho foi iniciado no formato UTC ISO 8601.

error
CloudError

Erro de nível superior para o trabalho.

details
JobDetails

Detalhes de uma execução de trabalho. Esse campo só será enviado para o filtro de detalhes de expansão.

cancellationReason
String

Motivo do cancelamento.

deliveryType
Nullable<JobDeliveryType>

Tipo de entrega de Trabalho. Os valores possíveis incluem: 'NonScheduled', 'Scheduled'

deliveryInfo
JobDeliveryInfo

Informações de entrega do trabalho.

isCancellableWithoutFee
Nullable<Boolean>

Sinalizador para indicar o cancelamento do trabalho agendado.

name
String

Nome do objeto.

id
String

ID do objeto .

type
String

Tipo do objeto.

systemData
SystemData

Metadados relativos à criação e à última modificação do recurso.

Aplica-se a