Share via


JobResource Class

Definition

Job Resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.JobResourceTypeConverter))]
public class JobResource : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IJobResource, Microsoft.Azure.PowerShell.Cmdlets.DataBox.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.JobResourceTypeConverter))>]
type JobResource = class
    interface IJobResource
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class JobResource
Implements IJobResource, IValidates
Inheritance
JobResource
Attributes
Implements

Constructors

JobResource()

Creates an new JobResource instance.

Properties

AdditionalInfo

Gets or sets additional error info.

CancellationReason

Reason for cancellation.

Code

Error code.

DeliveryInfoScheduledDateTime

Scheduled date time.

DeliveryType

Delivery type of Job.

Detail

Details of a job run. This field will only be sent for expand details filter.

ErrorDetail

Gets or sets details for the error.

Id

Id of the object.

Identity

Msi identity of the resource

IdentityPrincipalId

Service Principal Id backing the Msi

IdentityTenantId

Home Tenant Id

IdentityType

Identity type

IdentityUserAssignedIdentity

User Assigned Identities

IsCancellable

Describes whether the job is cancellable or not.

IsCancellableWithoutFee

Flag to indicate cancellation of scheduled job.

IsDeletable

Describes whether the job is deletable or not.

IsPrepareToShipEnabled

Is Prepare To Ship Enabled on this job

IsShippingAddressEditable

Describes whether the shipping address is editable or not.

Location

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.

Message

The error message parsed from the body of the http error response.

Name

Name of the object.

ReverseShippingDetailsUpdate

The Editable status for Reverse Shipping Address and Contact Info

ReverseTransportPreferenceUpdate

The Editable status for Reverse Transport preferences

Sku

The sku type.

SkuDisplayName

The display name of the sku.

SkuFamily

The sku family.

SkuName

The sku name.

StartTime

Time at which the job was started in UTC ISO 8601 format.

Status

Name of the stage which is in progress.

SystemDataCreatedAt

The timestamp of resource creation (UTC)

SystemDataCreatedBy

A string identifier for the identity that created the resource

SystemDataCreatedByType

The type of identity that created the resource: user, application, managedIdentity

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

A string identifier for the identity that last modified the resource

SystemDataLastModifiedByType

The type of identity that last modified the resource: user, application, managedIdentity

Tag

The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).

Target

Gets or sets the target of the error.

TransferType

Type of the data transfer.

Type

Type of the object.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of JobResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of JobResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IJobResource.

FromJsonString(String)

Creates a new instance of JobResource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of JobResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to