Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR @azure/arm-machinelearning] Introduce new AML Quota APIs #12879

Closed
wants to merge 1 commit into from
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
23 changes: 23 additions & 0 deletions sdk/machinelearning/arm-machinelearning/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Release History

## 4.0.0 (2024-12-09)

### Features Added

- Added operation WorkspaceConnections.update
- Added Interface WorkspaceConnectionsUpdateOptionalParams
- Added Interface WorkspaceConnectionUpdateParameter
- Added Interface WorkspacesDeleteHeaders
- Added Type Alias FirewallSku
- Added Type Alias WorkspaceConnectionsUpdateResponse
- Interface ManagedNetworkSettings has a new optional parameter firewallSku
- Interface WorkspaceConnectionsListOptionalParams has a new optional parameter includeAll
- Added Enum KnownFirewallSku
- Enum KnownConnectionCategory has a new value Elasticsearch
- Enum KnownConnectionCategory has a new value ManagedOnlineEndpoint
- Enum KnownConnectionCategory has a new value Pinecone

### Breaking Changes

- Interface AcrDetails no longer has parameter userCreatedAcrAccount
- Interface StorageAccountDetails no longer has parameter userCreatedStorageAccount


## 3.0.0 (2024-08-15)

### Features Added
Expand Down
1 change: 0 additions & 1 deletion sdk/machinelearning/arm-machinelearning/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to AzureMachineLearningServicesManagement** 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://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).

