Edge Device Jobs - Get
Get a EdgeDeviceJob
GET https://management.azure.com/{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}/jobs/{jobsName}?api-version=2024-09-01-preview
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
edge
|
path | True |
string pattern: ^[a-zA-Z0-9-]{3,24}$ |
The name of the EdgeDevice |
|
jobs
|
path | True |
string pattern: ^[a-zA-Z0-9-]{3,24}$ |
Name of EdgeDevice Job |
|
resource
|
path | True |
string |
The fully qualified Azure Resource manager identifier of the resource. |
|
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK | EdgeDeviceJob: |
Azure operation completed successfully. |
| Other Status Codes |
An unexpected error response. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | impersonate your user account |
Examples
EdgeDeviceJobs_Get_RemoteSupport
Sample request
GET https://management.azure.com/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/providers/Microsoft.AzureStackHCI/edgeDevices/-5M1G7G10OZ-o5b-HS3-c72/jobs/-oUxs?api-version=2024-09-01-preview
Sample response
{
"properties": {
"jobType": "RemoteSupport",
"accessLevel": "Diagnostics",
"type": "Enable",
"expirationTimestamp": "2024-01-29T10:43:27.9471574Z"
},
"kind": "HCI",
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/providers/Microsoft.AzureStackHCI/edgeDevices/default/jobs/RemoteSupport",
"name": "collectLog",
"type": "Microsoft.AzureStackHCI/edgeDevices/jobs",
"systemData": {
"createdBy": "zsnvvvbj",
"createdByType": "User",
"createdAt": "2024-07-01T17:02:21.168Z",
"lastModifiedBy": "qxlrx",
"lastModifiedByType": "User",
"lastModifiedAt": "2024-07-01T17:02:21.168Z"
}
}
Definitions
| Name | Description |
|---|---|
|
created |
The type of identity that created the resource. |
|
Deployment |
Deployment mode to trigger job. |
|
Deployment |
The Step of AzureStackHCI Cluster. |
|
Device |
Represents the status of a log collection operation. |
|
Ece |
The ECE action plan deployment status for AzureStackHCI Cluster. |
|
Edge |
Edge device kind. |
|
Error |
The resource management error additional info. |
|
Error |
The error detail. |
|
Error |
Error response |
|
Hci |
Represents the properties of an HCI Collect Log job. |
|
Hci |
Edge device job for Azure Stack HCI solution. |
|
Hci |
Job Type supported. |
|
Hci |
Represents the properties of a remote support job for HCI. |
|
Job |
Represents the various statuses a job can have throughout its lifecycle. |
|
Log |
Represents a session for collecting logs from an edge device. |
|
Log |
Represents the reported properties of a log collection job. |
|
Provisioning |
The provisioning state of a resource. |
|
Remote |
Defines the level of remote support access granted. |
|
Remote |
Represents the settings of a remote support node. |
|
Remote |
Represents the reported properties of a remote support job. |
|
Remote |
Represents a remote support session. |
|
Remote |
Defines the type of remote support action to be performed on an edge device. |
|
system |
Metadata pertaining to creation and last modification of the resource. |
createdByType
The type of identity that created the resource.
| Value | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
DeploymentMode
Deployment mode to trigger job.
| Value | Description |
|---|---|
| Validate |
Validate ECE action deployment for a cluster. |
| Deploy |
Deploy ECE action deployment for a cluster. |
DeploymentStep
The Step of AzureStackHCI Cluster.
| Name | Type | Description |
|---|---|---|
| description |
string |
Description of step. |
| endTimeUtc |
string |
End time of step. |
| exception |
string[] |
List of exceptions in AzureStackHCI Cluster Deployment. |
| fullStepIndex |
string |
FullStepIndex of step. |
| name |
string |
Name of step. |
| startTimeUtc |
string |
Start time of step. |
| status |
string |
Status of step. Allowed values are 'Error', 'Success', 'InProgress' |
| steps |
List of nested steps of AzureStackHCI Cluster Deployment. |
DeviceLogCollectionStatus
Represents the status of a log collection operation.
| Value | Description |
|---|---|
| NotStarted |
Log collection operation has not been initiated. |
| Running |
Indicates that the log collection operation is currently running. |
| Failed |
Indicates that the log collection operation has failed. |
| Succeeded |
Indicates that the log collection operation has completed successfully. |
| Canceled |
Indicates that the log collection operation has completed successfully. |
EceActionStatus
The ECE action plan deployment status for AzureStackHCI Cluster.
| Name | Type | Description |
|---|---|---|
| status |
string |
Status of ECE action AzureStackHCI Cluster Deployment. |
| steps |
List of steps of AzureStackHCI Cluster Deployment. |
EdgeDeviceKind
Edge device kind.
| Value | Description |
|---|---|
| HCI |
Arc-enabled edge device with HCI OS. |
ErrorAdditionalInfo
The resource management error additional info.
| Name | Type | Description |
|---|---|---|
| info |
object |
The additional info. |
| type |
string |
The additional info type. |
ErrorDetail
The error detail.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
The error additional info. |
|
| code |
string |
The error code. |
| details |
The error details. |
|
| message |
string |
The error message. |
| target |
string |
The error target. |
ErrorResponse
Error response
| Name | Type | Description |
|---|---|---|
| error |
The error object. |
HciCollectLogJobProperties
Represents the properties of an HCI Collect Log job.
| Name | Type | Description |
|---|---|---|
| deploymentMode |
Deployment mode to trigger job. |
|
| endTimeUtc |
string (date-time) |
The UTC date and time at which the job completed. |
| fromDate |
string (date-time) |
From date for log collection. |
| jobId |
string |
Unique, immutable job id. |
| jobType |
string:
Collect |
Job Type to support polymorphic resource. |
| lastLogGenerated |
string (date-time) |
To date for log collection. |
| provisioningState |
Job provisioning state |
|
| reportedProperties |
log collection job reported properties. |
|
| startTimeUtc |
string (date-time) |
The UTC date and time at which the job started. |
| status |
Status of Edge device job. |
|
| toDate |
string (date-time) |
To date for log collection. |
HciEdgeDeviceJob
Edge device job for Azure Stack HCI solution.
| Name | Type | Default value | Description |
|---|---|---|---|
| id |
string (arm-id) |
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
|
| kind |
string:
HCI |
HCI |
Edge Solution type to support polymorphic resource. |
| name |
string |
The name of the resource |
|
| properties | HciEdgeDeviceJobProperties: |
HCI Edge device job properties |
|
| systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
||
| type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
HciEdgeDeviceJobType
Job Type supported.
| Value | Description |
|---|---|
| CollectLog |
Job to collect logs from the device. |
| RemoteSupport |
Job to provide remote support to the device. |
HciRemoteSupportJobProperties
Represents the properties of a remote support job for HCI.
| Name | Type | Description |
|---|---|---|
| accessLevel |
Remote support access level. |
|
| deploymentMode |
Deployment mode to trigger job. |
|
| endTimeUtc |
string (date-time) |
The UTC date and time at which the job completed. |
| expirationTimestamp |
string (date-time) |
Remote support expiration timestamp. |
| jobId |
string |
Unique, immutable job id. |
| jobType |
string:
Remote |
Job Type to support polymorphic resource. |
| provisioningState |
Job provisioning state |
|
| reportedProperties |
log collection job reported properties. |
|
| startTimeUtc |
string (date-time) |
The UTC date and time at which the job started. |
| status |
Status of Edge device job. |
|
| type |
Remote support type. |
JobStatus
Represents the various statuses a job can have throughout its lifecycle.
| Value | Description |
|---|---|
| NotSpecified |
The job status has not been specified. |
| ValidationInProgress |
The job is currently undergoing validation. |
| ValidationSuccess |
The job has successfully passed validation. |
| ValidationFailed |
The job has failed validation. |
| DeploymentInProgress |
The job's deployment is currently in progress. |
| DeploymentFailed |
The job's deployment has failed. |
| DeploymentSuccess |
The job has been successfully deployed. |
| Succeeded |
The job has succeeded. |
| Failed |
The job has failed. |
| Canceled |
The job has been canceled. |
| Paused |
The job is paused. |
| Scheduled |
The job is scheduled to run. |
LogCollectionJobSession
Represents a session for collecting logs from an edge device.
| Name | Type | Description |
|---|---|---|
| correlationId |
string |
A unique identifier for correlating this log collection session with other operations or sessions. |
| endTime |
string |
The timestamp when log collection ended, in ISO 8601 format. |
| logSize |
integer (int32) |
The size of the collected logs in bytes. |
| startTime |
string |
The timestamp when log collection started, in ISO 8601 format. |
| status |
The status of the log collection session. |
|
| timeCollected |
string |
The total time logs were collected for, in ISO 8601 duration format. |
LogCollectionReportedProperties
Represents the reported properties of a log collection job.
| Name | Type | Description |
|---|---|---|
| deploymentStatus |
Deployment status of job. |
|
| logCollectionSessionDetails |
Details of the log collection session. |
|
| percentComplete |
integer (int32) |
The percentage of the job that is complete. |
| validationStatus |
Validation status of job. |
ProvisioningState
The provisioning state of a resource.
| Value | Description |
|---|---|
| Succeeded |
Resource has been created. |
| Failed |
Resource creation failed. |
| Canceled |
Resource creation was canceled. |
| NotSpecified |
The resource provision state is not specified |
| Provisioning |
The resource is being provisioned |
| Updating |
The resource is updating |
| Deleting |
The resource is being deleted |
| Accepted |
The resource create request has been accepted |
RemoteSupportAccessLevel
Defines the level of remote support access granted.
| Value | Description |
|---|---|
| None |
No remote support access is granted. |
| Diagnostics |
Access is limited to diagnostics information only. |
| DiagnosticsAndRepair |
Access includes diagnostics information and the ability to perform repairs. |
RemoteSupportJobNodeSettings
Represents the settings of a remote support node.
| Name | Type | Description |
|---|---|---|
| connectionErrorMessage |
string |
The error message, if any, from the last connection attempt. |
| connectionStatus |
string |
The current connection status of the remote support session. |
| createdAt |
string (date-time) |
The timestamp when the node settings were created, in UTC. |
| state |
string |
The state of the remote support node. |
| updatedAt |
string (date-time) |
The timestamp when the node settings were last updated, in UTC. |
RemoteSupportJobReportedProperties
Represents the reported properties of a remote support job.
| Name | Type | Description |
|---|---|---|
| deploymentStatus |
Deployment status of job. |
|
| nodeSettings |
Optional settings for configuring the node for remote support. |
|
| percentComplete |
integer (int32) |
The percentage of the job that is complete. |
| sessionDetails |
Details of the remote support session. |
|
| validationStatus |
Validation status of job. |
RemoteSupportSession
Represents a remote support session.
| Name | Type | Description |
|---|---|---|
| accessLevel |
The level of access granted during the remote support session. |
|
| sessionEndTime |
string (date-time) |
The end time of the remote support session, in UTC. |
| sessionId |
string |
Unique session Id. |
| sessionStartTime |
string (date-time) |
The start time of the remote support session, in UTC. |
| transcriptLocation |
string |
The location where the session transcript is stored. |
RemoteSupportType
Defines the type of remote support action to be performed on an edge device.
| Value | Description |
|---|---|
| Enable |
Enables remote support for the edge device. |
| Revoke |
Revokes previously granted remote support access for the edge device. |
systemData
Metadata pertaining to creation and last modification of the resource.
| Name | Type | Description |
|---|---|---|
| createdAt |
string (date-time) |
The timestamp of resource creation (UTC). |
| createdBy |
string |
The identity that created the resource. |
| createdByType |
The type of identity that created the resource. |
|
| lastModifiedAt |
string (date-time) |
The timestamp of resource last modification (UTC) |
| lastModifiedBy |
string |
The identity that last modified the resource. |
| lastModifiedByType |
The type of identity that last modified the resource. |