@azure/arm-agrifood 1.0.0-beta.5 → 1.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -3
- package/LICENSE +4 -4
- package/README.md +26 -18
- package/{dist-esm/src → dist/commonjs}/agriFoodMgmtClient.d.ts +2 -2
- package/dist/commonjs/agriFoodMgmtClient.d.ts.map +1 -0
- package/dist/commonjs/agriFoodMgmtClient.js +123 -0
- package/dist/commonjs/agriFoodMgmtClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.js +37 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/dist/commonjs/models/index.js +91 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.js +1059 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.js +274 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/extensions.d.ts +3 -3
- package/dist/commonjs/operations/extensions.d.ts.map +1 -0
- package/dist/commonjs/operations/extensions.js +278 -0
- package/dist/commonjs/operations/extensions.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/farmBeatsExtensions.d.ts +3 -3
- package/dist/commonjs/operations/farmBeatsExtensions.d.ts.map +1 -0
- package/dist/commonjs/operations/farmBeatsExtensions.js +160 -0
- package/dist/commonjs/operations/farmBeatsExtensions.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/farmBeatsModels.d.ts +3 -3
- package/dist/commonjs/operations/farmBeatsModels.d.ts.map +1 -0
- package/dist/commonjs/operations/farmBeatsModels.js +461 -0
- package/dist/commonjs/operations/farmBeatsModels.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +8 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +18 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/locations.d.ts +3 -3
- package/dist/commonjs/operations/locations.d.ts.map +1 -0
- package/dist/commonjs/operations/locations.js +55 -0
- package/dist/commonjs/operations/locations.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/operations.d.ts +3 -3
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +122 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/privateEndpointConnections.d.ts +3 -3
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.js +260 -0
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/privateLinkResources.d.ts +3 -3
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.js +129 -0
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/extensions.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/extensions.js +10 -0
- package/dist/commonjs/operationsInterfaces/extensions.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/farmBeatsExtensions.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/farmBeatsExtensions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/farmBeatsExtensions.js +10 -0
- package/dist/commonjs/operationsInterfaces/farmBeatsExtensions.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/farmBeatsModels.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/farmBeatsModels.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/farmBeatsModels.js +10 -0
- package/dist/commonjs/operationsInterfaces/farmBeatsModels.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +18 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/locations.d.ts +1 -1
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/locations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/locations.js +10 -0
- package/dist/commonjs/operationsInterfaces/locations.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/privateLinkResources.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/agriFoodMgmtClient.d.ts +26 -0
- package/dist/esm/agriFoodMgmtClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/agriFoodMgmtClient.js +36 -24
- package/dist/esm/agriFoodMgmtClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/index.js +4 -4
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/lroImpl.js +13 -9
- package/dist/esm/lroImpl.js.map +1 -0
- package/{types/arm-agrifood.d.ts → dist/esm/models/index.d.ts} +829 -1167
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +35 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/models/mappers.js +81 -37
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +26 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/models/parameters.js +1 -1
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/extensions.d.ts +70 -0
- package/dist/esm/operations/extensions.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/extensions.js +26 -43
- package/dist/esm/operations/extensions.js.map +1 -0
- package/dist/esm/operations/farmBeatsExtensions.d.ts +38 -0
- package/dist/esm/operations/farmBeatsExtensions.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/farmBeatsExtensions.js +26 -43
- package/dist/esm/operations/farmBeatsExtensions.js.map +1 -0
- package/dist/esm/operations/farmBeatsModels.d.ts +100 -0
- package/dist/esm/operations/farmBeatsModels.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/farmBeatsModels.js +87 -120
- package/dist/esm/operations/farmBeatsModels.js.map +1 -0
- package/dist/esm/operations/index.d.ts +8 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +15 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/locations.d.ts +19 -0
- package/dist/esm/operations/locations.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/locations.js +3 -2
- package/dist/esm/operations/locations.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/operations.js +26 -43
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts +64 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/privateEndpointConnections.js +56 -72
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operations/privateLinkResources.d.ts +38 -0
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/privateLinkResources.js +12 -29
- package/dist/esm/operations/privateLinkResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/extensions.d.ts +45 -0
- package/dist/esm/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/extensions.js.map +1 -0
- package/dist/esm/operationsInterfaces/farmBeatsExtensions.d.ts +17 -0
- package/dist/esm/operationsInterfaces/farmBeatsExtensions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/farmBeatsExtensions.js.map +1 -0
- package/dist/esm/operationsInterfaces/farmBeatsModels.d.ts +64 -0
- package/dist/esm/operationsInterfaces/farmBeatsModels.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/farmBeatsModels.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +8 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +15 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/locations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/locations.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +47 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +21 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -0
- package/package.json +70 -73
- package/dist/index.js +0 -3112
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/extensionsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsCreateSample.js +0 -32
- package/dist-esm/samples-dev/extensionsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsDeleteSample.js +0 -32
- package/dist-esm/samples-dev/extensionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsGetSample.js +0 -32
- package/dist-esm/samples-dev/extensionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsListByFarmBeatsSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsListByFarmBeatsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsListByFarmBeatsSample.js +0 -47
- package/dist-esm/samples-dev/extensionsListByFarmBeatsSample.js.map +0 -1
- package/dist-esm/samples-dev/extensionsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/extensionsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/extensionsUpdateSample.js +0 -32
- package/dist-esm/samples-dev/extensionsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/farmBeatsExtensionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/farmBeatsExtensionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/farmBeatsExtensionsGetSample.js +0 -30
- package/dist-esm/samples-dev/farmBeatsExtensionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/farmBeatsExtensionsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/farmBeatsExtensionsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/farmBeatsExtensionsListSample.js +0 -45
- package/dist-esm/samples-dev/farmBeatsExtensionsListSample.js.map +0 -1
- package/dist-esm/samples-dev/farmBeatsModelsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/farmBeatsModelsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/farmBeatsModelsCreateOrUpdateSample.js +0 -35
- package/dist-esm/samples-dev/farmBeatsModelsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/farmBeatsModelsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/farmBeatsModelsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/farmBeatsModelsDeleteSample.js +0 -31
- package/dist-esm/samples-dev/farmBeatsModelsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/farmBeatsModelsGetOperationResultSample.d.ts +0 -2
- package/dist-esm/samples-dev/farmBeatsModelsGetOperationResultSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/farmBeatsModelsGetOperationResultSample.js +0 -32
- package/dist-esm/samples-dev/farmBeatsModelsGetOperationResultSample.js.map +0 -1
- package/dist-esm/samples-dev/farmBeatsModelsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/farmBeatsModelsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/farmBeatsModelsGetSample.js +0 -31
- package/dist-esm/samples-dev/farmBeatsModelsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/farmBeatsModelsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/farmBeatsModelsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/farmBeatsModelsListByResourceGroupSample.js +0 -46
- package/dist-esm/samples-dev/farmBeatsModelsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/farmBeatsModelsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/farmBeatsModelsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/farmBeatsModelsListBySubscriptionSample.js +0 -45
- package/dist-esm/samples-dev/farmBeatsModelsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/farmBeatsModelsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/farmBeatsModelsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/farmBeatsModelsUpdateSample.js +0 -57
- package/dist-esm/samples-dev/farmBeatsModelsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js +0 -53
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -45
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +0 -38
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -32
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -32
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js +0 -47
- package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +0 -32
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.js +0 -47
- package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.js.map +0 -1
- package/dist-esm/src/agriFoodMgmtClient.d.ts.map +0 -1
- package/dist-esm/src/agriFoodMgmtClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/extensions.d.ts.map +0 -1
- package/dist-esm/src/operations/extensions.js.map +0 -1
- package/dist-esm/src/operations/farmBeatsExtensions.d.ts.map +0 -1
- package/dist-esm/src/operations/farmBeatsExtensions.js.map +0 -1
- package/dist-esm/src/operations/farmBeatsModels.d.ts.map +0 -1
- package/dist-esm/src/operations/farmBeatsModels.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -8
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -15
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/locations.d.ts.map +0 -1
- package/dist-esm/src/operations/locations.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/extensions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/farmBeatsExtensions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/farmBeatsExtensions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/farmBeatsModels.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/farmBeatsModels.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -15
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/locations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/agriFoodMgmtClient.ts +0 -168
- package/src/index.ts +0 -13
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -943
- package/src/models/mappers.ts +0 -1090
- package/src/models/parameters.ts +0 -305
- package/src/operations/extensions.ts +0 -389
- package/src/operations/farmBeatsExtensions.ts +0 -198
- package/src/operations/farmBeatsModels.ts +0 -624
- package/src/operations/index.ts +0 -15
- package/src/operations/locations.ts +0 -68
- package/src/operations/operations.ts +0 -150
- package/src/operations/privateEndpointConnections.ts +0 -369
- package/src/operations/privateLinkResources.ts +0 -189
- package/src/operationsInterfaces/extensions.ts +0 -88
- package/src/operationsInterfaces/farmBeatsExtensions.ts +0 -36
- package/src/operationsInterfaces/farmBeatsModels.ts +0 -125
- package/src/operationsInterfaces/index.ts +0 -15
- package/src/operationsInterfaces/locations.ts +0 -26
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -89
- package/src/operationsInterfaces/privateLinkResources.ts +0 -44
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/commonjs}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/commonjs}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/commonjs}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/commonjs}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/commonjs}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/commonjs}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/commonjs}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/commonjs}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/commonjs}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/commonjs}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/esm}/models/index.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/extensions.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/farmBeatsExtensions.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/farmBeatsModels.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/locations.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/privateEndpointConnections.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/privateLinkResources.js +0 -0
- /package/review/{arm-agrifood.api.md → arm-agrifood-node.api.md} +0 -0
|
@@ -0,0 +1,461 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.FarmBeatsModelsImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
const core_lro_1 = require("@azure/core-lro");
|
|
17
|
+
const lroImpl_js_1 = require("../lroImpl.js");
|
|
18
|
+
/// <reference lib="esnext.asynciterable" />
|
|
19
|
+
/** Class containing FarmBeatsModels operations. */
|
|
20
|
+
class FarmBeatsModelsImpl {
|
|
21
|
+
client;
|
|
22
|
+
/**
|
|
23
|
+
* Initialize a new instance of the class FarmBeatsModels class.
|
|
24
|
+
* @param client Reference to the service client
|
|
25
|
+
*/
|
|
26
|
+
constructor(client) {
|
|
27
|
+
this.client = client;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Lists the FarmBeats instances for a subscription.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
listBySubscription(options) {
|
|
34
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
35
|
+
return {
|
|
36
|
+
next() {
|
|
37
|
+
return iter.next();
|
|
38
|
+
},
|
|
39
|
+
[Symbol.asyncIterator]() {
|
|
40
|
+
return this;
|
|
41
|
+
},
|
|
42
|
+
byPage: (settings) => {
|
|
43
|
+
if (settings?.maxPageSize) {
|
|
44
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
45
|
+
}
|
|
46
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
async *listBySubscriptionPagingPage(options, settings) {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings?.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = await this._listBySubscription(options);
|
|
55
|
+
let page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
|
+
yield page;
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
65
|
+
yield page;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
async *listBySubscriptionPagingAll(options) {
|
|
69
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
70
|
+
yield* page;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Lists the FarmBeats instances for a resource group.
|
|
75
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
79
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
80
|
+
return {
|
|
81
|
+
next() {
|
|
82
|
+
return iter.next();
|
|
83
|
+
},
|
|
84
|
+
[Symbol.asyncIterator]() {
|
|
85
|
+
return this;
|
|
86
|
+
},
|
|
87
|
+
byPage: (settings) => {
|
|
88
|
+
if (settings?.maxPageSize) {
|
|
89
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
90
|
+
}
|
|
91
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
96
|
+
let result;
|
|
97
|
+
let continuationToken = settings?.continuationToken;
|
|
98
|
+
if (!continuationToken) {
|
|
99
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
100
|
+
let page = result.value || [];
|
|
101
|
+
continuationToken = result.nextLink;
|
|
102
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
103
|
+
yield page;
|
|
104
|
+
}
|
|
105
|
+
while (continuationToken) {
|
|
106
|
+
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
107
|
+
continuationToken = result.nextLink;
|
|
108
|
+
let page = result.value || [];
|
|
109
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
110
|
+
yield page;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
async *listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
114
|
+
for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
115
|
+
yield* page;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Get FarmBeats resource.
|
|
120
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
121
|
+
* @param farmBeatsResourceName FarmBeats resource name.
|
|
122
|
+
* @param options The options parameters.
|
|
123
|
+
*/
|
|
124
|
+
get(resourceGroupName, farmBeatsResourceName, options) {
|
|
125
|
+
return this.client.sendOperationRequest({ resourceGroupName, farmBeatsResourceName, options }, getOperationSpec);
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Create or update FarmBeats resource.
|
|
129
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
130
|
+
* @param farmBeatsResourceName FarmBeats resource name.
|
|
131
|
+
* @param body FarmBeats resource create or update request object.
|
|
132
|
+
* @param options The options parameters.
|
|
133
|
+
*/
|
|
134
|
+
createOrUpdate(resourceGroupName, farmBeatsResourceName, body, options) {
|
|
135
|
+
return this.client.sendOperationRequest({ resourceGroupName, farmBeatsResourceName, body, options }, createOrUpdateOperationSpec);
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Update a FarmBeats resource.
|
|
139
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
140
|
+
* @param farmBeatsResourceName FarmBeats resource name.
|
|
141
|
+
* @param body Request object.
|
|
142
|
+
* @param options The options parameters.
|
|
143
|
+
*/
|
|
144
|
+
async beginUpdate(resourceGroupName, farmBeatsResourceName, body, options) {
|
|
145
|
+
const directSendOperation = async (args, spec) => {
|
|
146
|
+
return this.client.sendOperationRequest(args, spec);
|
|
147
|
+
};
|
|
148
|
+
const sendOperation = async (args, spec) => {
|
|
149
|
+
let currentRawResponse = undefined;
|
|
150
|
+
const providedCallback = args.options?.onResponse;
|
|
151
|
+
const callback = (rawResponse, flatResponse) => {
|
|
152
|
+
currentRawResponse = rawResponse;
|
|
153
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
154
|
+
};
|
|
155
|
+
const updatedArgs = {
|
|
156
|
+
...args,
|
|
157
|
+
options: {
|
|
158
|
+
...args.options,
|
|
159
|
+
onResponse: callback
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
163
|
+
return {
|
|
164
|
+
flatResponse,
|
|
165
|
+
rawResponse: {
|
|
166
|
+
statusCode: currentRawResponse.status,
|
|
167
|
+
body: currentRawResponse.parsedBody,
|
|
168
|
+
headers: currentRawResponse.headers.toJSON()
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, farmBeatsResourceName, body, options }, updateOperationSpec);
|
|
173
|
+
const poller = new core_lro_1.LroEngine(lro, {
|
|
174
|
+
resumeFrom: options?.resumeFrom,
|
|
175
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
176
|
+
lroResourceLocationConfig: "location"
|
|
177
|
+
});
|
|
178
|
+
await poller.poll();
|
|
179
|
+
return poller;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Update a FarmBeats resource.
|
|
183
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
184
|
+
* @param farmBeatsResourceName FarmBeats resource name.
|
|
185
|
+
* @param body Request object.
|
|
186
|
+
* @param options The options parameters.
|
|
187
|
+
*/
|
|
188
|
+
async beginUpdateAndWait(resourceGroupName, farmBeatsResourceName, body, options) {
|
|
189
|
+
const poller = await this.beginUpdate(resourceGroupName, farmBeatsResourceName, body, options);
|
|
190
|
+
return poller.pollUntilDone();
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Delete a FarmBeats resource.
|
|
194
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
195
|
+
* @param farmBeatsResourceName FarmBeats resource name.
|
|
196
|
+
* @param options The options parameters.
|
|
197
|
+
*/
|
|
198
|
+
delete(resourceGroupName, farmBeatsResourceName, options) {
|
|
199
|
+
return this.client.sendOperationRequest({ resourceGroupName, farmBeatsResourceName, options }, deleteOperationSpec);
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Lists the FarmBeats instances for a subscription.
|
|
203
|
+
* @param options The options parameters.
|
|
204
|
+
*/
|
|
205
|
+
_listBySubscription(options) {
|
|
206
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Lists the FarmBeats instances for a resource group.
|
|
210
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
211
|
+
* @param options The options parameters.
|
|
212
|
+
*/
|
|
213
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
214
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Get operationResults for a FarmBeats resource.
|
|
218
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
219
|
+
* @param farmBeatsResourceName FarmBeats resource name.
|
|
220
|
+
* @param operationResultsId The operation results id.
|
|
221
|
+
* @param options The options parameters.
|
|
222
|
+
*/
|
|
223
|
+
getOperationResult(resourceGroupName, farmBeatsResourceName, operationResultsId, options) {
|
|
224
|
+
return this.client.sendOperationRequest({ resourceGroupName, farmBeatsResourceName, operationResultsId, options }, getOperationResultOperationSpec);
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* ListBySubscriptionNext
|
|
228
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
229
|
+
* @param options The options parameters.
|
|
230
|
+
*/
|
|
231
|
+
_listBySubscriptionNext(nextLink, options) {
|
|
232
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* ListByResourceGroupNext
|
|
236
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
237
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
238
|
+
* @param options The options parameters.
|
|
239
|
+
*/
|
|
240
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
241
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
exports.FarmBeatsModelsImpl = FarmBeatsModelsImpl;
|
|
245
|
+
// Operation Specifications
|
|
246
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
247
|
+
const getOperationSpec = {
|
|
248
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}",
|
|
249
|
+
httpMethod: "GET",
|
|
250
|
+
responses: {
|
|
251
|
+
200: {
|
|
252
|
+
bodyMapper: Mappers.FarmBeats
|
|
253
|
+
},
|
|
254
|
+
default: {
|
|
255
|
+
bodyMapper: Mappers.ErrorResponse
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
queryParameters: [Parameters.apiVersion],
|
|
259
|
+
urlParameters: [
|
|
260
|
+
Parameters.$host,
|
|
261
|
+
Parameters.subscriptionId,
|
|
262
|
+
Parameters.resourceGroupName,
|
|
263
|
+
Parameters.farmBeatsResourceName
|
|
264
|
+
],
|
|
265
|
+
headerParameters: [Parameters.accept],
|
|
266
|
+
serializer
|
|
267
|
+
};
|
|
268
|
+
const createOrUpdateOperationSpec = {
|
|
269
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}",
|
|
270
|
+
httpMethod: "PUT",
|
|
271
|
+
responses: {
|
|
272
|
+
200: {
|
|
273
|
+
bodyMapper: Mappers.FarmBeats
|
|
274
|
+
},
|
|
275
|
+
201: {
|
|
276
|
+
bodyMapper: Mappers.FarmBeats
|
|
277
|
+
},
|
|
278
|
+
default: {
|
|
279
|
+
bodyMapper: Mappers.ErrorResponse
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
requestBody: Parameters.body,
|
|
283
|
+
queryParameters: [Parameters.apiVersion],
|
|
284
|
+
urlParameters: [
|
|
285
|
+
Parameters.$host,
|
|
286
|
+
Parameters.subscriptionId,
|
|
287
|
+
Parameters.resourceGroupName,
|
|
288
|
+
Parameters.farmBeatsResourceName
|
|
289
|
+
],
|
|
290
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
291
|
+
mediaType: "json",
|
|
292
|
+
serializer
|
|
293
|
+
};
|
|
294
|
+
const updateOperationSpec = {
|
|
295
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}",
|
|
296
|
+
httpMethod: "PATCH",
|
|
297
|
+
responses: {
|
|
298
|
+
200: {
|
|
299
|
+
bodyMapper: Mappers.FarmBeats
|
|
300
|
+
},
|
|
301
|
+
201: {
|
|
302
|
+
bodyMapper: Mappers.FarmBeats
|
|
303
|
+
},
|
|
304
|
+
202: {
|
|
305
|
+
bodyMapper: Mappers.FarmBeats
|
|
306
|
+
},
|
|
307
|
+
204: {
|
|
308
|
+
bodyMapper: Mappers.FarmBeats
|
|
309
|
+
},
|
|
310
|
+
default: {
|
|
311
|
+
bodyMapper: Mappers.ErrorResponse
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
requestBody: Parameters.body1,
|
|
315
|
+
queryParameters: [Parameters.apiVersion],
|
|
316
|
+
urlParameters: [
|
|
317
|
+
Parameters.$host,
|
|
318
|
+
Parameters.subscriptionId,
|
|
319
|
+
Parameters.resourceGroupName,
|
|
320
|
+
Parameters.farmBeatsResourceName
|
|
321
|
+
],
|
|
322
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
323
|
+
mediaType: "json",
|
|
324
|
+
serializer
|
|
325
|
+
};
|
|
326
|
+
const deleteOperationSpec = {
|
|
327
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}",
|
|
328
|
+
httpMethod: "DELETE",
|
|
329
|
+
responses: {
|
|
330
|
+
200: {},
|
|
331
|
+
204: {},
|
|
332
|
+
default: {
|
|
333
|
+
bodyMapper: Mappers.ErrorResponse
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
queryParameters: [Parameters.apiVersion],
|
|
337
|
+
urlParameters: [
|
|
338
|
+
Parameters.$host,
|
|
339
|
+
Parameters.subscriptionId,
|
|
340
|
+
Parameters.resourceGroupName,
|
|
341
|
+
Parameters.farmBeatsResourceName
|
|
342
|
+
],
|
|
343
|
+
headerParameters: [Parameters.accept],
|
|
344
|
+
serializer
|
|
345
|
+
};
|
|
346
|
+
const listBySubscriptionOperationSpec = {
|
|
347
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/farmBeats",
|
|
348
|
+
httpMethod: "GET",
|
|
349
|
+
responses: {
|
|
350
|
+
200: {
|
|
351
|
+
bodyMapper: Mappers.FarmBeatsListResponse
|
|
352
|
+
},
|
|
353
|
+
default: {
|
|
354
|
+
bodyMapper: Mappers.ErrorResponse
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
queryParameters: [
|
|
358
|
+
Parameters.apiVersion,
|
|
359
|
+
Parameters.maxPageSize,
|
|
360
|
+
Parameters.skipToken
|
|
361
|
+
],
|
|
362
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
363
|
+
headerParameters: [Parameters.accept],
|
|
364
|
+
serializer
|
|
365
|
+
};
|
|
366
|
+
const listByResourceGroupOperationSpec = {
|
|
367
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats",
|
|
368
|
+
httpMethod: "GET",
|
|
369
|
+
responses: {
|
|
370
|
+
200: {
|
|
371
|
+
bodyMapper: Mappers.FarmBeatsListResponse
|
|
372
|
+
},
|
|
373
|
+
default: {
|
|
374
|
+
bodyMapper: Mappers.ErrorResponse
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
queryParameters: [
|
|
378
|
+
Parameters.apiVersion,
|
|
379
|
+
Parameters.maxPageSize,
|
|
380
|
+
Parameters.skipToken
|
|
381
|
+
],
|
|
382
|
+
urlParameters: [
|
|
383
|
+
Parameters.$host,
|
|
384
|
+
Parameters.subscriptionId,
|
|
385
|
+
Parameters.resourceGroupName
|
|
386
|
+
],
|
|
387
|
+
headerParameters: [Parameters.accept],
|
|
388
|
+
serializer
|
|
389
|
+
};
|
|
390
|
+
const getOperationResultOperationSpec = {
|
|
391
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/operationResults/{operationResultsId}",
|
|
392
|
+
httpMethod: "GET",
|
|
393
|
+
responses: {
|
|
394
|
+
200: {
|
|
395
|
+
bodyMapper: Mappers.ArmAsyncOperation
|
|
396
|
+
},
|
|
397
|
+
default: {
|
|
398
|
+
bodyMapper: Mappers.ErrorResponse
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
queryParameters: [Parameters.apiVersion],
|
|
402
|
+
urlParameters: [
|
|
403
|
+
Parameters.$host,
|
|
404
|
+
Parameters.subscriptionId,
|
|
405
|
+
Parameters.resourceGroupName,
|
|
406
|
+
Parameters.farmBeatsResourceName,
|
|
407
|
+
Parameters.operationResultsId
|
|
408
|
+
],
|
|
409
|
+
headerParameters: [Parameters.accept],
|
|
410
|
+
serializer
|
|
411
|
+
};
|
|
412
|
+
const listBySubscriptionNextOperationSpec = {
|
|
413
|
+
path: "{nextLink}",
|
|
414
|
+
httpMethod: "GET",
|
|
415
|
+
responses: {
|
|
416
|
+
200: {
|
|
417
|
+
bodyMapper: Mappers.FarmBeatsListResponse
|
|
418
|
+
},
|
|
419
|
+
default: {
|
|
420
|
+
bodyMapper: Mappers.ErrorResponse
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
queryParameters: [
|
|
424
|
+
Parameters.apiVersion,
|
|
425
|
+
Parameters.maxPageSize,
|
|
426
|
+
Parameters.skipToken
|
|
427
|
+
],
|
|
428
|
+
urlParameters: [
|
|
429
|
+
Parameters.$host,
|
|
430
|
+
Parameters.subscriptionId,
|
|
431
|
+
Parameters.nextLink
|
|
432
|
+
],
|
|
433
|
+
headerParameters: [Parameters.accept],
|
|
434
|
+
serializer
|
|
435
|
+
};
|
|
436
|
+
const listByResourceGroupNextOperationSpec = {
|
|
437
|
+
path: "{nextLink}",
|
|
438
|
+
httpMethod: "GET",
|
|
439
|
+
responses: {
|
|
440
|
+
200: {
|
|
441
|
+
bodyMapper: Mappers.FarmBeatsListResponse
|
|
442
|
+
},
|
|
443
|
+
default: {
|
|
444
|
+
bodyMapper: Mappers.ErrorResponse
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
queryParameters: [
|
|
448
|
+
Parameters.apiVersion,
|
|
449
|
+
Parameters.maxPageSize,
|
|
450
|
+
Parameters.skipToken
|
|
451
|
+
],
|
|
452
|
+
urlParameters: [
|
|
453
|
+
Parameters.$host,
|
|
454
|
+
Parameters.subscriptionId,
|
|
455
|
+
Parameters.resourceGroupName,
|
|
456
|
+
Parameters.nextLink
|
|
457
|
+
],
|
|
458
|
+
headerParameters: [Parameters.accept],
|
|
459
|
+
serializer
|
|
460
|
+
};
|
|
461
|
+
//# sourceMappingURL=farmBeatsModels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"farmBeatsModels.js","sourceRoot":"","sources":["../../../src/operations/farmBeatsModels.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAA4E;AAC5E,8CAAwC;AAuBxC,4CAA4C;AAC5C,mDAAmD;AACnD,MAAa,mBAAmB;IACb,MAAM,CAAqB;IAE5C;;;OAGG;IACH,YAAY,MAA0B;QACpC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAAyD;QAEzD,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,4BAA4B,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC9D,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,4BAA4B,CACzC,OAAyD,EACzD,QAAuB;QAEvB,IAAI,MAAiD,CAAC;QACtD,IAAI,iBAAiB,GAAG,QAAQ,EAAE,iBAAiB,CAAC;QACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACvB,MAAM,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;YACjD,IAAI,IAAI,GAAG,MAAM,CAAC,KAAK,I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MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,SAAS;KACrB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { FarmBeatsModels } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AgriFoodMgmtClient } from \"../agriFoodMgmtClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n FarmBeats,\n FarmBeatsModelsListBySubscriptionNextOptionalParams,\n FarmBeatsModelsListBySubscriptionOptionalParams,\n FarmBeatsModelsListBySubscriptionResponse,\n FarmBeatsModelsListByResourceGroupNextOptionalParams,\n FarmBeatsModelsListByResourceGroupOptionalParams,\n FarmBeatsModelsListByResourceGroupResponse,\n FarmBeatsModelsGetOptionalParams,\n FarmBeatsModelsGetResponse,\n FarmBeatsModelsCreateOrUpdateOptionalParams,\n FarmBeatsModelsCreateOrUpdateResponse,\n FarmBeatsUpdateRequestModel,\n FarmBeatsModelsUpdateOptionalParams,\n FarmBeatsModelsUpdateResponse,\n FarmBeatsModelsDeleteOptionalParams,\n FarmBeatsModelsGetOperationResultOptionalParams,\n FarmBeatsModelsGetOperationResultResponse,\n FarmBeatsModelsListBySubscriptionNextResponse,\n FarmBeatsModelsListByResourceGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing FarmBeatsModels operations. */\nexport class FarmBeatsModelsImpl implements FarmBeatsModels {\n private readonly client: AgriFoodMgmtClient;\n\n /**\n * Initialize a new instance of the class FarmBeatsModels class.\n * @param client Reference to the service client\n */\n constructor(client: AgriFoodMgmtClient) {\n this.client = client;\n }\n\n /**\n * Lists the FarmBeats instances for a subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: FarmBeatsModelsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<FarmBeats> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: FarmBeatsModelsListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<FarmBeats[]> {\n let result: FarmBeatsModelsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: FarmBeatsModelsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<FarmBeats> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists the FarmBeats instances for a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: FarmBeatsModelsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<FarmBeats> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: FarmBeatsModelsListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<FarmBeats[]> {\n let result: FarmBeatsModelsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: FarmBeatsModelsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<FarmBeats> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Get FarmBeats resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param farmBeatsResourceName FarmBeats resource name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n farmBeatsResourceName: string,\n options?: FarmBeatsModelsGetOptionalParams\n ): Promise<FarmBeatsModelsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, farmBeatsResourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Create or update FarmBeats resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param farmBeatsResourceName FarmBeats resource name.\n * @param body FarmBeats resource create or update request object.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n farmBeatsResourceName: string,\n body: FarmBeats,\n options?: FarmBeatsModelsCreateOrUpdateOptionalParams\n ): Promise<FarmBeatsModelsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, farmBeatsResourceName, body, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Update a FarmBeats resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param farmBeatsResourceName FarmBeats resource name.\n * @param body Request object.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n farmBeatsResourceName: string,\n body: FarmBeatsUpdateRequestModel,\n options?: FarmBeatsModelsUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<FarmBeatsModelsUpdateResponse>,\n FarmBeatsModelsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<FarmBeatsModelsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, farmBeatsResourceName, body, options },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update a FarmBeats resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param farmBeatsResourceName FarmBeats resource name.\n * @param body Request object.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n farmBeatsResourceName: string,\n body: FarmBeatsUpdateRequestModel,\n options?: FarmBeatsModelsUpdateOptionalParams\n ): Promise<FarmBeatsModelsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n farmBeatsResourceName,\n body,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a FarmBeats resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param farmBeatsResourceName FarmBeats resource name.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n farmBeatsResourceName: string,\n options?: FarmBeatsModelsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, farmBeatsResourceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Lists the FarmBeats instances for a subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: FarmBeatsModelsListBySubscriptionOptionalParams\n ): Promise<FarmBeatsModelsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Lists the FarmBeats instances for a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: FarmBeatsModelsListByResourceGroupOptionalParams\n ): Promise<FarmBeatsModelsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Get operationResults for a FarmBeats resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param farmBeatsResourceName FarmBeats resource name.\n * @param operationResultsId The operation results id.\n * @param options The options parameters.\n */\n getOperationResult(\n resourceGroupName: string,\n farmBeatsResourceName: string,\n operationResultsId: string,\n options?: FarmBeatsModelsGetOperationResultOptionalParams\n ): Promise<FarmBeatsModelsGetOperationResultResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, farmBeatsResourceName, operationResultsId, options },\n getOperationResultOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: FarmBeatsModelsListBySubscriptionNextOptionalParams\n ): Promise<FarmBeatsModelsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: FarmBeatsModelsListByResourceGroupNextOptionalParams\n ): Promise<FarmBeatsModelsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FarmBeats\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.farmBeatsResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.FarmBeats\n },\n 201: {\n bodyMapper: Mappers.FarmBeats\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.farmBeatsResourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.FarmBeats\n },\n 201: {\n bodyMapper: Mappers.FarmBeats\n },\n 202: {\n bodyMapper: Mappers.FarmBeats\n },\n 204: {\n bodyMapper: Mappers.FarmBeats\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.farmBeatsResourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.farmBeatsResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/farmBeats\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FarmBeatsListResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.maxPageSize,\n Parameters.skipToken\n ],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FarmBeatsListResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.maxPageSize,\n Parameters.skipToken\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationResultOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/operationResults/{operationResultsId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ArmAsyncOperation\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.farmBeatsResourceName,\n Parameters.operationResultsId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FarmBeatsListResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.maxPageSize,\n Parameters.skipToken\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FarmBeatsListResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.maxPageSize,\n Parameters.skipToken\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./extensions.js";
|
|
2
|
+
export * from "./farmBeatsExtensions.js";
|
|
3
|
+
export * from "./farmBeatsModels.js";
|
|
4
|
+
export * from "./locations.js";
|
|
5
|
+
export * from "./operations.js";
|
|
6
|
+
export * from "./privateEndpointConnections.js";
|
|
7
|
+
export * from "./privateLinkResources.js";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
const tslib_1 = require("tslib");
|
|
11
|
+
tslib_1.__exportStar(require("./extensions.js"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./farmBeatsExtensions.js"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./farmBeatsModels.js"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./locations.js"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./operations.js"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./privateEndpointConnections.js"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./privateLinkResources.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,0DAAgC;AAChC,mEAAyC;AACzC,+DAAqC;AACrC,yDAA+B;AAC/B,0DAAgC;AAChC,0EAAgD;AAChD,oEAA0C","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./extensions.js\";\nexport * from \"./farmBeatsExtensions.js\";\nexport * from \"./farmBeatsModels.js\";\nexport * from \"./locations.js\";\nexport * from \"./operations.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./privateLinkResources.js\";\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Locations } from "../operationsInterfaces";
|
|
2
|
-
import { AgriFoodMgmtClient } from "../agriFoodMgmtClient";
|
|
3
|
-
import { CheckNameAvailabilityRequest, LocationsCheckNameAvailabilityOptionalParams, LocationsCheckNameAvailabilityResponse } from "../models";
|
|
1
|
+
import { Locations } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { AgriFoodMgmtClient } from "../agriFoodMgmtClient.js";
|
|
3
|
+
import { CheckNameAvailabilityRequest, LocationsCheckNameAvailabilityOptionalParams, LocationsCheckNameAvailabilityResponse } from "../models/index.js";
|
|
4
4
|
/** Class containing Locations operations. */
|
|
5
5
|
export declare class LocationsImpl implements Locations {
|
|
6
6
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locations.d.ts","sourceRoot":"","sources":["../../../src/operations/locations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAI7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EACL,4BAA4B,EAC5B,4CAA4C,EAC5C,sCAAsC,EACvC,MAAM,oBAAoB,CAAC;AAE5B,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAE5C;;;OAGG;gBACS,MAAM,EAAE,kBAAkB;IAItC;;;;OAIG;IACH,qBAAqB,CACnB,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;CAMnD"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.LocationsImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
14
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
|
+
/** Class containing Locations operations. */
|
|
16
|
+
class LocationsImpl {
|
|
17
|
+
client;
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class Locations class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Checks the name availability of the resource with requested resource name.
|
|
27
|
+
* @param body NameAvailabilityRequest object.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
checkNameAvailability(body, options) {
|
|
31
|
+
return this.client.sendOperationRequest({ body, options }, checkNameAvailabilityOperationSpec);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.LocationsImpl = LocationsImpl;
|
|
35
|
+
// Operation Specifications
|
|
36
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
37
|
+
const checkNameAvailabilityOperationSpec = {
|
|
38
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/checkNameAvailability",
|
|
39
|
+
httpMethod: "POST",
|
|
40
|
+
responses: {
|
|
41
|
+
200: {
|
|
42
|
+
bodyMapper: Mappers.CheckNameAvailabilityResponse
|
|
43
|
+
},
|
|
44
|
+
default: {
|
|
45
|
+
bodyMapper: Mappers.ErrorResponse
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
requestBody: Parameters.body2,
|
|
49
|
+
queryParameters: [Parameters.apiVersion],
|
|
50
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
51
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
52
|
+
mediaType: "json",
|
|
53
|
+
serializer
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=locations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locations.js","sourceRoot":"","sources":["../../../src/operations/locations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAQtD,6CAA6C;AAC7C,MAAa,aAAa;IACP,MAAM,CAAqB;IAE5C;;;OAGG;IACH,YAAY,MAA0B;QACpC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,qBAAqB,CACnB,IAAkC,EAClC,OAAsD;QAEtD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,IAAI,EAAE,OAAO,EAAE,EACjB,kCAAkC,CACnC,CAAC;IACJ,CAAC;CACF;AAzBD,sCAyBC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,kCAAkC,GAA6B;IACnE,IAAI,EACF,0FAA0F;IAC5F,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,KAAK;IAC7B,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { Locations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AgriFoodMgmtClient } from \"../agriFoodMgmtClient.js\";\nimport {\n CheckNameAvailabilityRequest,\n LocationsCheckNameAvailabilityOptionalParams,\n LocationsCheckNameAvailabilityResponse\n} from \"../models/index.js\";\n\n/** Class containing Locations operations. */\nexport class LocationsImpl implements Locations {\n private readonly client: AgriFoodMgmtClient;\n\n /**\n * Initialize a new instance of the class Locations class.\n * @param client Reference to the service client\n */\n constructor(client: AgriFoodMgmtClient) {\n this.client = client;\n }\n\n /**\n * Checks the name availability of the resource with requested resource name.\n * @param body NameAvailabilityRequest object.\n * @param options The options parameters.\n */\n checkNameAvailability(\n body: CheckNameAvailabilityRequest,\n options?: LocationsCheckNameAvailabilityOptionalParams\n ): Promise<LocationsCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { body, options },\n checkNameAvailabilityOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Operations } from "../operationsInterfaces";
|
|
3
|
-
import { AgriFoodMgmtClient } from "../agriFoodMgmtClient";
|
|
4
|
-
import { Operation, OperationsListOptionalParams } from "../models";
|
|
2
|
+
import { Operations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { AgriFoodMgmtClient } from "../agriFoodMgmtClient.js";
|
|
4
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing Operations operations. */
|
|
6
6
|
export declare class OperationsImpl implements Operations {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAE5C;;;OAGG;gBACS,MAAM,EAAE,kBAAkB;IAItC;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|