Expand Down
8 changes: 4 additions & 4 deletions sdk/machinelearning/arm-machinelearning/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "41c3d8cd458627f85820d6028b37e31f8f3b2906",
"commit": "0df438c6151097d36d7974fcc5770de670fc383c",
"readme": "specification/machinelearningservices/resource-manager/readme.md",
"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=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\machinelearningservices\\resource-manager\\readme.md --use=@autorest/[email protected].23 --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/machinelearningservices/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/[email protected].11",
"use": "@autorest/[email protected].23"
"release_tool": "@azure-tools/[email protected].16",
"use": "@autorest/typescript@^6.0.12"
}
66 changes: 29 additions & 37 deletions sdk/machinelearning/arm-machinelearning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for AzureMachineLearningServicesManagementClient.",
"version": "3.0.0",
"version": "4.0.0",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/abort-controller": "^1.0.0",
"@azure/core-auth": "^1.6.0",
"@azure/core-client": "^1.7.0",
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^2.1.2",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.6.0",
"@azure/core-rest-pipeline": "^1.14.0",
"tslib": "^2.2.0"
},
Expand All @@ -28,19 +28,19 @@
"module": "./dist-esm/src/index.js",
"types": "./types/arm-machinelearning.d.ts",
"devDependencies": {
"@azure-tools/test-credential": "^1.1.0",
"@azure-tools/test-recorder": "^3.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.0.1",
"@types/chai": "^4.2.8",
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"chai": "^4.2.0",
"typescript": "~5.6.2",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"ts-node": "^10.0.0",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"typescript": "~5.6.2"
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"@types/node": "^18.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -68,28 +68,28 @@
],
"scripts": {
"build": "npm run clean && tsc && dev-tool run bundle && npm run minify && dev-tool run vendored mkdirp ./review && npm run extract-api",
"build:browser": "echo skipped",
"minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
"prepack": "npm run build",
"pack": "npm pack 2>&1",
"extract-api": "dev-tool run extract-api",
"lint": "echo skipped",
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"build:node": "echo skipped",
"build:samples": "echo skipped.",
"build:browser": "echo skipped",
"build:test": "echo skipped",
"build:samples": "echo skipped.",
"check-format": "echo skipped",
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"execute:samples": "echo skipped",
"extract-api": "dev-tool run extract-api",
"format": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:browser": "echo skipped",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"lint": "echo skipped",
"minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
"pack": "npm pack 2>&1",
"prepack": "npm run build",
"test": "npm run integration-test",
"test:browser": "echo skipped",
"test:node": "echo skipped",
"test:browser": "echo skipped",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"unit-test:browser": "echo skipped",
"unit-test:node": "dev-tool run vendored cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped",
"update-snippets": "echo skipped"
},
"sideEffects": false,
Expand All @@ -102,13 +102,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-machinelearning",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-machinelearning?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-machinelearning"
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export interface AccountKeyDatastoreSecrets extends DatastoreSecrets {
// @public
export interface AcrDetails {
systemCreatedAcrAccount?: SystemCreatedAcrAccount;
userCreatedAcrAccount?: UserCreatedAcrAccount;
}

// @public
Expand Down Expand Up @@ -2925,6 +2924,9 @@ export interface FeaturizationSettings {
datasetLanguage?: string;
}

// @public
export type FirewallSku = string;

// @public
export interface FixedInputData extends MonitoringInputDataBase {
inputDataType: "Fixed";
Expand Down Expand Up @@ -3771,6 +3773,7 @@ export enum KnownConnectionCategory {
Dynamics = "Dynamics",
DynamicsAx = "DynamicsAx",
DynamicsCrm = "DynamicsCrm",
Elasticsearch = "Elasticsearch",
Eloqua = "Eloqua",
FileServer = "FileServer",
FtpServer = "FtpServer",
Expand All @@ -3790,6 +3793,7 @@ export enum KnownConnectionCategory {
Informix = "Informix",
Jira = "Jira",
Magento = "Magento",
ManagedOnlineEndpoint = "ManagedOnlineEndpoint",
MariaDb = "MariaDb",
Marketo = "Marketo",
MicrosoftAccess = "MicrosoftAccess",
Expand All @@ -3806,6 +3810,7 @@ export enum KnownConnectionCategory {
OracleServiceCloud = "OracleServiceCloud",
PayPal = "PayPal",
Phoenix = "Phoenix",
Pinecone = "Pinecone",
PostgreSql = "PostgreSql",
Presto = "Presto",
PythonFeed = "PythonFeed",
Expand Down Expand Up @@ -4048,6 +4053,12 @@ export enum KnownFeaturizationMode {
Off = "Off"
}

// @public
export enum KnownFirewallSku {
Basic = "Basic",
Standard = "Standard"
}

// @public
export enum KnownForecastHorizonMode {
Auto = "Auto",
Expand Down Expand Up @@ -5067,6 +5078,7 @@ export interface ManagedNetworkProvisionStatus {

// @public
export interface ManagedNetworkSettings {
firewallSku?: FirewallSku;
isolationMode?: IsolationMode;
readonly networkId?: string;
outboundRules?: {
Expand Down Expand Up @@ -7994,7 +8006,6 @@ export type StochasticOptimizer = string;
// @public
export interface StorageAccountDetails {
systemCreatedStorageAccount?: SystemCreatedStorageAccount;
userCreatedStorageAccount?: UserCreatedStorageAccount;
}

// @public
Expand Down Expand Up @@ -8354,16 +8365,6 @@ export interface UserAssignedIdentity {
readonly principalId?: string;
}

// @public (undocumented)
export interface UserCreatedAcrAccount {
armResourceId?: ArmResourceId;
}

// @public (undocumented)
export interface UserCreatedStorageAccount {
armResourceId?: ArmResourceId;
}

// @public
export interface UserIdentity extends IdentityConfiguration {
identityType: "UserIdentity";
Expand Down Expand Up @@ -8648,6 +8649,7 @@ export interface WorkspaceConnections {
// (undocumented)
list(resourceGroupName: string, workspaceName: string, options?: WorkspaceConnectionsListOptionalParams): PagedAsyncIterableIterator<WorkspaceConnectionPropertiesV2BasicResource>;
listSecrets(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsListSecretsOptionalParams): Promise<WorkspaceConnectionsListSecretsResponse>;
update(resourceGroupName: string, workspaceName: string, connectionName: string, options?: WorkspaceConnectionsUpdateOptionalParams): Promise<WorkspaceConnectionsUpdateResponse>;
}

// @public
Expand Down Expand Up @@ -8694,6 +8696,7 @@ export type WorkspaceConnectionsListNextResponse = WorkspaceConnectionProperties
// @public
export interface WorkspaceConnectionsListOptionalParams extends coreClient.OperationOptions {
category?: string;
includeAll?: boolean;
target?: string;
}

Expand All @@ -8707,6 +8710,19 @@ export interface WorkspaceConnectionsListSecretsOptionalParams extends coreClien
// @public
export type WorkspaceConnectionsListSecretsResponse = WorkspaceConnectionPropertiesV2BasicResource;

// @public
export interface WorkspaceConnectionsUpdateOptionalParams extends coreClient.OperationOptions {
body?: WorkspaceConnectionUpdateParameter;
}

// @public
export type WorkspaceConnectionsUpdateResponse = WorkspaceConnectionPropertiesV2BasicResource;

// @public
export interface WorkspaceConnectionUpdateParameter {
properties?: WorkspaceConnectionPropertiesV2Union;
}

// @public (undocumented)
export interface WorkspaceConnectionUsernamePassword {
// (undocumented)
Expand Down Expand Up @@ -8788,6 +8804,12 @@ export interface WorkspacesCreateOrUpdateOptionalParams extends coreClient.Opera
// @public
export type WorkspacesCreateOrUpdateResponse = Workspace;

// @public
export interface WorkspacesDeleteHeaders {
location?: string;
retryAfter?: number;
}

// @public
export interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions {
forceToPurge?: boolean;
Expand Down
5 changes: 1 addition & 4 deletions sdk/machinelearning/arm-machinelearning/sample.env
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
# App registration secret for AAD authentication
AZURE_CLIENT_SECRET=
AZURE_CLIENT_ID=
AZURE_TENANT_ID=
# Feel free to add your own environment variables.
Loading
Loading