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] 2024-07-01-preview API - Add assetName property in AssetJobOutput class #12136

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
37 changes: 34 additions & 3 deletions common/config/rush/pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion sdk/machinelearning/arm-machinelearning/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ These APIs allow end users to operate on Azure Machine Learning Workspace resour

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-machinelearning) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-machinelearning) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-machinelearning) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-machinelearning?view=azure-node-preview) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
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": "c4da225cb951aaf7579afbec7d2a29559e0f74ae",
"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].14",
"use": "@autorest/typescript@^6.0.12"
}
20 changes: 6 additions & 14 deletions sdk/machinelearning/arm-machinelearning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for AzureMachineLearningServicesManagementClient.",
"version": "3.0.0",
"version": "1.0.0-beta.1",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^1.0.0",
"@azure/abort-controller": "^2.1.2",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.6.0",
Expand All @@ -30,12 +30,12 @@
"devDependencies": {
"@microsoft/api-extractor": "^7.31.1",
"mkdirp": "^3.0.1",
"typescript": "~5.6.2",
"typescript": "~5.5.3",
"uglify-js": "^3.4.9",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.0.1",
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
Expand Down Expand Up @@ -106,13 +106,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 @@ -15,17 +15,10 @@ import {
} from "@azure/core-rest-pipeline";
import * as coreAuth from "@azure/core-auth";
import {
OperationsImpl,
WorkspacesImpl,
UsagesImpl,
VirtualMachineSizesImpl,
QuotasImpl,
ComputeOperationsImpl,
PrivateEndpointConnectionsImpl,
PrivateLinkResourcesImpl,
WorkspaceConnectionsImpl,
ManagedNetworkSettingsRuleImpl,
ManagedNetworkProvisionsImpl,
RegistryCodeContainersImpl,
RegistryCodeVersionsImpl,
RegistryComponentContainersImpl,
Expand All @@ -35,6 +28,7 @@ import {
RegistryDataReferencesImpl,
RegistryEnvironmentContainersImpl,
RegistryEnvironmentVersionsImpl,
MarketplaceSubscriptionsImpl,
RegistryModelContainersImpl,
RegistryModelVersionsImpl,
BatchEndpointsImpl,
Expand All @@ -54,7 +48,6 @@ import {
FeaturestoreEntityContainersImpl,
FeaturestoreEntityVersionsImpl,
JobsImpl,
MarketplaceSubscriptionsImpl,
ModelContainersImpl,
ModelVersionsImpl,
OnlineEndpointsImpl,
Expand All @@ -63,19 +56,30 @@ import {
ServerlessEndpointsImpl,
RegistriesImpl,
WorkspaceFeaturesImpl,
OperationsImpl,
WorkspacesImpl,
WorkspaceConnectionsImpl,
ConnectionImpl,
ConnectionRaiBlocklistsImpl,
ConnectionRaiBlocklistImpl,
ConnectionRaiBlocklistItemImpl,
ConnectionRaiBlocklistItemsImpl,
ConnectionRaiPoliciesImpl,
ConnectionRaiPolicyImpl,
EndpointDeploymentImpl,
EndpointOperationsImpl,
RaiPoliciesImpl,
RaiPolicyImpl,
ManagedNetworkSettingsRuleImpl,
PrivateEndpointConnectionsImpl,
PrivateLinkResourcesImpl,
ManagedNetworkProvisionsImpl,
} from "./operations";
import {
Operations,
Workspaces,
Usages,
VirtualMachineSizes,
Quotas,
ComputeOperations,
PrivateEndpointConnections,
PrivateLinkResources,
WorkspaceConnections,
ManagedNetworkSettingsRule,
ManagedNetworkProvisions,
RegistryCodeContainers,
RegistryCodeVersions,
RegistryComponentContainers,
Expand All @@ -85,6 +89,7 @@ import {
RegistryDataReferences,
RegistryEnvironmentContainers,
RegistryEnvironmentVersions,
MarketplaceSubscriptions,
RegistryModelContainers,
RegistryModelVersions,
BatchEndpoints,
Expand All @@ -104,7 +109,6 @@ import {
FeaturestoreEntityContainers,
FeaturestoreEntityVersions,
Jobs,
MarketplaceSubscriptions,
ModelContainers,
ModelVersions,
OnlineEndpoints,
Expand All @@ -113,6 +117,24 @@ import {
ServerlessEndpoints,
Registries,
WorkspaceFeatures,
Operations,
Workspaces,
WorkspaceConnections,
Connection,
ConnectionRaiBlocklists,
ConnectionRaiBlocklist,
ConnectionRaiBlocklistItem,
ConnectionRaiBlocklistItems,
ConnectionRaiPolicies,
ConnectionRaiPolicy,
EndpointDeployment,
EndpointOperations,
RaiPolicies,
RaiPolicy,
ManagedNetworkSettingsRule,
PrivateEndpointConnections,
PrivateLinkResources,
ManagedNetworkProvisions,
} from "./operationsInterfaces";
import { AzureMachineLearningServicesManagementClientOptionalParams } from "./models";

Expand Down Expand Up @@ -149,7 +171,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser
credential: credentials,
};

const packageDetails = `azsdk-js-arm-machinelearning/3.0.0`;
const packageDetails = `azsdk-js-arm-machinelearning/1.0.0-beta.1`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down Expand Up @@ -203,18 +225,11 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2024-04-01";
this.operations = new OperationsImpl(this);
this.workspaces = new WorkspacesImpl(this);
this.apiVersion = options.apiVersion || "2024-07-01-preview";
this.usages = new UsagesImpl(this);
this.virtualMachineSizes = new VirtualMachineSizesImpl(this);
this.quotas = new QuotasImpl(this);
this.computeOperations = new ComputeOperationsImpl(this);
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
this.workspaceConnections = new WorkspaceConnectionsImpl(this);
this.managedNetworkSettingsRule = new ManagedNetworkSettingsRuleImpl(this);
this.managedNetworkProvisions = new ManagedNetworkProvisionsImpl(this);
this.registryCodeContainers = new RegistryCodeContainersImpl(this);
this.registryCodeVersions = new RegistryCodeVersionsImpl(this);
this.registryComponentContainers = new RegistryComponentContainersImpl(
Expand All @@ -230,6 +245,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser
this.registryEnvironmentVersions = new RegistryEnvironmentVersionsImpl(
this,
);
this.marketplaceSubscriptions = new MarketplaceSubscriptionsImpl(this);
this.registryModelContainers = new RegistryModelContainersImpl(this);
this.registryModelVersions = new RegistryModelVersionsImpl(this);
this.batchEndpoints = new BatchEndpointsImpl(this);
Expand All @@ -251,7 +267,6 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser
);
this.featurestoreEntityVersions = new FeaturestoreEntityVersionsImpl(this);
this.jobs = new JobsImpl(this);
this.marketplaceSubscriptions = new MarketplaceSubscriptionsImpl(this);
this.modelContainers = new ModelContainersImpl(this);
this.modelVersions = new ModelVersionsImpl(this);
this.onlineEndpoints = new OnlineEndpointsImpl(this);
Expand All @@ -260,6 +275,26 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser
this.serverlessEndpoints = new ServerlessEndpointsImpl(this);
this.registries = new RegistriesImpl(this);
this.workspaceFeatures = new WorkspaceFeaturesImpl(this);
this.operations = new OperationsImpl(this);
this.workspaces = new WorkspacesImpl(this);
this.workspaceConnections = new WorkspaceConnectionsImpl(this);
this.connection = new ConnectionImpl(this);
this.connectionRaiBlocklists = new ConnectionRaiBlocklistsImpl(this);
this.connectionRaiBlocklist = new ConnectionRaiBlocklistImpl(this);
this.connectionRaiBlocklistItem = new ConnectionRaiBlocklistItemImpl(this);
this.connectionRaiBlocklistItems = new ConnectionRaiBlocklistItemsImpl(
this,
);
this.connectionRaiPolicies = new ConnectionRaiPoliciesImpl(this);
this.connectionRaiPolicy = new ConnectionRaiPolicyImpl(this);
this.endpointDeployment = new EndpointDeploymentImpl(this);
this.endpointOperations = new EndpointOperationsImpl(this);
this.raiPolicies = new RaiPoliciesImpl(this);
this.raiPolicy = new RaiPolicyImpl(this);
this.managedNetworkSettingsRule = new ManagedNetworkSettingsRuleImpl(this);
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
this.managedNetworkProvisions = new ManagedNetworkProvisionsImpl(this);
this.addCustomApiVersionPolicy(options.apiVersion);
}

Expand Down Expand Up @@ -291,17 +326,10 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser
this.pipeline.addPolicy(apiVersionPolicy);
}

operations: Operations;
workspaces: Workspaces;
usages: Usages;
virtualMachineSizes: VirtualMachineSizes;
quotas: Quotas;
computeOperations: ComputeOperations;
privateEndpointConnections: PrivateEndpointConnections;
privateLinkResources: PrivateLinkResources;
workspaceConnections: WorkspaceConnections;
managedNetworkSettingsRule: ManagedNetworkSettingsRule;
managedNetworkProvisions: ManagedNetworkProvisions;
registryCodeContainers: RegistryCodeContainers;
registryCodeVersions: RegistryCodeVersions;
registryComponentContainers: RegistryComponentContainers;
Expand All @@ -311,6 +339,7 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser
registryDataReferences: RegistryDataReferences;
registryEnvironmentContainers: RegistryEnvironmentContainers;
registryEnvironmentVersions: RegistryEnvironmentVersions;
marketplaceSubscriptions: MarketplaceSubscriptions;
registryModelContainers: RegistryModelContainers;
registryModelVersions: RegistryModelVersions;
batchEndpoints: BatchEndpoints;
Expand All @@ -330,7 +359,6 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser
featurestoreEntityContainers: FeaturestoreEntityContainers;
featurestoreEntityVersions: FeaturestoreEntityVersions;
jobs: Jobs;
marketplaceSubscriptions: MarketplaceSubscriptions;
modelContainers: ModelContainers;
modelVersions: ModelVersions;
onlineEndpoints: OnlineEndpoints;
Expand All @@ -339,4 +367,22 @@ export class AzureMachineLearningServicesManagementClient extends coreClient.Ser
serverlessEndpoints: ServerlessEndpoints;
registries: Registries;
workspaceFeatures: WorkspaceFeatures;
operations: Operations;
workspaces: Workspaces;
workspaceConnections: WorkspaceConnections;
connection: Connection;
connectionRaiBlocklists: ConnectionRaiBlocklists;
connectionRaiBlocklist: ConnectionRaiBlocklist;
connectionRaiBlocklistItem: ConnectionRaiBlocklistItem;
connectionRaiBlocklistItems: ConnectionRaiBlocklistItems;
connectionRaiPolicies: ConnectionRaiPolicies;
connectionRaiPolicy: ConnectionRaiPolicy;
endpointDeployment: EndpointDeployment;
endpointOperations: EndpointOperations;
raiPolicies: RaiPolicies;
raiPolicy: RaiPolicy;
managedNetworkSettingsRule: ManagedNetworkSettingsRule;
privateEndpointConnections: PrivateEndpointConnections;
privateLinkResources: PrivateLinkResources;
managedNetworkProvisions: ManagedNetworkProvisions;
}
Loading