Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@azure/arm-recoveryservices

Package Overview
Dependencies
Maintainers
6
Versions
303
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/arm-recoveryservices - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

2

dist/arm-recoveryservices.min.js

@@ -1,1 +0,1 @@

!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@azure/ms-rest-azure-js"),require("@azure/ms-rest-js")):"function"==typeof define&&define.amd?define(["exports","@azure/ms-rest-azure-js","@azure/ms-rest-js"],r):r(((e=e||self).Azure=e.Azure||{},e.Azure.ArmRecoveryservices={}),e.msRestAzure,e.msRest)}(this,function(e,s,r){"use strict";var a=function(e,r){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])})(e,r)};function t(e,r){function t(){this.constructor=e}a(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}var i=function(){return(i=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var i in r=arguments[t])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e}).apply(this,arguments)},o=Object.freeze({__proto__:null}),n=s.CloudErrorMapper,p=s.BaseResourceMapper,m={serializedName:"RawCertificateData",type:{name:"Composite",className:"RawCertificateData",modelProperties:{authType:{serializedName:"authType",type:{name:"String"}},certificate:{serializedName:"certificate",type:{name:"ByteArray"}}}}},l={serializedName:"CertificateRequest",type:{name:"Composite",className:"CertificateRequest",modelProperties:{properties:{serializedName:"properties",type:{name:"Composite",className:"RawCertificateData"}}}}},u={serializedName:"ResourceCertificateDetails",type:{name:"Composite",polymorphicDiscriminator:{serializedName:"authType",clientName:"authType"},uberParent:"ResourceCertificateDetails",className:"ResourceCertificateDetails",modelProperties:{certificate:{serializedName:"certificate",type:{name:"ByteArray"}},friendlyName:{serializedName:"friendlyName",type:{name:"String"}},issuer:{serializedName:"issuer",type:{name:"String"}},resourceId:{serializedName:"resourceId",type:{name:"Number"}},subject:{serializedName:"subject",type:{name:"String"}},thumbprint:{serializedName:"thumbprint",type:{name:"String"}},validFrom:{serializedName:"validFrom",type:{name:"DateTime"}},validTo:{serializedName:"validTo",type:{name:"DateTime"}},authType:{required:!0,serializedName:"authType",type:{name:"String"}}}}},c={serializedName:"AzureActiveDirectory",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"ResourceCertificateDetails",className:"ResourceCertificateAndAadDetails",modelProperties:i(i({},u.type.modelProperties),{aadAuthority:{required:!0,serializedName:"aadAuthority",type:{name:"String"}},aadTenantId:{required:!0,serializedName:"aadTenantId",type:{name:"String"}},servicePrincipalClientId:{required:!0,serializedName:"servicePrincipalClientId",type:{name:"String"}},servicePrincipalObjectId:{required:!0,serializedName:"servicePrincipalObjectId",type:{name:"String"}},azureManagementEndpointAudience:{required:!0,serializedName:"azureManagementEndpointAudience",type:{name:"String"}}})}},d={serializedName:"AccessControlService",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"ResourceCertificateDetails",className:"ResourceCertificateAndAcsDetails",modelProperties:i(i({},u.type.modelProperties),{globalAcsNamespace:{required:!0,serializedName:"globalAcsNamespace",type:{name:"String"}},globalAcsHostName:{required:!0,serializedName:"globalAcsHostName",type:{name:"String"}},globalAcsRPRealm:{required:!0,serializedName:"globalAcsRPRealm",type:{name:"String"}}})}},y={serializedName:"VaultCertificateResponse",type:{name:"Composite",className:"VaultCertificateResponse",modelProperties:{name:{readOnly:!0,serializedName:"name",type:{name:"String"}},type:{readOnly:!0,serializedName:"type",type:{name:"String"}},id:{readOnly:!0,serializedName:"id",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"ResourceCertificateDetails"}}}}},N={serializedName:"JobsSummary",type:{name:"Composite",className:"JobsSummary",modelProperties:{failedJobs:{serializedName:"failedJobs",type:{name:"Number"}},suspendedJobs:{serializedName:"suspendedJobs",type:{name:"Number"}},inProgressJobs:{serializedName:"inProgressJobs",type:{name:"Number"}}}}},v={serializedName:"MonitoringSummary",type:{name:"Composite",className:"MonitoringSummary",modelProperties:{unHealthyVmCount:{serializedName:"unHealthyVmCount",type:{name:"Number"}},unHealthyProviderCount:{serializedName:"unHealthyProviderCount",type:{name:"Number"}},eventsCount:{serializedName:"eventsCount",type:{name:"Number"}},deprecatedProviderCount:{serializedName:"deprecatedProviderCount",type:{name:"Number"}},supportedProviderCount:{serializedName:"supportedProviderCount",type:{name:"Number"}},unsupportedProviderCount:{serializedName:"unsupportedProviderCount",type:{name:"Number"}}}}},z={serializedName:"ReplicationUsage",type:{name:"Composite",className:"ReplicationUsage",modelProperties:{monitoringSummary:{serializedName:"monitoringSummary",type:{name:"Composite",className:"MonitoringSummary"}},jobsSummary:{serializedName:"jobsSummary",type:{name:"Composite",className:"JobsSummary"}},protectedItemCount:{serializedName:"protectedItemCount",type:{name:"Number"}},recoveryPlanCount:{serializedName:"recoveryPlanCount",type:{name:"Number"}},registeredServersCount:{serializedName:"registeredServersCount",type:{name:"Number"}},recoveryServicesProviderAuthType:{serializedName:"recoveryServicesProviderAuthType",type:{name:"Number"}}}}},P={serializedName:"CheckNameAvailabilityParameters",type:{name:"Composite",className:"CheckNameAvailabilityParameters",modelProperties:{type:{serializedName:"type",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}}}}},g={serializedName:"CheckNameAvailabilityResult",type:{name:"Composite",className:"CheckNameAvailabilityResult",modelProperties:{nameAvailable:{serializedName:"nameAvailable",type:{name:"Boolean"}},reason:{serializedName:"reason",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}}}}},S={serializedName:"ClientDiscoveryDisplay",type:{name:"Composite",className:"ClientDiscoveryDisplay",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}}}}},C={serializedName:"ClientDiscoveryForLogSpecification",type:{name:"Composite",className:"ClientDiscoveryForLogSpecification",modelProperties:{name:{serializedName:"name",type:{name:"String"}},displayName:{serializedName:"displayName",type:{name:"String"}},blobDuration:{serializedName:"blobDuration",type:{name:"String"}}}}},f={serializedName:"ClientDiscoveryForServiceSpecification",type:{name:"Composite",className:"ClientDiscoveryForServiceSpecification",modelProperties:{logSpecifications:{serializedName:"logSpecifications",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClientDiscoveryForLogSpecification"}}}}}}},h={serializedName:"ClientDiscoveryForProperties",type:{name:"Composite",className:"ClientDiscoveryForProperties",modelProperties:{serviceSpecification:{serializedName:"serviceSpecification",type:{name:"Composite",className:"ClientDiscoveryForServiceSpecification"}}}}},R={serializedName:"ClientDiscoveryValueForSingleApi",type:{name:"Composite",className:"ClientDiscoveryValueForSingleApi",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"ClientDiscoveryDisplay"}},origin:{serializedName:"origin",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"ClientDiscoveryForProperties"}}}}},b={serializedName:"Resource",type:{name:"Composite",className:"Resource",modelProperties:{id:{readOnly:!0,serializedName:"id",type:{name:"String"}},name:{readOnly:!0,serializedName:"name",type:{name:"String"}},type:{readOnly:!0,serializedName:"type",type:{name:"String"}},eTag:{serializedName:"eTag",type:{name:"String"}}}}},D={serializedName:"Sku",type:{name:"Composite",className:"Sku",modelProperties:{name:{required:!0,serializedName:"name",type:{name:"String"}}}}},q={serializedName:"TrackedResource",type:{name:"Composite",className:"TrackedResource",modelProperties:i(i({},b.type.modelProperties),{location:{required:!0,serializedName:"location",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}})}},M={serializedName:"PatchTrackedResource",type:{name:"Composite",className:"PatchTrackedResource",modelProperties:i(i({},b.type.modelProperties),{location:{serializedName:"location",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}})}},O={serializedName:"UpgradeDetails",type:{name:"Composite",className:"UpgradeDetails",modelProperties:{operationId:{readOnly:!0,serializedName:"operationId",type:{name:"String"}},startTimeUtc:{readOnly:!0,serializedName:"startTimeUtc",type:{name:"DateTime"}},lastUpdatedTimeUtc:{readOnly:!0,serializedName:"lastUpdatedTimeUtc",type:{name:"DateTime"}},endTimeUtc:{readOnly:!0,serializedName:"endTimeUtc",type:{name:"DateTime"}},status:{readOnly:!0,serializedName:"status",type:{name:"String"}},message:{readOnly:!0,serializedName:"message",type:{name:"String"}},triggerType:{readOnly:!0,serializedName:"triggerType",type:{name:"String"}},upgradedResourceId:{readOnly:!0,serializedName:"upgradedResourceId",type:{name:"String"}},previousResourceId:{readOnly:!0,serializedName:"previousResourceId",type:{name:"String"}}}}},k={serializedName:"IdentityData",type:{name:"Composite",className:"IdentityData",modelProperties:{principalId:{readOnly:!0,serializedName:"principalId",type:{name:"String"}},tenantId:{readOnly:!0,serializedName:"tenantId",type:{name:"String"}},type:{required:!0,serializedName:"type",type:{name:"String"}}}}},E={serializedName:"PrivateEndpoint",type:{name:"Composite",className:"PrivateEndpoint",modelProperties:{id:{readOnly:!0,serializedName:"id",type:{name:"String"}}}}},I={serializedName:"PrivateLinkServiceConnectionState",type:{name:"Composite",className:"PrivateLinkServiceConnectionState",modelProperties:{status:{readOnly:!0,serializedName:"status",type:{name:"String"}},description:{readOnly:!0,serializedName:"description",type:{name:"String"}},actionsRequired:{readOnly:!0,serializedName:"actionsRequired",type:{name:"String"}}}}},V={serializedName:"PrivateEndpointConnection",type:{name:"Composite",className:"PrivateEndpointConnection",modelProperties:{provisioningState:{readOnly:!0,serializedName:"provisioningState",type:{name:"String"}},privateEndpoint:{serializedName:"privateEndpoint",type:{name:"Composite",className:"PrivateEndpoint"}},privateLinkServiceConnectionState:{serializedName:"privateLinkServiceConnectionState",type:{name:"Composite",className:"PrivateLinkServiceConnectionState"}}}}},T={serializedName:"PrivateEndpointConnectionVaultProperties",type:{name:"Composite",className:"PrivateEndpointConnectionVaultProperties",modelProperties:{id:{readOnly:!0,serializedName:"id",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"PrivateEndpointConnection"}}}}},A={serializedName:"VaultProperties",type:{name:"Composite",className:"VaultProperties",modelProperties:{provisioningState:{readOnly:!0,serializedName:"provisioningState",type:{name:"String"}},upgradeDetails:{serializedName:"upgradeDetails",type:{name:"Composite",className:"UpgradeDetails"}},privateEndpointConnections:{readOnly:!0,serializedName:"privateEndpointConnections",type:{name:"Sequence",element:{type:{name:"Composite",className:"PrivateEndpointConnectionVaultProperties"}}}},privateEndpointStateForBackup:{readOnly:!0,serializedName:"privateEndpointStateForBackup",type:{name:"String"}},privateEndpointStateForSiteRecovery:{readOnly:!0,serializedName:"privateEndpointStateForSiteRecovery",type:{name:"String"}}}}},L={serializedName:"Vault",type:{name:"Composite",className:"Vault",modelProperties:i(i({},q.type.modelProperties),{identity:{serializedName:"identity",type:{name:"Composite",className:"IdentityData"}},properties:{serializedName:"properties",type:{name:"Composite",className:"VaultProperties"}},sku:{serializedName:"sku",type:{name:"Composite",className:"Sku"}}})}},G={serializedName:"PatchVault",type:{name:"Composite",className:"PatchVault",modelProperties:i(i({},M.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"VaultProperties"}},sku:{serializedName:"sku",type:{name:"Composite",className:"Sku"}}})}},_={serializedName:"VaultExtendedInfoResource",type:{name:"Composite",className:"VaultExtendedInfoResource",modelProperties:i(i({},b.type.modelProperties),{integrityKey:{serializedName:"properties.integrityKey",type:{name:"String"}},encryptionKey:{serializedName:"properties.encryptionKey",type:{name:"String"}},encryptionKeyThumbprint:{serializedName:"properties.encryptionKeyThumbprint",type:{name:"String"}},algorithm:{serializedName:"properties.algorithm",type:{name:"String"}}})}},U={serializedName:"PrivateLinkResource",type:{name:"Composite",className:"PrivateLinkResource",modelProperties:{groupId:{readOnly:!0,serializedName:"properties.groupId",type:{name:"String"}},requiredMembers:{readOnly:!0,serializedName:"properties.requiredMembers",type:{name:"Sequence",element:{type:{name:"String"}}}},requiredZoneNames:{readOnly:!0,serializedName:"properties.requiredZoneNames",type:{name:"Sequence",element:{type:{name:"String"}}}},id:{readOnly:!0,serializedName:"id",type:{name:"String"}},name:{readOnly:!0,serializedName:"name",type:{name:"String"}},type:{readOnly:!0,serializedName:"type",type:{name:"String"}}}}},x={serializedName:"NameInfo",type:{name:"Composite",className:"NameInfo",modelProperties:{value:{serializedName:"value",type:{name:"String"}},localizedValue:{serializedName:"localizedValue",type:{name:"String"}}}}},w={serializedName:"VaultUsage",type:{name:"Composite",className:"VaultUsage",modelProperties:{unit:{serializedName:"unit",type:{name:"String"}},quotaPeriod:{serializedName:"quotaPeriod",type:{name:"String"}},nextResetTime:{serializedName:"nextResetTime",type:{name:"DateTime"}},currentValue:{serializedName:"currentValue",type:{name:"Number"}},limit:{serializedName:"limit",type:{name:"Number"}},name:{serializedName:"name",type:{name:"Composite",className:"NameInfo"}}}}},j={serializedName:"ReplicationUsageList",type:{name:"Composite",className:"ReplicationUsageList",modelProperties:{value:{serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"ReplicationUsage"}}}}}}},F={serializedName:"PrivateLinkResources",type:{name:"Composite",className:"PrivateLinkResources",modelProperties:{value:{serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"PrivateLinkResource"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},B={serializedName:"VaultList",type:{name:"Composite",className:"VaultList",modelProperties:{value:{serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"Vault"}}}},nextLink:{readOnly:!0,serializedName:"nextLink",type:{name:"String"}}}}},J={serializedName:"ClientDiscoveryResponse",type:{name:"Composite",className:"ClientDiscoveryResponse",modelProperties:{value:{serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClientDiscoveryValueForSingleApi"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},H={serializedName:"VaultUsageList",type:{name:"Composite",className:"VaultUsageList",modelProperties:{value:{serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"VaultUsage"}}}}}}},K={"ResourceCertificateDetails.AzureActiveDirectory":c,"ResourceCertificateDetails.AccessControlService":d,ResourceCertificateDetails:u},Z=Object.freeze({__proto__:null,CloudError:n,BaseResource:p,RawCertificateData:m,CertificateRequest:l,ResourceCertificateDetails:u,ResourceCertificateAndAadDetails:c,ResourceCertificateAndAcsDetails:d,VaultCertificateResponse:y,JobsSummary:N,MonitoringSummary:v,ReplicationUsage:z,CheckNameAvailabilityParameters:P,CheckNameAvailabilityResult:g,ClientDiscoveryDisplay:S,ClientDiscoveryForLogSpecification:C,ClientDiscoveryForServiceSpecification:f,ClientDiscoveryForProperties:h,ClientDiscoveryValueForSingleApi:R,Resource:b,Sku:D,TrackedResource:q,PatchTrackedResource:M,UpgradeDetails:O,IdentityData:k,PrivateEndpoint:E,PrivateLinkServiceConnectionState:I,PrivateEndpointConnection:V,PrivateEndpointConnectionVaultProperties:T,VaultProperties:A,Vault:L,PatchVault:G,VaultExtendedInfoResource:_,PrivateLinkResource:U,NameInfo:x,VaultUsage:w,ReplicationUsageList:j,PrivateLinkResources:F,VaultList:B,ClientDiscoveryResponse:J,VaultUsageList:H,discriminators:K}),Q=Object.freeze({__proto__:null,discriminators:K,BaseResource:p,CertificateRequest:l,CloudError:n,IdentityData:k,PatchTrackedResource:M,PatchVault:G,PrivateEndpoint:E,PrivateEndpointConnection:V,PrivateEndpointConnectionVaultProperties:T,PrivateLinkServiceConnectionState:I,RawCertificateData:m,Resource:b,ResourceCertificateAndAadDetails:c,ResourceCertificateAndAcsDetails:d,ResourceCertificateDetails:u,Sku:D,TrackedResource:q,UpgradeDetails:O,Vault:L,VaultCertificateResponse:y,VaultExtendedInfoResource:_,VaultProperties:A}),W={parameterPath:"acceptLanguage",mapper:{serializedName:"accept-language",defaultValue:"en-US",type:{name:"String"}}},X={parameterPath:"apiVersion",mapper:{required:!0,serializedName:"api-version",type:{name:"String"}}},Y={parameterPath:"nextPageLink",mapper:{required:!0,serializedName:"nextLink",type:{name:"String"}},skipEncoding:!0},$={parameterPath:"resourceGroupName",mapper:{required:!0,serializedName:"resourceGroupName",type:{name:"String"}}},ee={parameterPath:"subscriptionId",mapper:{required:!0,serializedName:"subscriptionId",type:{name:"String"}}},re={parameterPath:"vaultName",mapper:{required:!0,serializedName:"vaultName",type:{name:"String"}}},te=(ae.prototype.create=function(e,r,t,a,i,s){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,certificateName:t,certificateRequest:a,options:i},se,s)},ae);function ae(e){this.client=e}var ie=new r.Serializer(Q),se={httpMethod:"PUT",path:"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/certificates/{certificateName}",urlParameters:[ee,$,re,{parameterPath:"certificateName",mapper:{required:!0,serializedName:"certificateName",type:{name:"String"}}}],queryParameters:[X],headerParameters:[W],requestBody:{parameterPath:"certificateRequest",mapper:i(i({},l),{required:!0})},responses:{200:{bodyMapper:y},default:{bodyMapper:n}},serializer:ie},oe=Object.freeze({__proto__:null,discriminators:K,CloudError:n}),ne=(pe.prototype.deleteMethod=function(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,identityName:t,options:a},me,i)},pe);function pe(e){this.client=e}var me={httpMethod:"DELETE",path:"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/registeredIdentities/{identityName}",urlParameters:[ee,$,re,{parameterPath:"identityName",mapper:{required:!0,serializedName:"identityName",type:{name:"String"}}}],queryParameters:[X],headerParameters:[W],responses:{204:{},default:{bodyMapper:n}},serializer:new r.Serializer(oe)},le=Object.freeze({__proto__:null,discriminators:K,CloudError:n,JobsSummary:N,MonitoringSummary:v,ReplicationUsage:z,ReplicationUsageList:j}),ue=(ce.prototype.list=function(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:t},de,a)},ce);function ce(e){this.client=e}var de={httpMethod:"GET",path:"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/replicationUsages",urlParameters:[ee,$,re],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:j},default:{bodyMapper:n}},serializer:new r.Serializer(le)},ye=Object.freeze({__proto__:null,discriminators:K,CloudError:n,PrivateLinkResource:U,PrivateLinkResources:F}),Ne=(ve.prototype.list=function(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:t},Pe,a)},ve.prototype.get=function(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,privateLinkResourceName:t,options:a},ge,i)},ve.prototype.listNext=function(e,r,t){return this.client.sendOperationRequest({nextPageLink:e,options:r},Se,t)},ve);function ve(e){this.client=e}var ze=new r.Serializer(ye),Pe={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateLinkResources",urlParameters:[ee,$,re],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:F},default:{bodyMapper:n}},serializer:ze},ge={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateLinkResources/{privateLinkResourceName}",urlParameters:[ee,$,re,{parameterPath:"privateLinkResourceName",mapper:{required:!0,serializedName:"privateLinkResourceName",type:{name:"String"}}}],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:U},default:{bodyMapper:n}},serializer:ze},Se={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Y],headerParameters:[W],responses:{200:{bodyMapper:F},default:{bodyMapper:n}},serializer:ze},Ce=Object.freeze({__proto__:null,discriminators:K,CheckNameAvailabilityParameters:P,CheckNameAvailabilityResult:g,CloudError:n}),fe=(he.prototype.checkNameAvailability=function(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,location:r,input:t,options:a},be,i)},he);function he(e){this.client=e}var Re=new r.Serializer(Ce),be={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/locations/{location}/checkNameAvailability",urlParameters:[ee,$,{parameterPath:"location",mapper:{required:!0,serializedName:"location",type:{name:"String"}}}],queryParameters:[X],headerParameters:[W],requestBody:{parameterPath:"input",mapper:i(i({},P),{required:!0})},responses:{200:{bodyMapper:g},default:{bodyMapper:n}},serializer:Re},De=Object.freeze({__proto__:null,discriminators:K,BaseResource:p,CloudError:n,IdentityData:k,PatchTrackedResource:M,PatchVault:G,PrivateEndpoint:E,PrivateEndpointConnection:V,PrivateEndpointConnectionVaultProperties:T,PrivateLinkServiceConnectionState:I,Resource:b,ResourceCertificateAndAadDetails:c,ResourceCertificateAndAcsDetails:d,ResourceCertificateDetails:u,Sku:D,TrackedResource:q,UpgradeDetails:O,Vault:L,VaultCertificateResponse:y,VaultExtendedInfoResource:_,VaultList:B,VaultProperties:A}),qe=(Me.prototype.listBySubscriptionId=function(e,r){return this.client.sendOperationRequest({options:e},ke,r)},Me.prototype.listByResourceGroup=function(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,options:r},Ee,t)},Me.prototype.get=function(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:t},Ie,a)},Me.prototype.createOrUpdate=function(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,vault:t,options:a},Ve,i)},Me.prototype.deleteMethod=function(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:t},Te,a)},Me.prototype.update=function(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,vault:t,options:a},Ae,i)},Me.prototype.listBySubscriptionIdNext=function(e,r,t){return this.client.sendOperationRequest({nextPageLink:e,options:r},Le,t)},Me.prototype.listByResourceGroupNext=function(e,r,t){return this.client.sendOperationRequest({nextPageLink:e,options:r},Ge,t)},Me);function Me(e){this.client=e}var Oe=new r.Serializer(De),ke={httpMethod:"GET",path:"subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/vaults",urlParameters:[ee],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:B},default:{bodyMapper:n}},serializer:Oe},Ee={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults",urlParameters:[ee,$],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:B},default:{bodyMapper:n}},serializer:Oe},Ie={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}",urlParameters:[ee,$,re],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:L},default:{bodyMapper:n}},serializer:Oe},Ve={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}",urlParameters:[ee,$,re],queryParameters:[X],headerParameters:[W],requestBody:{parameterPath:"vault",mapper:i(i({},L),{required:!0})},responses:{200:{bodyMapper:L},201:{bodyMapper:L},default:{bodyMapper:n}},serializer:Oe},Te={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}",urlParameters:[ee,$,re],queryParameters:[X],headerParameters:[W],responses:{200:{},default:{bodyMapper:n}},serializer:Oe},Ae={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}",urlParameters:[ee,$,re],queryParameters:[X],headerParameters:[W],requestBody:{parameterPath:"vault",mapper:i(i({},G),{required:!0})},responses:{200:{bodyMapper:L},201:{bodyMapper:L},default:{bodyMapper:n}},serializer:Oe},Le={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Y],headerParameters:[W],responses:{200:{bodyMapper:B},default:{bodyMapper:n}},serializer:Oe},Ge={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Y],headerParameters:[W],responses:{200:{bodyMapper:B},default:{bodyMapper:n}},serializer:Oe},_e=Object.freeze({__proto__:null,discriminators:K,ClientDiscoveryDisplay:S,ClientDiscoveryForLogSpecification:C,ClientDiscoveryForProperties:h,ClientDiscoveryForServiceSpecification:f,ClientDiscoveryResponse:J,ClientDiscoveryValueForSingleApi:R,CloudError:n}),Ue=(xe.prototype.list=function(e,r){return this.client.sendOperationRequest({options:e},je,r)},xe.prototype.listNext=function(e,r,t){return this.client.sendOperationRequest({nextPageLink:e,options:r},Fe,t)},xe);function xe(e){this.client=e}var we=new r.Serializer(_e),je={httpMethod:"GET",path:"providers/Microsoft.RecoveryServices/operations",queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:J},default:{bodyMapper:n}},serializer:we},Fe={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Y],headerParameters:[W],responses:{200:{bodyMapper:J},default:{bodyMapper:n}},serializer:we},Be=Object.freeze({__proto__:null,discriminators:K,BaseResource:p,CloudError:n,IdentityData:k,PatchTrackedResource:M,PatchVault:G,PrivateEndpoint:E,PrivateEndpointConnection:V,PrivateEndpointConnectionVaultProperties:T,PrivateLinkServiceConnectionState:I,Resource:b,ResourceCertificateAndAadDetails:c,ResourceCertificateAndAcsDetails:d,ResourceCertificateDetails:u,Sku:D,TrackedResource:q,UpgradeDetails:O,Vault:L,VaultCertificateResponse:y,VaultExtendedInfoResource:_,VaultProperties:A}),Je=(He.prototype.get=function(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:t},Ze,a)},He.prototype.createOrUpdate=function(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,resourceResourceExtendedInfoDetails:t,options:a},Qe,i)},He.prototype.update=function(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,resourceResourceExtendedInfoDetails:t,options:a},We,i)},He);function He(e){this.client=e}var Ke=new r.Serializer(Be),Ze={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/extendedInformation/vaultExtendedInfo",urlParameters:[ee,$,re],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:_},default:{bodyMapper:n}},serializer:Ke},Qe={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/extendedInformation/vaultExtendedInfo",urlParameters:[ee,$,re],queryParameters:[X],headerParameters:[W],requestBody:{parameterPath:"resourceResourceExtendedInfoDetails",mapper:i(i({},_),{required:!0})},responses:{200:{bodyMapper:_},default:{bodyMapper:n}},serializer:Ke},We={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/extendedInformation/vaultExtendedInfo",urlParameters:[ee,$,re],queryParameters:[X],headerParameters:[W],requestBody:{parameterPath:"resourceResourceExtendedInfoDetails",mapper:i(i({},_),{required:!0})},responses:{200:{bodyMapper:_},default:{bodyMapper:n}},serializer:Ke},Xe=Object.freeze({__proto__:null,discriminators:K,CloudError:n,NameInfo:x,VaultUsage:w,VaultUsageList:H}),Ye=($e.prototype.listByVaults=function(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:t},rr,a)},$e);function $e(e){this.client=e}var er,rr={httpMethod:"GET",path:"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/usages",urlParameters:[ee,$,re],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:H},default:{bodyMapper:n}},serializer:new r.Serializer(Xe)},tr=(t(ar,er=s.AzureServiceClient),ar);function ar(e,r,t){var a=this;if(null==e)throw new Error("'credentials' cannot be null.");if(null==r)throw new Error("'subscriptionId' cannot be null.");if(!(t=t||{}).userAgent){var i=s.getDefaultUserAgentValue();t.userAgent="@azure/arm-recoveryservices/4.0.0 "+i}return(a=er.call(this,e,t)||this).apiVersion="2016-06-01",a.acceptLanguage="en-US",a.longRunningOperationRetryTimeout=30,a.baseUri=t.baseUri||a.baseUri||"https://management.azure.com",a.requestContentType="application/json; charset=utf-8",a.credentials=e,a.subscriptionId=r,null!==t.acceptLanguage&&void 0!==t.acceptLanguage&&(a.acceptLanguage=t.acceptLanguage),null!==t.longRunningOperationRetryTimeout&&void 0!==t.longRunningOperationRetryTimeout&&(a.longRunningOperationRetryTimeout=t.longRunningOperationRetryTimeout),a}var ir,sr=(t(or,ir=tr),or);function or(e,r,t){var a=ir.call(this,e,r,t)||this;return a.vaultCertificates=new te(a),a.registeredIdentities=new ne(a),a.replicationUsages=new ue(a),a.privateLinkResources=new Ne(a),a.recoveryServices=new fe(a),a.vaults=new qe(a),a.operations=new Ue(a),a.vaultExtendedInfo=new Je(a),a.usages=new Ye(a),a}e.Operations=Ue,e.PrivateLinkResourcesOperations=Ne,e.RecoveryServices=fe,e.RecoveryServicesClient=sr,e.RecoveryServicesClientContext=tr,e.RecoveryServicesMappers=Z,e.RecoveryServicesModels=o,e.RegisteredIdentities=ne,e.ReplicationUsages=ue,e.Usages=Ye,e.VaultCertificates=te,e.VaultExtendedInfoOperations=Je,e.Vaults=qe,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@azure/ms-rest-azure-js"),require("@azure/ms-rest-js")):"function"==typeof define&&define.amd?define(["exports","@azure/ms-rest-azure-js","@azure/ms-rest-js"],r):r(((e=e||self).Azure=e.Azure||{},e.Azure.ArmRecoveryservices={}),e.msRestAzure,e.msRest)}(this,function(e,s,r){"use strict";var a=function(e,r){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])})(e,r)};function t(e,r){function t(){this.constructor=e}a(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}var i=function(){return(i=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var i in r=arguments[t])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e}).apply(this,arguments)},o=Object.freeze({__proto__:null}),n=s.CloudErrorMapper,p=s.BaseResourceMapper,m={serializedName:"RawCertificateData",type:{name:"Composite",className:"RawCertificateData",modelProperties:{authType:{serializedName:"authType",type:{name:"String"}},certificate:{serializedName:"certificate",type:{name:"ByteArray"}}}}},l={serializedName:"CertificateRequest",type:{name:"Composite",className:"CertificateRequest",modelProperties:{properties:{serializedName:"properties",type:{name:"Composite",className:"RawCertificateData"}}}}},u={serializedName:"ResourceCertificateDetails",type:{name:"Composite",polymorphicDiscriminator:{serializedName:"authType",clientName:"authType"},uberParent:"ResourceCertificateDetails",className:"ResourceCertificateDetails",modelProperties:{certificate:{serializedName:"certificate",type:{name:"ByteArray"}},friendlyName:{serializedName:"friendlyName",type:{name:"String"}},issuer:{serializedName:"issuer",type:{name:"String"}},resourceId:{serializedName:"resourceId",type:{name:"Number"}},subject:{serializedName:"subject",type:{name:"String"}},thumbprint:{serializedName:"thumbprint",type:{name:"String"}},validFrom:{serializedName:"validFrom",type:{name:"DateTime"}},validTo:{serializedName:"validTo",type:{name:"DateTime"}},authType:{required:!0,serializedName:"authType",type:{name:"String"}}}}},c={serializedName:"AzureActiveDirectory",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"ResourceCertificateDetails",className:"ResourceCertificateAndAadDetails",modelProperties:i(i({},u.type.modelProperties),{aadAuthority:{required:!0,serializedName:"aadAuthority",type:{name:"String"}},aadTenantId:{required:!0,serializedName:"aadTenantId",type:{name:"String"}},servicePrincipalClientId:{required:!0,serializedName:"servicePrincipalClientId",type:{name:"String"}},servicePrincipalObjectId:{required:!0,serializedName:"servicePrincipalObjectId",type:{name:"String"}},azureManagementEndpointAudience:{required:!0,serializedName:"azureManagementEndpointAudience",type:{name:"String"}}})}},d={serializedName:"AccessControlService",type:{name:"Composite",polymorphicDiscriminator:u.type.polymorphicDiscriminator,uberParent:"ResourceCertificateDetails",className:"ResourceCertificateAndAcsDetails",modelProperties:i(i({},u.type.modelProperties),{globalAcsNamespace:{required:!0,serializedName:"globalAcsNamespace",type:{name:"String"}},globalAcsHostName:{required:!0,serializedName:"globalAcsHostName",type:{name:"String"}},globalAcsRPRealm:{required:!0,serializedName:"globalAcsRPRealm",type:{name:"String"}}})}},y={serializedName:"VaultCertificateResponse",type:{name:"Composite",className:"VaultCertificateResponse",modelProperties:{name:{readOnly:!0,serializedName:"name",type:{name:"String"}},type:{readOnly:!0,serializedName:"type",type:{name:"String"}},id:{readOnly:!0,serializedName:"id",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"ResourceCertificateDetails"}}}}},N={serializedName:"JobsSummary",type:{name:"Composite",className:"JobsSummary",modelProperties:{failedJobs:{serializedName:"failedJobs",type:{name:"Number"}},suspendedJobs:{serializedName:"suspendedJobs",type:{name:"Number"}},inProgressJobs:{serializedName:"inProgressJobs",type:{name:"Number"}}}}},v={serializedName:"MonitoringSummary",type:{name:"Composite",className:"MonitoringSummary",modelProperties:{unHealthyVmCount:{serializedName:"unHealthyVmCount",type:{name:"Number"}},unHealthyProviderCount:{serializedName:"unHealthyProviderCount",type:{name:"Number"}},eventsCount:{serializedName:"eventsCount",type:{name:"Number"}},deprecatedProviderCount:{serializedName:"deprecatedProviderCount",type:{name:"Number"}},supportedProviderCount:{serializedName:"supportedProviderCount",type:{name:"Number"}},unsupportedProviderCount:{serializedName:"unsupportedProviderCount",type:{name:"Number"}}}}},z={serializedName:"ReplicationUsage",type:{name:"Composite",className:"ReplicationUsage",modelProperties:{monitoringSummary:{serializedName:"monitoringSummary",type:{name:"Composite",className:"MonitoringSummary"}},jobsSummary:{serializedName:"jobsSummary",type:{name:"Composite",className:"JobsSummary"}},protectedItemCount:{serializedName:"protectedItemCount",type:{name:"Number"}},recoveryPlanCount:{serializedName:"recoveryPlanCount",type:{name:"Number"}},registeredServersCount:{serializedName:"registeredServersCount",type:{name:"Number"}},recoveryServicesProviderAuthType:{serializedName:"recoveryServicesProviderAuthType",type:{name:"Number"}}}}},P={serializedName:"CheckNameAvailabilityParameters",type:{name:"Composite",className:"CheckNameAvailabilityParameters",modelProperties:{type:{serializedName:"type",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}}}}},g={serializedName:"CheckNameAvailabilityResult",type:{name:"Composite",className:"CheckNameAvailabilityResult",modelProperties:{nameAvailable:{serializedName:"nameAvailable",type:{name:"Boolean"}},reason:{serializedName:"reason",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}}}}},S={serializedName:"ClientDiscoveryDisplay",type:{name:"Composite",className:"ClientDiscoveryDisplay",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}}}}},C={serializedName:"ClientDiscoveryForLogSpecification",type:{name:"Composite",className:"ClientDiscoveryForLogSpecification",modelProperties:{name:{serializedName:"name",type:{name:"String"}},displayName:{serializedName:"displayName",type:{name:"String"}},blobDuration:{serializedName:"blobDuration",type:{name:"String"}}}}},f={serializedName:"ClientDiscoveryForServiceSpecification",type:{name:"Composite",className:"ClientDiscoveryForServiceSpecification",modelProperties:{logSpecifications:{serializedName:"logSpecifications",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClientDiscoveryForLogSpecification"}}}}}}},h={serializedName:"ClientDiscoveryForProperties",type:{name:"Composite",className:"ClientDiscoveryForProperties",modelProperties:{serviceSpecification:{serializedName:"serviceSpecification",type:{name:"Composite",className:"ClientDiscoveryForServiceSpecification"}}}}},R={serializedName:"ClientDiscoveryValueForSingleApi",type:{name:"Composite",className:"ClientDiscoveryValueForSingleApi",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"ClientDiscoveryDisplay"}},origin:{serializedName:"origin",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"ClientDiscoveryForProperties"}}}}},b={serializedName:"Resource",type:{name:"Composite",className:"Resource",modelProperties:{id:{readOnly:!0,serializedName:"id",type:{name:"String"}},name:{readOnly:!0,serializedName:"name",type:{name:"String"}},type:{readOnly:!0,serializedName:"type",type:{name:"String"}},eTag:{serializedName:"eTag",type:{name:"String"}}}}},D={serializedName:"Sku",type:{name:"Composite",className:"Sku",modelProperties:{name:{required:!0,serializedName:"name",type:{name:"String"}}}}},q={serializedName:"TrackedResource",type:{name:"Composite",className:"TrackedResource",modelProperties:i(i({},b.type.modelProperties),{location:{required:!0,serializedName:"location",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}})}},M={serializedName:"PatchTrackedResource",type:{name:"Composite",className:"PatchTrackedResource",modelProperties:i(i({},b.type.modelProperties),{location:{serializedName:"location",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}})}},O={serializedName:"UpgradeDetails",type:{name:"Composite",className:"UpgradeDetails",modelProperties:{operationId:{readOnly:!0,serializedName:"operationId",type:{name:"String"}},startTimeUtc:{readOnly:!0,serializedName:"startTimeUtc",type:{name:"DateTime"}},lastUpdatedTimeUtc:{readOnly:!0,serializedName:"lastUpdatedTimeUtc",type:{name:"DateTime"}},endTimeUtc:{readOnly:!0,serializedName:"endTimeUtc",type:{name:"DateTime"}},status:{readOnly:!0,serializedName:"status",type:{name:"String"}},message:{readOnly:!0,serializedName:"message",type:{name:"String"}},triggerType:{readOnly:!0,serializedName:"triggerType",type:{name:"String"}},upgradedResourceId:{readOnly:!0,serializedName:"upgradedResourceId",type:{name:"String"}},previousResourceId:{readOnly:!0,serializedName:"previousResourceId",type:{name:"String"}}}}},k={serializedName:"IdentityData",type:{name:"Composite",className:"IdentityData",modelProperties:{principalId:{readOnly:!0,serializedName:"principalId",type:{name:"String"}},tenantId:{readOnly:!0,serializedName:"tenantId",type:{name:"String"}},type:{required:!0,serializedName:"type",type:{name:"String"}}}}},E={serializedName:"PrivateEndpoint",type:{name:"Composite",className:"PrivateEndpoint",modelProperties:{id:{readOnly:!0,serializedName:"id",type:{name:"String"}}}}},I={serializedName:"PrivateLinkServiceConnectionState",type:{name:"Composite",className:"PrivateLinkServiceConnectionState",modelProperties:{status:{readOnly:!0,serializedName:"status",type:{name:"String"}},description:{readOnly:!0,serializedName:"description",type:{name:"String"}},actionsRequired:{readOnly:!0,serializedName:"actionsRequired",type:{name:"String"}}}}},V={serializedName:"PrivateEndpointConnection",type:{name:"Composite",className:"PrivateEndpointConnection",modelProperties:{provisioningState:{readOnly:!0,serializedName:"provisioningState",type:{name:"String"}},privateEndpoint:{serializedName:"privateEndpoint",type:{name:"Composite",className:"PrivateEndpoint"}},privateLinkServiceConnectionState:{serializedName:"privateLinkServiceConnectionState",type:{name:"Composite",className:"PrivateLinkServiceConnectionState"}}}}},T={serializedName:"PrivateEndpointConnectionVaultProperties",type:{name:"Composite",className:"PrivateEndpointConnectionVaultProperties",modelProperties:{id:{readOnly:!0,serializedName:"id",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"PrivateEndpointConnection"}}}}},A={serializedName:"VaultProperties",type:{name:"Composite",className:"VaultProperties",modelProperties:{provisioningState:{readOnly:!0,serializedName:"provisioningState",type:{name:"String"}},upgradeDetails:{serializedName:"upgradeDetails",type:{name:"Composite",className:"UpgradeDetails"}},privateEndpointConnections:{readOnly:!0,serializedName:"privateEndpointConnections",type:{name:"Sequence",element:{type:{name:"Composite",className:"PrivateEndpointConnectionVaultProperties"}}}},privateEndpointStateForBackup:{readOnly:!0,serializedName:"privateEndpointStateForBackup",type:{name:"String"}},privateEndpointStateForSiteRecovery:{readOnly:!0,serializedName:"privateEndpointStateForSiteRecovery",type:{name:"String"}}}}},L={serializedName:"Vault",type:{name:"Composite",className:"Vault",modelProperties:i(i({},q.type.modelProperties),{identity:{serializedName:"identity",type:{name:"Composite",className:"IdentityData"}},properties:{serializedName:"properties",type:{name:"Composite",className:"VaultProperties"}},sku:{serializedName:"sku",type:{name:"Composite",className:"Sku"}}})}},G={serializedName:"PatchVault",type:{name:"Composite",className:"PatchVault",modelProperties:i(i({},M.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"VaultProperties"}},sku:{serializedName:"sku",type:{name:"Composite",className:"Sku"}},identity:{serializedName:"identity",type:{name:"Composite",className:"IdentityData"}}})}},_={serializedName:"VaultExtendedInfoResource",type:{name:"Composite",className:"VaultExtendedInfoResource",modelProperties:i(i({},b.type.modelProperties),{integrityKey:{serializedName:"properties.integrityKey",type:{name:"String"}},encryptionKey:{serializedName:"properties.encryptionKey",type:{name:"String"}},encryptionKeyThumbprint:{serializedName:"properties.encryptionKeyThumbprint",type:{name:"String"}},algorithm:{serializedName:"properties.algorithm",type:{name:"String"}}})}},U={serializedName:"PrivateLinkResource",type:{name:"Composite",className:"PrivateLinkResource",modelProperties:{groupId:{readOnly:!0,serializedName:"properties.groupId",type:{name:"String"}},requiredMembers:{readOnly:!0,serializedName:"properties.requiredMembers",type:{name:"Sequence",element:{type:{name:"String"}}}},requiredZoneNames:{readOnly:!0,serializedName:"properties.requiredZoneNames",type:{name:"Sequence",element:{type:{name:"String"}}}},id:{readOnly:!0,serializedName:"id",type:{name:"String"}},name:{readOnly:!0,serializedName:"name",type:{name:"String"}},type:{readOnly:!0,serializedName:"type",type:{name:"String"}}}}},x={serializedName:"NameInfo",type:{name:"Composite",className:"NameInfo",modelProperties:{value:{serializedName:"value",type:{name:"String"}},localizedValue:{serializedName:"localizedValue",type:{name:"String"}}}}},w={serializedName:"VaultUsage",type:{name:"Composite",className:"VaultUsage",modelProperties:{unit:{serializedName:"unit",type:{name:"String"}},quotaPeriod:{serializedName:"quotaPeriod",type:{name:"String"}},nextResetTime:{serializedName:"nextResetTime",type:{name:"DateTime"}},currentValue:{serializedName:"currentValue",type:{name:"Number"}},limit:{serializedName:"limit",type:{name:"Number"}},name:{serializedName:"name",type:{name:"Composite",className:"NameInfo"}}}}},j={serializedName:"ReplicationUsageList",type:{name:"Composite",className:"ReplicationUsageList",modelProperties:{value:{serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"ReplicationUsage"}}}}}}},F={serializedName:"PrivateLinkResources",type:{name:"Composite",className:"PrivateLinkResources",modelProperties:{value:{serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"PrivateLinkResource"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},B={serializedName:"VaultList",type:{name:"Composite",className:"VaultList",modelProperties:{value:{serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"Vault"}}}},nextLink:{readOnly:!0,serializedName:"nextLink",type:{name:"String"}}}}},J={serializedName:"ClientDiscoveryResponse",type:{name:"Composite",className:"ClientDiscoveryResponse",modelProperties:{value:{serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClientDiscoveryValueForSingleApi"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},H={serializedName:"VaultUsageList",type:{name:"Composite",className:"VaultUsageList",modelProperties:{value:{serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"VaultUsage"}}}}}}},K={"ResourceCertificateDetails.AzureActiveDirectory":c,"ResourceCertificateDetails.AccessControlService":d,ResourceCertificateDetails:u},Z=Object.freeze({__proto__:null,CloudError:n,BaseResource:p,RawCertificateData:m,CertificateRequest:l,ResourceCertificateDetails:u,ResourceCertificateAndAadDetails:c,ResourceCertificateAndAcsDetails:d,VaultCertificateResponse:y,JobsSummary:N,MonitoringSummary:v,ReplicationUsage:z,CheckNameAvailabilityParameters:P,CheckNameAvailabilityResult:g,ClientDiscoveryDisplay:S,ClientDiscoveryForLogSpecification:C,ClientDiscoveryForServiceSpecification:f,ClientDiscoveryForProperties:h,ClientDiscoveryValueForSingleApi:R,Resource:b,Sku:D,TrackedResource:q,PatchTrackedResource:M,UpgradeDetails:O,IdentityData:k,PrivateEndpoint:E,PrivateLinkServiceConnectionState:I,PrivateEndpointConnection:V,PrivateEndpointConnectionVaultProperties:T,VaultProperties:A,Vault:L,PatchVault:G,VaultExtendedInfoResource:_,PrivateLinkResource:U,NameInfo:x,VaultUsage:w,ReplicationUsageList:j,PrivateLinkResources:F,VaultList:B,ClientDiscoveryResponse:J,VaultUsageList:H,discriminators:K}),Q=Object.freeze({__proto__:null,discriminators:K,BaseResource:p,CertificateRequest:l,CloudError:n,IdentityData:k,PatchTrackedResource:M,PatchVault:G,PrivateEndpoint:E,PrivateEndpointConnection:V,PrivateEndpointConnectionVaultProperties:T,PrivateLinkServiceConnectionState:I,RawCertificateData:m,Resource:b,ResourceCertificateAndAadDetails:c,ResourceCertificateAndAcsDetails:d,ResourceCertificateDetails:u,Sku:D,TrackedResource:q,UpgradeDetails:O,Vault:L,VaultCertificateResponse:y,VaultExtendedInfoResource:_,VaultProperties:A}),W={parameterPath:"acceptLanguage",mapper:{serializedName:"accept-language",defaultValue:"en-US",type:{name:"String"}}},X={parameterPath:"apiVersion",mapper:{required:!0,serializedName:"api-version",type:{name:"String"}}},Y={parameterPath:"nextPageLink",mapper:{required:!0,serializedName:"nextLink",type:{name:"String"}},skipEncoding:!0},$={parameterPath:"resourceGroupName",mapper:{required:!0,serializedName:"resourceGroupName",type:{name:"String"}}},ee={parameterPath:"subscriptionId",mapper:{required:!0,serializedName:"subscriptionId",type:{name:"String"}}},m={parameterPath:"vaultName",mapper:{required:!0,serializedName:"vaultName",type:{name:"String"}}},re=(te.prototype.create=function(e,r,t,a,i,s){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,certificateName:t,certificateRequest:a,options:i},ae,s)},te);function te(e){this.client=e}var Q=new r.Serializer(Q),ae={httpMethod:"PUT",path:"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/certificates/{certificateName}",urlParameters:[ee,$,m,{parameterPath:"certificateName",mapper:{required:!0,serializedName:"certificateName",type:{name:"String"}}}],queryParameters:[X],headerParameters:[W],requestBody:{parameterPath:"certificateRequest",mapper:i(i({},l),{required:!0})},responses:{200:{bodyMapper:y},default:{bodyMapper:n}},serializer:Q},Q=Object.freeze({__proto__:null,discriminators:K,CloudError:n}),ie=(se.prototype.deleteMethod=function(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,identityName:t,options:a},oe,i)},se);function se(e){this.client=e}var oe={httpMethod:"DELETE",path:"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/registeredIdentities/{identityName}",urlParameters:[ee,$,m,{parameterPath:"identityName",mapper:{required:!0,serializedName:"identityName",type:{name:"String"}}}],queryParameters:[X],headerParameters:[W],responses:{204:{},default:{bodyMapper:n}},serializer:new r.Serializer(Q)},z=Object.freeze({__proto__:null,discriminators:K,CloudError:n,JobsSummary:N,MonitoringSummary:v,ReplicationUsage:z,ReplicationUsageList:j}),ne=(pe.prototype.list=function(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:t},me,a)},pe);function pe(e){this.client=e}var me={httpMethod:"GET",path:"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/replicationUsages",urlParameters:[ee,$,m],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:j},default:{bodyMapper:n}},serializer:new r.Serializer(z)},z=Object.freeze({__proto__:null,discriminators:K,CloudError:n,PrivateLinkResource:U,PrivateLinkResources:F}),le=(ue.prototype.list=function(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:t},ce,a)},ue.prototype.get=function(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,privateLinkResourceName:t,options:a},de,i)},ue.prototype.listNext=function(e,r,t){return this.client.sendOperationRequest({nextPageLink:e,options:r},ye,t)},ue);function ue(e){this.client=e}var z=new r.Serializer(z),ce={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateLinkResources",urlParameters:[ee,$,m],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:F},default:{bodyMapper:n}},serializer:z},de={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateLinkResources/{privateLinkResourceName}",urlParameters:[ee,$,m,{parameterPath:"privateLinkResourceName",mapper:{required:!0,serializedName:"privateLinkResourceName",type:{name:"String"}}}],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:U},default:{bodyMapper:n}},serializer:z},ye={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Y],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:F},default:{bodyMapper:n}},serializer:z},z=Object.freeze({__proto__:null,discriminators:K,CheckNameAvailabilityParameters:P,CheckNameAvailabilityResult:g,CloudError:n}),Ne=(ve.prototype.checkNameAvailability=function(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,location:r,input:t,options:a},ze,i)},ve);function ve(e){this.client=e}var z=new r.Serializer(z),ze={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/locations/{location}/checkNameAvailability",urlParameters:[ee,$,{parameterPath:"location",mapper:{required:!0,serializedName:"location",type:{name:"String"}}}],queryParameters:[X],headerParameters:[W],requestBody:{parameterPath:"input",mapper:i(i({},P),{required:!0})},responses:{200:{bodyMapper:g},default:{bodyMapper:n}},serializer:z},z=Object.freeze({__proto__:null,discriminators:K,BaseResource:p,CloudError:n,IdentityData:k,PatchTrackedResource:M,PatchVault:G,PrivateEndpoint:E,PrivateEndpointConnection:V,PrivateEndpointConnectionVaultProperties:T,PrivateLinkServiceConnectionState:I,Resource:b,ResourceCertificateAndAadDetails:c,ResourceCertificateAndAcsDetails:d,ResourceCertificateDetails:u,Sku:D,TrackedResource:q,UpgradeDetails:O,Vault:L,VaultCertificateResponse:y,VaultExtendedInfoResource:_,VaultList:B,VaultProperties:A}),Pe=(ge.prototype.listBySubscriptionId=function(e,r){return this.client.sendOperationRequest({options:e},Se,r)},ge.prototype.listByResourceGroup=function(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,options:r},Ce,t)},ge.prototype.get=function(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:t},fe,a)},ge.prototype.createOrUpdate=function(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,vault:t,options:a},he,i)},ge.prototype.deleteMethod=function(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:t},Re,a)},ge.prototype.update=function(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,vault:t,options:a},be,i)},ge.prototype.listBySubscriptionIdNext=function(e,r,t){return this.client.sendOperationRequest({nextPageLink:e,options:r},De,t)},ge.prototype.listByResourceGroupNext=function(e,r,t){return this.client.sendOperationRequest({nextPageLink:e,options:r},qe,t)},ge);function ge(e){this.client=e}var z=new r.Serializer(z),Se={httpMethod:"GET",path:"subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/vaults",urlParameters:[ee],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:B},default:{bodyMapper:n}},serializer:z},Ce={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults",urlParameters:[ee,$],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:B},default:{bodyMapper:n}},serializer:z},fe={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}",urlParameters:[ee,$,m],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:L},default:{bodyMapper:n}},serializer:z},he={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}",urlParameters:[ee,$,m],queryParameters:[X],headerParameters:[W],requestBody:{parameterPath:"vault",mapper:i(i({},L),{required:!0})},responses:{200:{bodyMapper:L},201:{bodyMapper:L},default:{bodyMapper:n}},serializer:z},Re={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}",urlParameters:[ee,$,m],queryParameters:[X],headerParameters:[W],responses:{200:{},default:{bodyMapper:n}},serializer:z},be={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}",urlParameters:[ee,$,m],queryParameters:[X],headerParameters:[W],requestBody:{parameterPath:"vault",mapper:i(i({},G),{required:!0})},responses:{200:{bodyMapper:L},201:{bodyMapper:L},default:{bodyMapper:n}},serializer:z},De={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Y],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:B},default:{bodyMapper:n}},serializer:z},qe={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Y],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:B},default:{bodyMapper:n}},serializer:z},R=Object.freeze({__proto__:null,discriminators:K,ClientDiscoveryDisplay:S,ClientDiscoveryForLogSpecification:C,ClientDiscoveryForProperties:h,ClientDiscoveryForServiceSpecification:f,ClientDiscoveryResponse:J,ClientDiscoveryValueForSingleApi:R,CloudError:n}),Me=(Oe.prototype.list=function(e,r){return this.client.sendOperationRequest({options:e},ke,r)},Oe.prototype.listNext=function(e,r,t){return this.client.sendOperationRequest({nextPageLink:e,options:r},Ee,t)},Oe);function Oe(e){this.client=e}var R=new r.Serializer(R),ke={httpMethod:"GET",path:"providers/Microsoft.RecoveryServices/operations",queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:J},default:{bodyMapper:n}},serializer:R},Ee={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[Y],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:J},default:{bodyMapper:n}},serializer:R},A=Object.freeze({__proto__:null,discriminators:K,BaseResource:p,CloudError:n,IdentityData:k,PatchTrackedResource:M,PatchVault:G,PrivateEndpoint:E,PrivateEndpointConnection:V,PrivateEndpointConnectionVaultProperties:T,PrivateLinkServiceConnectionState:I,Resource:b,ResourceCertificateAndAadDetails:c,ResourceCertificateAndAcsDetails:d,ResourceCertificateDetails:u,Sku:D,TrackedResource:q,UpgradeDetails:O,Vault:L,VaultCertificateResponse:y,VaultExtendedInfoResource:_,VaultProperties:A}),Ie=(Ve.prototype.get=function(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:t},Te,a)},Ve.prototype.createOrUpdate=function(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,resourceResourceExtendedInfoDetails:t,options:a},Ae,i)},Ve.prototype.update=function(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,resourceResourceExtendedInfoDetails:t,options:a},Le,i)},Ve);function Ve(e){this.client=e}var A=new r.Serializer(A),Te={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/extendedInformation/vaultExtendedInfo",urlParameters:[ee,$,m],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:_},default:{bodyMapper:n}},serializer:A},Ae={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/extendedInformation/vaultExtendedInfo",urlParameters:[ee,$,m],queryParameters:[X],headerParameters:[W],requestBody:{parameterPath:"resourceResourceExtendedInfoDetails",mapper:i(i({},_),{required:!0})},responses:{200:{bodyMapper:_},default:{bodyMapper:n}},serializer:A},Le={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/extendedInformation/vaultExtendedInfo",urlParameters:[ee,$,m],queryParameters:[X],headerParameters:[W],requestBody:{parameterPath:"resourceResourceExtendedInfoDetails",mapper:i(i({},_),{required:!0})},responses:{200:{bodyMapper:_},default:{bodyMapper:n}},serializer:A},w=Object.freeze({__proto__:null,discriminators:K,CloudError:n,NameInfo:x,VaultUsage:w,VaultUsageList:H}),Ge=(_e.prototype.listByVaults=function(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:t},xe,a)},_e);function _e(e){this.client=e}var Ue,xe={httpMethod:"GET",path:"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/usages",urlParameters:[ee,$,m],queryParameters:[X],headerParameters:[W],responses:{200:{bodyMapper:H},default:{bodyMapper:n}},serializer:new r.Serializer(w)},r=(t(we,Ue=s.AzureServiceClient),we);function we(e,r,t){var a,i=this;if(null==e)throw new Error("'credentials' cannot be null.");if(null==r)throw new Error("'subscriptionId' cannot be null.");return(t=t||{}).userAgent||(a=s.getDefaultUserAgentValue(),t.userAgent="@azure/arm-recoveryservices/4.1.0 "+a),(i=Ue.call(this,e,t)||this).apiVersion="2016-06-01",i.acceptLanguage="en-US",i.longRunningOperationRetryTimeout=30,i.baseUri=t.baseUri||i.baseUri||"https://management.azure.com",i.requestContentType="application/json; charset=utf-8",i.credentials=e,i.subscriptionId=r,null!==t.acceptLanguage&&void 0!==t.acceptLanguage&&(i.acceptLanguage=t.acceptLanguage),null!==t.longRunningOperationRetryTimeout&&void 0!==t.longRunningOperationRetryTimeout&&(i.longRunningOperationRetryTimeout=t.longRunningOperationRetryTimeout),i}var je,w=(t(Fe,je=r),Fe);function Fe(e,r,t){t=je.call(this,e,r,t)||this;return t.vaultCertificates=new re(t),t.registeredIdentities=new ie(t),t.replicationUsages=new ne(t),t.privateLinkResources=new le(t),t.recoveryServices=new Ne(t),t.vaults=new Pe(t),t.operations=new Me(t),t.vaultExtendedInfo=new Ie(t),t.usages=new Ge(t),t}e.Operations=Me,e.PrivateLinkResourcesOperations=le,e.RecoveryServices=Ne,e.RecoveryServicesClient=w,e.RecoveryServicesClientContext=r,e.RecoveryServicesMappers=Z,e.RecoveryServicesModels=o,e.RegisteredIdentities=ie,e.ReplicationUsages=ne,e.Usages=Ge,e.VaultCertificates=re,e.VaultExtendedInfoOperations=Ie,e.Vaults=Pe,Object.defineProperty(e,"__esModule",{value:!0})});

