Client library for RecoveryServicesClient
npm install --save @datafire/azure_recoveryservices_registeredidentities
let azure_recoveryservices_registeredidentities = require('@datafire/azure_recoveryservices_registeredidentities').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Uploads a certificate for a resource.
azure_recoveryservices_registeredidentities.VaultCertificates_Create({
"subscriptionId": "",
"api-version": "",
"resourceGroupName": "",
"vaultName": "",
"certificateName": "",
"certificateRequest": {}
}, context)
- input
object
- subscriptionId required
string
: The subscription Id. - api-version required
string
: Client Api Version. - resourceGroupName required
string
: The name of the resource group where the recovery services vault is present. - vaultName required
string
: The name of the recovery services vault. - certificateName required
string
: Certificate friendly name. - certificateRequest required CertificateRequest
- subscriptionId required
- output VaultCertificateResponse
Unregisters the given container from your Recovery Services vault.
azure_recoveryservices_registeredidentities.RegisteredIdentities_Delete({
"subscriptionId": "",
"api-version": "",
"resourceGroupName": "",
"vaultName": "",
"identityName": ""
}, context)
- input
object
- subscriptionId required
string
: The subscription Id. - api-version required
string
: Client Api Version. - resourceGroupName required
string
: The name of the resource group where the recovery services vault is present. - vaultName required
string
: The name of the recovery services vault. - identityName required
string
: Name of the protection container to unregister.
- subscriptionId required
Output schema unknown
- CertificateRequest
object
: Details of the certificate to be uploaded to the vault.- properties RawCertificateData
- RawCertificateData
object
: Raw certificate data.- authType
string
(values: Invalid, ACS, AAD, AccessControlService, AzureActiveDirectory): Specifies the authentication type. - certificate
string
: The base64 encoded certificate raw data string
- authType
- ResourceCertificateAndAadDetails
object
: Certificate details representing the Vault credentials for AAD.- aadAuthority required
string
: AAD tenant authority. - aadTenantId required
string
: AAD tenant Id. - azureManagementEndpointAudience required
string
: Azure Management Endpoint Audience. - servicePrincipalClientId required
string
: AAD service principal clientId. - servicePrincipalObjectId required
string
: AAD service principal ObjectId. - authType required
string
: This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. - certificate
string
: The base64 encoded certificate raw data string. - friendlyName
string
: Certificate friendly name. - issuer
string
: Certificate issuer. - resourceId
integer
: Resource ID of the vault. - subject
string
: Certificate Subject Name. - thumbprint
string
: Certificate thumbprint. - validFrom
string
: Certificate Validity start Date time. - validTo
string
: Certificate Validity End Date time.
- aadAuthority required
- ResourceCertificateAndAcsDetails
object
: Certificate details representing the Vault credentials for ACS.- globalAcsHostName required
string
: Acs mgmt host name to connect to. - globalAcsNamespace required
string
: ACS namespace name - tenant for our service. - globalAcsRPRealm required
string
: Global ACS namespace RP realm. - authType required
string
: This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. - certificate
string
: The base64 encoded certificate raw data string. - friendlyName
string
: Certificate friendly name. - issuer
string
: Certificate issuer. - resourceId
integer
: Resource ID of the vault. - subject
string
: Certificate Subject Name. - thumbprint
string
: Certificate thumbprint. - validFrom
string
: Certificate Validity start Date time. - validTo
string
: Certificate Validity End Date time.
- globalAcsHostName required
- ResourceCertificateDetails
object
: Certificate details representing the Vault credentials.- authType required
string
: This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. - certificate
string
: The base64 encoded certificate raw data string. - friendlyName
string
: Certificate friendly name. - issuer
string
: Certificate issuer. - resourceId
integer
: Resource ID of the vault. - subject
string
: Certificate Subject Name. - thumbprint
string
: Certificate thumbprint. - validFrom
string
: Certificate Validity start Date time. - validTo
string
: Certificate Validity End Date time.
- authType required
- VaultCertificateResponse
object
: Certificate corresponding to a vault that can be used by clients to register themselves with the vault.- id
string
: Resource Id represents the complete path to the resource. - name
string
: Resource name associated with the resource. - properties ResourceCertificateDetails
- type
string
: Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- id