다음을 통해 공유


Devices - Move

지정된 디바이스를 지정된 DeviceGroup으로 이동하는 비동기 작업을 시작합니다.

PUT https://prod.core.sphere.azure.net/v2/tenants/{tenantId}/devices/{deviceId}/devicegroup

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
deviceId
path True

string

디바이스의 ID입니다.

tenantId
path True

string

uuid

Azure Sphere 테넌트 ID입니다.

요청 본문

Name 형식 Description
body

string

디바이스를 할당할 DeviceGroup의 ID입니다.

응답

Name 형식 Description
202 Accepted

Operation

작업을 시작했습니다.

정의

Name Description
ErrorResponse
Operation

ErrorResponse

Name 형식 Description
Code enum:
  • 0 - OperationFailed
  • 1 - TenantInMigration
  • 2 - TenantMigrationRequired
  • 3 - ClientUpdateRequired
  • 4 - InternalServerError
  • 5 - BadRequest
  • 6 - Forbidden
  • 7 - Conflict
  • 8 - NotFound

코드를 가져옵니다.

Message

string

사람이 읽을 수 있는 오류 메시지를 가져옵니다.

Operation

Name 형식 Description
CompletedDateUTC

string

작업이 완료된 날짜를 UTC로 가져옵니다.

CreatedDateUTC

string

작업 만들기 날짜를 UTC로 가져옵니다.

DetailsLocation

string

작업의 세부 정보를 가져오기 위한 위치를 가져옵니다.

Error

ErrorResponse

OperationId

string

고유한 작업 식별자를 가져옵니다.

OperationType enum:
  • 0 - DeviceClaim
  • 1 - DeviceUnclaim
  • 10 - DeleteProduct
  • 11 - BulkDeviceClaim
  • 2 - DeviceUpdateDeviceGroup
  • 3 - MigrateTenant
  • 4 - CreateProduct
  • 5 - DeployToDeviceGroup
  • 6 - DeployToOSFeed
  • 7 - ImageUpload
  • 8 - TenantCreation
  • 9 - DeleteDeviceGroup

작업 유형 식별자를 가져옵니다.

ResourceLocation

string

작업을 실행하는 동안 만든 리소스의 위치를 가져옵니다.

StartedDateUTC

string

작업이 처리를 시작한 날짜를 UTC로 가져옵니다.

State enum:
  • 0 - NotStarted
  • 1 - InProgress
  • 2 - Complete
  • 3 - Failed
  • 4 - CompleteWithErrors

작업의 상태를 가져옵니다.

TenantId

string

테넌트 식별자를 가져옵니다.