@azure/arm-agrifood 1.0.0-beta.4 → 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 +26 -10
- 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-esm/src → dist/commonjs}/models/index.d.ts +32 -32
- package/{dist-esm/src → dist/commonjs}/models/index.d.ts.map +1 -1
- 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 -41
- 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 -41
- 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 -116
- 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 -41
- 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 -70
- 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 -27
- 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 -78
- package/dist/index.js +0 -3099
- 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 -45
- 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 -43
- 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 -44
- 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 -43
- 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 -43
- 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 -45
- 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 -45
- 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/rollup.config.js +0 -122
- 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/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
package/CHANGELOG.md
CHANGED
|
@@ -1,23 +1,39 @@
|
|
|
1
1
|
# Release History
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
## 1.0.0-beta.6 (Unreleased)
|
|
4
|
+
|
|
5
|
+
### Features Added
|
|
6
|
+
|
|
7
|
+
### Breaking Changes
|
|
8
|
+
|
|
9
|
+
### Bugs Fixed
|
|
10
|
+
|
|
11
|
+
### Other Changes
|
|
12
|
+
|
|
13
|
+
## 1.0.0-beta.5 (2024-04-08)
|
|
14
|
+
|
|
15
|
+
### Bugs Fixed
|
|
16
|
+
|
|
17
|
+
- Release a beta version to fix latest tag issue
|
|
18
|
+
|
|
3
19
|
## 1.0.0-beta.4 (2022-11-14)
|
|
4
|
-
|
|
5
|
-
**Features**
|
|
6
20
|
|
|
7
|
-
|
|
8
|
-
|
|
21
|
+
### Features Added
|
|
22
|
+
|
|
23
|
+
- Bugs Fixed
|
|
24
|
+
|
|
9
25
|
## 1.0.0-beta.3 (2022-10-08)
|
|
10
26
|
|
|
11
|
-
|
|
27
|
+
### Bugs Fixed
|
|
12
28
|
|
|
13
|
-
|
|
29
|
+
- revert credential scopes
|
|
14
30
|
|
|
15
31
|
## 1.0.0-beta.2 (2022-09-30)
|
|
16
32
|
|
|
17
|
-
|
|
33
|
+
### Bugs Fixed
|
|
18
34
|
|
|
19
|
-
|
|
35
|
+
- fix better user experience of credential scopes in government cloud
|
|
20
36
|
|
|
21
37
|
## 1.0.0-beta.1 (2022-08-31)
|
|
22
38
|
|
|
23
|
-
The package of @azure/arm-agrifood is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js
|
|
39
|
+
The package of @azure/arm-agrifood is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
Copyright (c) Microsoft Corporation.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MIT License
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
|
|
|
12
12
|
The above copyright notice and this permission notice shall be included in all
|
|
13
13
|
copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
|
-
THE SOFTWARE IS PROVIDED
|
|
15
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ APIs documentation for Azure AgFoodPlatform Resource Provider Service.
|
|
|
6
6
|
|
|
7
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/agrifood/arm-agrifood) |
|
|
8
8
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-agrifood) |
|
|
9
|
-
[API reference documentation](https://
|
|
9
|
+
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-agrifood?view=azure-node-preview) |
|
|
10
10
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
11
11
|
|
|
12
12
|
## Getting started
|
|
@@ -46,26 +46,35 @@ npm install @azure/identity
|
|
|
46
46
|
You will also need to **register a new AAD application and grant access to Azure AgriFoodMgmt** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
|
|
47
47
|
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
|
|
48
48
|
|
|
49
|
-
For more information about how to create an Azure AD Application check out [this guide](https://
|
|
49
|
+
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
|
|
52
|
+
|
|
53
|
+
```ts snippet:CreateAgriFoodMgmtClient_Node
|
|
54
|
+
import { AgriFoodMgmtClient } from "@azure/arm-agrifood";
|
|
55
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
55
56
|
|
|
56
57
|
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
57
58
|
const client = new AgriFoodMgmtClient(new DefaultAzureCredential(), subscriptionId);
|
|
58
|
-
|
|
59
|
-
// For client-side applications running in the browser, use this code instead:
|
|
60
|
-
// const credential = new InteractiveBrowserCredential({
|
|
61
|
-
// tenantId: "<YOUR_TENANT_ID>",
|
|
62
|
-
// clientId: "<YOUR_CLIENT_ID>"
|
|
63
|
-
// });
|
|
64
|
-
// const client = new AgriFoodMgmtClient(credential, subscriptionId);
|
|
65
59
|
```
|
|
66
60
|
|
|
61
|
+
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
|
|
62
|
+
|
|
63
|
+
```ts snippet:CreateAgriFoodMgmtClient_Browser
|
|
64
|
+
import { InteractiveBrowserCredential } from "@azure/identity";
|
|
65
|
+
import { AgriFoodMgmtClient } from "@azure/arm-agrifood";
|
|
66
|
+
|
|
67
|
+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
68
|
+
const credential = new InteractiveBrowserCredential({
|
|
69
|
+
tenantId: "<YOUR_TENANT_ID>",
|
|
70
|
+
clientId: "<YOUR_CLIENT_ID>",
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
const client = new AgriFoodMgmtClient(credential, subscriptionId);
|
|
74
|
+
```
|
|
67
75
|
|
|
68
76
|
### JavaScript Bundle
|
|
77
|
+
|
|
69
78
|
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
|
|
70
79
|
|
|
71
80
|
## Key concepts
|
|
@@ -80,8 +89,9 @@ To use this client library in the browser, first you need to use a bundler. For
|
|
|
80
89
|
|
|
81
90
|
Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
|
|
82
91
|
|
|
83
|
-
```
|
|
84
|
-
|
|
92
|
+
```ts snippet:SetLogLevel
|
|
93
|
+
import { setLogLevel } from "@azure/logger";
|
|
94
|
+
|
|
85
95
|
setLogLevel("info");
|
|
86
96
|
```
|
|
87
97
|
|
|
@@ -99,9 +109,7 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
|
99
109
|
|
|
100
110
|
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
|
|
101
111
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
[azure_cli]: https://docs.microsoft.com/cli/azure
|
|
112
|
+
[azure_cli]: https://learn.microsoft.com/cli/azure
|
|
105
113
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
106
114
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
107
115
|
[azure_portal]: https://portal.azure.com
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { Extensions, FarmBeatsExtensions, FarmBeatsModels, Locations, Operations, PrivateEndpointConnections, PrivateLinkResources } from "./operationsInterfaces";
|
|
4
|
-
import { AgriFoodMgmtClientOptionalParams } from "./models";
|
|
3
|
+
import { Extensions, FarmBeatsExtensions, FarmBeatsModels, Locations, Operations, PrivateEndpointConnections, PrivateLinkResources } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { AgriFoodMgmtClientOptionalParams } from "./models/index.js";
|
|
5
5
|
export declare class AgriFoodMgmtClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
7
7
|
subscriptionId: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agriFoodMgmtClient.d.ts","sourceRoot":"","sources":["../../src/agriFoodMgmtClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAU7C,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,eAAe,EACf,SAAS,EACT,UAAU,EACV,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAC;AAErE,qBAAa,kBAAmB,SAAQ,UAAU,CAAC,aAAa;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,gCAAgC;IAkF5C,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,eAAe,EAAE,eAAe,CAAC;IACjC,SAAS,EAAE,SAAS,CAAC;IACrB,UAAU,EAAE,UAAU,CAAC;IACvB,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C"}
|
|
@@ -0,0 +1,123 @@
|
|
|
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.AgriFoodMgmtClient = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
+
const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
|
|
14
|
+
const index_js_1 = require("./operations/index.js");
|
|
15
|
+
class AgriFoodMgmtClient extends coreClient.ServiceClient {
|
|
16
|
+
$host;
|
|
17
|
+
subscriptionId;
|
|
18
|
+
apiVersion;
|
|
19
|
+
/**
|
|
20
|
+
* Initializes a new instance of the AgriFoodMgmtClient class.
|
|
21
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
22
|
+
* @param subscriptionId The ID of the target subscription.
|
|
23
|
+
* @param options The parameter options
|
|
24
|
+
*/
|
|
25
|
+
constructor(credentials, subscriptionId, options) {
|
|
26
|
+
if (credentials === undefined) {
|
|
27
|
+
throw new Error("'credentials' cannot be null");
|
|
28
|
+
}
|
|
29
|
+
if (subscriptionId === undefined) {
|
|
30
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
31
|
+
}
|
|
32
|
+
// Initializing default values for options
|
|
33
|
+
if (!options) {
|
|
34
|
+
options = {};
|
|
35
|
+
}
|
|
36
|
+
const defaults = {
|
|
37
|
+
requestContentType: "application/json; charset=utf-8",
|
|
38
|
+
credential: credentials
|
|
39
|
+
};
|
|
40
|
+
const packageDetails = `azsdk-js-arm-agrifood/1.0.0-beta.6`;
|
|
41
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
42
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
43
|
+
: `${packageDetails}`;
|
|
44
|
+
const optionsWithDefaults = {
|
|
45
|
+
...defaults,
|
|
46
|
+
...options,
|
|
47
|
+
userAgentOptions: {
|
|
48
|
+
userAgentPrefix
|
|
49
|
+
},
|
|
50
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
51
|
+
};
|
|
52
|
+
super(optionsWithDefaults);
|
|
53
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
54
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
55
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
56
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
57
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
58
|
+
}
|
|
59
|
+
if (!options ||
|
|
60
|
+
!options.pipeline ||
|
|
61
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
62
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
63
|
+
this.pipeline.removePolicy({
|
|
64
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
65
|
+
});
|
|
66
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
67
|
+
credential: credentials,
|
|
68
|
+
scopes: optionsWithDefaults.credentialScopes ??
|
|
69
|
+
`${optionsWithDefaults.endpoint}/.default`,
|
|
70
|
+
challengeCallbacks: {
|
|
71
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
72
|
+
}
|
|
73
|
+
}));
|
|
74
|
+
}
|
|
75
|
+
// Parameter assignments
|
|
76
|
+
this.subscriptionId = subscriptionId;
|
|
77
|
+
// Assigning values to Constant parameters
|
|
78
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
79
|
+
this.apiVersion = options.apiVersion || "2021-09-01-preview";
|
|
80
|
+
this.extensions = new index_js_1.ExtensionsImpl(this);
|
|
81
|
+
this.farmBeatsExtensions = new index_js_1.FarmBeatsExtensionsImpl(this);
|
|
82
|
+
this.farmBeatsModels = new index_js_1.FarmBeatsModelsImpl(this);
|
|
83
|
+
this.locations = new index_js_1.LocationsImpl(this);
|
|
84
|
+
this.operations = new index_js_1.OperationsImpl(this);
|
|
85
|
+
this.privateEndpointConnections = new index_js_1.PrivateEndpointConnectionsImpl(this);
|
|
86
|
+
this.privateLinkResources = new index_js_1.PrivateLinkResourcesImpl(this);
|
|
87
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
88
|
+
}
|
|
89
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
90
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
91
|
+
if (!apiVersion) {
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
const apiVersionPolicy = {
|
|
95
|
+
name: "CustomApiVersionPolicy",
|
|
96
|
+
async sendRequest(request, next) {
|
|
97
|
+
const param = request.url.split("?");
|
|
98
|
+
if (param.length > 1) {
|
|
99
|
+
const newParams = param[1].split("&").map((item) => {
|
|
100
|
+
if (item.indexOf("api-version") > -1) {
|
|
101
|
+
return "api-version=" + apiVersion;
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
return item;
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
108
|
+
}
|
|
109
|
+
return next(request);
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
113
|
+
}
|
|
114
|
+
extensions;
|
|
115
|
+
farmBeatsExtensions;
|
|
116
|
+
farmBeatsModels;
|
|
117
|
+
locations;
|
|
118
|
+
operations;
|
|
119
|
+
privateEndpointConnections;
|
|
120
|
+
privateLinkResources;
|
|
121
|
+
}
|
|
122
|
+
exports.AgriFoodMgmtClient = AgriFoodMgmtClient;
|
|
123
|
+
//# sourceMappingURL=agriFoodMgmtClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agriFoodMgmtClient.js","sourceRoot":"","sources":["../../src/agriFoodMgmtClient.ts"],"names":[],"mappings":"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","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ExtensionsImpl,\n FarmBeatsExtensionsImpl,\n FarmBeatsModelsImpl,\n LocationsImpl,\n OperationsImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl\n} from \"./operations/index.js\";\nimport {\n Extensions,\n FarmBeatsExtensions,\n FarmBeatsModels,\n Locations,\n Operations,\n PrivateEndpointConnections,\n PrivateLinkResources\n} from \"./operationsInterfaces/index.js\";\nimport { AgriFoodMgmtClientOptionalParams } from \"./models/index.js\";\n\nexport class AgriFoodMgmtClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the AgriFoodMgmtClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: AgriFoodMgmtClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: AgriFoodMgmtClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-agrifood/1.0.0-beta.6`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-09-01-preview\";\n this.extensions = new ExtensionsImpl(this);\n this.farmBeatsExtensions = new FarmBeatsExtensionsImpl(this);\n this.farmBeatsModels = new FarmBeatsModelsImpl(this);\n this.locations = new LocationsImpl(this);\n this.operations = new OperationsImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n extensions: Extensions;\n farmBeatsExtensions: FarmBeatsExtensions;\n farmBeatsModels: FarmBeatsModels;\n locations: Locations;\n operations: Operations;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,cAAc,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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.AgriFoodMgmtClient = exports.getContinuationToken = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
var pagingHelper_js_1 = require("./pagingHelper.js");
|
|
14
|
+
Object.defineProperty(exports, "getContinuationToken", { enumerable: true, get: function () { return pagingHelper_js_1.getContinuationToken; } });
|
|
15
|
+
tslib_1.__exportStar(require("./models/index.js"), exports);
|
|
16
|
+
var agriFoodMgmtClient_js_1 = require("./agriFoodMgmtClient.js");
|
|
17
|
+
Object.defineProperty(exports, "AgriFoodMgmtClient", { enumerable: true, get: function () { return agriFoodMgmtClient_js_1.AgriFoodMgmtClient; } });
|
|
18
|
+
tslib_1.__exportStar(require("./operationsInterfaces/index.js"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,4CAA4C;AAC5C,qDAAyD;AAAhD,uHAAA,oBAAoB,OAAA;AAC7B,4DAAkC;AAClC,iEAA6D;AAApD,2HAAA,kBAAkB,OAAA;AAC3B,0EAAgD","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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { AgriFoodMgmtClient } from \"./agriFoodMgmtClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.LroImpl = void 0;
|
|
11
|
+
class LroImpl {
|
|
12
|
+
sendOperationFn;
|
|
13
|
+
args;
|
|
14
|
+
spec;
|
|
15
|
+
requestPath;
|
|
16
|
+
requestMethod;
|
|
17
|
+
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
18
|
+
this.sendOperationFn = sendOperationFn;
|
|
19
|
+
this.args = args;
|
|
20
|
+
this.spec = spec;
|
|
21
|
+
this.requestPath = requestPath;
|
|
22
|
+
this.requestMethod = requestMethod;
|
|
23
|
+
}
|
|
24
|
+
async sendInitialRequest() {
|
|
25
|
+
return this.sendOperationFn(this.args, this.spec);
|
|
26
|
+
}
|
|
27
|
+
async sendPollRequest(path) {
|
|
28
|
+
const { requestBody, ...restSpec } = this.spec;
|
|
29
|
+
return this.sendOperationFn(this.args, {
|
|
30
|
+
...restSpec,
|
|
31
|
+
path,
|
|
32
|
+
httpMethod: "GET"
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.LroImpl = LroImpl;
|
|
37
|
+
//# sourceMappingURL=lroImpl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIH,MAAa,OAAO;IAER;IACA;IACA;IAKD;IACA;IATT,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACG,KAAK,CAAC,kBAAkB;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACM,KAAK,CAAC,eAAe,CAAC,IAAY;QACvC,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE;YACrC,GAAG,QAAQ;YACX,IAAI;YACJ,UAAU,EAAE,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;CACF;AAvBD,0BAuBC","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 { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n"]}
|
|
@@ -473,7 +473,7 @@ export declare enum KnownCreatedByType {
|
|
|
473
473
|
* **ManagedIdentity** \
|
|
474
474
|
* **Key**
|
|
475
475
|
*/
|
|
476
|
-
export
|
|
476
|
+
export type CreatedByType = string;
|
|
477
477
|
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
478
478
|
export declare enum KnownProvisioningState {
|
|
479
479
|
/** Creating */
|
|
@@ -498,7 +498,7 @@ export declare enum KnownProvisioningState {
|
|
|
498
498
|
* **Succeeded** \
|
|
499
499
|
* **Failed**
|
|
500
500
|
*/
|
|
501
|
-
export
|
|
501
|
+
export type ProvisioningState = string;
|
|
502
502
|
/** Known values of {@link PublicNetworkAccess} that the service accepts. */
|
|
503
503
|
export declare enum KnownPublicNetworkAccess {
|
|
504
504
|
/** Enabled */
|
|
@@ -514,7 +514,7 @@ export declare enum KnownPublicNetworkAccess {
|
|
|
514
514
|
* **Enabled** \
|
|
515
515
|
* **Hybrid**
|
|
516
516
|
*/
|
|
517
|
-
export
|
|
517
|
+
export type PublicNetworkAccess = string;
|
|
518
518
|
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
519
519
|
export declare enum KnownPrivateEndpointServiceConnectionStatus {
|
|
520
520
|
/** Pending */
|
|
@@ -533,7 +533,7 @@ export declare enum KnownPrivateEndpointServiceConnectionStatus {
|
|
|
533
533
|
* **Approved** \
|
|
534
534
|
* **Rejected**
|
|
535
535
|
*/
|
|
536
|
-
export
|
|
536
|
+
export type PrivateEndpointServiceConnectionStatus = string;
|
|
537
537
|
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
|
538
538
|
export declare enum KnownPrivateEndpointConnectionProvisioningState {
|
|
539
539
|
/** Succeeded */
|
|
@@ -555,7 +555,7 @@ export declare enum KnownPrivateEndpointConnectionProvisioningState {
|
|
|
555
555
|
* **Deleting** \
|
|
556
556
|
* **Failed**
|
|
557
557
|
*/
|
|
558
|
-
export
|
|
558
|
+
export type PrivateEndpointConnectionProvisioningState = string;
|
|
559
559
|
/** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */
|
|
560
560
|
export declare enum KnownCheckNameAvailabilityReason {
|
|
561
561
|
/** Invalid */
|
|
@@ -571,7 +571,7 @@ export declare enum KnownCheckNameAvailabilityReason {
|
|
|
571
571
|
* **Invalid** \
|
|
572
572
|
* **AlreadyExists**
|
|
573
573
|
*/
|
|
574
|
-
export
|
|
574
|
+
export type CheckNameAvailabilityReason = string;
|
|
575
575
|
/** Known values of {@link Origin} that the service accepts. */
|
|
576
576
|
export declare enum KnownOrigin {
|
|
577
577
|
/** User */
|
|
@@ -590,7 +590,7 @@ export declare enum KnownOrigin {
|
|
|
590
590
|
* **system** \
|
|
591
591
|
* **user,system**
|
|
592
592
|
*/
|
|
593
|
-
export
|
|
593
|
+
export type Origin = string;
|
|
594
594
|
/** Known values of {@link ActionType} that the service accepts. */
|
|
595
595
|
export declare enum KnownActionType {
|
|
596
596
|
/** Internal */
|
|
@@ -603,22 +603,22 @@ export declare enum KnownActionType {
|
|
|
603
603
|
* ### Known values supported by the service
|
|
604
604
|
* **Internal**
|
|
605
605
|
*/
|
|
606
|
-
export
|
|
606
|
+
export type ActionType = string;
|
|
607
607
|
/** Optional parameters. */
|
|
608
608
|
export interface ExtensionsCreateOptionalParams extends coreClient.OperationOptions {
|
|
609
609
|
}
|
|
610
610
|
/** Contains response data for the create operation. */
|
|
611
|
-
export
|
|
611
|
+
export type ExtensionsCreateResponse = Extension;
|
|
612
612
|
/** Optional parameters. */
|
|
613
613
|
export interface ExtensionsGetOptionalParams extends coreClient.OperationOptions {
|
|
614
614
|
}
|
|
615
615
|
/** Contains response data for the get operation. */
|
|
616
|
-
export
|
|
616
|
+
export type ExtensionsGetResponse = Extension;
|
|
617
617
|
/** Optional parameters. */
|
|
618
618
|
export interface ExtensionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
619
619
|
}
|
|
620
620
|
/** Contains response data for the update operation. */
|
|
621
|
-
export
|
|
621
|
+
export type ExtensionsUpdateResponse = Extension;
|
|
622
622
|
/** Optional parameters. */
|
|
623
623
|
export interface ExtensionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
624
624
|
}
|
|
@@ -637,7 +637,7 @@ export interface ExtensionsListByFarmBeatsOptionalParams extends coreClient.Oper
|
|
|
637
637
|
skipToken?: string;
|
|
638
638
|
}
|
|
639
639
|
/** Contains response data for the listByFarmBeats operation. */
|
|
640
|
-
export
|
|
640
|
+
export type ExtensionsListByFarmBeatsResponse = ExtensionListResponse;
|
|
641
641
|
/** Optional parameters. */
|
|
642
642
|
export interface ExtensionsListByFarmBeatsNextOptionalParams extends coreClient.OperationOptions {
|
|
643
643
|
/** Installed extension ids. */
|
|
@@ -653,7 +653,7 @@ export interface ExtensionsListByFarmBeatsNextOptionalParams extends coreClient.
|
|
|
653
653
|
skipToken?: string;
|
|
654
654
|
}
|
|
655
655
|
/** Contains response data for the listByFarmBeatsNext operation. */
|
|
656
|
-
export
|
|
656
|
+
export type ExtensionsListByFarmBeatsNextResponse = ExtensionListResponse;
|
|
657
657
|
/** Optional parameters. */
|
|
658
658
|
export interface FarmBeatsExtensionsListOptionalParams extends coreClient.OperationOptions {
|
|
659
659
|
/** Extension categories. */
|
|
@@ -671,12 +671,12 @@ export interface FarmBeatsExtensionsListOptionalParams extends coreClient.Operat
|
|
|
671
671
|
publisherIds?: string[];
|
|
672
672
|
}
|
|
673
673
|
/** Contains response data for the list operation. */
|
|
674
|
-
export
|
|
674
|
+
export type FarmBeatsExtensionsListResponse = FarmBeatsExtensionListResponse;
|
|
675
675
|
/** Optional parameters. */
|
|
676
676
|
export interface FarmBeatsExtensionsGetOptionalParams extends coreClient.OperationOptions {
|
|
677
677
|
}
|
|
678
678
|
/** Contains response data for the get operation. */
|
|
679
|
-
export
|
|
679
|
+
export type FarmBeatsExtensionsGetResponse = FarmBeatsExtension;
|
|
680
680
|
/** Optional parameters. */
|
|
681
681
|
export interface FarmBeatsExtensionsListNextOptionalParams extends coreClient.OperationOptions {
|
|
682
682
|
/** Extension categories. */
|
|
@@ -694,17 +694,17 @@ export interface FarmBeatsExtensionsListNextOptionalParams extends coreClient.Op
|
|
|
694
694
|
publisherIds?: string[];
|
|
695
695
|
}
|
|
696
696
|
/** Contains response data for the listNext operation. */
|
|
697
|
-
export
|
|
697
|
+
export type FarmBeatsExtensionsListNextResponse = FarmBeatsExtensionListResponse;
|
|
698
698
|
/** Optional parameters. */
|
|
699
699
|
export interface FarmBeatsModelsGetOptionalParams extends coreClient.OperationOptions {
|
|
700
700
|
}
|
|
701
701
|
/** Contains response data for the get operation. */
|
|
702
|
-
export
|
|
702
|
+
export type FarmBeatsModelsGetResponse = FarmBeats;
|
|
703
703
|
/** Optional parameters. */
|
|
704
704
|
export interface FarmBeatsModelsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
705
705
|
}
|
|
706
706
|
/** Contains response data for the createOrUpdate operation. */
|
|
707
|
-
export
|
|
707
|
+
export type FarmBeatsModelsCreateOrUpdateResponse = FarmBeats;
|
|
708
708
|
/** Optional parameters. */
|
|
709
709
|
export interface FarmBeatsModelsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
710
710
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -713,7 +713,7 @@ export interface FarmBeatsModelsUpdateOptionalParams extends coreClient.Operatio
|
|
|
713
713
|
resumeFrom?: string;
|
|
714
714
|
}
|
|
715
715
|
/** Contains response data for the update operation. */
|
|
716
|
-
export
|
|
716
|
+
export type FarmBeatsModelsUpdateResponse = FarmBeats;
|
|
717
717
|
/** Optional parameters. */
|
|
718
718
|
export interface FarmBeatsModelsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
719
719
|
}
|
|
@@ -728,7 +728,7 @@ export interface FarmBeatsModelsListBySubscriptionOptionalParams extends coreCli
|
|
|
728
728
|
skipToken?: string;
|
|
729
729
|
}
|
|
730
730
|
/** Contains response data for the listBySubscription operation. */
|
|
731
|
-
export
|
|
731
|
+
export type FarmBeatsModelsListBySubscriptionResponse = FarmBeatsListResponse;
|
|
732
732
|
/** Optional parameters. */
|
|
733
733
|
export interface FarmBeatsModelsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
734
734
|
/**
|
|
@@ -740,12 +740,12 @@ export interface FarmBeatsModelsListByResourceGroupOptionalParams extends coreCl
|
|
|
740
740
|
skipToken?: string;
|
|
741
741
|
}
|
|
742
742
|
/** Contains response data for the listByResourceGroup operation. */
|
|
743
|
-
export
|
|
743
|
+
export type FarmBeatsModelsListByResourceGroupResponse = FarmBeatsListResponse;
|
|
744
744
|
/** Optional parameters. */
|
|
745
745
|
export interface FarmBeatsModelsGetOperationResultOptionalParams extends coreClient.OperationOptions {
|
|
746
746
|
}
|
|
747
747
|
/** Contains response data for the getOperationResult operation. */
|
|
748
|
-
export
|
|
748
|
+
export type FarmBeatsModelsGetOperationResultResponse = ArmAsyncOperation;
|
|
749
749
|
/** Optional parameters. */
|
|
750
750
|
export interface FarmBeatsModelsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
751
751
|
/**
|
|
@@ -757,7 +757,7 @@ export interface FarmBeatsModelsListBySubscriptionNextOptionalParams extends cor
|
|
|
757
757
|
skipToken?: string;
|
|
758
758
|
}
|
|
759
759
|
/** Contains response data for the listBySubscriptionNext operation. */
|
|
760
|
-
export
|
|
760
|
+
export type FarmBeatsModelsListBySubscriptionNextResponse = FarmBeatsListResponse;
|
|
761
761
|
/** Optional parameters. */
|
|
762
762
|
export interface FarmBeatsModelsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
763
763
|
/**
|
|
@@ -769,32 +769,32 @@ export interface FarmBeatsModelsListByResourceGroupNextOptionalParams extends co
|
|
|
769
769
|
skipToken?: string;
|
|
770
770
|
}
|
|
771
771
|
/** Contains response data for the listByResourceGroupNext operation. */
|
|
772
|
-
export
|
|
772
|
+
export type FarmBeatsModelsListByResourceGroupNextResponse = FarmBeatsListResponse;
|
|
773
773
|
/** Optional parameters. */
|
|
774
774
|
export interface LocationsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
775
775
|
}
|
|
776
776
|
/** Contains response data for the checkNameAvailability operation. */
|
|
777
|
-
export
|
|
777
|
+
export type LocationsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
|
|
778
778
|
/** Optional parameters. */
|
|
779
779
|
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
780
780
|
}
|
|
781
781
|
/** Contains response data for the list operation. */
|
|
782
|
-
export
|
|
782
|
+
export type OperationsListResponse = OperationListResult;
|
|
783
783
|
/** Optional parameters. */
|
|
784
784
|
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
785
785
|
}
|
|
786
786
|
/** Contains response data for the listNext operation. */
|
|
787
|
-
export
|
|
787
|
+
export type OperationsListNextResponse = OperationListResult;
|
|
788
788
|
/** Optional parameters. */
|
|
789
789
|
export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
790
790
|
}
|
|
791
791
|
/** Contains response data for the createOrUpdate operation. */
|
|
792
|
-
export
|
|
792
|
+
export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
|
|
793
793
|
/** Optional parameters. */
|
|
794
794
|
export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
|
|
795
795
|
}
|
|
796
796
|
/** Contains response data for the get operation. */
|
|
797
|
-
export
|
|
797
|
+
export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
|
|
798
798
|
/** Optional parameters. */
|
|
799
799
|
export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
800
800
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -806,17 +806,17 @@ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClie
|
|
|
806
806
|
export interface PrivateEndpointConnectionsListByResourceOptionalParams extends coreClient.OperationOptions {
|
|
807
807
|
}
|
|
808
808
|
/** Contains response data for the listByResource operation. */
|
|
809
|
-
export
|
|
809
|
+
export type PrivateEndpointConnectionsListByResourceResponse = PrivateEndpointConnectionListResult;
|
|
810
810
|
/** Optional parameters. */
|
|
811
811
|
export interface PrivateLinkResourcesListByResourceOptionalParams extends coreClient.OperationOptions {
|
|
812
812
|
}
|
|
813
813
|
/** Contains response data for the listByResource operation. */
|
|
814
|
-
export
|
|
814
|
+
export type PrivateLinkResourcesListByResourceResponse = PrivateLinkResourceListResult;
|
|
815
815
|
/** Optional parameters. */
|
|
816
816
|
export interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions {
|
|
817
817
|
}
|
|
818
818
|
/** Contains response data for the get operation. */
|
|
819
|
-
export
|
|
819
|
+
export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
|
|
820
820
|
/** Optional parameters. */
|
|
821
821
|
export interface AgriFoodMgmtClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
822
822
|
/** server parameter */
|