Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR] recoveryservicessiterecovery/resource-manager #4303

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 @@ -39,15 +39,15 @@ class A2AEnableProtectionInput extends models['EnableProtectionProviderSpecificI
* @member {object} [diskEncryptionInfo.diskEncryptionKeyInfo] The recovery
* KeyVault reference for secret.
* @member {string}
* [diskEncryptionInfo.diskEncryptionKeyInfo.secretIdentifier] The secret url
* [diskEncryptionInfo.diskEncryptionKeyInfo.secretIdentifier] The secret url
* / identifier.
* @member {string}
* [diskEncryptionInfo.diskEncryptionKeyInfo.keyVaultResourceArmId] The
* KeyVault resource ARM id for secret.
* @member {object} [diskEncryptionInfo.keyEncryptionKeyInfo] The recovery
* KeyVault reference for key.
* @member {string} [diskEncryptionInfo.keyEncryptionKeyInfo.keyIdentifier]
* The key url / identifier.
* The key url / identifier.
* @member {string}
* [diskEncryptionInfo.keyEncryptionKeyInfo.keyVaultResourceArmId] The
* KeyVault resource ARM id for key.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ class A2ASwitchProtectionInput extends models['SwitchProtectionProviderSpecificI
* @member {object} [diskEncryptionInfo.diskEncryptionKeyInfo] The recovery
* KeyVault reference for secret.
* @member {string}
* [diskEncryptionInfo.diskEncryptionKeyInfo.secretIdentifier] The secret url
* [diskEncryptionInfo.diskEncryptionKeyInfo.secretIdentifier] The secret url
* / identifier.
* @member {string}
* [diskEncryptionInfo.diskEncryptionKeyInfo.keyVaultResourceArmId] The
* KeyVault resource ARM id for secret.
* @member {object} [diskEncryptionInfo.keyEncryptionKeyInfo] The recovery
* KeyVault reference for key.
* @member {string} [diskEncryptionInfo.keyEncryptionKeyInfo.keyIdentifier]
* The key url / identifier.
* The key url / identifier.
* @member {string}
* [diskEncryptionInfo.keyEncryptionKeyInfo.keyVaultResourceArmId] The
* KeyVault resource ARM id for key.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ class A2AUpdateReplicationProtectedItemInput extends models['UpdateReplicationPr
* @member {object} [diskEncryptionInfo.diskEncryptionKeyInfo] The recovery
* KeyVault reference for secret.
* @member {string}
* [diskEncryptionInfo.diskEncryptionKeyInfo.secretIdentifier] The secret url
* [diskEncryptionInfo.diskEncryptionKeyInfo.secretIdentifier] The secret url
* / identifier.
* @member {string}
* [diskEncryptionInfo.diskEncryptionKeyInfo.keyVaultResourceArmId] The
* KeyVault resource ARM id for secret.
* @member {object} [diskEncryptionInfo.keyEncryptionKeyInfo] The recovery
* KeyVault reference for key.
* @member {string} [diskEncryptionInfo.keyEncryptionKeyInfo.keyIdentifier]
* The key url / identifier.
* The key url / identifier.
* @member {string}
* [diskEncryptionInfo.keyEncryptionKeyInfo.keyVaultResourceArmId] The
* KeyVault resource ARM id for key.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

/**
* Input required to add a provider.
*
*/
class AddRecoveryServicesProviderInput {
/**
* Create a AddRecoveryServicesProviderInput.
* @member {object} properties The properties of an add provider request.
* @member {string} [properties.machineName] The name of the machine where
* the provider is getting added.
* @member {object} [properties.authenticationIdentityInput] The identity
* provider input for DRA authentication.
* @member {string} [properties.authenticationIdentityInput.tenantId] The
* tenant Id for the service principal with which the on-premise
* management/data plane components would communicate with our Azure
* services.
* @member {string} [properties.authenticationIdentityInput.applicationId]
* The application/client Id for the service principal with which the
* on-premise management/data plane components would communicate with our
* Azure services.
* @member {string} [properties.authenticationIdentityInput.objectId] The
* object Id of the service principal with which the on-premise
* management/data plane components would communicate with our Azure
* services.
* @member {string} [properties.authenticationIdentityInput.audience] The
* intended Audience of the service principal with which the on-premise
* management/data plane components would communicate with our Azure
* services.
* @member {string} [properties.authenticationIdentityInput.aadAuthority] The
* base authority for Azure Active Directory authentication.
* @member {object} [properties.resourceAccessIdentityInput] The identity
* provider input for resource access.
* @member {string} [properties.resourceAccessIdentityInput.tenantId] The
* tenant Id for the service principal with which the on-premise
* management/data plane components would communicate with our Azure
* services.
* @member {string} [properties.resourceAccessIdentityInput.applicationId]
* The application/client Id for the service principal with which the
* on-premise management/data plane components would communicate with our
* Azure services.
* @member {string} [properties.resourceAccessIdentityInput.objectId] The
* object Id of the service principal with which the on-premise
* management/data plane components would communicate with our Azure
* services.
* @member {string} [properties.resourceAccessIdentityInput.audience] The
* intended Audience of the service principal with which the on-premise
* management/data plane components would communicate with our Azure
* services.
* @member {string} [properties.resourceAccessIdentityInput.aadAuthority] The
* base authority for Azure Active Directory authentication.
*/
constructor() {
}

/**
* Defines the metadata of AddRecoveryServicesProviderInput
*
* @returns {object} metadata of AddRecoveryServicesProviderInput
*
*/
mapper() {
return {
required: false,
serializedName: 'AddRecoveryServicesProviderInput',
type: {
name: 'Composite',
className: 'AddRecoveryServicesProviderInput',
modelProperties: {
properties: {
required: true,
serializedName: 'properties',
type: {
name: 'Composite',
className: 'AddRecoveryServicesProviderInputProperties'
}
}
}
}
};
}
}

module.exports = AddRecoveryServicesProviderInput;
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

/**
* The properties of an add provider request.
*
*/
class AddRecoveryServicesProviderInputProperties {
/**
* Create a AddRecoveryServicesProviderInputProperties.
* @member {string} machineName The name of the machine where the provider is
* getting added.
* @member {object} authenticationIdentityInput The identity provider input
* for DRA authentication.
* @member {string} [authenticationIdentityInput.tenantId] The tenant Id for
* the service principal with which the on-premise management/data plane
* components would communicate with our Azure services.
* @member {string} [authenticationIdentityInput.applicationId] The
* application/client Id for the service principal with which the on-premise
* management/data plane components would communicate with our Azure
* services.
* @member {string} [authenticationIdentityInput.objectId] The object Id of
* the service principal with which the on-premise management/data plane
* components would communicate with our Azure services.
* @member {string} [authenticationIdentityInput.audience] The intended
* Audience of the service principal with which the on-premise
* management/data plane components would communicate with our Azure
* services.
* @member {string} [authenticationIdentityInput.aadAuthority] The base
* authority for Azure Active Directory authentication.
* @member {object} resourceAccessIdentityInput The identity provider input
* for resource access.
* @member {string} [resourceAccessIdentityInput.tenantId] The tenant Id for
* the service principal with which the on-premise management/data plane
* components would communicate with our Azure services.
* @member {string} [resourceAccessIdentityInput.applicationId] The
* application/client Id for the service principal with which the on-premise
* management/data plane components would communicate with our Azure
* services.
* @member {string} [resourceAccessIdentityInput.objectId] The object Id of
* the service principal with which the on-premise management/data plane
* components would communicate with our Azure services.
* @member {string} [resourceAccessIdentityInput.audience] The intended
* Audience of the service principal with which the on-premise
* management/data plane components would communicate with our Azure
* services.
* @member {string} [resourceAccessIdentityInput.aadAuthority] The base
* authority for Azure Active Directory authentication.
*/
constructor() {
}

/**
* Defines the metadata of AddRecoveryServicesProviderInputProperties
*
* @returns {object} metadata of AddRecoveryServicesProviderInputProperties
*
*/
mapper() {
return {
required: false,
serializedName: 'AddRecoveryServicesProviderInputProperties',
type: {
name: 'Composite',
className: 'AddRecoveryServicesProviderInputProperties',
modelProperties: {
machineName: {
required: true,
serializedName: 'machineName',
type: {
name: 'String'
}
},
authenticationIdentityInput: {
required: true,
serializedName: 'authenticationIdentityInput',
type: {
name: 'Composite',
className: 'IdentityProviderInput'
}
},
resourceAccessIdentityInput: {
required: true,
serializedName: 'resourceAccessIdentityInput',
type: {
name: 'Composite',
className: 'IdentityProviderInput'
}
}
}
}
};
}
}

module.exports = AddRecoveryServicesProviderInputProperties;
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'use strict';

/**
* The proprties of an alert.
* The properties of an alert.
*
*/
class AlertProperties {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
const models = require('./index');

/**
* Create network mappings input properties/behaviour specific to Azure to
* Azure Network mapping.
* Create network mappings input properties/behavior specific to Azure to Azure
* Network mapping.
*
* @extends models['FabricSpecificCreateNetworkMappingInput']
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const models = require('./index');

/**
* This class contains monitoring details of all the inconsistent Protected
* Entites in Vmm.
* Entities in Vmm.
*
* @extends models['TaskTypeDetails']
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

/**
* Current job details of the migration item.
*
*/
class CurrentJobDetails {
/**
* Create a CurrentJobDetails.
* @member {string} [jobName] The job name.
* @member {string} [jobId] The ARM Id of the job being executed.
* @member {date} [startTime] The start time of the job.
*/
constructor() {
}

/**
* Defines the metadata of CurrentJobDetails
*
* @returns {object} metadata of CurrentJobDetails
*
*/
mapper() {
return {
required: false,
serializedName: 'CurrentJobDetails',
type: {
name: 'Composite',
className: 'CurrentJobDetails',
modelProperties: {
jobName: {
required: false,
serializedName: 'jobName',
type: {
name: 'String'
}
},
jobId: {
required: false,
serializedName: 'jobId',
type: {
name: 'String'
}
},
startTime: {
required: false,
serializedName: 'startTime',
type: {
name: 'DateTime'
}
}
}
}
};
}
}

module.exports = CurrentJobDetails;
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'use strict';

/**
* The datastore details of the MT.
* The data store details of the MT.
*
*/
class DataStore {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'use strict';

/**
* Onprem disk details data.
* On-prem disk details data.
*
*/
class DiskDetails {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ class DiskEncryptionInfo {
* Create a DiskEncryptionInfo.
* @member {object} [diskEncryptionKeyInfo] The recovery KeyVault reference
* for secret.
* @member {string} [diskEncryptionKeyInfo.secretIdentifier] The secret url /
* @member {string} [diskEncryptionKeyInfo.secretIdentifier] The secret url /
* identifier.
* @member {string} [diskEncryptionKeyInfo.keyVaultResourceArmId] The
* KeyVault resource ARM id for secret.
* @member {object} [keyEncryptionKeyInfo] The recovery KeyVault reference
* for key.
* @member {string} [keyEncryptionKeyInfo.keyIdentifier] The key url /
* @member {string} [keyEncryptionKeyInfo.keyIdentifier] The key url /
* identifier.
* @member {string} [keyEncryptionKeyInfo.keyVaultResourceArmId] The KeyVault
* @member {string} [keyEncryptionKeyInfo.keyVaultResourceArmId] The KeyVault
* resource ARM id for key.
*/
constructor() {
Expand Down
Loading