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: 21 additions & 0 deletions sdk/recoveryservices/arm-recoveryservices/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Release History

## 5.1.0 (2022-07-01)

**Features**

- Added Interface AzureMonitorAlertSettings
- Added Interface ClassicAlertSettings
- Added Interface MonitoringSettings
- Added Interface VaultPropertiesRedundancySettings
- Added Type Alias AlertsState
- Added Type Alias BackupStorageVersion
- Added Type Alias CrossRegionRestore
- Added Type Alias StandardTierStorageRedundancy
- Interface VaultProperties has a new optional parameter backupStorageVersion
- Interface VaultProperties has a new optional parameter monitoringSettings
- Interface VaultProperties has a new optional parameter redundancySettings
- Type Alias ResourceCertificateAndAadDetails has a new parameter aadAudience
- Added Enum KnownAlertsState
- Added Enum KnownBackupStorageVersion
- Added Enum KnownCrossRegionRestore
- Added Enum KnownStandardTierStorageRedundancy

## 5.0.1 (2022-04-29)

**Features**
Expand Down
12 changes: 6 additions & 6 deletions sdk/recoveryservices/arm-recoveryservices/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "0cd7b3e83d5e7e21222dcc4bdde4565562da0cdf",
"readme": "specification\\recoveryservices\\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:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\recoveryservices\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true",
"commit": "ccdcd98e640a312623918bd2448fd428cb7e3caf",
"readme": "specification/recoveryservices/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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/recoveryservices/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220425.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
"use": "@autorest/typescript@6.0.0-alpha.19.20220408.1"
}
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.2",
"use": "@autorest/typescript@6.0.0-alpha.19.20220425.1"
}
12 changes: 7 additions & 5 deletions sdk/recoveryservices/arm-recoveryservices/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 RecoveryServicesClient.",
"version": "5.0.1",
"version": "5.1.0",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -40,9 +40,11 @@
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2"
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/recoveryservices/arm-recoveryservices",
"repository": {
Expand Down Expand Up @@ -93,7 +95,7 @@
"unit-test:node": "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": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
},
Expand All @@ -107,4 +109,4 @@
]
},
"autoPublish": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,21 @@ import { PagedAsyncIterableIterator } from '@azure/core-paging';
import { PollerLike } from '@azure/core-lro';
import { PollOperationState } from '@azure/core-lro';

// @public
export type AlertsState = string;

// @public
export type AuthType = string;

// @public
export interface AzureMonitorAlertSettings {
// (undocumented)
alertsForAllJobFailures?: AlertsState;
}

// @public
export type BackupStorageVersion = string;

