@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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
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
|
+
|
|
3
13
|
## 1.0.0-beta.5 (2024-04-08)
|
|
4
14
|
|
|
5
15
|
### Bugs Fixed
|
|
@@ -8,19 +18,19 @@
|
|
|
8
18
|
|
|
9
19
|
## 1.0.0-beta.4 (2022-11-14)
|
|
10
20
|
|
|
11
|
-
|
|
21
|
+
### Features Added
|
|
12
22
|
|
|
13
23
|
- Bugs Fixed
|
|
14
24
|
|
|
15
25
|
## 1.0.0-beta.3 (2022-10-08)
|
|
16
26
|
|
|
17
|
-
|
|
27
|
+
### Bugs Fixed
|
|
18
28
|
|
|
19
29
|
- revert credential scopes
|
|
20
30
|
|
|
21
31
|
## 1.0.0-beta.2 (2022-09-30)
|
|
22
32
|
|
|
23
|
-
|
|
33
|
+
### Bugs Fixed
|
|
24
34
|
|
|
25
35
|
- fix better user experience of credential scopes in government cloud
|
|
26
36
|
|
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":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAQ+B;AAY/B,MAAa,kBAAmB,SAAQ,UAAU,CAAC,aAAa;IAC9D,KAAK,CAAS;IACd,cAAc,CAAS;IACvB,UAAU,CAAS;IAEnB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA0C;QAE1C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAqC;YACjD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,oCAAoC,CAAC;QAC5D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,GAAG;YAC1B,GAAG,QAAQ;YACX,GAAG,OAAO;YACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB;YACD,QAAQ,EACN,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,OAAO,IAAI,8BAA8B;SACxE,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAE3B,IAAI,oCAAoC,GAAY,KAAK,CAAC;QAC1D,IAAI,OAAO,EAAE,QAAQ,IAAI,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC1E,MAAM,gBAAgB,GAAsC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC;YAClG,oCAAoC,GAAG,gBAAgB,CAAC,IAAI,CAC1D,CAAC,cAAc,EAAE,EAAE,CACjB,cAAc,CAAC,IAAI;gBACnB,gBAAgB,CAAC,mCAAmC,CACvD,CAAC;QACJ,CAAC;QACD,IACE,CAAC,OAAO;YACR,CAAC,OAAO,CAAC,QAAQ;YACjB,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,IAAI,CAAC;YACjD,CAAC,oCAAoC,EACrC,CAAC;YACD,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC;gBACzB,IAAI,EAAE,gBAAgB,CAAC,mCAAmC;aAC3D,CAAC,CAAC;YACH,IAAI,CAAC,QAAQ,CAAC,SAAS,CACrB,gBAAgB,CAAC,+BAA+B,CAAC;gBAC/C,UAAU,EAAE,WAAW;gBACvB,MAAM,EACJ,mBAAmB,CAAC,gBAAgB;oBACpC,GAAG,mBAAmB,CAAC,QAAQ,WAAW;gBAC5C,kBAAkB,EAAE;oBAClB,2BAA2B,EACzB,UAAU,CAAC,gCAAgC;iBAC9C;aACF,CAAC,CACH,CAAC;QACJ,CAAC;QACD,wBAAwB;QACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,0CAA0C;QAC1C,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,oBAAoB,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,IAAI,yBAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,mBAAmB,GAAG,IAAI,kCAAuB,CAAC,IAAI,CAAC,CAAC;QAC7D,IAAI,CAAC,eAAe,GAAG,IAAI,8BAAmB,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,SAAS,GAAG,IAAI,wBAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,UAAU,GAAG,IAAI,yBAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,0BAA0B,GAAG,IAAI,yCAA8B,CAAC,IAAI,CAAC,CAAC;QAC3E,IAAI,CAAC,oBAAoB,GAAG,IAAI,mCAAwB,CAAC,IAAI,CAAC,CAAC;QAC/D,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,UAAU,CAAa;IACvB,mBAAmB,CAAsB;IACzC,eAAe,CAAkB;IACjC,SAAS,CAAY;IACrB,UAAU,CAAa;IACvB,0BAA0B,CAA6B;IACvD,oBAAoB,CAAuB;CAC5C;AAnID,gDAmIC","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"]}
|
|
@@ -0,0 +1,91 @@
|
|
|
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.KnownActionType = exports.KnownOrigin = exports.KnownCheckNameAvailabilityReason = exports.KnownPrivateEndpointConnectionProvisioningState = exports.KnownPrivateEndpointServiceConnectionStatus = exports.KnownPublicNetworkAccess = exports.KnownProvisioningState = exports.KnownCreatedByType = void 0;
|
|
11
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
12
|
+
var KnownCreatedByType;
|
|
13
|
+
(function (KnownCreatedByType) {
|
|
14
|
+
/** User */
|
|
15
|
+
KnownCreatedByType["User"] = "User";
|
|
16
|
+
/** Application */
|
|
17
|
+
KnownCreatedByType["Application"] = "Application";
|
|
18
|
+
/** ManagedIdentity */
|
|
19
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
20
|
+
/** Key */
|
|
21
|
+
KnownCreatedByType["Key"] = "Key";
|
|
22
|
+
})(KnownCreatedByType || (exports.KnownCreatedByType = KnownCreatedByType = {}));
|
|
23
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
24
|
+
var KnownProvisioningState;
|
|
25
|
+
(function (KnownProvisioningState) {
|
|
26
|
+
/** Creating */
|
|
27
|
+
KnownProvisioningState["Creating"] = "Creating";
|
|
28
|
+
/** Updating */
|
|
29
|
+
KnownProvisioningState["Updating"] = "Updating";
|
|
30
|
+
/** Deleting */
|
|
31
|
+
KnownProvisioningState["Deleting"] = "Deleting";
|
|
32
|
+
/** Succeeded */
|
|
33
|
+
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
34
|
+
/** Failed */
|
|
35
|
+
KnownProvisioningState["Failed"] = "Failed";
|
|
36
|
+
})(KnownProvisioningState || (exports.KnownProvisioningState = KnownProvisioningState = {}));
|
|
37
|
+
/** Known values of {@link PublicNetworkAccess} that the service accepts. */
|
|
38
|
+
var KnownPublicNetworkAccess;
|
|
39
|
+
(function (KnownPublicNetworkAccess) {
|
|
40
|
+
/** Enabled */
|
|
41
|
+
KnownPublicNetworkAccess["Enabled"] = "Enabled";
|
|
42
|
+
/** Hybrid */
|
|
43
|
+
KnownPublicNetworkAccess["Hybrid"] = "Hybrid";
|
|
44
|
+
})(KnownPublicNetworkAccess || (exports.KnownPublicNetworkAccess = KnownPublicNetworkAccess = {}));
|
|
45
|
+
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
46
|
+
var KnownPrivateEndpointServiceConnectionStatus;
|
|
47
|
+
(function (KnownPrivateEndpointServiceConnectionStatus) {
|
|
48
|
+
/** Pending */
|
|
49
|
+
KnownPrivateEndpointServiceConnectionStatus["Pending"] = "Pending";
|
|
50
|
+
/** Approved */
|
|
51
|
+
KnownPrivateEndpointServiceConnectionStatus["Approved"] = "Approved";
|
|
52
|
+
/** Rejected */
|
|
53
|
+
KnownPrivateEndpointServiceConnectionStatus["Rejected"] = "Rejected";
|
|
54
|
+
})(KnownPrivateEndpointServiceConnectionStatus || (exports.KnownPrivateEndpointServiceConnectionStatus = KnownPrivateEndpointServiceConnectionStatus = {}));
|
|
55
|
+
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
|
56
|
+
var KnownPrivateEndpointConnectionProvisioningState;
|
|
57
|
+
(function (KnownPrivateEndpointConnectionProvisioningState) {
|
|
58
|
+
/** Succeeded */
|
|
59
|
+
KnownPrivateEndpointConnectionProvisioningState["Succeeded"] = "Succeeded";
|
|
60
|
+
/** Creating */
|
|
61
|
+
KnownPrivateEndpointConnectionProvisioningState["Creating"] = "Creating";
|
|
62
|
+
/** Deleting */
|
|
63
|
+
KnownPrivateEndpointConnectionProvisioningState["Deleting"] = "Deleting";
|
|
64
|
+
/** Failed */
|
|
65
|
+
KnownPrivateEndpointConnectionProvisioningState["Failed"] = "Failed";
|
|
66
|
+
})(KnownPrivateEndpointConnectionProvisioningState || (exports.KnownPrivateEndpointConnectionProvisioningState = KnownPrivateEndpointConnectionProvisioningState = {}));
|
|
67
|
+
/** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */
|
|
68
|
+
var KnownCheckNameAvailabilityReason;
|
|
69
|
+
(function (KnownCheckNameAvailabilityReason) {
|
|
70
|
+
/** Invalid */
|
|
71
|
+
KnownCheckNameAvailabilityReason["Invalid"] = "Invalid";
|
|
72
|
+
/** AlreadyExists */
|
|
73
|
+
KnownCheckNameAvailabilityReason["AlreadyExists"] = "AlreadyExists";
|
|
74
|
+
})(KnownCheckNameAvailabilityReason || (exports.KnownCheckNameAvailabilityReason = KnownCheckNameAvailabilityReason = {}));
|
|
75
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
76
|
+
var KnownOrigin;
|
|
77
|
+
(function (KnownOrigin) {
|
|
78
|
+
/** User */
|
|
79
|
+
KnownOrigin["User"] = "user";
|
|
80
|
+
/** System */
|
|
81
|
+
KnownOrigin["System"] = "system";
|
|
82
|
+
/** UserSystem */
|
|
83
|
+
KnownOrigin["UserSystem"] = "user,system";
|
|
84
|
+
})(KnownOrigin || (exports.KnownOrigin = KnownOrigin = {}));
|
|
85
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
86
|
+
var KnownActionType;
|
|
87
|
+
(function (KnownActionType) {
|
|
88
|
+
/** Internal */
|
|
89
|
+
KnownActionType["Internal"] = "Internal";
|
|
90
|
+
})(KnownActionType || (exports.KnownActionType = KnownActionType = {}));
|
|
91
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAqeH,sEAAsE;AACtE,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,kCAAlB,kBAAkB,QAS7B;AAcD,0EAA0E;AAC1E,IAAY,sBAWX;AAXD,WAAY,sBAAsB;IAChC,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;IACrB,gBAAgB;IAChB,iDAAuB,CAAA;IACvB,aAAa;IACb,2CAAiB,CAAA;AACnB,CAAC,EAXW,sBAAsB,sCAAtB,sBAAsB,QAWjC;AAeD,4EAA4E;AAC5E,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAClC,cAAc;IACd,+CAAmB,CAAA;IACnB,aAAa;IACb,6CAAiB,CAAA;AACnB,CAAC,EALW,wBAAwB,wCAAxB,wBAAwB,QAKnC;AAYD,+FAA+F;AAC/F,IAAY,2CAOX;AAPD,WAAY,2CAA2C;IACrD,cAAc;IACd,kEAAmB,CAAA;IACnB,eAAe;IACf,oEAAqB,CAAA;IACrB,eAAe;IACf,oEAAqB,CAAA;AACvB,CAAC,EAPW,2CAA2C,2DAA3C,2CAA2C,QAOtD;AAaD,mGAAmG;AACnG,IAAY,+CASX;AATD,WAAY,+CAA+C;IACzD,gBAAgB;IAChB,0EAAuB,CAAA;IACvB,eAAe;IACf,wEAAqB,CAAA;IACrB,eAAe;IACf,wEAAqB,CAAA;IACrB,aAAa;IACb,oEAAiB,CAAA;AACnB,CAAC,EATW,+CAA+C,+DAA/C,+CAA+C,QAS1D;AAcD,oFAAoF;AACpF,IAAY,gCAKX;AALD,WAAY,gCAAgC;IAC1C,cAAc;IACd,uDAAmB,CAAA;IACnB,oBAAoB;IACpB,mEAA+B,CAAA;AACjC,CAAC,EALW,gCAAgC,gDAAhC,gCAAgC,QAK3C;AAYD,+DAA+D;AAC/D,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,WAAW;IACX,4BAAa,CAAA;IACb,aAAa;IACb,gCAAiB,CAAA;IACjB,iBAAiB;IACjB,yCAA0B,CAAA;AAC5B,CAAC,EAPW,WAAW,2BAAX,WAAW,QAOtB;AAaD,mEAAmE;AACnE,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,eAAe;IACf,wCAAqB,CAAA;AACvB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B","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\";\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * Azure Resource Manager metadata containing createdBy and modifiedBy information.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** Paged response contains list of requested objects and a URL link to get the next set of results. */\nexport interface ExtensionListResponse {\n /** List of requested objects. */\n value?: Extension[];\n /**\n * Continuation link (absolute URI) to the next page of results in the list.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Paged response contains list of requested objects and a URL link to get the next set of results. */\nexport interface FarmBeatsExtensionListResponse {\n /** List of requested objects. */\n value?: FarmBeatsExtension[];\n /**\n * Continuation link (absolute URI) to the next page of results in the list.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Model to capture detailed information for farmBeatsExtensions. */\nexport interface DetailedInformation {\n /** ApiName available for the farmBeatsExtension. */\n apiName?: string;\n /** List of customParameters. */\n customParameters?: string[];\n /** List of platformParameters. */\n platformParameters?: string[];\n /** Unit systems info for the data provider. */\n unitsSupported?: UnitSystemsInfo;\n /** List of apiInputParameters. */\n apiInputParameters?: string[];\n}\n\n/** Unit systems info for the data provider. */\nexport interface UnitSystemsInfo {\n /** UnitSystem key sent as part of ProviderInput. */\n key: string;\n /** List of unit systems supported by this data provider. */\n values: string[];\n}\n\n/** Identity for the resource. */\nexport interface Identity {\n /**\n * The principal ID of resource identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The tenant ID of resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /** The identity type. */\n type?: \"SystemAssigned\";\n}\n\n/** Sensor integration request model. */\nexport interface SensorIntegration {\n /** Sensor integration enable state. Allowed values are True, None */\n enabled?: string;\n /**\n * Sensor integration instance provisioning state.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: ProvisioningState;\n /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\n provisioningInfo?: ErrorResponse;\n}\n\n/** The Private Endpoint resource. */\nexport interface PrivateEndpoint {\n /**\n * The ARM identifier for Private Endpoint\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n}\n\n/** A collection of information about the state of the connection between service consumer and provider. */\nexport interface PrivateLinkServiceConnectionState {\n /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */\n status?: PrivateEndpointServiceConnectionStatus;\n /** The reason for approval/rejection of the connection. */\n description?: string;\n /** A message indicating if changes on the service provider require any updates on the consumer. */\n actionsRequired?: string;\n}\n\n/** FarmBeats update request. */\nexport interface FarmBeatsUpdateRequestModel {\n /** Geo-location where the resource lives. */\n location?: string;\n /** Identity for the resource. */\n identity?: Identity;\n /** FarmBeats ARM Resource properties. */\n properties?: FarmBeatsUpdateProperties;\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n}\n\n/** FarmBeats ARM Resource properties. */\nexport interface FarmBeatsUpdateProperties {\n /** Sensor integration request model. */\n sensorIntegration?: SensorIntegration;\n /** Property to allow or block public traffic for an Azure FarmBeats resource. */\n publicNetworkAccess?: PublicNetworkAccess;\n}\n\n/** Paged response contains list of requested objects and a URL link to get the next set of results. */\nexport interface FarmBeatsListResponse {\n /** List of requested objects. */\n value?: FarmBeats[];\n /**\n * Continuation link (absolute URI) to the next page of results in the list.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/**\n * Arm async operation class.\n * Ref: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/async-operations.\n */\nexport interface ArmAsyncOperation {\n /** Status of the async operation. */\n status?: string;\n}\n\n/** The check availability request body. */\nexport interface CheckNameAvailabilityRequest {\n /** The name of the resource for which availability needs to be checked. */\n name?: string;\n /** The resource type. */\n type?: string;\n}\n\n/** The check availability result. */\nexport interface CheckNameAvailabilityResponse {\n /** Indicates if the resource name is available. */\n nameAvailable?: boolean;\n /** The reason why the given name is not available. */\n reason?: CheckNameAvailabilityReason;\n /** Detailed reason why the given name is available. */\n message?: string;\n}\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface OperationListResult {\n /**\n * List of operations supported by the resource provider\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Operation[];\n /**\n * URL to get the next set of operation list results (if there are any).\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /**\n * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly origin?: Origin;\n /**\n * Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly actionType?: ActionType;\n}\n\n/** Localized display information for this particular operation. */\nexport interface OperationDisplay {\n /**\n * The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provider?: string;\n /**\n * The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly resource?: string;\n /**\n * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly operation?: string;\n /**\n * The short, localized friendly description of the operation; suitable for tool tips and detailed views.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly description?: string;\n}\n\n/** List of private endpoint connection associated with the specified storage account */\nexport interface PrivateEndpointConnectionListResult {\n /** Array of private endpoint connections */\n value?: PrivateEndpointConnection[];\n}\n\n/** A list of private link resources */\nexport interface PrivateLinkResourceListResult {\n /** Array of private link resources */\n value?: PrivateLinkResource[];\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\n/** The Private Endpoint Connection resource. */\nexport interface PrivateEndpointConnection extends Resource {\n /** The resource of private end point. */\n privateEndpoint?: PrivateEndpoint;\n /** A collection of information about the state of the connection between service consumer and provider. */\n privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;\n /**\n * The provisioning state of the private endpoint connection resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: PrivateEndpointConnectionProvisioningState;\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** The geo-location where the resource lives */\n location: string;\n}\n\n/** A private link resource */\nexport interface PrivateLinkResource extends Resource {\n /**\n * The private link resource group id.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly groupId?: string;\n /**\n * The private link resource required member names.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly requiredMembers?: string[];\n /** The private link resource Private link DNS zone name. */\n requiredZoneNames?: string[];\n}\n\n/** Extension resource. */\nexport interface Extension extends ProxyResource {\n /**\n * The ETag value to implement optimistic concurrency.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly eTag?: string;\n /**\n * Extension Id.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly extensionId?: string;\n /**\n * Extension category. e.g. weather/sensor/satellite.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly extensionCategory?: string;\n /**\n * Installed extension version.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly installedExtensionVersion?: string;\n /**\n * Extension auth link.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly extensionAuthLink?: string;\n /**\n * Extension api docs link.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly extensionApiDocsLink?: string;\n}\n\n/** FarmBeats extension resource. */\nexport interface FarmBeatsExtension extends ProxyResource {\n /**\n * Target ResourceType of the farmBeatsExtension.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly targetResourceType?: string;\n /**\n * FarmBeatsExtension ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly farmBeatsExtensionId?: string;\n /**\n * FarmBeatsExtension name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly farmBeatsExtensionName?: string;\n /**\n * FarmBeatsExtension version.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly farmBeatsExtensionVersion?: string;\n /**\n * Publisher ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly publisherId?: string;\n /**\n * Textual description.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly description?: string;\n /**\n * Category of the extension. e.g. weather/sensor/satellite.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly extensionCategory?: string;\n /**\n * FarmBeatsExtension auth link.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly extensionAuthLink?: string;\n /**\n * FarmBeatsExtension api docs link.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly extensionApiDocsLink?: string;\n /**\n * Detailed information which shows summary of requested data.\n * Used in descriptive get extension metadata call.\n * Information for weather category per api included are apisSupported,\n * customParameters, PlatformParameters and Units supported.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly detailedInformation?: DetailedInformation[];\n}\n\n/** FarmBeats ARM Resource. */\nexport interface FarmBeats extends TrackedResource {\n /** Identity for the resource. */\n identity?: Identity;\n /**\n * Uri of the FarmBeats instance.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly instanceUri?: string;\n /**\n * FarmBeats instance provisioning state.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: ProvisioningState;\n /** Sensor integration request model. */\n sensorIntegration?: SensorIntegration;\n /** Property to allow or block public traffic for an Azure FarmBeats resource. */\n publicNetworkAccess?: PublicNetworkAccess;\n /**\n * The Private Endpoint Connection resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly privateEndpointConnections?: PrivateEndpointConnection;\n}\n\n/** Defines headers for FarmBeatsModels_update operation. */\nexport interface FarmBeatsModelsUpdateHeaders {\n location?: string;\n}\n\n/** Defines headers for PrivateEndpointConnections_delete operation. */\nexport interface PrivateEndpointConnectionsDeleteHeaders {\n location?: string;\n}\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n /** Creating */\n Creating = \"Creating\",\n /** Updating */\n Updating = \"Updating\",\n /** Deleting */\n Deleting = \"Deleting\",\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Failed */\n Failed = \"Failed\"\n}\n\n/**\n * Defines values for ProvisioningState. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Creating** \\\n * **Updating** \\\n * **Deleting** \\\n * **Succeeded** \\\n * **Failed**\n */\nexport type ProvisioningState = string;\n\n/** Known values of {@link PublicNetworkAccess} that the service accepts. */\nexport enum KnownPublicNetworkAccess {\n /** Enabled */\n Enabled = \"Enabled\",\n /** Hybrid */\n Hybrid = \"Hybrid\"\n}\n\n/**\n * Defines values for PublicNetworkAccess. \\\n * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **Hybrid**\n */\nexport type PublicNetworkAccess = string;\n\n/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */\nexport enum KnownPrivateEndpointServiceConnectionStatus {\n /** Pending */\n Pending = \"Pending\",\n /** Approved */\n Approved = \"Approved\",\n /** Rejected */\n Rejected = \"Rejected\"\n}\n\n/**\n * Defines values for PrivateEndpointServiceConnectionStatus. \\\n * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Pending** \\\n * **Approved** \\\n * **Rejected**\n */\nexport type PrivateEndpointServiceConnectionStatus = string;\n\n/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */\nexport enum KnownPrivateEndpointConnectionProvisioningState {\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Creating */\n Creating = \"Creating\",\n /** Deleting */\n Deleting = \"Deleting\",\n /** Failed */\n Failed = \"Failed\"\n}\n\n/**\n * Defines values for PrivateEndpointConnectionProvisioningState. \\\n * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded** \\\n * **Creating** \\\n * **Deleting** \\\n * **Failed**\n */\nexport type PrivateEndpointConnectionProvisioningState = string;\n\n/** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */\nexport enum KnownCheckNameAvailabilityReason {\n /** Invalid */\n Invalid = \"Invalid\",\n /** AlreadyExists */\n AlreadyExists = \"AlreadyExists\"\n}\n\n/**\n * Defines values for CheckNameAvailabilityReason. \\\n * {@link KnownCheckNameAvailabilityReason} can be used interchangeably with CheckNameAvailabilityReason,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Invalid** \\\n * **AlreadyExists**\n */\nexport type CheckNameAvailabilityReason = string;\n\n/** Known values of {@link Origin} that the service accepts. */\nexport enum KnownOrigin {\n /** User */\n User = \"user\",\n /** System */\n System = \"system\",\n /** UserSystem */\n UserSystem = \"user,system\"\n}\n\n/**\n * Defines values for Origin. \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user** \\\n * **system** \\\n * **user,system**\n */\nexport type Origin = string;\n\n/** Known values of {@link ActionType} that the service accepts. */\nexport enum KnownActionType {\n /** Internal */\n Internal = \"Internal\"\n}\n\n/**\n * Defines values for ActionType. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**\n */\nexport type ActionType = string;\n\n/** Optional parameters. */\nexport interface ExtensionsCreateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the create operation. */\nexport type ExtensionsCreateResponse = Extension;\n\n/** Optional parameters. */\nexport interface ExtensionsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ExtensionsGetResponse = Extension;\n\n/** Optional parameters. */\nexport interface ExtensionsUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type ExtensionsUpdateResponse = Extension;\n\n/** Optional parameters. */\nexport interface ExtensionsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ExtensionsListByFarmBeatsOptionalParams\n extends coreClient.OperationOptions {\n /** Installed extension ids. */\n extensionIds?: string[];\n /** Installed extension categories. */\n extensionCategories?: string[];\n /**\n * Maximum number of items needed (inclusive).\n * Minimum = 10, Maximum = 1000, Default value = 50.\n */\n maxPageSize?: number;\n /** Skip token for getting next set of results. */\n skipToken?: string;\n}\n\n/** Contains response data for the listByFarmBeats operation. */\nexport type ExtensionsListByFarmBeatsResponse = ExtensionListResponse;\n\n/** Optional parameters. */\nexport interface ExtensionsListByFarmBeatsNextOptionalParams\n extends coreClient.OperationOptions {\n /** Installed extension ids. */\n extensionIds?: string[];\n /** Installed extension categories. */\n extensionCategories?: string[];\n /**\n * Maximum number of items needed (inclusive).\n * Minimum = 10, Maximum = 1000, Default value = 50.\n */\n maxPageSize?: number;\n /** Skip token for getting next set of results. */\n skipToken?: string;\n}\n\n/** Contains response data for the listByFarmBeatsNext operation. */\nexport type ExtensionsListByFarmBeatsNextResponse = ExtensionListResponse;\n\n/** Optional parameters. */\nexport interface FarmBeatsExtensionsListOptionalParams\n extends coreClient.OperationOptions {\n /** Extension categories. */\n extensionCategories?: string[];\n /**\n * Maximum number of items needed (inclusive).\n * Minimum = 10, Maximum = 1000, Default value = 50.\n */\n maxPageSize?: number;\n /** FarmBeatsExtension ids. */\n farmBeatsExtensionIds?: string[];\n /** FarmBeats extension names. */\n farmBeatsExtensionNames?: string[];\n /** Publisher ids. */\n publisherIds?: string[];\n}\n\n/** Contains response data for the list operation. */\nexport type FarmBeatsExtensionsListResponse = FarmBeatsExtensionListResponse;\n\n/** Optional parameters. */\nexport interface FarmBeatsExtensionsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type FarmBeatsExtensionsGetResponse = FarmBeatsExtension;\n\n/** Optional parameters. */\nexport interface FarmBeatsExtensionsListNextOptionalParams\n extends coreClient.OperationOptions {\n /** Extension categories. */\n extensionCategories?: string[];\n /**\n * Maximum number of items needed (inclusive).\n * Minimum = 10, Maximum = 1000, Default value = 50.\n */\n maxPageSize?: number;\n /** FarmBeatsExtension ids. */\n farmBeatsExtensionIds?: string[];\n /** FarmBeats extension names. */\n farmBeatsExtensionNames?: string[];\n /** Publisher ids. */\n publisherIds?: string[];\n}\n\n/** Contains response data for the listNext operation. */\nexport type FarmBeatsExtensionsListNextResponse = FarmBeatsExtensionListResponse;\n\n/** Optional parameters. */\nexport interface FarmBeatsModelsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type FarmBeatsModelsGetResponse = FarmBeats;\n\n/** Optional parameters. */\nexport interface FarmBeatsModelsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type FarmBeatsModelsCreateOrUpdateResponse = FarmBeats;\n\n/** Optional parameters. */\nexport interface FarmBeatsModelsUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the update operation. */\nexport type FarmBeatsModelsUpdateResponse = FarmBeats;\n\n/** Optional parameters. */\nexport interface FarmBeatsModelsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface FarmBeatsModelsListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {\n /**\n * Maximum number of items needed (inclusive).\n * Minimum = 10, Maximum = 1000, Default value = 50.\n */\n maxPageSize?: number;\n /** Skip token for getting next set of results. */\n skipToken?: string;\n}\n\n/** Contains response data for the listBySubscription operation. */\nexport type FarmBeatsModelsListBySubscriptionResponse = FarmBeatsListResponse;\n\n/** Optional parameters. */\nexport interface FarmBeatsModelsListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {\n /**\n * Maximum number of items needed (inclusive).\n * Minimum = 10, Maximum = 1000, Default value = 50.\n */\n maxPageSize?: number;\n /** Continuation token for getting next set of results. */\n skipToken?: string;\n}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type FarmBeatsModelsListByResourceGroupResponse = FarmBeatsListResponse;\n\n/** Optional parameters. */\nexport interface FarmBeatsModelsGetOperationResultOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getOperationResult operation. */\nexport type FarmBeatsModelsGetOperationResultResponse = ArmAsyncOperation;\n\n/** Optional parameters. */\nexport interface FarmBeatsModelsListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {\n /**\n * Maximum number of items needed (inclusive).\n * Minimum = 10, Maximum = 1000, Default value = 50.\n */\n maxPageSize?: number;\n /** Skip token for getting next set of results. */\n skipToken?: string;\n}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type FarmBeatsModelsListBySubscriptionNextResponse = FarmBeatsListResponse;\n\n/** Optional parameters. */\nexport interface FarmBeatsModelsListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {\n /**\n * Maximum number of items needed (inclusive).\n * Minimum = 10, Maximum = 1000, Default value = 50.\n */\n maxPageSize?: number;\n /** Continuation token for getting next set of results. */\n skipToken?: string;\n}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type FarmBeatsModelsListByResourceGroupNextResponse = FarmBeatsListResponse;\n\n/** Optional parameters. */\nexport interface LocationsCheckNameAvailabilityOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the checkNameAvailability operation. */\nexport type LocationsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface OperationsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type OperationsListNextResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;\n\n/** Optional parameters. */\nexport interface PrivateEndpointConnectionsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;\n\n/** Optional parameters. */\nexport interface PrivateEndpointConnectionsDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface PrivateEndpointConnectionsListByResourceOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResource operation. */\nexport type PrivateEndpointConnectionsListByResourceResponse = PrivateEndpointConnectionListResult;\n\n/** Optional parameters. */\nexport interface PrivateLinkResourcesListByResourceOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResource operation. */\nexport type PrivateLinkResourcesListByResourceResponse = PrivateLinkResourceListResult;\n\n/** Optional parameters. */\nexport interface PrivateLinkResourcesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type PrivateLinkResourcesGetResponse = PrivateLinkResource;\n\n/** Optional parameters. */\nexport interface AgriFoodMgmtClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|