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-azurestackhci] [Go] Add batch tag 22/03/03 #7917

Closed
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
2 changes: 1 addition & 1 deletion sdk/azurestackhci/arm-azurestackhci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Azure Stack HCI management service

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

## Getting started
Expand Down
6 changes: 3 additions & 3 deletions sdk/azurestackhci/arm-azurestackhci/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "e6a2296d02ec6c4b2c32479198bfbcb9b16ea247",
"commit": "f319a3745c5c8a1a537f573fb29a542e6b03e461",
"readme": "specification/azurestackhci/resource-manager/readme.md",
"autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/azurestackhci/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211217.1",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/azurestackhci/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/typescript@6.0.0-alpha.16.20211217.1"
"use": "@autorest/typescript@6.0.0-alpha.16.20220105.1"
}
25 changes: 19 additions & 6 deletions sdk/azurestackhci/arm-azurestackhci/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": { "enabled": true },
"apiReport": { "enabled": true, "reportFolder": "./review" },
"docModel": {
"enabled": true
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/arm-azurestackhci.d.ts"
},
"messages": {
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": { "logLevel": "none" },
"ae-unresolved-link": { "logLevel": "none" }
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
}
4 changes: 2 additions & 2 deletions sdk/azurestackhci/arm-azurestackhci/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for AzureStackHCIClient.",
"version": "2.0.1",
"version": "1.0.0-beta.1",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -99,4 +99,4 @@
},
"sideEffects": false,
"autoPublish": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export type ActionType = string;
// @public
export type ArcSetting = ProxyResource & {
readonly provisioningState?: ProvisioningState;
readonly arcInstanceResourceGroup?: string;
arcInstanceResourceGroup?: string;
readonly aggregateState?: ArcSettingAggregateState;
readonly perNodeDetails?: PerNodeState[];
createdBy?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class AzureStackHCIClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-azurestackhci/2.0.0`;
const packageDetails = `azsdk-js-arm-azurestackhci/1.0.0-beta.1`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand All @@ -77,7 +77,7 @@ export class AzureStackHCIClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2021-09-01";
this.apiVersion = options.apiVersion || "2022-01-01";
this.arcSettings = new ArcSettingsImpl(this);
this.clusters = new ClustersImpl(this);
this.extensions = new ExtensionsImpl(this);
Expand Down
7 changes: 2 additions & 5 deletions sdk/azurestackhci/arm-azurestackhci/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,8 @@ export type ArcSetting = ProxyResource & {
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provisioningState?: ProvisioningState;
/**
* The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly arcInstanceResourceGroup?: string;
/** The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources. */
arcInstanceResourceGroup?: string;
/**
* Aggregate state of Arc agent across the nodes in this HCI cluster.
* NOTE: This property will not be serialized. It can only be populated by the server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,6 @@ export const ArcSetting: coreClient.CompositeMapper = {
},
arcInstanceResourceGroup: {
serializedName: "properties.arcInstanceResourceGroup",
readOnly: true,
type: {
name: "String"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const clusterName: OperationURLParameter = {
export const apiVersion: OperationQueryParameter = {
parameterPath: "apiVersion",
mapper: {
defaultValue: "2021-09-01",
defaultValue: "2022-01-01",
isConstant: true,
serializedName: "api-version",
type: {
Expand Down
16 changes: 12 additions & 4 deletions sdk/azurestackhci/arm-azurestackhci/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,19 @@
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"lib": ["es6", "dom"],
"lib": [
"es6",
"dom"
],
"declaration": true,
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts", "./test/**/*.ts"],
"exclude": ["node_modules"]
}
"include": [
"./src/**/*.ts",
"./test/**/*.ts"
],
"exclude": [
"node_modules"
]
}
7 changes: 4 additions & 3 deletions sdk/azurestackhci/ci.mgmt.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.

trigger:
branches:
include:
Expand All @@ -10,6 +10,7 @@ trigger:
include:
- sdk/azurestackhci/ci.mgmt.yml
- sdk/azurestackhci/arm-azurestackhci/
- sdk/azurestackhci/arm-azurestackhci
pr:
branches:
include:
Expand All @@ -23,11 +24,11 @@ pr:
include:
- sdk/azurestackhci/ci.mgmt.yml
- sdk/azurestackhci/arm-azurestackhci/

- sdk/azurestackhci/arm-azurestackhci
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: azurestackhci
Artifacts:
- name: azure-arm-azurestackhci
safeName: azurearmazurestackhci
safeName: azurearmazurestackhci