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-recoveryservicesbackup] Add api-version 2020-02-02 of recoveryservicebackup for go SDK #890

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
10 changes: 6 additions & 4 deletions sdk/recoveryservicesbackup/arm-recoveryservicesbackup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ npm install @azure/arm-recoveryservicesbackup

### How to use

#### nodejs - Authentication, client creation and get backupResourceVaultConfigs as an example written in TypeScript.
#### nodejs - Authentication, client creation and get privateEndpointConnection as an example written in TypeScript.

##### Install @azure/ms-rest-nodeauth

Expand All @@ -37,7 +37,8 @@ msRestNodeAuth.interactiveLogin().then((creds) => {
const client = new RecoveryServicesBackupClient(creds, subscriptionId);
const vaultName = "testvaultName";
const resourceGroupName = "testresourceGroupName";
client.backupResourceVaultConfigs.get(vaultName, resourceGroupName).then((result) => {
const privateEndpointConnectionName = "testprivateEndpointConnectionName";
client.privateEndpointConnection.get(vaultName, resourceGroupName, privateEndpointConnectionName).then((result) => {
console.log("The result is:");
console.log(result);
});
Expand All @@ -46,7 +47,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => {
});
```

#### browser - Authentication, client creation and get backupResourceVaultConfigs as an example written in JavaScript.
#### browser - Authentication, client creation and get privateEndpointConnection as an example written in JavaScript.

##### Install @azure/ms-rest-browserauth

Expand Down Expand Up @@ -82,7 +83,8 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to
const client = new Azure.ArmRecoveryservicesbackup.RecoveryServicesBackupClient(res.creds, subscriptionId);
const vaultName = "testvaultName";
const resourceGroupName = "testresourceGroupName";
client.backupResourceVaultConfigs.get(vaultName, resourceGroupName).then((result) => {
const privateEndpointConnectionName = "testprivateEndpointConnectionName";
client.privateEndpointConnection.get(vaultName, resourceGroupName, privateEndpointConnectionName).then((result) => {
console.log("The result is:");
console.log(result);
}).catch((err) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ export {
MonthlyRetentionSchedule,
PointInTimeRange,
PreBackupValidation,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateEndpointConnectionResource,
PrivateLinkServiceConnectionState,
ProtectableContainer,
ProtectableContainerResource,
ProtectableContainerResourceList,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ export {
MonthlyRetentionSchedule,
PointInTimeRange,
PreBackupValidation,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateEndpointConnectionResource,
PrivateLinkServiceConnectionState,
ProtectableContainer,
ProtectableContainerResource,
ProtectableContainerResourceList,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ export {
MonthlyRetentionSchedule,
PointInTimeRange,
PreBackupValidation,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateEndpointConnectionResource,
PrivateLinkServiceConnectionState,
ProtectableContainer,
ProtectableContainerResource,
ProtectableContainerResourceList,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ export {
MonthlyRetentionSchedule,
PointInTimeRange,
PreBackupValidation,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateEndpointConnectionResource,
PrivateLinkServiceConnectionState,
ProtectableContainer,
ProtectableContainerResource,
ProtectableContainerResourceList,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ export {
MonthlyRetentionSchedule,
PointInTimeRange,
PreBackupValidation,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateEndpointConnectionResource,
PrivateLinkServiceConnectionState,
ProtectableContainer,
ProtectableContainerResource,
ProtectableContainerResourceList,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ export {
MonthlyRetentionSchedule,
PointInTimeRange,
PreBackupValidation,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateEndpointConnectionResource,
PrivateLinkServiceConnectionState,
ProtectableContainer,
ProtectableContainerResource,
ProtectableContainerResourceList,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ export {
MonthlyRetentionSchedule,
PointInTimeRange,
PreBackupValidation,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateEndpointConnectionResource,
PrivateLinkServiceConnectionState,
ProtectableContainer,
ProtectableContainerResource,
ProtectableContainerResourceList,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ export {
MonthlyRetentionSchedule,
PointInTimeRange,
PreBackupValidation,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateEndpointConnectionResource,
PrivateLinkServiceConnectionState,
ProtectableContainer,
ProtectableContainerResource,
ProtectedItem,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ export {
DPMProtectedItem,
DPMProtectedItemExtendedInfo,
EncryptionDetails,
ErrorAdditionalInfo,
ErrorDetail,
ErrorResponse,
ExtendedProperties,
GenericContainer,
GenericContainerExtendedInfo,
Expand Down Expand Up @@ -156,6 +158,10 @@ export {
MonthlyRetentionSchedule,
PointInTimeRange,
PreBackupValidation,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateEndpointConnectionResource,
PrivateLinkServiceConnectionState,
ProtectableContainer,
ProtectableContainerResource,
ProtectedItem,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ export {
MonthlyRetentionSchedule,
PointInTimeRange,
PreBackupValidation,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateEndpointConnectionResource,
PrivateLinkServiceConnectionState,
ProtectableContainer,
ProtectableContainerResource,
ProtectableContainerResourceList,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ export {
MonthlyRetentionSchedule,
PointInTimeRange,
PreBackupValidation,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateEndpointConnectionResource,
PrivateLinkServiceConnectionState,
ProtectableContainer,
ProtectableContainerResource,
ProtectedItem,
Expand Down
Loading