다음을 통해 공유


Contacts - Create

연락처를 만듭니다.

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}/contacts/{contactName}?api-version=2022-11-01

URI 매개 변수

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

string

연락처 이름입니다.

resourceGroupName
path True

string

리소스 그룹의 이름. 이름은 대소문자를 구분하지 않습니다.

spacecraftName
path True

string

우주선 ID.

subscriptionId
path True

string

대상 구독의 ID입니다.

api-version
query True

string

이 작업에 사용할 API 버전입니다.

요청 본문

Name 필수 형식 Description
properties.contactProfile True

ContactProfile

연락처 프로필 리소스에 대한 참조입니다.

properties.groundStationName True

string

Azure Ground Station 이름입니다.

properties.reservationEndTime True

string

연락처의 예약 종료 시간(ISO 8601 UTC 표준).

properties.reservationStartTime True

string

연락처의 예약 시작 시간(ISO 8601 UTC 표준).

properties.provisioningState

ProvisioningState

리소스 생성, 삭제 또는 수정의 현재 상태입니다.

응답

Name 형식 Description
200 OK

Contact

OK.

201 Created

Contact

만들기에 성공했습니다. 작업은 결과 연락처 리소스를 반환합니다.

헤더

Azure-AsyncOperation: string

Other Status Codes

ErrorResponse

작업이 실패한 이유를 설명하는 오류 응답입니다.

예제

Create a contact

샘플 요청

PUT https://management.azure.com/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT/contacts/contact1?api-version=2022-11-01

{
  "properties": {
    "reservationStartTime": "2023-02-22T10:58:30Z",
    "reservationEndTime": "2023-02-22T11:10:45Z",
    "groundStationName": "EASTUS2_0",
    "contactProfile": {
      "id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP"
    }
  }
}

샘플 응답

Azure-AsyncOperation: https://management.azure.com/Microsoft.Orbital/operationResults/4e2ffff7-b331-4fcb-ab11-b5fa49368188?api-version=2022-11-01
{
  "id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT/contacts/contact1",
  "name": "contact1",
  "type": "Microsoft.Orbital/spacecrafts/contacts",
  "properties": {
    "status": "scheduled",
    "reservationStartTime": "2023-02-22T10:58:30Z",
    "reservationEndTime": "2023-02-22T11:10:45Z",
    "errorMessage": null,
    "groundStationName": "EASTUS2_0",
    "contactProfile": {
      "id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP"
    },
    "antennaConfiguration": null,
    "maximumElevationDegrees": 85.9796,
    "txStartTime": "2023-02-22T10:58:30Z",
    "txEndTime": "2023-02-22T11:10:45Z",
    "rxStartTime": "2023-02-22T10:58:30Z",
    "rxEndTime": "2023-02-22T11:10:45Z",
    "startAzimuthDegrees": 165.758896,
    "endAzimuthDegrees": 345.848482,
    "startElevationDegrees": 5,
    "endElevationDegrees": 5.048656
  }
}
Azure-AsyncOperation: https://management.azure.com/Microsoft.Orbital/operationResults/4e2ffff7-b331-4fcb-ab11-b5fa49368188?api-version=2022-11-01
{
  "id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT/contacts/contact1",
  "name": "contact1",
  "type": "Microsoft.Orbital/spacecrafts/contacts",
  "properties": {
    "status": "scheduled",
    "reservationStartTime": "2023-02-22T10:58:30Z",
    "reservationEndTime": "2023-02-22T11:10:45Z",
    "errorMessage": null,
    "groundStationName": "EASTUS2_0",
    "contactProfile": {
      "id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP"
    },
    "antennaConfiguration": null,
    "maximumElevationDegrees": 0,
    "txStartTime": null,
    "txEndTime": null,
    "rxStartTime": null,
    "rxEndTime": null,
    "startAzimuthDegrees": 0,
    "endAzimuthDegrees": 0,
    "startElevationDegrees": 0,
    "endElevationDegrees": 0
  }
}

정의

Name Description
AntennaConfiguration

할당된 안테나와 연결된 구성입니다.

Contact

고객은 우주선 리소스에 대한 연락처 리소스를 만듭니다.

ContactProfile

연락처 프로필 리소스에 대한 참조입니다.

ContactsStatus

연락처의 상태입니다.

createdByType

리소스를 만든 ID 유형입니다.

ErrorAdditionalInfo

리소스 관리 오류 추가 정보입니다.