@@ -610,2 +610,3 @@ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";

sku?: Sku;
identity?: IdentityData;
}

@@ -612,0 +613,0 @@ /**

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -915,2 +915,8 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

}
}, identity: {
serializedName: "identity",
type: {
name: "Composite",
className: "IdentityData"
}
} })

@@ -917,0 +923,0 @@ }

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -64,2 +63,5 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

],
queryParameters: [
Parameters.apiVersion
],
headerParameters: [

@@ -66,0 +68,0 @@ Parameters.acceptLanguage

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -104,2 +103,5 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

],
queryParameters: [
Parameters.apiVersion
],
headerParameters: [

@@ -106,0 +108,0 @@ Parameters.acceptLanguage

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -241,2 +240,5 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

],
queryParameters: [
Parameters.apiVersion
],
headerParameters: [

@@ -262,2 +264,5 @@ Parameters.acceptLanguage

],
queryParameters: [
Parameters.apiVersion
],
headerParameters: [

@@ -264,0 +269,0 @@ Parameters.acceptLanguage

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -13,3 +12,3 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

var packageName = "@azure/arm-recoveryservices";
var packageVersion = "4.0.0";
var packageVersion = "4.1.0";
var RecoveryServicesClientContext = /** @class */ (function (_super) {

@@ -16,0 +15,0 @@ __extends(RecoveryServicesClientContext, _super);

@@ -5,3 +5,3 @@ {

"description": "RecoveryServicesClient Library with typescript type definitions for node.js and browser.",
"version": "4.0.0",
"version": "4.1.0",
"dependencies": {

@@ -8,0 +8,0 @@ "@azure/ms-rest-azure-js": "^2.0.1",

@@ -18,3 +18,3 @@ ## Azure RecoveryServicesClient SDK for JavaScript

#### nodejs - Authentication, client creation and list replicationUsages as an example written in TypeScript.
#### nodejs - client creation and list replicationUsages as an example written in TypeScript.

@@ -30,7 +30,6 @@ ##### Install @azure/ms-rest-nodeauth

While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
```typescript
import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
import { RecoveryServicesClient, RecoveryServicesModels, RecoveryServicesMappers } from "@azure/arm-recoveryservices";
const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
const { RecoveryServicesClient } = require("@azure/arm-recoveryservices");
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];

@@ -37,0 +36,0 @@

@@ -24,4 +24,4 @@ import rollup from "rollup";

banner: `/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -28,0 +28,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -645,2 +645,3 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

sku?: Sku;
identity?: IdentityData;
}

@@ -647,0 +648,0 @@

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -974,2 +974,9 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

}
},
identity: {
serializedName: "identity",
type: {
name: "Composite",
className: "IdentityData"
}
}

@@ -976,0 +983,0 @@ }

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -5,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -111,2 +110,5 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

],
queryParameters: [
Parameters.apiVersion
],
headerParameters: [

@@ -113,0 +115,0 @@ Parameters.acceptLanguage

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -195,2 +194,5 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

],
queryParameters: [
Parameters.apiVersion
],
headerParameters: [

@@ -197,0 +199,0 @@ Parameters.acceptLanguage

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -463,2 +462,5 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

],
queryParameters: [
Parameters.apiVersion
],
headerParameters: [

@@ -485,2 +487,5 @@ Parameters.acceptLanguage

],
queryParameters: [
Parameters.apiVersion
],
headerParameters: [

@@ -487,0 +492,0 @@ Parameters.acceptLanguage

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -6,0 +5,0 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*

@@ -16,3 +15,3 @@ * Code generated by Microsoft (R) AutoRest Code Generator.

const packageName = "@azure/arm-recoveryservices";
const packageVersion = "4.0.0";
const packageVersion = "4.1.0";

@@ -41,3 +40,3 @@ export class RecoveryServicesClientContext extends msRestAzure.AzureServiceClient {

}
if (!options.userAgent) {
if(!options.userAgent) {
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();

@@ -57,6 +56,6 @@ options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;

if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
this.acceptLanguage = options.acceptLanguage;
}
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;

@@ -63,0 +62,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc