Skip to content

Commit 11a0461

Browse files
author
SDKAuto
committed
CodeGen from PR 19659 in Azure/azure-rest-api-specs
Merge 1a85d6809840149edad4f25ded5935961291f91c into 996166d183e3420b8e7e08fcbb700f34749c3daa
1 parent d30b3ec commit 11a0461

31 files changed

+3328
-1814
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 13 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/CHANGELOG.md

Lines changed: 232 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,237 @@
11
# Release History
22

3+
## 4.1.0 (2022-08-05)
4+
5+
**Features**
6+
7+
- Added operation ReplicationMigrationItems.beginPauseReplication
8+
- Added operation ReplicationMigrationItems.beginPauseReplicationAndWait
9+
- Added operation ReplicationMigrationItems.beginResumeReplication
10+
- Added operation ReplicationMigrationItems.beginResumeReplicationAndWait
11+
- Added Interface A2AAddDisksInput
12+
- Added Interface A2AApplyRecoveryPointInput
13+
- Added Interface A2AContainerCreationInput
14+
- Added Interface A2AContainerMappingInput
15+
- Added Interface A2ACreateProtectionIntentInput
16+
- Added Interface A2ACrossClusterMigrationApplyRecoveryPointInput
17+
- Added Interface A2ACrossClusterMigrationContainerCreationInput
18+
- Added Interface A2ACrossClusterMigrationEnableProtectionInput
19+
- Added Interface A2ACrossClusterMigrationPolicyCreationInput
20+
- Added Interface A2ACrossClusterMigrationReplicationDetails
21+
- Added Interface A2AEnableProtectionInput
22+
- Added Interface A2AEventDetails
23+
- Added Interface A2APolicyCreationInput
24+
- Added Interface A2APolicyDetails
25+
- Added Interface A2AProtectionContainerMappingDetails
26+
- Added Interface A2ARecoveryPointDetails
27+
- Added Interface A2ARemoveDisksInput
28+
- Added Interface A2AReplicationDetails
29+
- Added Interface A2AReplicationIntentDetails
30+
- Added Interface A2AReprotectInput
31+
- Added Interface A2ASwitchProtectionInput
32+
- Added Interface A2ATestFailoverInput
33+
- Added Interface A2AUnplannedFailoverInput
34+
- Added Interface A2AUpdateContainerMappingInput
35+
- Added Interface A2AUpdateReplicationProtectedItemInput
36+
- Added Interface Alert
37+
- Added Interface AsrJobDetails
38+
- Added Interface AutomationRunbookTaskDetails
39+
- Added Interface AzureFabricCreationInput
40+
- Added Interface AzureFabricSpecificDetails
41+
- Added Interface AzureToAzureCreateNetworkMappingInput
42+
- Added Interface AzureToAzureNetworkMappingSettings
43+
- Added Interface AzureToAzureUpdateNetworkMappingInput
44+
- Added Interface ConsistencyCheckTaskDetails
45+
- Added Interface CriticalJobHistoryDetails
46+
- Added Interface Event_2
47+
- Added Interface ExistingProtectionProfile
48+
- Added Interface ExistingRecoveryAvailabilitySet
49+
- Added Interface ExistingRecoveryProximityPlacementGroup
50+
- Added Interface ExistingRecoveryResourceGroup
51+
- Added Interface ExistingRecoveryVirtualNetwork
52+
- Added Interface ExistingStorageAccount
53+
- Added Interface ExportJobDetails
54+
- Added Interface Fabric
55+
- Added Interface FabricReplicationGroupTaskDetails
56+
- Added Interface FailoverJobDetails
57+
- Added Interface HyperVReplica2012EventDetails
58+
- Added Interface HyperVReplica2012R2EventDetails
59+
- Added Interface HyperVReplicaAzureApplyRecoveryPointInput
60+
- Added Interface HyperVReplicaAzureEnableProtectionInput
61+
- Added Interface HyperVReplicaAzureEventDetails
62+
- Added Interface HyperVReplicaAzureFailbackProviderInput
63+
- Added Interface HyperVReplicaAzurePlannedFailoverProviderInput
64+
- Added Interface HyperVReplicaAzurePolicyDetails
65+
- Added Interface HyperVReplicaAzurePolicyInput
66+
- Added Interface HyperVReplicaAzureReplicationDetails
67+
- Added Interface HyperVReplicaAzureReprotectInput
68+
- Added Interface HyperVReplicaAzureTestFailoverInput
69+
- Added Interface HyperVReplicaAzureUnplannedFailoverInput
70+
- Added Interface HyperVReplicaAzureUpdateReplicationProtectedItemInput
71+
- Added Interface HyperVReplicaBaseEventDetails
72+
- Added Interface HyperVReplicaBasePolicyDetails
73+
- Added Interface HyperVReplicaBaseReplicationDetails
74+
- Added Interface HyperVReplicaBluePolicyDetails
75+
- Added Interface HyperVReplicaBluePolicyInput
76+
- Added Interface HyperVReplicaBlueReplicationDetails
77+
- Added Interface HyperVReplicaPolicyDetails
78+
- Added Interface HyperVReplicaPolicyInput
79+
- Added Interface HyperVReplicaReplicationDetails
80+
- Added Interface HyperVSiteDetails
81+
- Added Interface HyperVVirtualMachineDetails
82+
- Added Interface InlineWorkflowTaskDetails
83+
- Added Interface InMageAzureV2ApplyRecoveryPointInput
84+
- Added Interface InMageAzureV2EnableProtectionInput
85+
- Added Interface InMageAzureV2EventDetails
86+
- Added Interface InMageAzureV2PolicyDetails
87+
- Added Interface InMageAzureV2PolicyInput
88+
- Added Interface InMageAzureV2RecoveryPointDetails
89+
- Added Interface InMageAzureV2ReplicationDetails
90+
- Added Interface InMageAzureV2ReprotectInput
91+
- Added Interface InMageAzureV2SwitchProviderInput
92+
- Added Interface InMageAzureV2TestFailoverInput
93+
- Added Interface InMageAzureV2UnplannedFailoverInput
94+
- Added Interface InMageAzureV2UpdateReplicationProtectedItemInput
95+
- Added Interface InMageBasePolicyDetails
96+
- Added Interface InMageDisableProtectionProviderSpecificInput
97+
- Added Interface InMageEnableProtectionInput
98+
- Added Interface InMagePolicyDetails
99+
- Added Interface InMagePolicyInput
100+
- Added Interface InMageRcmApplianceSpecificDetails
101+
- Added Interface InMageRcmApplyRecoveryPointInput
102+
- Added Interface InMageRcmEnableProtectionInput
103+
- Added Interface InMageRcmEventDetails
104+
- Added Interface InMageRcmFabricCreationInput
105+
- Added Interface InMageRcmFabricSpecificDetails
106+
- Added Interface InMageRcmFailbackEventDetails
107+
- Added Interface InMageRcmFailbackPlannedFailoverProviderInput
108+
- Added Interface InMageRcmFailbackPolicyCreationInput
109+
- Added Interface InMageRcmFailbackPolicyDetails
110+
- Added Interface InMageRcmFailbackReplicationDetails
111+
- Added Interface InMageRcmFailbackReprotectInput
112+
- Added Interface InMageRcmPolicyCreationInput
113+
- Added Interface InMageRcmPolicyDetails
114+
- Added Interface InMageRcmProtectionContainerMappingDetails
115+
- Added Interface InMageRcmRecoveryPointDetails
116+
- Added Interface InMageRcmReplicationDetails
117+
- Added Interface InMageRcmReprotectInput
118+
- Added Interface InMageRcmTestFailoverInput
119+
- Added Interface InMageRcmUnplannedFailoverInput
120+
- Added Interface InMageRcmUpdateApplianceForReplicationProtectedItemInput
121+
- Added Interface InMageRcmUpdateContainerMappingInput
122+
- Added Interface InMageRcmUpdateReplicationProtectedItemInput
123+
- Added Interface InMageReplicationDetails
124+
- Added Interface InMageReprotectInput
125+
- Added Interface InMageTestFailoverInput
126+
- Added Interface InMageUnplannedFailoverInput
127+
- Added Interface Job
128+
- Added Interface JobStatusEventDetails
129+
- Added Interface JobTaskDetails
130+
- Added Interface LogicalNetwork
131+
- Added Interface ManualActionTaskDetails
132+
- Added Interface MigrationItem
133+
- Added Interface MigrationRecoveryPoint
134+
- Added Interface Network
135+
- Added Interface NetworkMapping
136+
- Added Interface NewProtectionProfile
137+
- Added Interface NewRecoveryVirtualNetwork
138+
- Added Interface PauseReplicationInput
139+
- Added Interface PauseReplicationInputProperties
140+
- Added Interface Policy
141+
- Added Interface ProtectableItem
142+
- Added Interface ProtectionContainer
143+
- Added Interface ProtectionContainerMapping
144+
- Added Interface RecoveryPlan
145+
- Added Interface RecoveryPlanA2ADetails
146+
- Added Interface RecoveryPlanA2AFailoverInput
147+
- Added Interface RecoveryPlanA2AInput
148+
- Added Interface RecoveryPlanAutomationRunbookActionDetails
149+
- Added Interface RecoveryPlanGroupTaskDetails
150+
- Added Interface RecoveryPlanHyperVReplicaAzureFailbackInput
151+
- Added Interface RecoveryPlanHyperVReplicaAzureFailoverInput
152+
- Added Interface RecoveryPlanInMageAzureV2FailoverInput
153+
- Added Interface RecoveryPlanInMageFailoverInput
154+
- Added Interface RecoveryPlanInMageRcmFailbackFailoverInput
155+
- Added Interface RecoveryPlanInMageRcmFailoverInput
156+
- Added Interface RecoveryPlanManualActionDetails
157+
- Added Interface RecoveryPlanScriptActionDetails
158+
- Added Interface RecoveryPlanShutdownGroupTaskDetails
159+
- Added Interface RecoveryPoint
160+
- Added Interface RecoveryServicesProvider
161+
- Added Interface ReplicationGroupDetails
162+
- Added Interface ReplicationMigrationItemsPauseReplicationOptionalParams
163+
- Added Interface ReplicationMigrationItemsResumeReplicationOptionalParams
164+
- Added Interface ReplicationProtectedItem
165+
- Added Interface ReplicationProtectionIntent
166+
- Added Interface ResumeReplicationInput
167+
- Added Interface ResumeReplicationInputProperties
168+
- Added Interface ResumeReplicationProviderSpecificInput
169+
- Added Interface ScriptActionTaskDetails
170+
- Added Interface StorageClassification
171+
- Added Interface StorageClassificationMapping
172+
- Added Interface SupportedOperatingSystems
173+
- Added Interface SwitchProtectionJobDetails
174+
- Added Interface TestFailoverJobDetails
175+
- Added Interface VaultHealthDetails
176+
- Added Interface VaultSetting
177+
- Added Interface VCenter
178+
- Added Interface VirtualMachineTaskDetails
179+
- Added Interface VmmDetails
180+
- Added Interface VmmToAzureCreateNetworkMappingInput
181+
- Added Interface VmmToAzureNetworkMappingSettings
182+
- Added Interface VmmToAzureUpdateNetworkMappingInput
183+
- Added Interface VmmToVmmCreateNetworkMappingInput
184+
- Added Interface VmmToVmmNetworkMappingSettings
185+
- Added Interface VmmToVmmUpdateNetworkMappingInput
186+
- Added Interface VmmVirtualMachineDetails
187+
- Added Interface VmNicUpdatesTaskDetails
188+
- Added Interface VMwareCbtContainerCreationInput
189+
- Added Interface VMwareCbtContainerMappingInput
190+
- Added Interface VMwareCbtEnableMigrationInput
191+
- Added Interface VMwareCbtEventDetails
192+
- Added Interface VMwareCbtMigrateInput
193+
- Added Interface VMwareCbtMigrationDetails
194+
- Added Interface VMwareCbtPolicyCreationInput
195+
- Added Interface VmwareCbtPolicyDetails
196+
- Added Interface VMwareCbtProtectionContainerMappingDetails
197+
- Added Interface VMwareCbtResumeReplicationInput
198+
- Added Interface VMwareCbtResyncInput
199+
- Added Interface VMwareCbtTestMigrateInput
200+
- Added Interface VMwareCbtUpdateMigrationItemInput
201+
- Added Interface VMwareDetails
202+
- Added Interface VMwareV2FabricCreationInput
203+
- Added Interface VMwareV2FabricSpecificDetails
204+
- Added Interface VMwareVirtualMachineDetails
205+
- Added Type Alias ReplicationMigrationItemsPauseReplicationResponse
206+
- Added Type Alias ReplicationMigrationItemsResumeReplicationResponse
207+
- Added Type Alias ResumeReplicationProviderSpecificInputUnion
208+
- Interface InMageRcmProtectedDiskDetails has a new optional parameter seedBlobUri
209+
- Interface MigrationItemProperties has a new optional parameter criticalJobHistory
210+
- Interface MigrationItemProperties has a new optional parameter lastMigrationStatus
211+
- Interface MigrationItemProperties has a new optional parameter lastMigrationTime
212+
- Interface MigrationItemProperties has a new optional parameter recoveryServicesProviderId
213+
- Interface MigrationItemProperties has a new optional parameter replicationStatus
214+
- Interface VMwareCbtNicDetails has a new optional parameter testIPAddress
215+
- Interface VMwareCbtNicDetails has a new optional parameter testIPAddressType
216+
- Interface VMwareCbtNicDetails has a new optional parameter testNetworkId
217+
- Interface VMwareCbtNicDetails has a new optional parameter testSubnetName
218+
- Interface VMwareCbtNicInput has a new optional parameter testStaticIPAddress
219+
- Interface VMwareCbtNicInput has a new optional parameter testSubnetName
220+
- Interface VMwareCbtProtectedDiskDetails has a new optional parameter seedBlobUri
221+
- Interface VMwareCbtProtectedDiskDetails has a new optional parameter targetBlobUri
222+
- Interface VMwareCbtUpdateDiskInput has a new optional parameter isOSDisk
223+
- Enum KnownMigrationItemOperation has a new value PauseReplication
224+
- Enum KnownMigrationItemOperation has a new value ResumeReplication
225+
- Enum KnownMigrationState has a new value MigrationCompletedWithInformation
226+
- Enum KnownMigrationState has a new value MigrationPartiallySucceeded
227+
- Enum KnownMigrationState has a new value ProtectionSuspended
228+
- Enum KnownMigrationState has a new value ResumeInitiated
229+
- Enum KnownMigrationState has a new value ResumeInProgress
230+
- Enum KnownMigrationState has a new value SuspendingProtection
231+
- Enum KnownTestMigrationState has a new value TestMigrationCompletedWithInformation
232+
- Enum KnownTestMigrationState has a new value TestMigrationPartiallySucceeded
233+
234+
3235
## 4.0.0 (2022-01-20)
4236

