Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

126 changes: 119 additions & 7 deletions sdk/agrifood/arm-agrifood/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,127 @@
# Release History

## 1.0.0-beta.6 (Unreleased)


## 1.0.0-beta.6 (2025-04-03)
Compared with version 1.0.0-beta.5

### Features Added

### Breaking Changes

### Bugs Fixed
- Added operation group CheckNameAvailability
- Added operation group DataConnectors
- Added operation group DataManagerForAgricultureExtensions
- Added operation group DataManagerForAgricultureResources
- Added operation group OperationResults
- Added operation group Solutions
- Added operation group SolutionsDiscoverability
- Added operation Extensions.createOrUpdate
- Added operation Extensions.listByDataManagerForAgriculture
- Added Interface ApiKeyAuthCredentials
- Added Interface ApiProperties
- Added Interface ArmAsyncOperationError
- Added Interface AuthCredentials
- Added Interface CheckNameAvailabilityCheckNameAvailabilityOptionalParams
- Added Interface DataConnector
- Added Interface DataConnectorListResponse
- Added Interface DataConnectorProperties
- Added Interface DataConnectorsCreateOrUpdateOptionalParams
- Added Interface DataConnectorsDeleteOptionalParams
- Added Interface DataConnectorsGetOptionalParams
- Added Interface DataConnectorsListNextOptionalParams
- Added Interface DataConnectorsListOptionalParams
- Added Interface DataManagerForAgriculture
- Added Interface DataManagerForAgricultureExtension
- Added Interface DataManagerForAgricultureExtensionListResponse
- Added Interface DataManagerForAgricultureExtensionProperties
- Added Interface DataManagerForAgricultureExtensionsGetOptionalParams
- Added Interface DataManagerForAgricultureExtensionsListNextOptionalParams
- Added Interface DataManagerForAgricultureExtensionsListOptionalParams
- Added Interface DataManagerForAgricultureListResponse
- Added Interface DataManagerForAgricultureResourcesCreateOrUpdateOptionalParams
- Added Interface DataManagerForAgricultureResourcesDeleteOptionalParams
- Added Interface DataManagerForAgricultureResourcesGetOptionalParams
- Added Interface DataManagerForAgricultureResourcesListByResourceGroupNextOptionalParams
- Added Interface DataManagerForAgricultureResourcesListByResourceGroupOptionalParams
- Added Interface DataManagerForAgricultureResourcesListBySubscriptionNextOptionalParams
- Added Interface DataManagerForAgricultureResourcesListBySubscriptionOptionalParams
- Added Interface DataManagerForAgricultureResourcesUpdateHeaders
- Added Interface DataManagerForAgricultureResourcesUpdateOptionalParams
- Added Interface DataManagerForAgricultureSolution
- Added Interface DataManagerForAgricultureSolutionListResponse
- Added Interface DataManagerForAgricultureSolutionProperties
- Added Interface DataManagerForAgricultureUpdateProperties
- Added Interface DataManagerForAgricultureUpdateRequestModel
- Added Interface ExtensionInstallationRequest
- Added Interface ExtensionsCreateOrUpdateOptionalParams
- Added Interface ExtensionsListByDataManagerForAgricultureNextOptionalParams
- Added Interface ExtensionsListByDataManagerForAgricultureOptionalParams
- Added Interface KeyVaultProperties
- Added Interface MarketplaceOfferDetails
- Added Interface OAuthClientCredentials
- Added Interface OperationResultsGetOptionalParams
- Added Interface Solution
- Added Interface SolutionListResponse
- Added Interface SolutionProperties
- Added Interface SolutionsCreateOrUpdateOptionalParams
- Added Interface SolutionsDeleteOptionalParams
- Added Interface SolutionsDiscoverabilityGetOptionalParams
- Added Interface SolutionsDiscoverabilityListNextOptionalParams
- Added Interface SolutionsDiscoverabilityListOptionalParams
- Added Interface SolutionsGetOptionalParams
- Added Interface SolutionsListNextOptionalParams
- Added Interface SolutionsListOptionalParams
- Added Type Alias AuthCredentialsKind
- Added Type Alias AuthCredentialsUnion
- Added Type Alias CheckNameAvailabilityCheckNameAvailabilityResponse
- Added Type Alias DataConnectorsCreateOrUpdateResponse
- Added Type Alias DataConnectorsGetResponse
- Added Type Alias DataConnectorsListNextResponse
- Added Type Alias DataConnectorsListResponse
- Added Type Alias DataManagerForAgricultureExtensionsGetResponse
- Added Type Alias DataManagerForAgricultureExtensionsListNextResponse
- Added Type Alias DataManagerForAgricultureExtensionsListResponse
- Added Type Alias DataManagerForAgricultureResourcesCreateOrUpdateResponse
- Added Type Alias DataManagerForAgricultureResourcesGetResponse
- Added Type Alias DataManagerForAgricultureResourcesListByResourceGroupNextResponse
- Added Type Alias DataManagerForAgricultureResourcesListByResourceGroupResponse
- Added Type Alias DataManagerForAgricultureResourcesListBySubscriptionNextResponse
- Added Type Alias DataManagerForAgricultureResourcesListBySubscriptionResponse
- Added Type Alias DataManagerForAgricultureResourcesUpdateResponse
- Added Type Alias ExtensionsCreateOrUpdateResponse
- Added Type Alias ExtensionsListByDataManagerForAgricultureNextResponse
- Added Type Alias ExtensionsListByDataManagerForAgricultureResponse
- Added Type Alias OperationResultsGetResponse
- Added Type Alias SolutionsCreateOrUpdateResponse
- Added Type Alias SolutionsDiscoverabilityGetResponse
- Added Type Alias SolutionsDiscoverabilityListNextResponse
- Added Type Alias SolutionsDiscoverabilityListResponse
- Added Type Alias SolutionsGetResponse
- Added Type Alias SolutionsListNextResponse
- Added Type Alias SolutionsListResponse
- Interface ArmAsyncOperation has a new optional parameter error
- Interface DetailedInformation has a new optional parameter apiDefaultInputParameters
- Interface DetailedInformation has a new optional parameter apiDocsLink
- Interface DetailedInformation has a new optional parameter apiType
- Interface Extension has a new optional parameter additionalApiProperties
- Interface ExtensionListResponse has a new optional parameter skipToken
- Interface PrivateEndpointConnection has a new optional parameter groupIds
- Added Enum KnownAuthCredentialsKind
- Enum KnownProvisioningState has a new value Running
- Enum KnownPublicNetworkAccess has a new value Disabled