ErrorDetail

오류 세부 정보입니다.

ErrorResponse

오류 응답

ProvisioningState

리소스 생성, 삭제 또는 수정의 현재 상태입니다.

systemData

리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다.

AntennaConfiguration

할당된 안테나와 연결된 구성입니다.

Name 형식 Description
destinationIp

string

패킷을 보낼 수 있는 대상 IP입니다. 예를 들어 데이터를 보낼 TCP 엔드포인트입니다.

sourceIps

string[]

원본 IP 목록

Contact

고객은 우주선 리소스에 대한 연락처 리소스를 만듭니다.

Name 형식 Description
id

string

리소스에 대한 정규화된 리소스 ID입니다. 예 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

리소스의 이름입니다.

properties.antennaConfiguration

AntennaConfiguration

할당된 안테나와 연결된 구성입니다.

properties.contactProfile

ContactProfile

연락처 프로필 리소스에 대한 참조입니다.

properties.endAzimuthDegrees

number

접촉 끝부분에 있는 안테나의 아지무스(10진수).

properties.endElevationDegrees

number

접촉 끝에 수평선 위의 우주선 고도.

properties.errorMessage

string

연락처를 예약하는 동안 발생하는 모든 오류 메시지입니다.

properties.groundStationName

string

Azure Ground Station 이름입니다.

properties.maximumElevationDegrees

number

접촉하는 동안 안테나의 최대 상승(10진수도)입니다.

properties.provisioningState

ProvisioningState

리소스 생성, 삭제 또는 수정의 현재 상태입니다.

properties.reservationEndTime

string

연락처의 예약 종료 시간(ISO 8601 UTC 표준).

properties.reservationStartTime

string

연락처의 예약 시작 시간(ISO 8601 UTC 표준).

properties.rxEndTime

string

연락처의 종료 시간 수신(ISO 8601 UTC 표준).

properties.rxStartTime

string

연락처의 시작 시간 수신(ISO 8601 UTC 표준).

properties.startAzimuthDegrees

number

접촉 시작 시 안테나의 아지무스(10진수)입니다.

properties.startElevationDegrees

number

접촉 시작 시 수평선 위의 우주선 고도.

properties.status

ContactsStatus

연락처의 상태입니다.

properties.txEndTime

string

연락처의 전송 종료 시간(ISO 8601 UTC 표준).

properties.txStartTime

string

연락처의 전송 시작 시간(ISO 8601 UTC 표준).

systemData

systemData

createdBy 및 modifiedBy 정보가 포함된 Azure Resource Manager 메타데이터입니다.

type

string

리소스 형식입니다. 예: "Microsoft.Compute/virtualMachines" 또는 "Microsoft.Storage/storageAccounts"

ContactProfile

연락처 프로필 리소스에 대한 참조입니다.

Name 형식 Description
id

string

리소스 ID입니다.

ContactsStatus

연락처의 상태입니다.

Name 형식 Description
cancelled

string

failed

string

providerCancelled

string

scheduled

string

succeeded

string

createdByType

리소스를 만든 ID 유형입니다.

Name 형식 Description
Application

string

Key

string

ManagedIdentity

string

User

string

ErrorAdditionalInfo

리소스 관리 오류 추가 정보입니다.

Name 형식 Description
info

object

추가 정보입니다.

type

string

추가 정보 유형입니다.

ErrorDetail

오류 세부 정보입니다.

Name 형식 Description
additionalInfo

ErrorAdditionalInfo[]

오류 추가 정보입니다.

code

string

오류 코드입니다.

details

ErrorDetail[]

오류 세부 정보입니다.

message

string

오류 메시지입니다.

target

string

오류 대상입니다.

ErrorResponse

오류 응답

Name 형식 Description
error

ErrorDetail

Error 개체.

ProvisioningState

리소스 생성, 삭제 또는 수정의 현재 상태입니다.

systemData

리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다.

Name 형식 Description
createdAt

string

UTC(리소스 만들기)의 타임스탬프입니다.

createdBy

string

리소스를 만든 ID입니다.

createdByType

createdByType

리소스를 만든 ID 유형입니다.

lastModifiedAt

string

리소스 마지막 수정의 타임스탬프(UTC)

lastModifiedBy

string

리소스를 마지막으로 수정한 ID입니다.

lastModifiedByType

createdByType

리소스를 마지막으로 수정한 ID 유형입니다.