swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector DataManagerForAgricultureResources API schemes: - https tags: - name: DataManagerForAgricultureResources paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{dataManagerForAgricultureResourceName} : get: tags: - DataManagerForAgricultureResources description: Get DataManagerForAgriculture resource. operationId: microsoftAzureDatamanagerforagricultureresourcesGet produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/DataManagerForAgricultureResourceNameParameter' - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter responses: '200': description: Success schema: $ref: '#/definitions/DataManagerForAgriculture' default: description: Error schema: $ref: ../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse x-ms-examples: DataManagerForAgricultureResources_Get: $ref: ./examples/DataManagerForAgricultureResources_Get.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Agfoodplatform Farmbeats Datamanagerforagricultureresourcename put: tags: - DataManagerForAgricultureResources description: Create or update Data Manager For Agriculture resource. operationId: microsoftAzureDatamanagerforagricultureresourcesCreateorupdate consumes: - application/json produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/DataManagerForAgricultureResourceNameParameter' - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter - in: body name: request description: Data Manager For Agriculture resource create or update request object. required: true schema: $ref: '#/definitions/DataManagerForAgriculture' responses: '200': description: Success schema: $ref: '#/definitions/DataManagerForAgriculture' '201': description: Created schema: $ref: '#/definitions/DataManagerForAgriculture' default: description: Error schema: $ref: ../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse x-ms-examples: DataManagerForAgricultureResources_CreateOrUpdate: $ref: ./examples/DataManagerForAgricultureResources_CreateOrUpdate.json summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Agfoodplatform Farmbeats Datamanagerforagricultureresourcename patch: tags: - DataManagerForAgricultureResources description: Update a Data Manager For Agriculture resource. operationId: microsoftAzureDatamanagerforagricultureresourcesUpdate consumes: - application/json produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/DataManagerForAgricultureResourceNameParameter' - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter - in: body name: request description: Request object. required: true schema: $ref: '#/definitions/DataManagerForAgricultureUpdateRequestModel' responses: '200': description: Success schema: $ref: '#/definitions/DataManagerForAgriculture' '202': description: Accepted schema: $ref: '#/definitions/DataManagerForAgriculture' headers: Location: type: string default: description: Error schema: $ref: ../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse x-ms-long-running-operation: true x-ms-long-running-operation-options: final-state-via: location x-ms-examples: DataManagerForAgricultureResources_Update: $ref: ./examples/DataManagerForAgricultureResources_Update.json summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Agfoodplatform Farmbeats Datamanagerforagricultureresourcename delete: tags: - DataManagerForAgricultureResources description: Delete a Data Manager For Agriculture resource. operationId: microsoftAzureDatamanagerforagricultureresourcesDelete produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/DataManagerForAgricultureResourceNameParameter' - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter responses: '200': description: Success '204': description: No Content default: description: Error schema: $ref: ../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse x-ms-examples: DataManagerForAgricultureResources_Delete: $ref: ./examples/DataManagerForAgricultureResources_Delete.json summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Agfoodplatform Farmbeats Datamanagerforagricultureresourcename /subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/farmBeats: get: tags: - DataManagerForAgricultureResources description: Lists the DataManagerForAgriculture instances for a subscription. operationId: microsoftAzureDatamanagerforagricultureresourcesListbysubscription produces: - application/json parameters: - in: query name: $maxPageSize description: "Maximum number of items needed (inclusive).\r\nMinimum = 10, Maximum = 1000, Default value = 50." type: integer format: int32 default: 50 maximum: 1000 minimum: 10 - in: query name: $skipToken description: Skip token for getting next set of results. type: string - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter responses: '200': description: Success schema: $ref: '#/definitions/DataManagerForAgricultureListResponse' default: description: Error schema: $ref: ../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse x-ms-pageable: nextLinkName: nextLink x-ms-examples: DataManagerForAgricultureResources_ListBySubscription: $ref: ./examples/DataManagerForAgricultureResources_ListBySubscription.json summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Agfoodplatform Farmbeats /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats: get: tags: - DataManagerForAgricultureResources description: Lists the DataManagerForAgriculture instances for a resource group. operationId: microsoftAzureDatamanagerforagricultureresourcesListbyresourcegroup produces: - application/json parameters: - in: query name: $maxPageSize description: "Maximum number of items needed (inclusive).\r\nMinimum = 10, Maximum = 1000, Default value = 50." type: integer format: int32 default: 50 maximum: 1000 minimum: 10 - in: query name: $skipToken description: Continuation token for getting next set of results. type: string - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter responses: '200': description: Success schema: $ref: '#/definitions/DataManagerForAgricultureListResponse' default: description: Error schema: $ref: ../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse x-ms-pageable: nextLinkName: nextLink x-ms-examples: DataManagerForAgricultureResources_ListByResourceGroup: $ref: ./examples/DataManagerForAgricultureResources_ListByResourceGroup.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Agfoodplatform Farmbeats definitions: DataManagerForAgricultureProperties: description: Data Manager For Agriculture ARM Resource properties. type: object properties: instanceUri: format: uri description: Uri of the Data Manager For Agriculture instance. type: string readOnly: true provisioningState: description: Data Manager For Agriculture instance provisioning state. enum: - Creating - Updating - Deleting - Succeeded - Failed - Running type: string readOnly: true x-ms-enum: name: ProvisioningState modelAsString: true sensorIntegration: $ref: '#/definitions/SensorIntegration' publicNetworkAccess: $ref: '#/definitions/PublicNetworkAccess' privateEndpointConnections: description: Private endpoints. type: array items: $ref: ../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection readOnly: true DataManagerForAgricultureUpdateProperties: description: Data Manager For Agriculture ARM Resource properties. type: object properties: sensorIntegration: $ref: '#/definitions/SensorIntegration' publicNetworkAccess: $ref: '#/definitions/PublicNetworkAccess' DataManagerForAgricultureListResponse: description: Paged response contains list of requested objects and a URL link to get the next set of results. required: - value type: object properties: value: description: List of requested objects. type: array items: $ref: '#/definitions/DataManagerForAgriculture' $skipToken: description: Token used in retrieving the next page. If null, there are no additional pages. type: string nextLink: description: Continuation link (absolute URI) to the next page of results in the list. type: string SensorIntegration: description: Sensor integration request model. type: object properties: enabled: description: Sensor integration enable state. type: string provisioningState: description: Sensor integration instance provisioning state. enum: - Creating - Updating - Deleting - Succeeded - Failed - Running type: string readOnly: true x-ms-enum: name: ProvisioningState modelAsString: true provisioningInfo: $ref: ../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse PublicNetworkAccess: description: Property to allow or block public traffic for an Azure Data Manager For Agriculture resource. enum: - Enabled - Disabled type: string x-ms-enum: name: PublicNetworkAccess modelAsString: true DataManagerForAgriculture: description: Data Manager For Agriculture ARM Resource. type: object allOf: - $ref: ../../../../../common-types/resource-management/v4/types.json#/definitions/TrackedResource properties: identity: $ref: ../../../../../common-types/resource-management/v4/types.json#/definitions/Identity properties: $ref: '#/definitions/DataManagerForAgricultureProperties' x-ms-client-flatten: true x-ms-azure-resource: true DataManagerForAgricultureUpdateRequestModel: description: DataManagerForAgriculture update request. type: object properties: location: description: Geo-location where the resource lives. type: string identity: $ref: ../../../../../common-types/resource-management/v4/types.json#/definitions/Identity properties: $ref: '#/definitions/DataManagerForAgricultureUpdateProperties' tags: description: Resource tags. type: object additionalProperties: type: string parameters: DataManagerForAgricultureResourceNameParameter: in: path name: dataManagerForAgricultureResourceName description: DataManagerForAgriculture resource name. required: true type: string x-ms-parameter-location: method pattern: ^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$ minLength: 1 maxLength: 63 x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'