다음을 통해 공유


Data Manager For Agriculture Resources - Create Or Update

농업용 Data Manager 리소스를 만들거나 업데이트합니다.

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{dataManagerForAgricultureResourceName}?api-version=2023-06-01-preview

URI 매개 변수

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

string

minLength: 1
maxLength: 63
pattern: ^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$

DataManagerForAgriculture 리소스 이름입니다.

resourceGroupName
path True

string

minLength: 1
maxLength: 90

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

subscriptionId
path True

string (uuid)

대상 구독의 ID입니다. 값은 UUID여야 합니다.

api-version
query True

string

minLength: 1

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

요청 본문

Name 필수 형식 Description
location True

string

리소스가 있는 지리적 위치

identity

Identity

리소스의 ID입니다.

properties.publicNetworkAccess

PublicNetworkAccess

Azure Data Manager for Agriculture 리소스에 대한 공용 트래픽을 허용하거나 차단하는 속성입니다.

properties.sensorIntegration

SensorIntegration

센서 통합 요청 모델입니다.

tags

object

리소스 태그.

응답

Name 형식 Description
200 OK

DataManagerForAgriculture

성공

201 Created

DataManagerForAgriculture

생성됨

Other Status Codes

ErrorResponse

오류

보안

azure_auth

Azure Active Directory OAuth2 흐름.

형식: oauth2
Flow: implicit
권한 부여 URL: https://login.microsoftonline.com/common/oauth2/authorize

범위

Name Description
user_impersonation 사용자 계정 가장

예제

DataManagerForAgricultureResources_CreateOrUpdate

샘플 요청

PUT https://management.azure.com/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName?api-version=2023-06-01-preview

{
  "location": "eastus2",
  "tags": {
    "key1": "value1",
    "key2": "value2"
  }
}

샘플 응답

{
  "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
  "name": "examples-farmbeatsResourceName",
  "type": "Microsoft.AgFoodPlatform/farmBeats",
  "location": "eastus2",
  "tags": {
    "key1": "value1",
    "key2": "value2"
  },
  "systemData": {
    "createdBy": "string",
    "createdByType": "User",
    "createdAt": "2020-02-01T01:01:01.1075056Z",
    "lastModifiedBy": "string",
    "lastModifiedByType": "User",
    "lastModifiedAt": "2020-02-01T01:01:01.1075056Z"
  },
  "properties": {
    "instanceUri": "https://examples-farmbeatsResourceName.eastus2.farmbeats.azure.net",
    "provisioningState": "Succeeded"
  }
}
{
  "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName",
  "name": "examples-farmbeatsResourceName",
  "type": "Microsoft.AgFoodPlatform/farmBeats",
  "location": "eastus2",
  "tags": {
    "key1": "value1",
    "key2": "value2"
  },
  "systemData": {
    "createdBy": "string",
    "createdByType": "User",
    "createdAt": "2020-02-01T01:01:01.1075056Z",
    "lastModifiedBy": "string",
    "lastModifiedByType": "User",
    "lastModifiedAt": "2020-02-01T01:01:01.1075056Z"
  },
  "properties": {
    "instanceUri": "https://examples-farmbeatsResourceName.eastus2.farmbeats.azure.net",
    "provisioningState": "Failed"
  }
}

정의

Name Description
createdByType

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

DataManagerForAgriculture

농업 ARM 리소스에 대한 데이터 관리자입니다.

ErrorAdditionalInfo

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

ErrorDetail

오류 세부 정보입니다.

ErrorResponse

오류 응답

Identity

리소스의 ID입니다.

PrivateEndpoint

프라이빗 엔드포인트 리소스입니다.

PrivateEndpointConnection

프라이빗 엔드포인트 연결 리소스입니다.

PrivateEndpointConnectionProvisioningState

현재 프로비저닝 상태입니다.

PrivateEndpointServiceConnectionStatus

프라이빗 엔드포인트 연결 상태입니다.

PrivateLinkServiceConnectionState

서비스 소비자와 공급자 간의 연결 상태에 대한 정보 컬렉션입니다.

ProvisioningState

Data Manager For Agriculture 인스턴스 프로비저닝 상태입니다.

PublicNetworkAccess

Azure Data Manager for Agriculture 리소스에 대한 공용 트래픽을 허용하거나 차단하는 속성입니다.

ResourceIdentityType

ID 형식입니다.

SensorIntegration

센서 통합 요청 모델입니다.