// @public
export interface CertificateRequest {
properties?: RawCertificateData;
Expand All @@ -34,6 +46,12 @@ export interface CheckNameAvailabilityResult {
reason?: string;
}

// @public
export interface ClassicAlertSettings {
// (undocumented)
alertsForCriticalOperations?: AlertsState;
}

// @public
export interface ClientDiscoveryDisplay {
description?: string;
Expand Down Expand Up @@ -92,6 +110,9 @@ export interface CmkKeyVaultProperties {
// @public
export type CreatedByType = string;

// @public
export type CrossRegionRestore = string;

// @public
export interface ErrorAdditionalInfo {
readonly info?: Record<string, unknown>;
Expand Down Expand Up @@ -141,6 +162,14 @@ export interface JobsSummary {
suspendedJobs?: number;
}

// @public
export enum KnownAlertsState {
// (undocumented)
Disabled = "Disabled",
// (undocumented)
Enabled = "Enabled"
}

// @public
export enum KnownAuthType {
// (undocumented)
Expand All @@ -155,6 +184,16 @@ export enum KnownAuthType {
Invalid = "Invalid"
}

// @public
export enum KnownBackupStorageVersion {
// (undocumented)
Unassigned = "Unassigned",
// (undocumented)
V1 = "V1",
// (undocumented)
V2 = "V2"
}

// @public
export enum KnownCreatedByType {
// (undocumented)
Expand All @@ -167,6 +206,14 @@ export enum KnownCreatedByType {
User = "User"
}

// @public
export enum KnownCrossRegionRestore {
// (undocumented)
Disabled = "Disabled",
// (undocumented)
Enabled = "Enabled"
}

// @public
export enum KnownInfrastructureEncryptionState {
// (undocumented)
Expand Down Expand Up @@ -243,6 +290,16 @@ export enum KnownSkuName {
Standard = "Standard"
}

// @public
export enum KnownStandardTierStorageRedundancy {
// (undocumented)
GeoRedundant = "GeoRedundant",
// (undocumented)
LocallyRedundant = "LocallyRedundant",
// (undocumented)
ZoneRedundant = "ZoneRedundant"
}

// @public
export enum KnownTriggerType {
// (undocumented)
Expand Down Expand Up @@ -287,6 +344,12 @@ export enum KnownVaultUpgradeState {
Upgraded = "Upgraded"
}

// @public
export interface MonitoringSettings {
azureMonitorAlertSettings?: AzureMonitorAlertSettings;
classicAlertSettings?: ClassicAlertSettings;
}

// @public
export interface MonitoringSummary {
deprecatedProviderCount?: number;
Expand Down Expand Up @@ -533,6 +596,7 @@ export type ResourceCertificateAndAadDetails = ResourceCertificateDetails & {
servicePrincipalObjectId: string;
azureManagementEndpointAudience: string;
serviceResourceId?: string;
aadAudience?: string;
};

// @public
Expand Down Expand Up @@ -577,6 +641,9 @@ export interface Sku {
// @public
export type SkuName = string;

// @public
export type StandardTierStorageRedundancy = string;

// @public
export interface SystemData {
createdAt?: Date;
Expand Down Expand Up @@ -708,13 +775,16 @@ export type VaultPrivateEndpointState = string;

// @public
export interface VaultProperties {
readonly backupStorageVersion?: BackupStorageVersion;
encryption?: VaultPropertiesEncryption;
monitoringSettings?: MonitoringSettings;
moveDetails?: VaultPropertiesMoveDetails;
readonly moveState?: ResourceMoveState;
readonly privateEndpointConnections?: PrivateEndpointConnectionVaultProperties[];
readonly privateEndpointStateForBackup?: VaultPrivateEndpointState;
readonly privateEndpointStateForSiteRecovery?: VaultPrivateEndpointState;
readonly provisioningState?: string;
redundancySettings?: VaultPropertiesRedundancySettings;
upgradeDetails?: UpgradeDetails;
}

Expand All @@ -734,6 +804,12 @@ export interface VaultPropertiesMoveDetails {
readonly targetResourceId?: string;
}

// @public
export interface VaultPropertiesRedundancySettings {
readonly crossRegionRestore?: CrossRegionRestore;
readonly standardTierStorageRedundancy?: StandardTierStorageRedundancy;
}

// @public
export interface Vaults {
beginCreateOrUpdate(resourceGroupName: string, vaultName: string, vault: Vault, options?: VaultsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VaultsCreateOrUpdateResponse>, VaultsCreateOrUpdateResponse>>;
Expand Down
113 changes: 112 additions & 1 deletion sdk/recoveryservices/arm-recoveryservices/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,15 @@ export interface VaultProperties {
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly moveState?: ResourceMoveState;
/**
* Backup storage version
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly backupStorageVersion?: BackupStorageVersion;
/** Monitoring Settings of the vault */
monitoringSettings?: MonitoringSettings;
/** The redundancy Settings of a Vault */
redundancySettings?: VaultPropertiesRedundancySettings;
}

/** Details for upgrading vault. */
Expand Down Expand Up @@ -476,9 +485,41 @@ export interface VaultPropertiesMoveDetails {
readonly targetResourceId?: string;
}

/** Monitoring Settings of the vault */
export interface MonitoringSettings {
/** Settings for Azure Monitor based alerts */
azureMonitorAlertSettings?: AzureMonitorAlertSettings;
/** Settings for classic alerts */
classicAlertSettings?: ClassicAlertSettings;
}

/** Settings for Azure Monitor based alerts */
export interface AzureMonitorAlertSettings {
alertsForAllJobFailures?: AlertsState;
}

/** Settings for classic alerts */
export interface ClassicAlertSettings {
alertsForCriticalOperations?: AlertsState;
}

/** The redundancy Settings of a Vault */
export interface VaultPropertiesRedundancySettings {
/**
* The storage redundancy setting of a vault
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly standardTierStorageRedundancy?: StandardTierStorageRedundancy;
/**
* Flag to show if Cross Region Restore is enabled on the Vault or not
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly crossRegionRestore?: CrossRegionRestore;
}

/** Identifies the unique system identifier for each Azure resource. */
export interface Sku {
/** The Sku name. */
/** Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig */
name: SkuName;
/** The Sku tier. */
tier?: string;
Expand Down Expand Up @@ -643,6 +684,8 @@ export type ResourceCertificateAndAadDetails = ResourceCertificateDetails & {
azureManagementEndpointAudience: string;
/** Service Resource Id. */
serviceResourceId?: string;
/** AAD audience for the resource */
aadAudience?: string;
};

/** Certificate details representing the Vault credentials for ACS. */
Expand Down Expand Up @@ -892,6 +935,74 @@ export enum KnownResourceMoveState {
*/
export type ResourceMoveState = string;

/** Known values of {@link BackupStorageVersion} that the service accepts. */
export enum KnownBackupStorageVersion {
V1 = "V1",
V2 = "V2",
Unassigned = "Unassigned"
}

/**
* Defines values for BackupStorageVersion. \
* {@link KnownBackupStorageVersion} can be used interchangeably with BackupStorageVersion,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **V1** \
* **V2** \
* **Unassigned**
*/
export type BackupStorageVersion = string;

/** Known values of {@link AlertsState} that the service accepts. */
export enum KnownAlertsState {
Enabled = "Enabled",
Disabled = "Disabled"
}

/**
* Defines values for AlertsState. \
* {@link KnownAlertsState} can be used interchangeably with AlertsState,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Enabled** \
* **Disabled**
*/
export type AlertsState = string;

/** Known values of {@link StandardTierStorageRedundancy} that the service accepts. */
export enum KnownStandardTierStorageRedundancy {
LocallyRedundant = "LocallyRedundant",
GeoRedundant = "GeoRedundant",
ZoneRedundant = "ZoneRedundant"
}

/**
* Defines values for StandardTierStorageRedundancy. \
* {@link KnownStandardTierStorageRedundancy} can be used interchangeably with StandardTierStorageRedundancy,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **LocallyRedundant** \
* **GeoRedundant** \
* **ZoneRedundant**
*/
export type StandardTierStorageRedundancy = string;

/** Known values of {@link CrossRegionRestore} that the service accepts. */
export enum KnownCrossRegionRestore {
Enabled = "Enabled",
Disabled = "Disabled"
}

/**
* Defines values for CrossRegionRestore. \
* {@link KnownCrossRegionRestore} can be used interchangeably with CrossRegionRestore,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Enabled** \
* **Disabled**
*/
export type CrossRegionRestore = string;

/** Known values of {@link SkuName} that the service accepts. */
export enum KnownSkuName {
Standard = "Standard",
Expand Down
Loading