5237
The package of @azure/arm-recoveryservices-siterecovery is using our next generation design principles since version 4.0.0, which contains breaking changes.

sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
1616
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
1717
- Latest versions of Safari, Chrome, Edge and Firefox.
1818

19+
See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
20+
1921
### Prerequisites
2022

2123
- An [Azure subscription][azure_sub].
@@ -49,8 +51,17 @@ For more information about how to create an Azure AD Application check out [this
4951
```javascript
5052
const { SiteRecoveryManagementClient } = require("@azure/arm-recoveryservices-siterecovery");
5153
const { DefaultAzureCredential } = require("@azure/identity");
54+
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
55+
5256
const subscriptionId = "00000000-0000-0000-0000-000000000000";
5357
const client = new SiteRecoveryManagementClient(new DefaultAzureCredential(), subscriptionId);
58+
59+
// For client-side applications running in the browser, use this code instead:
60+
// const credential = new InteractiveBrowserCredential({
61+
// tenantId: "<YOUR_TENANT_ID>",
62+
// clientId: "<YOUR_CLIENT_ID>"
63+
// });
64+
// const client = new SiteRecoveryManagementClient(credential, subscriptionId);
5465
```
5566

5667

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2-
"commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb",
2+
"commit": "8f97ded3562d55b165f96f8a5d5a614a49f9ef44",
33
"readme": "specification/recoveryservicessiterecovery/resource-manager/readme.md",
4-
"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]",
4+
"autorest_command": "",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"use": "@autorest/[email protected]"
6+
"release_tool": "@azure-tools/[email protected]",
7+
"use": "@autorest/[email protected]"
78
}
Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,31 @@
11
{
22
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
33
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
4-
"docModel": { "enabled": true },
5-
"apiReport": { "enabled": true, "reportFolder": "./review" },
4+
"docModel": {
5+
"enabled": true
6+
},
7+
"apiReport": {
8+
"enabled": true,
9+
"reportFolder": "./review"
10+
},
611
"dtsRollup": {
712
"enabled": true,
813
"untrimmedFilePath": "",
914
"publicTrimmedFilePath": "./types/arm-recoveryservices-siterecovery.d.ts"
1015
},
1116
"messages": {
12-
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
17+
"tsdocMessageReporting": {
18+
"default": {
19+
"logLevel": "none"
20+
}
21+
},
1322
"extractorMessageReporting": {
14-
"ae-missing-release-tag": { "logLevel": "none" },
15-
"ae-unresolved-link": { "logLevel": "none" }
23+
"ae-missing-release-tag": {
24+
"logLevel": "none"
25+
},
26+
"ae-unresolved-link": {
27+
"logLevel": "none"
28+
}
1629
}
1730
}
18-
}
31+
}

0 commit comments

Comments
 (0)