systemData

리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다.

createdByType

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

Description
User
Application
ManagedIdentity
Key

DataManagerForAgriculture

농업 ARM 리소스에 대한 데이터 관리자입니다.

Name 형식 Description
id

string (arm-id)

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

identity

Identity

리소스의 ID입니다.

location

string

리소스가 있는 지리적 위치

name

string

리소스의 이름

properties.instanceUri

string (uri)

농업용 데이터 관리자 인스턴스의 URI입니다.

properties.privateEndpointConnections

PrivateEndpointConnection[]

프라이빗 엔드포인트.

properties.provisioningState

ProvisioningState

Data Manager For Agriculture 인스턴스 프로비저닝 상태입니다.

properties.publicNetworkAccess

PublicNetworkAccess

Azure Data Manager for Agriculture 리소스에 대한 공용 트래픽을 허용하거나 차단하는 속성입니다.

properties.sensorIntegration

SensorIntegration

센서 통합 요청 모델입니다.

systemData

systemData

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

tags

object

리소스 태그.

type

string

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

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

오류 개체입니다.

Identity

리소스의 ID입니다.

Name 형식 Description
principalId

string (uuid)

리소스 ID의 보안 주체 ID입니다. 값은 UUID여야 합니다.

tenantId

string (uuid)

리소스의 테넌트 ID입니다. 값은 UUID여야 합니다.

type

ResourceIdentityType

ID 형식입니다.

PrivateEndpoint

프라이빗 엔드포인트 리소스입니다.

Name 형식 Description
id

string

프라이빗 엔드포인트에 대한 ARM 식별자입니다.

PrivateEndpointConnection

프라이빗 엔드포인트 연결 리소스입니다.

Name 형식 Description
id

string (arm-id)

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

name

string

리소스의 이름

properties.groupIds

string[]

프라이빗 엔드포인트 리소스의 그룹 ID입니다.

properties.privateEndpoint

PrivateEndpoint

프라이빗 엔드포인트 리소스입니다.

properties.privateLinkServiceConnectionState

PrivateLinkServiceConnectionState

서비스 소비자와 공급자 간의 연결 상태에 대한 정보 컬렉션입니다.

properties.provisioningState

PrivateEndpointConnectionProvisioningState

프라이빗 엔드포인트 연결 리소스의 프로비전 상태입니다.

systemData

systemData

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

type

string

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

PrivateEndpointConnectionProvisioningState

현재 프로비저닝 상태입니다.

Description
Succeeded
Creating
Deleting
Failed

PrivateEndpointServiceConnectionStatus

프라이빗 엔드포인트 연결 상태입니다.

Description
Pending
Approved
Rejected

PrivateLinkServiceConnectionState

서비스 소비자와 공급자 간의 연결 상태에 대한 정보 컬렉션입니다.

Name 형식 Description
actionsRequired

string

서비스 공급자의 변경 내용에 소비자에 대한 업데이트가 필요한지 여부를 나타내는 메시지입니다.

description

string

연결의 승인/거부 이유입니다.

status

PrivateEndpointServiceConnectionStatus

서비스 소유자가 연결을 승인/거부/제거했는지 여부를 나타냅니다.

ProvisioningState

Data Manager For Agriculture 인스턴스 프로비저닝 상태입니다.

Description
Creating
Updating
Deleting
Succeeded
Failed
Running

PublicNetworkAccess

Azure Data Manager for Agriculture 리소스에 대한 공용 트래픽을 허용하거나 차단하는 속성입니다.

Description
Enabled
Disabled

ResourceIdentityType

ID 형식입니다.

Description
SystemAssigned

SensorIntegration

센서 통합 요청 모델입니다.

Name 형식 Description
enabled

string

센서 통합은 상태를 사용하도록 설정합니다.

provisioningInfo

ErrorResponse

오류 응답
실패한 작업에 대한 오류 세부 정보를 반환하는 모든 Azure Resource Manager API에 대한 일반적인 오류 응답입니다. 또한 OData 오류 응답 형식을 따릅니다.

provisioningState

ProvisioningState

센서 통합 인스턴스 프로비전 상태입니다.

systemData

리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다.

Name 형식 Description
createdAt

string (date-time)

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

createdBy

string

리소스를 만든 ID입니다.

createdByType

createdByType

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

lastModifiedAt

string (date-time)

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

lastModifiedBy

string

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

lastModifiedByType

createdByType

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