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

[ReleasePR @azure/arm-recoveryservices-siterecovery] New API Version 2022-02-01 for Azure Site Recovery #20618

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
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f

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

## Getting started
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb",
"commit": "4d179c76cc3cb7415dd0fad0eb695d3bdec50a6f",
"readme": "specification/recoveryservicessiterecovery/resource-manager/readme.md",
"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=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/recoveryservicessiterecovery/resource-manager/readme.md --use=@autorest/[email protected].20220114.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/recoveryservicessiterecovery/resource-manager/readme.md --use=@autorest/[email protected].20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected].20220114.1"
"use": "@autorest/[email protected].20220105.1"
}
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-recoveryservices-siterecovery.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"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for SiteRecoveryManagementClient.",
"version": "4.0.0",
"engines": { "node": ">=12.0.0" },
"version": "1.0.0-beta.1",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
Expand All @@ -14,7 +16,13 @@
"@azure/core-rest-pipeline": "^1.1.0",
"tslib": "^2.2.0"
},
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
"keywords": [
"node",
"azure",
"typescript",
"browser",
"isomorphic"
],
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
Expand All @@ -41,7 +49,9 @@
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
Expand Down Expand Up @@ -88,13 +98,5 @@
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{
"path": "src/SiteRecoveryManagementClient.ts",
"prefix": "packageDetails"
}
]
},
"autoPublish": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6918,11 +6918,11 @@ export type VMwareCbtContainerCreationInput = ReplicationProviderSpecificContain
// @public
export type VMwareCbtContainerMappingInput = ReplicationProviderSpecificContainerMappingInput & {
instanceType: "VMwareCbt";
keyVaultId: string;
keyVaultUri: string;
keyVaultId?: string;
keyVaultUri?: string;
storageAccountId: string;
storageAccountSasSecretName: string;
serviceBusConnectionStringSecretName: string;
storageAccountSasSecretName?: string;
serviceBusConnectionStringSecretName?: string;
targetLocation: string;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7698,15 +7698,15 @@ export type VMwareCbtContainerMappingInput = ReplicationProviderSpecificContaine
/** Polymorphic discriminator, which specifies the different types this object can be */
instanceType: "VMwareCbt";
/** The target key vault ARM Id. */
keyVaultId: string;
keyVaultId?: string;
/** The target key vault URL. */
keyVaultUri: string;
keyVaultUri?: string;
/** The storage account ARM Id. */
storageAccountId: string;
/** The secret name of the storage account. */
storageAccountSasSecretName: string;
storageAccountSasSecretName?: string;
/** The secret name of the service bus connection string. */
serviceBusConnectionStringSecretName: string;
serviceBusConnectionStringSecretName?: string;
/** The target location. */
targetLocation: string;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19014,14 +19014,12 @@ export const VMwareCbtContainerMappingInput: coreClient.CompositeMapper = {
...ReplicationProviderSpecificContainerMappingInput.type.modelProperties,
keyVaultId: {
serializedName: "keyVaultId",
required: true,
type: {
name: "String"
}
},
keyVaultUri: {
serializedName: "keyVaultUri",
required: true,
type: {
name: "String"
}
Expand All @@ -19035,14 +19033,12 @@ export const VMwareCbtContainerMappingInput: coreClient.CompositeMapper = {
},
storageAccountSasSecretName: {
serializedName: "storageAccountSasSecretName",
required: true,
type: {
name: "String"
}
},
serviceBusConnectionStringSecretName: {
serializedName: "serviceBusConnectionStringSecretName",
required: true,
type: {
name: "String"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const $host: OperationURLParameter = {
export const apiVersion: OperationQueryParameter = {
parameterPath: "apiVersion",
mapper: {
defaultValue: "2021-11-01",
defaultValue: "2021-12-01",
isConstant: true,
serializedName: "api-version",
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class SiteRecoveryManagementClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-recoveryservices-siterecovery/4.0.0`;
const packageDetails = `azsdk-js-arm-recoveryservices-siterecovery/1.0.0-beta.1`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand All @@ -140,7 +140,7 @@ export class SiteRecoveryManagementClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2021-11-01";
this.apiVersion = options.apiVersion || "2021-12-01";
this.operations = new OperationsImpl(this);
this.replicationAlertSettings = new ReplicationAlertSettingsImpl(this);
this.replicationAppliances = new ReplicationAppliancesImpl(this);
Expand Down
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/recoveryservicessiterecovery/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/recoveryservicessiterecovery/ci.mgmt.yml
- sdk/recoveryservicessiterecovery/arm-recoveryservicessiterecovery/
- sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery
pr:
branches:
include:
Expand All @@ -23,11 +24,11 @@ pr:
include:
- sdk/recoveryservicessiterecovery/ci.mgmt.yml
- sdk/recoveryservicessiterecovery/arm-recoveryservicessiterecovery/

- sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: recoveryservicessiterecovery
Artifacts:
- name: azure-arm-recoveryservices-siterecovery
safeName: azurearmrecoveryservicessiterecovery
safeName: azurearmrecoveryservicessiterecovery