@azure/arm-recoveryservices
Advanced tools
Comparing version 3.0.0 to 4.0.0
@@ -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.Azure=e.Azure||{},e.Azure.ArmRecoveryservices={}),e.msRestAzure,e.msRest)}(this,function(e,o,r){"use strict";var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var a in r)r.hasOwnProperty(a)&&(e[a]=r[a])})(e,r)};function a(e,r){function a(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(a.prototype=r.prototype,new a)}var i=function(){return(i=Object.assign||function(e){for(var r,a=1,t=arguments.length;a<t;a++)for(var i in r=arguments[a])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e}).apply(this,arguments)},s=Object.freeze({}),n=o.CloudErrorMapper,p=o.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({},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({},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"}}}}},f={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"}}}}},z={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"}}}}},h={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"}}}}},C={serializedName:"CheckNameAvailabilityResultResource",type:{name:"Composite",className:"CheckNameAvailabilityResultResource",modelProperties:i({},h.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"CheckNameAvailabilityResult"}}})}},R={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"}}}}},P={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"}}}}},b={serializedName:"ClientDiscoveryForServiceSpecification",type:{name:"Composite",className:"ClientDiscoveryForServiceSpecification",modelProperties:{logSpecifications:{serializedName:"logSpecifications",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClientDiscoveryForLogSpecification"}}}}}}},S={serializedName:"ClientDiscoveryForProperties",type:{name:"Composite",className:"ClientDiscoveryForProperties",modelProperties:{serviceSpecification:{serializedName:"serviceSpecification",type:{name:"Composite",className:"ClientDiscoveryForServiceSpecification"}}}}},D={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"}}}}},A={serializedName:"Sku",type:{name:"Composite",className:"Sku",modelProperties:{name:{required:!0,serializedName:"name",type:{name:"String"}}}}},M={serializedName:"TrackedResource",type:{name:"Composite",className:"TrackedResource",modelProperties:i({},h.type.modelProperties,{location:{required:!0,serializedName:"location",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}})}},q={serializedName:"PatchTrackedResource",type:{name:"Composite",className:"PatchTrackedResource",modelProperties:i({},h.type.modelProperties,{location:{serializedName:"location",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}})}},T={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"}}}}},V={serializedName:"VaultProperties",type:{name:"Composite",className:"VaultProperties",modelProperties:{provisioningState:{readOnly:!0,serializedName:"provisioningState",type:{name:"String"}},upgradeDetails:{serializedName:"upgradeDetails",type:{name:"Composite",className:"UpgradeDetails"}}}}},O={serializedName:"Vault",type:{name:"Composite",className:"Vault",modelProperties:i({},M.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"VaultProperties"}},sku:{serializedName:"sku",type:{name:"Composite",className:"Sku"}}})}},I={serializedName:"PatchVault",type:{name:"Composite",className:"PatchVault",modelProperties:i({},q.type.modelProperties,{properties:{serializedName:"properties",type:{name:"Composite",className:"VaultProperties"}},sku:{serializedName:"sku",type:{name:"Composite",className:"Sku"}}})}},k={serializedName:"VaultExtendedInfoResource",type:{name:"Composite",className:"VaultExtendedInfoResource",modelProperties:i({},h.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"}}})}},G={serializedName:"NameInfo",type:{name:"Composite",className:"NameInfo",modelProperties:{value:{serializedName:"value",type:{name:"String"}},localizedValue:{serializedName:"localizedValue",type:{name:"String"}}}}},U={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"}}}}},E={serializedName:"ReplicationUsageList",type:{name:"Composite",className:"ReplicationUsageList",modelProperties:{value:{serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"ReplicationUsage"}}}}}}},x={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"}}}}},L={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"}}}}},w={serializedName:"VaultUsageList",type:{name:"Composite",className:"VaultUsageList",modelProperties:{value:{serializedName:"",type:{name:"Sequence",element:{type:{name:"Composite",className:"VaultUsage"}}}}}}},j={"ResourceCertificateDetails.AzureActiveDirectory":c,"ResourceCertificateDetails.AccessControlService":d,ResourceCertificateDetails:u},F=Object.freeze({CloudError:n,BaseResource:p,RawCertificateData:m,CertificateRequest:l,ResourceCertificateDetails:u,ResourceCertificateAndAadDetails:c,ResourceCertificateAndAcsDetails:d,VaultCertificateResponse:y,JobsSummary:N,MonitoringSummary:v,ReplicationUsage:f,CheckNameAvailabilityParameters:z,CheckNameAvailabilityResult:g,Resource:h,CheckNameAvailabilityResultResource:C,ClientDiscoveryDisplay:R,ClientDiscoveryForLogSpecification:P,ClientDiscoveryForServiceSpecification:b,ClientDiscoveryForProperties:S,ClientDiscoveryValueForSingleApi:D,Sku:A,TrackedResource:M,PatchTrackedResource:q,UpgradeDetails:T,VaultProperties:V,Vault:O,PatchVault:I,VaultExtendedInfoResource:k,NameInfo:G,VaultUsage:U,ReplicationUsageList:E,VaultList:x,ClientDiscoveryResponse:L,VaultUsageList:w,discriminators:j}),B=Object.freeze({discriminators:j,BaseResource:p,CertificateRequest:l,CheckNameAvailabilityResult:g,CheckNameAvailabilityResultResource:C,CloudError:n,PatchTrackedResource:q,PatchVault:I,RawCertificateData:m,Resource:h,ResourceCertificateAndAadDetails:c,ResourceCertificateAndAcsDetails:d,ResourceCertificateDetails:u,Sku:A,TrackedResource:M,UpgradeDetails:T,Vault:O,VaultCertificateResponse:y,VaultExtendedInfoResource:k,VaultProperties:V}),J={parameterPath:"acceptLanguage",mapper:{serializedName:"accept-language",defaultValue:"en-US",type:{name:"String"}}},_={parameterPath:"apiVersion",mapper:{required:!0,serializedName:"api-version",type:{name:"String"}}},H={parameterPath:"nextPageLink",mapper:{required:!0,serializedName:"nextLink",type:{name:"String"}},skipEncoding:!0},K={parameterPath:"resourceGroupName",mapper:{required:!0,serializedName:"resourceGroupName",type:{name:"String"}}},Q={parameterPath:"subscriptionId",mapper:{required:!0,serializedName:"subscriptionId",type:{name:"String"}}},W={parameterPath:"vaultName",mapper:{required:!0,serializedName:"vaultName",type:{name:"String"}}},X=function(){function e(e){this.client=e}return e.prototype.create=function(e,r,a,t,i,s){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,certificateName:a,certificateRequest:t,options:i},Z,s)},e}(),Y=new r.Serializer(B),Z={httpMethod:"PUT",path:"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/certificates/{certificateName}",urlParameters:[Q,K,W,{parameterPath:"certificateName",mapper:{required:!0,serializedName:"certificateName",type:{name:"String"}}}],queryParameters:[_],headerParameters:[J],requestBody:{parameterPath:"certificateRequest",mapper:i({},l,{required:!0})},responses:{200:{bodyMapper:y},default:{bodyMapper:n}},serializer:Y},$=Object.freeze({discriminators:j,CloudError:n}),ee=function(){function e(e){this.client=e}return e.prototype.deleteMethod=function(e,r,a,t,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,identityName:a,options:t},re,i)},e}(),re={httpMethod:"DELETE",path:"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/registeredIdentities/{identityName}",urlParameters:[Q,K,W,{parameterPath:"identityName",mapper:{required:!0,serializedName:"identityName",type:{name:"String"}}}],queryParameters:[_],headerParameters:[J],responses:{204:{},default:{bodyMapper:n}},serializer:new r.Serializer($)},ae=Object.freeze({discriminators:j,CloudError:n,JobsSummary:N,MonitoringSummary:v,ReplicationUsage:f,ReplicationUsageList:E}),te=function(){function e(e){this.client=e}return e.prototype.list=function(e,r,a,t){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:a},ie,t)},e}(),ie={httpMethod:"GET",path:"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/replicationUsages",urlParameters:[Q,K,W],queryParameters:[_],headerParameters:[J],responses:{200:{bodyMapper:E},default:{bodyMapper:n}},serializer:new r.Serializer(ae)},se=Object.freeze({discriminators:j,BaseResource:p,CheckNameAvailabilityParameters:z,CheckNameAvailabilityResult:g,CheckNameAvailabilityResultResource:C,CloudError:n,PatchTrackedResource:q,PatchVault:I,Resource:h,ResourceCertificateAndAadDetails:c,ResourceCertificateAndAcsDetails:d,ResourceCertificateDetails:u,Sku:A,TrackedResource:M,UpgradeDetails:T,Vault:O,VaultCertificateResponse:y,VaultExtendedInfoResource:k,VaultProperties:V}),oe=function(){function e(e){this.client=e}return e.prototype.checkNameAvailability=function(e,r,a,t,i){return this.client.sendOperationRequest({resourceGroupName:e,location:r,input:a,options:t},pe,i)},e}(),ne=new r.Serializer(se),pe={httpMethod:"POST",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/locations/{location}/checkNameAvailability",urlParameters:[Q,K,{parameterPath:"location",mapper:{required:!0,serializedName:"location",type:{name:"String"}}}],queryParameters:[_],headerParameters:[J],requestBody:{parameterPath:"input",mapper:i({},z,{required:!0})},responses:{200:{bodyMapper:C},default:{bodyMapper:n}},serializer:ne},me=Object.freeze({discriminators:j,BaseResource:p,CheckNameAvailabilityResult:g,CheckNameAvailabilityResultResource:C,CloudError:n,PatchTrackedResource:q,PatchVault:I,Resource:h,ResourceCertificateAndAadDetails:c,ResourceCertificateAndAcsDetails:d,ResourceCertificateDetails:u,Sku:A,TrackedResource:M,UpgradeDetails:T,Vault:O,VaultCertificateResponse:y,VaultExtendedInfoResource:k,VaultList:x,VaultProperties:V}),le=function(){function e(e){this.client=e}return e.prototype.listBySubscriptionId=function(e,r){return this.client.sendOperationRequest({options:e},ce,r)},e.prototype.listByResourceGroup=function(e,r,a){return this.client.sendOperationRequest({resourceGroupName:e,options:r},de,a)},e.prototype.get=function(e,r,a,t){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:a},ye,t)},e.prototype.createOrUpdate=function(e,r,a,t,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,vault:a,options:t},Ne,i)},e.prototype.deleteMethod=function(e,r,a,t){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:a},ve,t)},e.prototype.update=function(e,r,a,t,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,vault:a,options:t},fe,i)},e.prototype.listBySubscriptionIdNext=function(e,r,a){return this.client.sendOperationRequest({nextPageLink:e,options:r},ze,a)},e.prototype.listByResourceGroupNext=function(e,r,a){return this.client.sendOperationRequest({nextPageLink:e,options:r},ge,a)},e}(),ue=new r.Serializer(me),ce={httpMethod:"GET",path:"subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/vaults",urlParameters:[Q],queryParameters:[_],headerParameters:[J],responses:{200:{bodyMapper:x},default:{bodyMapper:n}},serializer:ue},de={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults",urlParameters:[Q,K],queryParameters:[_],headerParameters:[J],responses:{200:{bodyMapper:x},default:{bodyMapper:n}},serializer:ue},ye={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}",urlParameters:[Q,K,W],queryParameters:[_],headerParameters:[J],responses:{200:{bodyMapper:O},default:{bodyMapper:n}},serializer:ue},Ne={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}",urlParameters:[Q,K,W],queryParameters:[_],headerParameters:[J],requestBody:{parameterPath:"vault",mapper:i({},O,{required:!0})},responses:{200:{bodyMapper:O},201:{bodyMapper:O},default:{bodyMapper:n}},serializer:ue},ve={httpMethod:"DELETE",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}",urlParameters:[Q,K,W],queryParameters:[_],headerParameters:[J],responses:{200:{},default:{bodyMapper:n}},serializer:ue},fe={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}",urlParameters:[Q,K,W],queryParameters:[_],headerParameters:[J],requestBody:{parameterPath:"vault",mapper:i({},I,{required:!0})},responses:{200:{bodyMapper:O},201:{bodyMapper:O},default:{bodyMapper:n}},serializer:ue},ze={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[H],headerParameters:[J],responses:{200:{bodyMapper:x},default:{bodyMapper:n}},serializer:ue},ge={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[H],headerParameters:[J],responses:{200:{bodyMapper:x},default:{bodyMapper:n}},serializer:ue},he=Object.freeze({discriminators:j,ClientDiscoveryDisplay:R,ClientDiscoveryForLogSpecification:P,ClientDiscoveryForProperties:S,ClientDiscoveryForServiceSpecification:b,ClientDiscoveryResponse:L,ClientDiscoveryValueForSingleApi:D,CloudError:n}),Ce=function(){function e(e){this.client=e}return e.prototype.list=function(e,r){return this.client.sendOperationRequest({options:e},Pe,r)},e.prototype.listNext=function(e,r,a){return this.client.sendOperationRequest({nextPageLink:e,options:r},be,a)},e}(),Re=new r.Serializer(he),Pe={httpMethod:"GET",path:"providers/Microsoft.RecoveryServices/operations",queryParameters:[_],headerParameters:[J],responses:{200:{bodyMapper:L},default:{bodyMapper:n}},serializer:Re},be={httpMethod:"GET",baseUrl:"https://management.azure.com",path:"{nextLink}",urlParameters:[H],headerParameters:[J],responses:{200:{bodyMapper:L},default:{bodyMapper:n}},serializer:Re},Se=Object.freeze({discriminators:j,BaseResource:p,CheckNameAvailabilityResult:g,CheckNameAvailabilityResultResource:C,CloudError:n,PatchTrackedResource:q,PatchVault:I,Resource:h,ResourceCertificateAndAadDetails:c,ResourceCertificateAndAcsDetails:d,ResourceCertificateDetails:u,Sku:A,TrackedResource:M,UpgradeDetails:T,Vault:O,VaultCertificateResponse:y,VaultExtendedInfoResource:k,VaultProperties:V}),De=function(){function e(e){this.client=e}return e.prototype.get=function(e,r,a,t){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:a},Me,t)},e.prototype.createOrUpdate=function(e,r,a,t,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,resourceResourceExtendedInfoDetails:a,options:t},qe,i)},e.prototype.update=function(e,r,a,t,i){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,resourceResourceExtendedInfoDetails:a,options:t},Te,i)},e}(),Ae=new r.Serializer(Se),Me={httpMethod:"GET",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/extendedInformation/vaultExtendedInfo",urlParameters:[Q,K,W],queryParameters:[_],headerParameters:[J],responses:{200:{bodyMapper:k},default:{bodyMapper:n}},serializer:Ae},qe={httpMethod:"PUT",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/extendedInformation/vaultExtendedInfo",urlParameters:[Q,K,W],queryParameters:[_],headerParameters:[J],requestBody:{parameterPath:"resourceResourceExtendedInfoDetails",mapper:i({},k,{required:!0})},responses:{200:{bodyMapper:k},default:{bodyMapper:n}},serializer:Ae},Te={httpMethod:"PATCH",path:"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/extendedInformation/vaultExtendedInfo",urlParameters:[Q,K,W],queryParameters:[_],headerParameters:[J],requestBody:{parameterPath:"resourceResourceExtendedInfoDetails",mapper:i({},k,{required:!0})},responses:{200:{bodyMapper:k},default:{bodyMapper:n}},serializer:Ae},Ve=Object.freeze({discriminators:j,CloudError:n,NameInfo:G,VaultUsage:U,VaultUsageList:w}),Oe=function(){function e(e){this.client=e}return e.prototype.listByVaults=function(e,r,a,t){return this.client.sendOperationRequest({resourceGroupName:e,vaultName:r,options:a},Ie,t)},e}(),Ie={httpMethod:"GET",path:"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/usages",urlParameters:[Q,K,W],queryParameters:[_],headerParameters:[J],responses:{200:{bodyMapper:w},default:{bodyMapper:n}},serializer:new r.Serializer(Ve)},ke=function(s){function e(e,r,a){var t=this;if(null==e)throw new Error("'credentials' cannot be null.");if(null==r)throw new Error("'subscriptionId' cannot be null.");if(a||(a={}),!a.userAgent){var i=o.getDefaultUserAgentValue();a.userAgent="@azure/arm-recoveryservices/3.0.0 "+i}return(t=s.call(this,e,a)||this).apiVersion="2016-06-01",t.acceptLanguage="en-US",t.longRunningOperationRetryTimeout=30,t.baseUri=a.baseUri||t.baseUri||"https://management.azure.com",t.requestContentType="application/json; charset=utf-8",t.credentials=e,t.subscriptionId=r,null!==a.acceptLanguage&&void 0!==a.acceptLanguage&&(t.acceptLanguage=a.acceptLanguage),null!==a.longRunningOperationRetryTimeout&&void 0!==a.longRunningOperationRetryTimeout&&(t.longRunningOperationRetryTimeout=a.longRunningOperationRetryTimeout),t}return a(e,s),e}(o.AzureServiceClient),Ge=function(i){function e(e,r,a){var t=i.call(this,e,r,a)||this;return t.vaultCertificates=new X(t),t.registeredIdentities=new ee(t),t.replicationUsages=new te(t),t.recoveryServices=new oe(t),t.vaults=new le(t),t.operations=new Ce(t),t.vaultExtendedInfo=new De(t),t.usages=new Oe(t),t}return a(e,i),e}(ke);e.RecoveryServicesClient=Ge,e.RecoveryServicesClientContext=ke,e.RecoveryServicesModels=s,e.RecoveryServicesMappers=F,e.VaultCertificates=X,e.RegisteredIdentities=ee,e.ReplicationUsages=te,e.RecoveryServices=oe,e.Vaults=le,e.Operations=Ce,e.VaultExtendedInfoOperations=De,e.Usages=Oe,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"}}})}},_={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})}); |
@@ -303,36 +303,2 @@ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; | ||
/** | ||
* ARM Resource. | ||
*/ | ||
export interface Resource extends BaseResource { | ||
/** | ||
* Resource Id represents the complete path to the resource. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly id?: string; | ||
/** | ||
* Resource name associated with the resource. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly name?: string; | ||
/** | ||
* Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly type?: string; | ||
/** | ||
* Optional ETag. | ||
*/ | ||
eTag?: string; | ||
} | ||
/** | ||
* Response for check name availability API. Resource provider will set availability as true | | ||
* false. | ||
*/ | ||
export interface CheckNameAvailabilityResultResource extends Resource { | ||
/** | ||
* CheckNameAvailabilityResultResource properties | ||
*/ | ||
properties?: CheckNameAvailabilityResult; | ||
} | ||
/** | ||
* Localized display information of an operation. | ||
@@ -416,2 +382,26 @@ */ | ||
/** | ||
* ARM Resource. | ||
*/ | ||
export interface Resource extends BaseResource { | ||
/** | ||
* Resource Id represents the complete path to the resource. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly id?: string; | ||
/** | ||
* Resource name associated with the resource. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly name?: string; | ||
/** | ||
* Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly type?: string; | ||
/** | ||
* Optional ETag. | ||
*/ | ||
eTag?: string; | ||
} | ||
/** | ||
* Identifies the unique system identifier for each Azure resource. | ||
@@ -508,2 +498,77 @@ */ | ||
/** | ||
* Identity for the resource. | ||
*/ | ||
export interface IdentityData { | ||
/** | ||
* The principal ID of resource identity. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly principalId?: string; | ||
/** | ||
* The tenant ID of resource. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly tenantId?: string; | ||
/** | ||
* The identity type. Possible values include: 'SystemAssigned', 'None' | ||
*/ | ||
type: ResourceIdentityType; | ||
} | ||
/** | ||
* The Private Endpoint network resource that is linked to the Private Endpoint connection. | ||
*/ | ||
export interface PrivateEndpoint { | ||
/** | ||
* Gets or sets id. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly id?: string; | ||
} | ||
/** | ||
* Gets or sets private link service connection state. | ||
*/ | ||
export interface PrivateLinkServiceConnectionState { | ||
/** | ||
* Gets or sets the status. Possible values include: 'Pending', 'Approved', 'Rejected', | ||
* 'Disconnected' | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly status?: PrivateEndpointConnectionStatus; | ||
/** | ||
* Gets or sets description. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly description?: string; | ||
/** | ||
* Gets or sets actions required. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly actionsRequired?: string; | ||
} | ||
/** | ||
* Private Endpoint Connection Response Properties. | ||
*/ | ||
export interface PrivateEndpointConnection { | ||
/** | ||
* Gets or sets provisioning state of the private endpoint connection. Possible values include: | ||
* 'Succeeded', 'Deleting', 'Failed', 'Pending' | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly provisioningState?: ProvisioningState; | ||
privateEndpoint?: PrivateEndpoint; | ||
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; | ||
} | ||
/** | ||
* Information to be stored in Vault properties as an element of privateEndpointConnections List. | ||
*/ | ||
export interface PrivateEndpointConnectionVaultProperties { | ||
/** | ||
* Format of id | ||
* subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.[Service]/{resource}/{resourceName}/privateEndpointConnections/{connectionName}. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly id?: string; | ||
properties?: PrivateEndpointConnection; | ||
} | ||
/** | ||
* Properties of the vault. | ||
@@ -518,2 +583,17 @@ */ | ||
upgradeDetails?: UpgradeDetails; | ||
/** | ||
* List of private endpoint connection. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly privateEndpointConnections?: PrivateEndpointConnectionVaultProperties[]; | ||
/** | ||
* Private endpoint state for backup. Possible values include: 'None', 'Enabled' | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly privateEndpointStateForBackup?: VaultPrivateEndpointState; | ||
/** | ||
* Private endpoint state for site recovery. Possible values include: 'None', 'Enabled' | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly privateEndpointStateForSiteRecovery?: VaultPrivateEndpointState; | ||
} | ||
@@ -524,2 +604,3 @@ /** | ||
export interface Vault extends TrackedResource { | ||
identity?: IdentityData; | ||
properties?: VaultProperties; | ||
@@ -557,2 +638,38 @@ sku?: Sku; | ||
/** | ||
* Information of the private link resource. | ||
*/ | ||
export interface PrivateLinkResource { | ||
/** | ||
* e.g. f9ad6492-33d4-4690-9999-6bfd52a0d081 (Backup) or f9ad6492-33d4-4690-9999-6bfd52a0d082 | ||
* (SiteRecovery) | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly groupId?: string; | ||
/** | ||
* [backup-ecs1, backup-prot1, backup-prot1b, backup-prot1c, backup-id1] | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly requiredMembers?: string[]; | ||
/** | ||
* The private link resource Private link DNS zone name. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly requiredZoneNames?: string[]; | ||
/** | ||
* Fully qualified identifier of the resource. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly id?: string; | ||
/** | ||
* Name of the resource. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly name?: string; | ||
/** | ||
* e.g. Microsoft.RecoveryServices/vaults/privateLinkResources | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly type?: string; | ||
} | ||
/** | ||
* The name of usage. | ||
@@ -615,2 +732,13 @@ */ | ||
* @interface | ||
* Class which represent the stamps associated with the vault. | ||
* @extends Array<PrivateLinkResource> | ||
*/ | ||
export interface PrivateLinkResources extends Array<PrivateLinkResource> { | ||
/** | ||
* Link to the next chunk of the response | ||
*/ | ||
nextLink?: string; | ||
} | ||
/** | ||
* @interface | ||
* The response model for a list of Vaults. | ||
@@ -672,2 +800,30 @@ * @extends Array<Vault> | ||
/** | ||
* Defines values for ResourceIdentityType. | ||
* Possible values include: 'SystemAssigned', 'None' | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
export declare type ResourceIdentityType = 'SystemAssigned' | 'None'; | ||
/** | ||
* Defines values for ProvisioningState. | ||
* Possible values include: 'Succeeded', 'Deleting', 'Failed', 'Pending' | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
export declare type ProvisioningState = 'Succeeded' | 'Deleting' | 'Failed' | 'Pending'; | ||
/** | ||
* Defines values for PrivateEndpointConnectionStatus. | ||
* Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected' | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
export declare type PrivateEndpointConnectionStatus = 'Pending' | 'Approved' | 'Rejected' | 'Disconnected'; | ||
/** | ||
* Defines values for VaultPrivateEndpointState. | ||
* Possible values include: 'None', 'Enabled' | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
export declare type VaultPrivateEndpointState = 'None' | 'Enabled'; | ||
/** | ||
* Defines values for UsagesUnit. | ||
@@ -717,5 +873,59 @@ * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', | ||
/** | ||
* Contains response data for the list operation. | ||
*/ | ||
export declare type PrivateLinkResourcesListResponse = PrivateLinkResources & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: PrivateLinkResources; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the get operation. | ||
*/ | ||
export declare type PrivateLinkResourcesGetResponse = PrivateLinkResource & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: PrivateLinkResource; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the listNext operation. | ||
*/ | ||
export declare type PrivateLinkResourcesListNextResponse = PrivateLinkResources & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: PrivateLinkResources; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the checkNameAvailability operation. | ||
*/ | ||
export declare type RecoveryServicesCheckNameAvailabilityResponse = CheckNameAvailabilityResultResource & { | ||
export declare type RecoveryServicesCheckNameAvailabilityResponse = CheckNameAvailabilityResult & { | ||
/** | ||
@@ -732,3 +942,3 @@ * The underlying HTTP response. | ||
*/ | ||
parsedBody: CheckNameAvailabilityResultResource; | ||
parsedBody: CheckNameAvailabilityResult; | ||
}; | ||
@@ -735,0 +945,0 @@ }; |
@@ -15,4 +15,2 @@ import * as msRest from "@azure/ms-rest-js"; | ||
export declare const CheckNameAvailabilityResult: msRest.CompositeMapper; | ||
export declare const Resource: msRest.CompositeMapper; | ||
export declare const CheckNameAvailabilityResultResource: msRest.CompositeMapper; | ||
export declare const ClientDiscoveryDisplay: msRest.CompositeMapper; | ||
@@ -23,2 +21,3 @@ export declare const ClientDiscoveryForLogSpecification: msRest.CompositeMapper; | ||
export declare const ClientDiscoveryValueForSingleApi: msRest.CompositeMapper; | ||
export declare const Resource: msRest.CompositeMapper; | ||
export declare const Sku: msRest.CompositeMapper; | ||
@@ -28,2 +27,7 @@ export declare const TrackedResource: msRest.CompositeMapper; | ||
export declare const UpgradeDetails: msRest.CompositeMapper; | ||
export declare const IdentityData: msRest.CompositeMapper; | ||
export declare const PrivateEndpoint: msRest.CompositeMapper; | ||
export declare const PrivateLinkServiceConnectionState: msRest.CompositeMapper; | ||
export declare const PrivateEndpointConnection: msRest.CompositeMapper; | ||
export declare const PrivateEndpointConnectionVaultProperties: msRest.CompositeMapper; | ||
export declare const VaultProperties: msRest.CompositeMapper; | ||
@@ -33,5 +37,7 @@ export declare const Vault: msRest.CompositeMapper; | ||
export declare const VaultExtendedInfoResource: msRest.CompositeMapper; | ||
export declare const PrivateLinkResource: msRest.CompositeMapper; | ||
export declare const NameInfo: msRest.CompositeMapper; | ||
export declare const VaultUsage: msRest.CompositeMapper; | ||
export declare const ReplicationUsageList: msRest.CompositeMapper; | ||
export declare const PrivateLinkResources: msRest.CompositeMapper; | ||
export declare const VaultList: msRest.CompositeMapper; | ||
@@ -43,4 +49,4 @@ export declare const ClientDiscoveryResponse: msRest.CompositeMapper; | ||
'ResourceCertificateDetails.AccessControlService': msRest.CompositeMapper; | ||
'ResourceCertificateDetails': msRest.CompositeMapper; | ||
ResourceCertificateDetails: msRest.CompositeMapper; | ||
}; | ||
//# sourceMappingURL=mappers.d.ts.map |
@@ -8,3 +8,3 @@ /* | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { __assign } from "tslib"; | ||
import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; | ||
@@ -126,3 +126,3 @@ export var CloudError = CloudErrorMapper; | ||
className: "ResourceCertificateAndAadDetails", | ||
modelProperties: tslib_1.__assign({}, ResourceCertificateDetails.type.modelProperties, { aadAuthority: { | ||
modelProperties: __assign(__assign({}, ResourceCertificateDetails.type.modelProperties), { aadAuthority: { | ||
required: true, | ||
@@ -167,3 +167,3 @@ serializedName: "aadAuthority", | ||
className: "ResourceCertificateAndAcsDetails", | ||
modelProperties: tslib_1.__assign({}, ResourceCertificateDetails.type.modelProperties, { globalAcsNamespace: { | ||
modelProperties: __assign(__assign({}, ResourceCertificateDetails.type.modelProperties), { globalAcsNamespace: { | ||
required: true, | ||
@@ -393,52 +393,2 @@ serializedName: "globalAcsNamespace", | ||
}; | ||
export var Resource = { | ||
serializedName: "Resource", | ||
type: { | ||
name: "Composite", | ||
className: "Resource", | ||
modelProperties: { | ||
id: { | ||
readOnly: true, | ||
serializedName: "id", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
name: { | ||
readOnly: true, | ||
serializedName: "name", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
type: { | ||
readOnly: true, | ||
serializedName: "type", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
eTag: { | ||
serializedName: "eTag", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var CheckNameAvailabilityResultResource = { | ||
serializedName: "CheckNameAvailabilityResultResource", | ||
type: { | ||
name: "Composite", | ||
className: "CheckNameAvailabilityResultResource", | ||
modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: { | ||
serializedName: "properties", | ||
type: { | ||
name: "Composite", | ||
className: "CheckNameAvailabilityResult" | ||
} | ||
} }) | ||
} | ||
}; | ||
export var ClientDiscoveryDisplay = { | ||
@@ -576,2 +526,38 @@ serializedName: "ClientDiscoveryDisplay", | ||
}; | ||
export var Resource = { | ||
serializedName: "Resource", | ||
type: { | ||
name: "Composite", | ||
className: "Resource", | ||
modelProperties: { | ||
id: { | ||
readOnly: true, | ||
serializedName: "id", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
name: { | ||
readOnly: true, | ||
serializedName: "name", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
type: { | ||
readOnly: true, | ||
serializedName: "type", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
eTag: { | ||
serializedName: "eTag", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var Sku = { | ||
@@ -598,3 +584,3 @@ serializedName: "Sku", | ||
className: "TrackedResource", | ||
modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { location: { | ||
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { location: { | ||
required: true, | ||
@@ -623,3 +609,3 @@ serializedName: "location", | ||
className: "PatchTrackedResource", | ||
modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { location: { | ||
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { location: { | ||
serializedName: "location", | ||
@@ -714,2 +700,131 @@ type: { | ||
}; | ||
export var IdentityData = { | ||
serializedName: "IdentityData", | ||
type: { | ||
name: "Composite", | ||
className: "IdentityData", | ||
modelProperties: { | ||
principalId: { | ||
readOnly: true, | ||
serializedName: "principalId", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
tenantId: { | ||
readOnly: true, | ||
serializedName: "tenantId", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
type: { | ||
required: true, | ||
serializedName: "type", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var PrivateEndpoint = { | ||
serializedName: "PrivateEndpoint", | ||
type: { | ||
name: "Composite", | ||
className: "PrivateEndpoint", | ||
modelProperties: { | ||
id: { | ||
readOnly: true, | ||
serializedName: "id", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var PrivateLinkServiceConnectionState = { | ||
serializedName: "PrivateLinkServiceConnectionState", | ||
type: { | ||
name: "Composite", | ||
className: "PrivateLinkServiceConnectionState", | ||
modelProperties: { | ||
status: { | ||
readOnly: true, | ||
serializedName: "status", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
description: { | ||
readOnly: true, | ||
serializedName: "description", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
actionsRequired: { | ||
readOnly: true, | ||
serializedName: "actionsRequired", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var PrivateEndpointConnection = { | ||
serializedName: "PrivateEndpointConnection", | ||
type: { | ||
name: "Composite", | ||
className: "PrivateEndpointConnection", | ||
modelProperties: { | ||
provisioningState: { | ||
readOnly: true, | ||
serializedName: "provisioningState", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
privateEndpoint: { | ||
serializedName: "privateEndpoint", | ||
type: { | ||
name: "Composite", | ||
className: "PrivateEndpoint" | ||
} | ||
}, | ||
privateLinkServiceConnectionState: { | ||
serializedName: "privateLinkServiceConnectionState", | ||
type: { | ||
name: "Composite", | ||
className: "PrivateLinkServiceConnectionState" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var PrivateEndpointConnectionVaultProperties = { | ||
serializedName: "PrivateEndpointConnectionVaultProperties", | ||
type: { | ||
name: "Composite", | ||
className: "PrivateEndpointConnectionVaultProperties", | ||
modelProperties: { | ||
id: { | ||
readOnly: true, | ||
serializedName: "id", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
properties: { | ||
serializedName: "properties", | ||
type: { | ||
name: "Composite", | ||
className: "PrivateEndpointConnection" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var VaultProperties = { | ||
@@ -734,2 +849,29 @@ serializedName: "VaultProperties", | ||
} | ||
}, | ||
privateEndpointConnections: { | ||
readOnly: true, | ||
serializedName: "privateEndpointConnections", | ||
type: { | ||
name: "Sequence", | ||
element: { | ||
type: { | ||
name: "Composite", | ||
className: "PrivateEndpointConnectionVaultProperties" | ||
} | ||
} | ||
} | ||
}, | ||
privateEndpointStateForBackup: { | ||
readOnly: true, | ||
serializedName: "privateEndpointStateForBackup", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
privateEndpointStateForSiteRecovery: { | ||
readOnly: true, | ||
serializedName: "privateEndpointStateForSiteRecovery", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
@@ -744,3 +886,9 @@ } | ||
className: "Vault", | ||
modelProperties: tslib_1.__assign({}, TrackedResource.type.modelProperties, { properties: { | ||
modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { identity: { | ||
serializedName: "identity", | ||
type: { | ||
name: "Composite", | ||
className: "IdentityData" | ||
} | ||
}, properties: { | ||
serializedName: "properties", | ||
@@ -765,3 +913,3 @@ type: { | ||
className: "PatchVault", | ||
modelProperties: tslib_1.__assign({}, PatchTrackedResource.type.modelProperties, { properties: { | ||
modelProperties: __assign(__assign({}, PatchTrackedResource.type.modelProperties), { properties: { | ||
serializedName: "properties", | ||
@@ -786,3 +934,3 @@ type: { | ||
className: "VaultExtendedInfoResource", | ||
modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { integrityKey: { | ||
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { integrityKey: { | ||
serializedName: "properties.integrityKey", | ||
@@ -810,2 +958,63 @@ type: { | ||
}; | ||
export var PrivateLinkResource = { | ||
serializedName: "PrivateLinkResource", | ||
type: { | ||
name: "Composite", | ||
className: "PrivateLinkResource", | ||
modelProperties: { | ||
groupId: { | ||
readOnly: true, | ||
serializedName: "properties.groupId", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
requiredMembers: { | ||
readOnly: true, | ||
serializedName: "properties.requiredMembers", | ||
type: { | ||
name: "Sequence", | ||
element: { | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
}, | ||
requiredZoneNames: { | ||
readOnly: true, | ||
serializedName: "properties.requiredZoneNames", | ||
type: { | ||
name: "Sequence", | ||
element: { | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
}, | ||
id: { | ||
readOnly: true, | ||
serializedName: "id", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
name: { | ||
readOnly: true, | ||
serializedName: "name", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
type: { | ||
readOnly: true, | ||
serializedName: "type", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var NameInfo = { | ||
@@ -899,2 +1108,29 @@ serializedName: "NameInfo", | ||
}; | ||
export var PrivateLinkResources = { | ||
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" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var VaultList = { | ||
@@ -901,0 +1137,0 @@ serializedName: "VaultList", |
@@ -8,2 +8,3 @@ import * as msRest from "@azure/ms-rest-js"; | ||
export declare const nextPageLink: msRest.OperationURLParameter; | ||
export declare const privateLinkResourceName: msRest.OperationURLParameter; | ||
export declare const resourceGroupName: msRest.OperationURLParameter; | ||
@@ -10,0 +11,0 @@ export declare const subscriptionId: msRest.OperationURLParameter; |
@@ -71,2 +71,12 @@ /* | ||
}; | ||
export var privateLinkResourceName = { | ||
parameterPath: "privateLinkResourceName", | ||
mapper: { | ||
required: true, | ||
serializedName: "privateLinkResourceName", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
}; | ||
export var resourceGroupName = { | ||
@@ -73,0 +83,0 @@ parameterPath: "resourceGroupName", |
@@ -1,2 +0,2 @@ | ||
export { discriminators, BaseResource, CheckNameAvailabilityParameters, CheckNameAvailabilityResult, CheckNameAvailabilityResultResource, CloudError, PatchTrackedResource, PatchVault, Resource, ResourceCertificateAndAadDetails, ResourceCertificateAndAcsDetails, ResourceCertificateDetails, Sku, TrackedResource, UpgradeDetails, Vault, VaultCertificateResponse, VaultExtendedInfoResource, VaultProperties } from "../models/mappers"; | ||
export { discriminators, CheckNameAvailabilityParameters, CheckNameAvailabilityResult, CloudError } from "../models/mappers"; | ||
//# sourceMappingURL=recoveryServicesMappers.d.ts.map |
@@ -8,3 +8,3 @@ /* | ||
*/ | ||
export { discriminators, BaseResource, CheckNameAvailabilityParameters, CheckNameAvailabilityResult, CheckNameAvailabilityResultResource, CloudError, PatchTrackedResource, PatchVault, Resource, ResourceCertificateAndAadDetails, ResourceCertificateAndAcsDetails, ResourceCertificateDetails, Sku, TrackedResource, UpgradeDetails, Vault, VaultCertificateResponse, VaultExtendedInfoResource, VaultProperties } from "../models/mappers"; | ||
export { discriminators, CheckNameAvailabilityParameters, CheckNameAvailabilityResult, CloudError } from "../models/mappers"; | ||
//# sourceMappingURL=recoveryServicesMappers.js.map |
@@ -1,2 +0,2 @@ | ||
export { discriminators, BaseResource, CertificateRequest, CheckNameAvailabilityResult, CheckNameAvailabilityResultResource, CloudError, PatchTrackedResource, PatchVault, RawCertificateData, Resource, ResourceCertificateAndAadDetails, ResourceCertificateAndAcsDetails, ResourceCertificateDetails, Sku, TrackedResource, UpgradeDetails, Vault, VaultCertificateResponse, VaultExtendedInfoResource, VaultProperties } from "../models/mappers"; | ||
export { discriminators, BaseResource, CertificateRequest, CloudError, IdentityData, PatchTrackedResource, PatchVault, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionVaultProperties, PrivateLinkServiceConnectionState, RawCertificateData, Resource, ResourceCertificateAndAadDetails, ResourceCertificateAndAcsDetails, ResourceCertificateDetails, Sku, TrackedResource, UpgradeDetails, Vault, VaultCertificateResponse, VaultExtendedInfoResource, VaultProperties } from "../models/mappers"; | ||
//# sourceMappingURL=vaultCertificatesMappers.d.ts.map |
@@ -8,3 +8,3 @@ /* | ||
*/ | ||
export { discriminators, BaseResource, CertificateRequest, CheckNameAvailabilityResult, CheckNameAvailabilityResultResource, CloudError, PatchTrackedResource, PatchVault, RawCertificateData, Resource, ResourceCertificateAndAadDetails, ResourceCertificateAndAcsDetails, ResourceCertificateDetails, Sku, TrackedResource, UpgradeDetails, Vault, VaultCertificateResponse, VaultExtendedInfoResource, VaultProperties } from "../models/mappers"; | ||
export { discriminators, BaseResource, CertificateRequest, CloudError, IdentityData, PatchTrackedResource, PatchVault, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionVaultProperties, PrivateLinkServiceConnectionState, RawCertificateData, Resource, ResourceCertificateAndAadDetails, ResourceCertificateAndAcsDetails, ResourceCertificateDetails, Sku, TrackedResource, UpgradeDetails, Vault, VaultCertificateResponse, VaultExtendedInfoResource, VaultProperties } from "../models/mappers"; | ||
//# sourceMappingURL=vaultCertificatesMappers.js.map |
@@ -1,2 +0,2 @@ | ||
export { discriminators, BaseResource, CheckNameAvailabilityResult, CheckNameAvailabilityResultResource, CloudError, PatchTrackedResource, PatchVault, Resource, ResourceCertificateAndAadDetails, ResourceCertificateAndAcsDetails, ResourceCertificateDetails, Sku, TrackedResource, UpgradeDetails, Vault, VaultCertificateResponse, VaultExtendedInfoResource, VaultProperties } from "../models/mappers"; | ||
export { discriminators, BaseResource, CloudError, IdentityData, PatchTrackedResource, PatchVault, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionVaultProperties, PrivateLinkServiceConnectionState, Resource, ResourceCertificateAndAadDetails, ResourceCertificateAndAcsDetails, ResourceCertificateDetails, Sku, TrackedResource, UpgradeDetails, Vault, VaultCertificateResponse, VaultExtendedInfoResource, VaultProperties } from "../models/mappers"; | ||
//# sourceMappingURL=vaultExtendedInfoOperationsMappers.d.ts.map |
@@ -8,3 +8,3 @@ /* | ||
*/ | ||
export { discriminators, BaseResource, CheckNameAvailabilityResult, CheckNameAvailabilityResultResource, CloudError, PatchTrackedResource, PatchVault, Resource, ResourceCertificateAndAadDetails, ResourceCertificateAndAcsDetails, ResourceCertificateDetails, Sku, TrackedResource, UpgradeDetails, Vault, VaultCertificateResponse, VaultExtendedInfoResource, VaultProperties } from "../models/mappers"; | ||
export { discriminators, BaseResource, CloudError, IdentityData, PatchTrackedResource, PatchVault, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionVaultProperties, PrivateLinkServiceConnectionState, Resource, ResourceCertificateAndAadDetails, ResourceCertificateAndAcsDetails, ResourceCertificateDetails, Sku, TrackedResource, UpgradeDetails, Vault, VaultCertificateResponse, VaultExtendedInfoResource, VaultProperties } from "../models/mappers"; | ||
//# sourceMappingURL=vaultExtendedInfoOperationsMappers.js.map |
@@ -1,2 +0,2 @@ | ||
export { discriminators, BaseResource, CheckNameAvailabilityResult, CheckNameAvailabilityResultResource, CloudError, PatchTrackedResource, PatchVault, Resource, ResourceCertificateAndAadDetails, ResourceCertificateAndAcsDetails, ResourceCertificateDetails, Sku, TrackedResource, UpgradeDetails, Vault, VaultCertificateResponse, VaultExtendedInfoResource, VaultList, VaultProperties } from "../models/mappers"; | ||
export { discriminators, BaseResource, CloudError, IdentityData, PatchTrackedResource, PatchVault, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionVaultProperties, PrivateLinkServiceConnectionState, Resource, ResourceCertificateAndAadDetails, ResourceCertificateAndAcsDetails, ResourceCertificateDetails, Sku, TrackedResource, UpgradeDetails, Vault, VaultCertificateResponse, VaultExtendedInfoResource, VaultList, VaultProperties } from "../models/mappers"; | ||
//# sourceMappingURL=vaultsMappers.d.ts.map |
@@ -8,3 +8,3 @@ /* | ||
*/ | ||
export { discriminators, BaseResource, CheckNameAvailabilityResult, CheckNameAvailabilityResultResource, CloudError, PatchTrackedResource, PatchVault, Resource, ResourceCertificateAndAadDetails, ResourceCertificateAndAcsDetails, ResourceCertificateDetails, Sku, TrackedResource, UpgradeDetails, Vault, VaultCertificateResponse, VaultExtendedInfoResource, VaultList, VaultProperties } from "../models/mappers"; | ||
export { discriminators, BaseResource, CloudError, IdentityData, PatchTrackedResource, PatchVault, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionVaultProperties, PrivateLinkServiceConnectionState, Resource, ResourceCertificateAndAadDetails, ResourceCertificateAndAcsDetails, ResourceCertificateDetails, Sku, TrackedResource, UpgradeDetails, Vault, VaultCertificateResponse, VaultExtendedInfoResource, VaultList, VaultProperties } from "../models/mappers"; | ||
//# sourceMappingURL=vaultsMappers.js.map |
export * from "./vaultCertificates"; | ||
export * from "./registeredIdentities"; | ||
export * from "./replicationUsages"; | ||
export * from "./privateLinkResourcesOperations"; | ||
export * from "./recoveryServices"; | ||
@@ -5,0 +6,0 @@ export * from "./vaults"; |
@@ -13,2 +13,3 @@ /* | ||
export * from "./replicationUsages"; | ||
export * from "./privateLinkResourcesOperations"; | ||
export * from "./recoveryServices"; | ||
@@ -15,0 +16,0 @@ export * from "./vaults"; |
@@ -33,3 +33,3 @@ import * as msRest from "@azure/ms-rest-js"; | ||
*/ | ||
checkNameAvailability(resourceGroupName: string, location: string, input: Models.CheckNameAvailabilityParameters, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityResultResource>): void; | ||
checkNameAvailability(resourceGroupName: string, location: string, input: Models.CheckNameAvailabilityParameters, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityResult>): void; | ||
/** | ||
@@ -43,4 +43,4 @@ * @param resourceGroupName The name of the resource group where the recovery services vault is | ||
*/ | ||
checkNameAvailability(resourceGroupName: string, location: string, input: Models.CheckNameAvailabilityParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityResultResource>): void; | ||
checkNameAvailability(resourceGroupName: string, location: string, input: Models.CheckNameAvailabilityParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityResult>): void; | ||
} | ||
//# sourceMappingURL=recoveryServices.d.ts.map |
@@ -10,3 +10,3 @@ /* | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { __assign } from "tslib"; | ||
import * as msRest from "@azure/ms-rest-js"; | ||
@@ -53,7 +53,7 @@ import * as Mappers from "../models/recoveryServicesMappers"; | ||
parameterPath: "input", | ||
mapper: tslib_1.__assign({}, Mappers.CheckNameAvailabilityParameters, { required: true }) | ||
mapper: __assign(__assign({}, Mappers.CheckNameAvailabilityParameters), { required: true }) | ||
}, | ||
responses: { | ||
200: { | ||
bodyMapper: Mappers.CheckNameAvailabilityResultResource | ||
bodyMapper: Mappers.CheckNameAvailabilityResult | ||
}, | ||
@@ -60,0 +60,0 @@ default: { |
@@ -10,3 +10,3 @@ /* | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { __assign } from "tslib"; | ||
import * as msRest from "@azure/ms-rest-js"; | ||
@@ -55,3 +55,3 @@ import * as Mappers from "../models/vaultCertificatesMappers"; | ||
parameterPath: "certificateRequest", | ||
mapper: tslib_1.__assign({}, Mappers.CertificateRequest, { required: true }) | ||
mapper: __assign(__assign({}, Mappers.CertificateRequest), { required: true }) | ||
}, | ||
@@ -58,0 +58,0 @@ responses: { |
@@ -10,3 +10,3 @@ /* | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { __assign } from "tslib"; | ||
import * as msRest from "@azure/ms-rest-js"; | ||
@@ -92,3 +92,3 @@ import * as Mappers from "../models/vaultExtendedInfoOperationsMappers"; | ||
parameterPath: "resourceResourceExtendedInfoDetails", | ||
mapper: tslib_1.__assign({}, Mappers.VaultExtendedInfoResource, { required: true }) | ||
mapper: __assign(__assign({}, Mappers.VaultExtendedInfoResource), { required: true }) | ||
}, | ||
@@ -121,3 +121,3 @@ responses: { | ||
parameterPath: "resourceResourceExtendedInfoDetails", | ||
mapper: tslib_1.__assign({}, Mappers.VaultExtendedInfoResource, { required: true }) | ||
mapper: __assign(__assign({}, Mappers.VaultExtendedInfoResource), { required: true }) | ||
}, | ||
@@ -124,0 +124,0 @@ responses: { |
@@ -10,3 +10,3 @@ /* | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { __assign } from "tslib"; | ||
import * as msRest from "@azure/ms-rest-js"; | ||
@@ -167,3 +167,3 @@ import * as Mappers from "../models/vaultsMappers"; | ||
parameterPath: "vault", | ||
mapper: tslib_1.__assign({}, Mappers.Vault, { required: true }) | ||
mapper: __assign(__assign({}, Mappers.Vault), { required: true }) | ||
}, | ||
@@ -221,3 +221,3 @@ responses: { | ||
parameterPath: "vault", | ||
mapper: tslib_1.__assign({}, Mappers.PatchVault, { required: true }) | ||
mapper: __assign(__assign({}, Mappers.PatchVault), { required: true }) | ||
}, | ||
@@ -224,0 +224,0 @@ responses: { |
@@ -10,2 +10,3 @@ import * as msRest from "@azure/ms-rest-js"; | ||
replicationUsages: operations.ReplicationUsages; | ||
privateLinkResources: operations.PrivateLinkResourcesOperations; | ||
recoveryServices: operations.RecoveryServices; | ||
@@ -12,0 +13,0 @@ vaults: operations.Vaults; |
@@ -10,3 +10,3 @@ /* | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { __extends } from "tslib"; | ||
import * as Models from "./models"; | ||
@@ -17,3 +17,3 @@ import * as Mappers from "./models/mappers"; | ||
var RecoveryServicesClient = /** @class */ (function (_super) { | ||
tslib_1.__extends(RecoveryServicesClient, _super); | ||
__extends(RecoveryServicesClient, _super); | ||
/** | ||
@@ -30,2 +30,3 @@ * Initializes a new instance of the RecoveryServicesClient class. | ||
_this.replicationUsages = new operations.ReplicationUsages(_this); | ||
_this.privateLinkResources = new operations.PrivateLinkResourcesOperations(_this); | ||
_this.recoveryServices = new operations.RecoveryServices(_this); | ||
@@ -32,0 +33,0 @@ _this.vaults = new operations.Vaults(_this); |
@@ -10,8 +10,8 @@ /* | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { __extends } from "tslib"; | ||
import * as msRestAzure from "@azure/ms-rest-azure-js"; | ||
var packageName = "@azure/arm-recoveryservices"; | ||
var packageVersion = "3.0.0"; | ||
var packageVersion = "4.0.0"; | ||
var RecoveryServicesClientContext = /** @class */ (function (_super) { | ||
tslib_1.__extends(RecoveryServicesClientContext, _super); | ||
__extends(RecoveryServicesClientContext, _super); | ||
/** | ||
@@ -18,0 +18,0 @@ * Initializes a new instance of the RecoveryServicesClient class. |
The MIT License (MIT) | ||
Copyright (c) 2019 Microsoft | ||
Copyright (c) 2020 Microsoft | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
@@ -5,7 +5,7 @@ { | ||
"description": "RecoveryServicesClient Library with typescript type definitions for node.js and browser.", | ||
"version": "3.0.0", | ||
"version": "4.0.0", | ||
"dependencies": { | ||
"@azure/ms-rest-azure-js": "^1.3.2", | ||
"@azure/ms-rest-js": "^1.8.1", | ||
"tslib": "^1.9.3" | ||
"@azure/ms-rest-azure-js": "^2.0.1", | ||
"@azure/ms-rest-js": "^2.0.4", | ||
"tslib": "^1.10.0" | ||
}, | ||
@@ -24,15 +24,15 @@ "keywords": [ | ||
"devDependencies": { | ||
"typescript": "^3.1.1", | ||
"rollup": "^0.66.2", | ||
"rollup-plugin-node-resolve": "^3.4.0", | ||
"typescript": "^3.5.3", | ||
"rollup": "^1.18.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-sourcemaps": "^0.4.2", | ||
"uglify-js": "^3.4.9" | ||
"uglify-js": "^3.6.0" | ||
}, | ||
"homepage": "https://github.com/azure/azure-sdk-for-js", | ||
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/recoveryservices/arm-recoveryservices", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/azure/azure-sdk-for-js.git" | ||
"url": "https://github.com/Azure/azure-sdk-for-js.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/azure/azure-sdk-for-js/issues" | ||
"url": "https://github.com/Azure/azure-sdk-for-js/issues" | ||
}, | ||
@@ -39,0 +39,0 @@ "files": [ |
@@ -22,4 +22,5 @@ ## Azure RecoveryServicesClient SDK for JavaScript | ||
- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. | ||
```bash | ||
npm install @azure/ms-rest-nodeauth | ||
npm install @azure/ms-rest-nodeauth@"^3.0.0" | ||
``` | ||
@@ -102,1 +103,3 @@ | ||
- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) | ||
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/recoveryservices/arm-recoveryservices/README.png) |
@@ -32,3 +32,3 @@ import rollup from "rollup"; | ||
plugins: [ | ||
nodeResolve({ module: true }), | ||
nodeResolve({ mainFields: ['module', 'main'] }), | ||
sourcemaps() | ||
@@ -35,0 +35,0 @@ ] |
@@ -325,38 +325,2 @@ /* | ||
/** | ||
* ARM Resource. | ||
*/ | ||
export interface Resource extends BaseResource { | ||
/** | ||
* Resource Id represents the complete path to the resource. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly id?: string; | ||
/** | ||
* Resource name associated with the resource. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly name?: string; | ||
/** | ||
* Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly type?: string; | ||
/** | ||
* Optional ETag. | ||
*/ | ||
eTag?: string; | ||
} | ||
/** | ||
* Response for check name availability API. Resource provider will set availability as true | | ||
* false. | ||
*/ | ||
export interface CheckNameAvailabilityResultResource extends Resource { | ||
/** | ||
* CheckNameAvailabilityResultResource properties | ||
*/ | ||
properties?: CheckNameAvailabilityResult; | ||
} | ||
/** | ||
* Localized display information of an operation. | ||
@@ -445,2 +409,27 @@ */ | ||
/** | ||
* ARM Resource. | ||
*/ | ||
export interface Resource extends BaseResource { | ||
/** | ||
* Resource Id represents the complete path to the resource. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly id?: string; | ||
/** | ||
* Resource name associated with the resource. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly name?: string; | ||
/** | ||
* Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly type?: string; | ||
/** | ||
* Optional ETag. | ||
*/ | ||
eTag?: string; | ||
} | ||
/** | ||
* Identifies the unique system identifier for each Azure resource. | ||
@@ -537,2 +526,82 @@ */ | ||
/** | ||
* Identity for the resource. | ||
*/ | ||
export interface IdentityData { | ||
/** | ||
* The principal ID of resource identity. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly principalId?: string; | ||
/** | ||
* The tenant ID of resource. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly tenantId?: string; | ||
/** | ||
* The identity type. Possible values include: 'SystemAssigned', 'None' | ||
*/ | ||
type: ResourceIdentityType; | ||
} | ||
/** | ||
* The Private Endpoint network resource that is linked to the Private Endpoint connection. | ||
*/ | ||
export interface PrivateEndpoint { | ||
/** | ||
* Gets or sets id. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly id?: string; | ||
} | ||
/** | ||
* Gets or sets private link service connection state. | ||
*/ | ||
export interface PrivateLinkServiceConnectionState { | ||
/** | ||
* Gets or sets the status. Possible values include: 'Pending', 'Approved', 'Rejected', | ||
* 'Disconnected' | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly status?: PrivateEndpointConnectionStatus; | ||
/** | ||
* Gets or sets description. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly description?: string; | ||
/** | ||
* Gets or sets actions required. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly actionsRequired?: string; | ||
} | ||
/** | ||
* Private Endpoint Connection Response Properties. | ||
*/ | ||
export interface PrivateEndpointConnection { | ||
/** | ||
* Gets or sets provisioning state of the private endpoint connection. Possible values include: | ||
* 'Succeeded', 'Deleting', 'Failed', 'Pending' | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly provisioningState?: ProvisioningState; | ||
privateEndpoint?: PrivateEndpoint; | ||
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; | ||
} | ||
/** | ||
* Information to be stored in Vault properties as an element of privateEndpointConnections List. | ||
*/ | ||
export interface PrivateEndpointConnectionVaultProperties { | ||
/** | ||
* Format of id | ||
* subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.[Service]/{resource}/{resourceName}/privateEndpointConnections/{connectionName}. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly id?: string; | ||
properties?: PrivateEndpointConnection; | ||
} | ||
/** | ||
* Properties of the vault. | ||
@@ -547,2 +616,17 @@ */ | ||
upgradeDetails?: UpgradeDetails; | ||
/** | ||
* List of private endpoint connection. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly privateEndpointConnections?: PrivateEndpointConnectionVaultProperties[]; | ||
/** | ||
* Private endpoint state for backup. Possible values include: 'None', 'Enabled' | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly privateEndpointStateForBackup?: VaultPrivateEndpointState; | ||
/** | ||
* Private endpoint state for site recovery. Possible values include: 'None', 'Enabled' | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly privateEndpointStateForSiteRecovery?: VaultPrivateEndpointState; | ||
} | ||
@@ -554,2 +638,3 @@ | ||
export interface Vault extends TrackedResource { | ||
identity?: IdentityData; | ||
properties?: VaultProperties; | ||
@@ -590,2 +675,39 @@ sku?: Sku; | ||
/** | ||
* Information of the private link resource. | ||
*/ | ||
export interface PrivateLinkResource { | ||
/** | ||
* e.g. f9ad6492-33d4-4690-9999-6bfd52a0d081 (Backup) or f9ad6492-33d4-4690-9999-6bfd52a0d082 | ||
* (SiteRecovery) | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly groupId?: string; | ||
/** | ||
* [backup-ecs1, backup-prot1, backup-prot1b, backup-prot1c, backup-id1] | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly requiredMembers?: string[]; | ||
/** | ||
* The private link resource Private link DNS zone name. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly requiredZoneNames?: string[]; | ||
/** | ||
* Fully qualified identifier of the resource. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly id?: string; | ||
/** | ||
* Name of the resource. | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly name?: string; | ||
/** | ||
* e.g. Microsoft.RecoveryServices/vaults/privateLinkResources | ||
* **NOTE: This property will not be serialized. It can only be populated by the server.** | ||
*/ | ||
readonly type?: string; | ||
} | ||
/** | ||
* The name of usage. | ||
@@ -652,2 +774,14 @@ */ | ||
* @interface | ||
* Class which represent the stamps associated with the vault. | ||
* @extends Array<PrivateLinkResource> | ||
*/ | ||
export interface PrivateLinkResources extends Array<PrivateLinkResource> { | ||
/** | ||
* Link to the next chunk of the response | ||
*/ | ||
nextLink?: string; | ||
} | ||
/** | ||
* @interface | ||
* The response model for a list of Vaults. | ||
@@ -716,2 +850,34 @@ * @extends Array<Vault> | ||
/** | ||
* Defines values for ResourceIdentityType. | ||
* Possible values include: 'SystemAssigned', 'None' | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
export type ResourceIdentityType = 'SystemAssigned' | 'None'; | ||
/** | ||
* Defines values for ProvisioningState. | ||
* Possible values include: 'Succeeded', 'Deleting', 'Failed', 'Pending' | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
export type ProvisioningState = 'Succeeded' | 'Deleting' | 'Failed' | 'Pending'; | ||
/** | ||
* Defines values for PrivateEndpointConnectionStatus. | ||
* Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected' | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
export type PrivateEndpointConnectionStatus = 'Pending' | 'Approved' | 'Rejected' | 'Disconnected'; | ||
/** | ||
* Defines values for VaultPrivateEndpointState. | ||
* Possible values include: 'None', 'Enabled' | ||
* @readonly | ||
* @enum {string} | ||
*/ | ||
export type VaultPrivateEndpointState = 'None' | 'Enabled'; | ||
/** | ||
* Defines values for UsagesUnit. | ||
@@ -766,5 +932,65 @@ * Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', | ||
/** | ||
* Contains response data for the list operation. | ||
*/ | ||
export type PrivateLinkResourcesListResponse = PrivateLinkResources & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: PrivateLinkResources; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the get operation. | ||
*/ | ||
export type PrivateLinkResourcesGetResponse = PrivateLinkResource & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: PrivateLinkResource; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the listNext operation. | ||
*/ | ||
export type PrivateLinkResourcesListNextResponse = PrivateLinkResources & { | ||
/** | ||
* The underlying HTTP response. | ||
*/ | ||
_response: msRest.HttpResponse & { | ||
/** | ||
* The response body as text (string format) | ||
*/ | ||
bodyAsText: string; | ||
/** | ||
* The response body as parsed JSON or XML | ||
*/ | ||
parsedBody: PrivateLinkResources; | ||
}; | ||
}; | ||
/** | ||
* Contains response data for the checkNameAvailability operation. | ||
*/ | ||
export type RecoveryServicesCheckNameAvailabilityResponse = CheckNameAvailabilityResultResource & { | ||
export type RecoveryServicesCheckNameAvailabilityResponse = CheckNameAvailabilityResult & { | ||
/** | ||
@@ -782,3 +1008,3 @@ * The underlying HTTP response. | ||
*/ | ||
parsedBody: CheckNameAvailabilityResultResource; | ||
parsedBody: CheckNameAvailabilityResult; | ||
}; | ||
@@ -785,0 +1011,0 @@ }; |
@@ -416,57 +416,2 @@ /* | ||
export const Resource: msRest.CompositeMapper = { | ||
serializedName: "Resource", | ||
type: { | ||
name: "Composite", | ||
className: "Resource", | ||
modelProperties: { | ||
id: { | ||
readOnly: true, | ||
serializedName: "id", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
name: { | ||
readOnly: true, | ||
serializedName: "name", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
type: { | ||
readOnly: true, | ||
serializedName: "type", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
eTag: { | ||
serializedName: "eTag", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const CheckNameAvailabilityResultResource: msRest.CompositeMapper = { | ||
serializedName: "CheckNameAvailabilityResultResource", | ||
type: { | ||
name: "Composite", | ||
className: "CheckNameAvailabilityResultResource", | ||
modelProperties: { | ||
...Resource.type.modelProperties, | ||
properties: { | ||
serializedName: "properties", | ||
type: { | ||
name: "Composite", | ||
className: "CheckNameAvailabilityResult" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const ClientDiscoveryDisplay: msRest.CompositeMapper = { | ||
@@ -609,2 +554,39 @@ serializedName: "ClientDiscoveryDisplay", | ||
export const Resource: msRest.CompositeMapper = { | ||
serializedName: "Resource", | ||
type: { | ||
name: "Composite", | ||
className: "Resource", | ||
modelProperties: { | ||
id: { | ||
readOnly: true, | ||
serializedName: "id", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
name: { | ||
readOnly: true, | ||
serializedName: "name", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
type: { | ||
readOnly: true, | ||
serializedName: "type", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
eTag: { | ||
serializedName: "eTag", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const Sku: msRest.CompositeMapper = { | ||
@@ -757,2 +739,136 @@ serializedName: "Sku", | ||
export const IdentityData: msRest.CompositeMapper = { | ||
serializedName: "IdentityData", | ||
type: { | ||
name: "Composite", | ||
className: "IdentityData", | ||
modelProperties: { | ||
principalId: { | ||
readOnly: true, | ||
serializedName: "principalId", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
tenantId: { | ||
readOnly: true, | ||
serializedName: "tenantId", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
type: { | ||
required: true, | ||
serializedName: "type", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const PrivateEndpoint: msRest.CompositeMapper = { | ||
serializedName: "PrivateEndpoint", | ||
type: { | ||
name: "Composite", | ||
className: "PrivateEndpoint", | ||
modelProperties: { | ||
id: { | ||
readOnly: true, | ||
serializedName: "id", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const PrivateLinkServiceConnectionState: msRest.CompositeMapper = { | ||
serializedName: "PrivateLinkServiceConnectionState", | ||
type: { | ||
name: "Composite", | ||
className: "PrivateLinkServiceConnectionState", | ||
modelProperties: { | ||
status: { | ||
readOnly: true, | ||
serializedName: "status", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
description: { | ||
readOnly: true, | ||
serializedName: "description", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
actionsRequired: { | ||
readOnly: true, | ||
serializedName: "actionsRequired", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const PrivateEndpointConnection: msRest.CompositeMapper = { | ||
serializedName: "PrivateEndpointConnection", | ||
type: { | ||
name: "Composite", | ||
className: "PrivateEndpointConnection", | ||
modelProperties: { | ||
provisioningState: { | ||
readOnly: true, | ||
serializedName: "provisioningState", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
privateEndpoint: { | ||
serializedName: "privateEndpoint", | ||
type: { | ||
name: "Composite", | ||
className: "PrivateEndpoint" | ||
} | ||
}, | ||
privateLinkServiceConnectionState: { | ||
serializedName: "privateLinkServiceConnectionState", | ||
type: { | ||
name: "Composite", | ||
className: "PrivateLinkServiceConnectionState" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const PrivateEndpointConnectionVaultProperties: msRest.CompositeMapper = { | ||
serializedName: "PrivateEndpointConnectionVaultProperties", | ||
type: { | ||
name: "Composite", | ||
className: "PrivateEndpointConnectionVaultProperties", | ||
modelProperties: { | ||
id: { | ||
readOnly: true, | ||
serializedName: "id", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
properties: { | ||
serializedName: "properties", | ||
type: { | ||
name: "Composite", | ||
className: "PrivateEndpointConnection" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const VaultProperties: msRest.CompositeMapper = { | ||
@@ -777,2 +893,29 @@ serializedName: "VaultProperties", | ||
} | ||
}, | ||
privateEndpointConnections: { | ||
readOnly: true, | ||
serializedName: "privateEndpointConnections", | ||
type: { | ||
name: "Sequence", | ||
element: { | ||
type: { | ||
name: "Composite", | ||
className: "PrivateEndpointConnectionVaultProperties" | ||
} | ||
} | ||
} | ||
}, | ||
privateEndpointStateForBackup: { | ||
readOnly: true, | ||
serializedName: "privateEndpointStateForBackup", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
privateEndpointStateForSiteRecovery: { | ||
readOnly: true, | ||
serializedName: "privateEndpointStateForSiteRecovery", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
@@ -790,2 +933,9 @@ } | ||
...TrackedResource.type.modelProperties, | ||
identity: { | ||
serializedName: "identity", | ||
type: { | ||
name: "Composite", | ||
className: "IdentityData" | ||
} | ||
}, | ||
properties: { | ||
@@ -869,2 +1019,64 @@ serializedName: "properties", | ||
export const PrivateLinkResource: msRest.CompositeMapper = { | ||
serializedName: "PrivateLinkResource", | ||
type: { | ||
name: "Composite", | ||
className: "PrivateLinkResource", | ||
modelProperties: { | ||
groupId: { | ||
readOnly: true, | ||
serializedName: "properties.groupId", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
requiredMembers: { | ||
readOnly: true, | ||
serializedName: "properties.requiredMembers", | ||
type: { | ||
name: "Sequence", | ||
element: { | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
}, | ||
requiredZoneNames: { | ||
readOnly: true, | ||
serializedName: "properties.requiredZoneNames", | ||
type: { | ||
name: "Sequence", | ||
element: { | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
}, | ||
id: { | ||
readOnly: true, | ||
serializedName: "id", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
name: { | ||
readOnly: true, | ||
serializedName: "name", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
type: { | ||
readOnly: true, | ||
serializedName: "type", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const NameInfo: msRest.CompositeMapper = { | ||
@@ -961,2 +1173,30 @@ serializedName: "NameInfo", | ||
export const PrivateLinkResources: msRest.CompositeMapper = { | ||
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" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export const VaultList: msRest.CompositeMapper = { | ||
@@ -963,0 +1203,0 @@ serializedName: "VaultList", |
@@ -74,2 +74,12 @@ /* | ||
}; | ||
export const privateLinkResourceName: msRest.OperationURLParameter = { | ||
parameterPath: "privateLinkResourceName", | ||
mapper: { | ||
required: true, | ||
serializedName: "privateLinkResourceName", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
}; | ||
export const resourceGroupName: msRest.OperationURLParameter = { | ||
@@ -76,0 +86,0 @@ parameterPath: "resourceGroupName", |
@@ -11,20 +11,5 @@ /* | ||
discriminators, | ||
BaseResource, | ||
CheckNameAvailabilityParameters, | ||
CheckNameAvailabilityResult, | ||
CheckNameAvailabilityResultResource, | ||
CloudError, | ||
PatchTrackedResource, | ||
PatchVault, | ||
Resource, | ||
ResourceCertificateAndAadDetails, | ||
ResourceCertificateAndAcsDetails, | ||
ResourceCertificateDetails, | ||
Sku, | ||
TrackedResource, | ||
UpgradeDetails, | ||
Vault, | ||
VaultCertificateResponse, | ||
VaultExtendedInfoResource, | ||
VaultProperties | ||
CloudError | ||
} from "../models/mappers"; |
@@ -13,7 +13,10 @@ /* | ||
CertificateRequest, | ||
CheckNameAvailabilityResult, | ||
CheckNameAvailabilityResultResource, | ||
CloudError, | ||
IdentityData, | ||
PatchTrackedResource, | ||
PatchVault, | ||
PrivateEndpoint, | ||
PrivateEndpointConnection, | ||
PrivateEndpointConnectionVaultProperties, | ||
PrivateLinkServiceConnectionState, | ||
RawCertificateData, | ||
@@ -20,0 +23,0 @@ Resource, |
@@ -12,7 +12,10 @@ /* | ||
BaseResource, | ||
CheckNameAvailabilityResult, | ||
CheckNameAvailabilityResultResource, | ||
CloudError, | ||
IdentityData, | ||
PatchTrackedResource, | ||
PatchVault, | ||
PrivateEndpoint, | ||
PrivateEndpointConnection, | ||
PrivateEndpointConnectionVaultProperties, | ||
PrivateLinkServiceConnectionState, | ||
Resource, | ||
@@ -19,0 +22,0 @@ ResourceCertificateAndAadDetails, |
@@ -12,7 +12,10 @@ /* | ||
BaseResource, | ||
CheckNameAvailabilityResult, | ||
CheckNameAvailabilityResultResource, | ||
CloudError, | ||
IdentityData, | ||
PatchTrackedResource, | ||
PatchVault, | ||
PrivateEndpoint, | ||
PrivateEndpointConnection, | ||
PrivateEndpointConnectionVaultProperties, | ||
PrivateLinkServiceConnectionState, | ||
Resource, | ||
@@ -19,0 +22,0 @@ ResourceCertificateAndAadDetails, |
@@ -14,2 +14,3 @@ /* | ||
export * from "./replicationUsages"; | ||
export * from "./privateLinkResourcesOperations"; | ||
export * from "./recoveryServices"; | ||
@@ -16,0 +17,0 @@ export * from "./vaults"; |
@@ -50,3 +50,3 @@ /* | ||
*/ | ||
checkNameAvailability(resourceGroupName: string, location: string, input: Models.CheckNameAvailabilityParameters, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityResultResource>): void; | ||
checkNameAvailability(resourceGroupName: string, location: string, input: Models.CheckNameAvailabilityParameters, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityResult>): void; | ||
/** | ||
@@ -60,4 +60,4 @@ * @param resourceGroupName The name of the resource group where the recovery services vault is | ||
*/ | ||
checkNameAvailability(resourceGroupName: string, location: string, input: Models.CheckNameAvailabilityParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityResultResource>): void; | ||
checkNameAvailability(resourceGroupName: string, location: string, input: Models.CheckNameAvailabilityParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.CheckNameAvailabilityResultResource>, callback?: msRest.ServiceCallback<Models.CheckNameAvailabilityResultResource>): Promise<Models.RecoveryServicesCheckNameAvailabilityResponse> { | ||
checkNameAvailability(resourceGroupName: string, location: string, input: Models.CheckNameAvailabilityParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CheckNameAvailabilityResult>): void; | ||
checkNameAvailability(resourceGroupName: string, location: string, input: Models.CheckNameAvailabilityParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.CheckNameAvailabilityResult>, callback?: msRest.ServiceCallback<Models.CheckNameAvailabilityResult>): Promise<Models.RecoveryServicesCheckNameAvailabilityResponse> { | ||
return this.client.sendOperationRequest( | ||
@@ -100,3 +100,3 @@ { | ||
200: { | ||
bodyMapper: Mappers.CheckNameAvailabilityResultResource | ||
bodyMapper: Mappers.CheckNameAvailabilityResult | ||
}, | ||
@@ -103,0 +103,0 @@ default: { |
@@ -23,2 +23,3 @@ /* | ||
replicationUsages: operations.ReplicationUsages; | ||
privateLinkResources: operations.PrivateLinkResourcesOperations; | ||
recoveryServices: operations.RecoveryServices; | ||
@@ -41,2 +42,3 @@ vaults: operations.Vaults; | ||
this.replicationUsages = new operations.ReplicationUsages(this); | ||
this.privateLinkResources = new operations.PrivateLinkResourcesOperations(this); | ||
this.recoveryServices = new operations.RecoveryServices(this); | ||
@@ -43,0 +45,0 @@ this.vaults = new operations.Vaults(this); |
@@ -16,3 +16,3 @@ /* | ||
const packageName = "@azure/arm-recoveryservices"; | ||
const packageVersion = "3.0.0"; | ||
const packageVersion = "4.0.0"; | ||
@@ -41,3 +41,3 @@ export class RecoveryServicesClientContext extends msRestAzure.AzureServiceClient { | ||
} | ||
if(!options.userAgent) { | ||
if (!options.userAgent) { | ||
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); | ||
@@ -57,6 +57,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 +63,0 @@ } |
@@ -12,3 +12,3 @@ { | ||
"forceConsistentCasingInFileNames": true, | ||
"lib": ["es6"], | ||
"lib": ["es6", "dom"], | ||
"declaration": true, | ||
@@ -15,0 +15,0 @@ "outDir": "./esm", |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
699013
129
11188
104
+ Added@azure/ms-rest-azure-js@2.1.0(transitive)
+ Added@azure/ms-rest-js@2.7.0(transitive)
+ Addedabort-controller@3.0.0(transitive)
+ Addedevent-target-shim@5.0.1(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addeduuid@8.3.2(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
+ Addedxml2js@0.5.0(transitive)
- Removed@azure/ms-rest-azure-js@1.4.0(transitive)
- Removed@azure/ms-rest-js@1.11.2(transitive)
- Removedaxios@0.21.4(transitive)
- Removedfollow-redirects@1.15.9(transitive)
- Removedpsl@1.15.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removeduuid@3.4.0(transitive)
- Removedxml2js@0.4.23(transitive)
Updated@azure/ms-rest-js@^2.0.4
Updatedtslib@^1.10.0