### Other Changes
### Breaking Changes

- Removed operation group FarmBeatsExtensions
- Removed operation group FarmBeatsModels
- Removed operation group Locations
- Removed operation Extensions.create
- Removed operation Extensions.listByFarmBeats
- Removed operation Extensions.update
- Class AgriFoodMgmtClient has a new signature
- Parameter value of interface ExtensionListResponse is now required
- Class AgriFoodMgmtClient no longer has parameter farmBeatsExtensions
- Class AgriFoodMgmtClient no longer has parameter farmBeatsModels
- Class AgriFoodMgmtClient no longer has parameter locations
- Enum KnownPublicNetworkAccess no longer has value Hybrid

## 1.0.0-beta.5 (2024-04-08)

### Bugs Fixed
Expand Down
2 changes: 1 addition & 1 deletion sdk/agrifood/arm-agrifood/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
15 changes: 6 additions & 9 deletions sdk/agrifood/arm-agrifood/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure AgriFoodMgmt client.

APIs documentation for Azure AgFoodPlatform Resource Provider Service.
APIs documentation for Microsoft Azure Data Manager for Agriculture Service.

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/agrifood/arm-agrifood) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-agrifood) |
Expand Down Expand Up @@ -44,13 +44,12 @@ npm install @azure/identity
```

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).
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`.

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).

Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.

```ts snippet:CreateAgriFoodMgmtClient_Node
```ts snippet:ReadmeSampleCreateClient_Node
import { AgriFoodMgmtClient } from "@azure/arm-agrifood";
import { DefaultAzureCredential } from "@azure/identity";

Expand All @@ -60,21 +59,18 @@ const client = new AgriFoodMgmtClient(new DefaultAzureCredential(), subscription

For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.

```ts snippet:CreateAgriFoodMgmtClient_Browser
```ts snippet:ReadmeSampleCreateClient_Browser
import { InteractiveBrowserCredential } from "@azure/identity";
import { AgriFoodMgmtClient } from "@azure/arm-agrifood";

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const credential = new InteractiveBrowserCredential({
tenantId: "<YOUR_TENANT_ID>",
clientId: "<YOUR_CLIENT_ID>",
});

clientId: "<YOUR_CLIENT_ID>"
});
const client = new AgriFoodMgmtClient(credential, subscriptionId);
```

### JavaScript Bundle

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).

## Key concepts
Expand Down Expand Up @@ -109,6 +105,7 @@ If you'd like to contribute to this library, please read the [contributing guide

- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)


[azure_cli]: https://learn.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[azure_sub]: https://azure.microsoft.com/free/
Expand Down
8 changes: 4 additions & 4 deletions sdk/agrifood/arm-agrifood/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "3eb2a407e29fa9c79cf537722384b12b9753d59e",
"commit": "1d2d9428f9425a31d8a94edc78945b7ca9f91806",
"readme": "specification/agrifood/resource-manager/readme.md",
"autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\agrifood\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.3.20221108.1 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/agrifood/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.2",
"use": "@autorest/typescript@6.0.0-rc.3.20221108.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.23",
"use": "@autorest/typescript@^6.0.12"
}
6 changes: 3 additions & 3 deletions sdk/agrifood/arm-agrifood/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "dist/esm/index.d.ts",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": {
"enabled": true
},
Expand All @@ -11,7 +11,7 @@
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "dist/arm-agrifood.d.ts"
"publicTrimmedFilePath": "./types/arm-agrifood.d.ts"
},
"messages": {
"tsdocMessageReporting": {
Expand All @@ -28,4 +28,4 @@
}
}
}
}
}
Loading