@azure/arm-resourcehealth 3.0.2-alpha.20220506.3 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +6 -10
- package/README.md +7 -7
- package/dist/index.js +36 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/microsoftResourceHealth.d.ts +2 -0
- package/dist-esm/src/microsoftResourceHealth.d.ts.map +1 -1
- package/dist-esm/src/microsoftResourceHealth.js +30 -1
- package/dist-esm/src/microsoftResourceHealth.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +8 -2
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +6 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +10 -7
- package/review/arm-resourcehealth.api.md +3 -9
- package/src/microsoftResourceHealth.ts +35 -1
- package/src/models/index.ts +8 -2
- package/types/arm-resourcehealth.d.ts +10 -2
package/dist/index.min.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),coreRestPipeline=require("@azure/core-rest-pipeline"),tslib=require("tslib");function _interopNamespace(i){if(i&&i.__esModule)return i;var a=Object.create(null);return i&&Object.keys(i).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(i,e),Object.defineProperty(a,e,t.get?t:{enumerable:!0,get:function(){return i[e]}}))}),a.default=i,Object.freeze(a)}var coreClient__namespace=_interopNamespace(coreClient),coreRestPipeline__namespace=_interopNamespace(coreRestPipeline);exports.KnownSeverityValues=void 0,function(e){e.Information="Information",e.Warning="Warning",e.Error="Error"}(exports.KnownSeverityValues||(exports.KnownSeverityValues={})),exports.KnownStageValues=void 0,function(e){e.Active="Active",e.Resolve="Resolve",e.Archived="Archived"}(exports.KnownStageValues||(exports.KnownStageValues={}));const AvailabilityStatusListResult={type:{name:"Composite",className:"AvailabilityStatusListResult",modelProperties:{value:{serializedName:"value",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"AvailabilityStatus"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},AvailabilityStatus={type:{name:"Composite",className:"AvailabilityStatus",modelProperties:{id:{serializedName:"id",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}},location:{serializedName:"location",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"AvailabilityStatusProperties"}}}}},AvailabilityStatusProperties={type:{name:"Composite",className:"AvailabilityStatusProperties",modelProperties:{availabilityState:{serializedName:"availabilityState",type:{name:"Enum",allowedValues:["Available","Unavailable","Unknown"]}},summary:{serializedName:"summary",type:{name:"String"}},detailedStatus:{serializedName:"detailedStatus",type:{name:"String"}},reasonType:{serializedName:"reasonType",type:{name:"String"}},rootCauseAttributionTime:{serializedName:"rootCauseAttributionTime",type:{name:"DateTime"}},healthEventType:{serializedName:"healthEventType",type:{name:"String"}},healthEventCause:{serializedName:"healthEventCause",type:{name:"String"}},healthEventCategory:{serializedName:"healthEventCategory",type:{name:"String"}},healthEventId:{serializedName:"healthEventId",type:{name:"String"}},resolutionETA:{serializedName:"resolutionETA",type:{name:"DateTime"}},occuredTime:{serializedName:"occuredTime",type:{name:"DateTime"}},reasonChronicity:{serializedName:"reasonChronicity",type:{name:"Enum",allowedValues:["Transient","Persistent"]}},reportedTime:{serializedName:"reportedTime",type:{name:"DateTime"}},recentlyResolvedState:{serializedName:"recentlyResolvedState",type:{name:"Composite",className:"AvailabilityStatusPropertiesRecentlyResolvedState"}},recommendedActions:{serializedName:"recommendedActions",type:{name:"Sequence",element:{type:{name:"Composite",className:"RecommendedAction"}}}},serviceImpactingEvents:{serializedName:"serviceImpactingEvents",type:{name:"Sequence",element:{type:{name:"Composite",className:"ServiceImpactingEvent"}}}}}}},AvailabilityStatusPropertiesRecentlyResolvedState={type:{name:"Composite",className:"AvailabilityStatusPropertiesRecentlyResolvedState",modelProperties:{unavailableOccurredTime:{serializedName:"unavailableOccurredTime",type:{name:"DateTime"}},resolvedTime:{serializedName:"resolvedTime",type:{name:"DateTime"}},unavailabilitySummary:{serializedName:"unavailabilitySummary",type:{name:"String"}}}}},RecommendedAction={type:{name:"Composite",className:"RecommendedAction",modelProperties:{action:{serializedName:"action",type:{name:"String"}},actionUrl:{serializedName:"actionUrl",type:{name:"String"}},actionUrlText:{serializedName:"actionUrlText",type:{name:"String"}}}}},ServiceImpactingEvent={type:{name:"Composite",className:"ServiceImpactingEvent",modelProperties:{eventStartTime:{serializedName:"eventStartTime",type:{name:"DateTime"}},eventStatusLastModifiedTime:{serializedName:"eventStatusLastModifiedTime",type:{name:"DateTime"}},correlationId:{serializedName:"correlationId",type:{name:"String"}},status:{serializedName:"status",type:{name:"Composite",className:"ServiceImpactingEventStatus"}},incidentProperties:{serializedName:"incidentProperties",type:{name:"Composite",className:"ServiceImpactingEventIncidentProperties"}}}}},ServiceImpactingEventStatus={type:{name:"Composite",className:"ServiceImpactingEventStatus",modelProperties:{value:{serializedName:"value",type:{name:"String"}}}}},ServiceImpactingEventIncidentProperties={type:{name:"Composite",className:"ServiceImpactingEventIncidentProperties",modelProperties:{title:{serializedName:"title",type:{name:"String"}},service:{serializedName:"service",type:{name:"String"}},region:{serializedName:"region",type:{name:"String"}},incidentType:{serializedName:"incidentType",type:{name:"String"}}}}},ErrorResponse={type:{name:"Composite",className:"ErrorResponse",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",readOnly:!0,type:{name:"String"}}}}},OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}}}}},OperationDisplay={type:{name:"Composite",className:"OperationDisplay",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"}}}}},StatusBanner={type:{name:"Composite",className:"StatusBanner",modelProperties:{title:{serializedName:"title",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}},cloud:{serializedName:"cloud",type:{name:"String"}},lastModifiedTime:{serializedName:"lastModifiedTime",type:{name:"DateTime"}}}}},StatusActiveEvent={type:{name:"Composite",className:"StatusActiveEvent",modelProperties:{title:{serializedName:"title",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}},trackingId:{serializedName:"trackingId",type:{name:"String"}},startTime:{serializedName:"startTime",type:{name:"DateTime"}},cloud:{serializedName:"cloud",type:{name:"String"}},severity:{serializedName:"severity",type:{name:"String"}},stage:{serializedName:"stage",type:{name:"String"}},published:{serializedName:"published",type:{name:"Boolean"}},lastModifiedTime:{serializedName:"lastModifiedTime",type:{name:"DateTime"}},impacts:{serializedName:"impacts",type:{name:"Sequence",element:{type:{name:"Composite",className:"EmergingIssueImpact"}}}}}}},EmergingIssueImpact={type:{name:"Composite",className:"EmergingIssueImpact",modelProperties:{id:{serializedName:"id",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},regions:{serializedName:"regions",type:{name:"Sequence",element:{type:{name:"Composite",className:"ImpactedRegion"}}}}}}},ImpactedRegion={type:{name:"Composite",className:"ImpactedRegion",modelProperties:{id:{serializedName:"id",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}}}}},Resource={type:{name:"Composite",className:"Resource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}}}}},EmergingIssueListResult={type:{name:"Composite",className:"EmergingIssueListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"EmergingIssuesGetResult"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},EmergingIssuesGetResult={type:{name:"Composite",className:"EmergingIssuesGetResult",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{refreshTimestamp:{serializedName:"properties.refreshTimestamp",type:{name:"DateTime"}},statusBanners:{serializedName:"properties.statusBanners",type:{name:"Sequence",element:{type:{name:"Composite",className:"StatusBanner"}}}},statusActiveEvents:{serializedName:"properties.statusActiveEvents",type:{name:"Sequence",element:{type:{name:"Composite",className:"StatusActiveEvent"}}}}})}};var Mappers=Object.freeze({__proto__:null,AvailabilityStatusListResult:AvailabilityStatusListResult,AvailabilityStatus:AvailabilityStatus,AvailabilityStatusProperties:AvailabilityStatusProperties,AvailabilityStatusPropertiesRecentlyResolvedState:AvailabilityStatusPropertiesRecentlyResolvedState,RecommendedAction:RecommendedAction,ServiceImpactingEvent:ServiceImpactingEvent,ServiceImpactingEventStatus:ServiceImpactingEventStatus,ServiceImpactingEventIncidentProperties:ServiceImpactingEventIncidentProperties,ErrorResponse:ErrorResponse,OperationListResult:OperationListResult,Operation:Operation,OperationDisplay:OperationDisplay,StatusBanner:StatusBanner,StatusActiveEvent:StatusActiveEvent,EmergingIssueImpact:EmergingIssueImpact,ImpactedRegion:ImpactedRegion,Resource:Resource,EmergingIssueListResult:EmergingIssueListResult,EmergingIssuesGetResult:EmergingIssuesGetResult});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2017-07-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},filter={parameterPath:["options","filter"],mapper:{serializedName:"$filter",type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},expand={parameterPath:["options","expand"],mapper:{serializedName:"$expand",type:{name:"String"}}},resourceGroupName={parameterPath:"resourceGroupName",mapper:{serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},resourceUri={parameterPath:"resourceUri",mapper:{serializedName:"resourceUri",required:!0,type:{name:"String"}},skipEncoding:!0},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},issueName={parameterPath:"issueName",mapper:{defaultValue:"default",isConstant:!0,serializedName:"issueName",type:{name:"String"}}};class AvailabilityStatusesImpl{constructor(e){this.client=e}listBySubscriptionId(e){const t=this.listBySubscriptionIdPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionIdPagingPage(e)}}listBySubscriptionIdPagingPage(i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscriptionId(i));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listBySubscriptionIdNext(t,i)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listBySubscriptionIdPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,a=tslib.__asyncValues(this.listBySubscriptionIdPagingPage(s));!(i=yield tslib.__await(a.next())).done;){var r=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}listByResourceGroup(e,t){const i=this.listByResourceGroupPagingAll(e,t);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByResourceGroupPagingPage(e,t)}}listByResourceGroupPagingPage(i,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByResourceGroup(i,a));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listByResourceGroupNext(i,t,a)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listByResourceGroupPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,a=tslib.__asyncValues(this.listByResourceGroupPagingPage(s,n));!(i=yield tslib.__await(a.next())).done;){var r=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}list(e,t){const i=this.listPagingAll(e,t);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,t)}}listPagingPage(i,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(i,a));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(i,t,a)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,a=tslib.__asyncValues(this.listPagingPage(s,n));!(i=yield tslib.__await(a.next())).done;){var r=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}_listBySubscriptionId(e){return this.client.sendOperationRequest({options:e},listBySubscriptionIdOperationSpec)}_listByResourceGroup(e,t){return this.client.sendOperationRequest({resourceGroupName:e,options:t},listByResourceGroupOperationSpec)}getByResource(e,t){return this.client.sendOperationRequest({resourceUri:e,options:t},getByResourceOperationSpec$1)}_list(e,t){return this.client.sendOperationRequest({resourceUri:e,options:t},listOperationSpec$4)}_listBySubscriptionIdNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listBySubscriptionIdNextOperationSpec)}_listByResourceGroupNext(e,t,i){return this.client.sendOperationRequest({resourceGroupName:e,nextLink:t,options:i},listByResourceGroupNextOperationSpec)}_listNext(e,t,i){return this.client.sendOperationRequest({resourceUri:e,nextLink:t,options:i},listNextOperationSpec$3)}}const serializer$4=coreClient__namespace.createSerializer(Mappers,!1),listBySubscriptionIdOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/availabilityStatuses",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$4},listByResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceHealth/availabilityStatuses",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,subscriptionId,resourceGroupName],headerParameters:[accept],serializer:serializer$4},getByResourceOperationSpec$1={path:"/{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses/current",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatus},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,resourceUri],headerParameters:[accept],serializer:serializer$4},listOperationSpec$4={path:"/{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,resourceUri],headerParameters:[accept],serializer:serializer$4},listBySubscriptionIdNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$4},listByResourceGroupNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,subscriptionId,resourceGroupName,nextLink],headerParameters:[accept],serializer:serializer$4},listNextOperationSpec$3={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,resourceUri,nextLink],headerParameters:[accept],serializer:serializer$4};class ChildAvailabilityStatusesImpl{constructor(e){this.client=e}list(e,t){const i=this.listPagingAll(e,t);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,t)}}listPagingPage(i,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(i,a));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(i,t,a)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,a=tslib.__asyncValues(this.listPagingPage(s,n));!(i=yield tslib.__await(a.next())).done;){var r=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}getByResource(e,t){return this.client.sendOperationRequest({resourceUri:e,options:t},getByResourceOperationSpec)}_list(e,t){return this.client.sendOperationRequest({resourceUri:e,options:t},listOperationSpec$3)}_listNext(e,t,i){return this.client.sendOperationRequest({resourceUri:e,nextLink:t,options:i},listNextOperationSpec$2)}}const serializer$3=coreClient__namespace.createSerializer(Mappers,!1),getByResourceOperationSpec={path:"/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses/current",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatus},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,resourceUri],headerParameters:[accept],serializer:serializer$3},listOperationSpec$3={path:"/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,resourceUri],headerParameters:[accept],serializer:serializer$3},listNextOperationSpec$2={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,resourceUri,nextLink],headerParameters:[accept],serializer:serializer$3};class ChildResourcesImpl{constructor(e){this.client=e}list(e,t){const i=this.listPagingAll(e,t);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,t)}}listPagingPage(i,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(i,a));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(i,t,a)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,a=tslib.__asyncValues(this.listPagingPage(s,n));!(i=yield tslib.__await(a.next())).done;){var r=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}_list(e,t){return this.client.sendOperationRequest({resourceUri:e,options:t},listOperationSpec$2)}_listNext(e,t,i){return this.client.sendOperationRequest({resourceUri:e,nextLink:t,options:i},listNextOperationSpec$1)}}const serializer$2=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$2={path:"/{resourceUri}/providers/Microsoft.ResourceHealth/childResources",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,resourceUri],headerParameters:[accept],serializer:serializer$2},listNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,resourceUri,nextLink],headerParameters:[accept],serializer:serializer$2};class OperationsImpl{constructor(e){this.client=e}list(e){return this.client.sendOperationRequest({options:e},listOperationSpec$1)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$1={path:"/providers/Microsoft.ResourceHealth/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$1};class EmergingIssuesImpl{constructor(e){this.client=e}list(e){const t=this.listPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(i));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(t,i)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,a=tslib.__asyncValues(this.listPagingPage(s));!(i=yield tslib.__await(a.next())).done;){var r=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}get(e){return this.client.sendOperationRequest({options:e},getOperationSpec)}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec)}_listNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listNextOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),getOperationSpec={path:"/providers/Microsoft.ResourceHealth/emergingIssues/{issueName}",httpMethod:"GET",responses:{200:{bodyMapper:EmergingIssuesGetResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,issueName],headerParameters:[accept],serializer:serializer},listOperationSpec={path:"/providers/Microsoft.ResourceHealth/emergingIssues",httpMethod:"GET",responses:{200:{bodyMapper:EmergingIssueListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:EmergingIssueListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer};class MicrosoftResourceHealth extends coreClient__namespace.ServiceClient{constructor(e,t,i){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===t)throw new Error("'subscriptionId' cannot be null");var e={requestContentType:"application/json; charset=utf-8",credential:e},a="azsdk-js-arm-resourcehealth/3.0.2",a=(i=i||{}).userAgentOptions&&i.userAgentOptions.userAgentPrefix?i.userAgentOptions.userAgentPrefix+" "+a:a,e=(i.credentialScopes||(i.credentialScopes=["https://management.azure.com/.default"]),Object.assign(Object.assign(Object.assign({},e),i),{userAgentOptions:{userAgentPrefix:a},baseUri:null!=(a=null!=(e=i.endpoint)?e:i.baseUri)?a:"https://management.azure.com"}));if(super(e),null!=i&&i.pipeline&&0<i.pipeline.getOrderedPolicies().length){const r=i.pipeline.getOrderedPolicies();r.some(e=>e.name===coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName)||(this.pipeline.removePolicy({name:coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName}),this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({scopes:e.baseUri+"/.default",challengeCallbacks:{authorizeRequestOnChallenge:coreClient__namespace.authorizeRequestOnClaimChallenge}})))}this.subscriptionId=t,this.$host=i.$host||"https://management.azure.com",this.apiVersion=i.apiVersion||"2017-07-01",this.availabilityStatuses=new AvailabilityStatusesImpl(this),this.childAvailabilityStatuses=new ChildAvailabilityStatusesImpl(this),this.childResources=new ChildResourcesImpl(this),this.operations=new OperationsImpl(this),this.emergingIssues=new EmergingIssuesImpl(this)}}exports.MicrosoftResourceHealth=MicrosoftResourceHealth;
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib=require("tslib"),coreClient=require("@azure/core-client"),coreRestPipeline=require("@azure/core-rest-pipeline");function _interopNamespace(i){if(i&&i.__esModule)return i;var a=Object.create(null);return i&&Object.keys(i).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(i,e),Object.defineProperty(a,e,t.get?t:{enumerable:!0,get:function(){return i[e]}}))}),a.default=i,Object.freeze(a)}var coreClient__namespace=_interopNamespace(coreClient),coreRestPipeline__namespace=_interopNamespace(coreRestPipeline);exports.KnownSeverityValues=void 0,function(e){e.Information="Information",e.Warning="Warning",e.Error="Error"}(exports.KnownSeverityValues||(exports.KnownSeverityValues={})),exports.KnownStageValues=void 0,function(e){e.Active="Active",e.Resolve="Resolve",e.Archived="Archived"}(exports.KnownStageValues||(exports.KnownStageValues={}));const AvailabilityStatusListResult={type:{name:"Composite",className:"AvailabilityStatusListResult",modelProperties:{value:{serializedName:"value",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"AvailabilityStatus"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},AvailabilityStatus={type:{name:"Composite",className:"AvailabilityStatus",modelProperties:{id:{serializedName:"id",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}},location:{serializedName:"location",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"AvailabilityStatusProperties"}}}}},AvailabilityStatusProperties={type:{name:"Composite",className:"AvailabilityStatusProperties",modelProperties:{availabilityState:{serializedName:"availabilityState",type:{name:"Enum",allowedValues:["Available","Unavailable","Unknown"]}},summary:{serializedName:"summary",type:{name:"String"}},detailedStatus:{serializedName:"detailedStatus",type:{name:"String"}},reasonType:{serializedName:"reasonType",type:{name:"String"}},rootCauseAttributionTime:{serializedName:"rootCauseAttributionTime",type:{name:"DateTime"}},healthEventType:{serializedName:"healthEventType",type:{name:"String"}},healthEventCause:{serializedName:"healthEventCause",type:{name:"String"}},healthEventCategory:{serializedName:"healthEventCategory",type:{name:"String"}},healthEventId:{serializedName:"healthEventId",type:{name:"String"}},resolutionETA:{serializedName:"resolutionETA",type:{name:"DateTime"}},occuredTime:{serializedName:"occuredTime",type:{name:"DateTime"}},reasonChronicity:{serializedName:"reasonChronicity",type:{name:"Enum",allowedValues:["Transient","Persistent"]}},reportedTime:{serializedName:"reportedTime",type:{name:"DateTime"}},recentlyResolvedState:{serializedName:"recentlyResolvedState",type:{name:"Composite",className:"AvailabilityStatusPropertiesRecentlyResolvedState"}},recommendedActions:{serializedName:"recommendedActions",type:{name:"Sequence",element:{type:{name:"Composite",className:"RecommendedAction"}}}},serviceImpactingEvents:{serializedName:"serviceImpactingEvents",type:{name:"Sequence",element:{type:{name:"Composite",className:"ServiceImpactingEvent"}}}}}}},AvailabilityStatusPropertiesRecentlyResolvedState={type:{name:"Composite",className:"AvailabilityStatusPropertiesRecentlyResolvedState",modelProperties:{unavailableOccurredTime:{serializedName:"unavailableOccurredTime",type:{name:"DateTime"}},resolvedTime:{serializedName:"resolvedTime",type:{name:"DateTime"}},unavailabilitySummary:{serializedName:"unavailabilitySummary",type:{name:"String"}}}}},RecommendedAction={type:{name:"Composite",className:"RecommendedAction",modelProperties:{action:{serializedName:"action",type:{name:"String"}},actionUrl:{serializedName:"actionUrl",type:{name:"String"}},actionUrlText:{serializedName:"actionUrlText",type:{name:"String"}}}}},ServiceImpactingEvent={type:{name:"Composite",className:"ServiceImpactingEvent",modelProperties:{eventStartTime:{serializedName:"eventStartTime",type:{name:"DateTime"}},eventStatusLastModifiedTime:{serializedName:"eventStatusLastModifiedTime",type:{name:"DateTime"}},correlationId:{serializedName:"correlationId",type:{name:"String"}},status:{serializedName:"status",type:{name:"Composite",className:"ServiceImpactingEventStatus"}},incidentProperties:{serializedName:"incidentProperties",type:{name:"Composite",className:"ServiceImpactingEventIncidentProperties"}}}}},ServiceImpactingEventStatus={type:{name:"Composite",className:"ServiceImpactingEventStatus",modelProperties:{value:{serializedName:"value",type:{name:"String"}}}}},ServiceImpactingEventIncidentProperties={type:{name:"Composite",className:"ServiceImpactingEventIncidentProperties",modelProperties:{title:{serializedName:"title",type:{name:"String"}},service:{serializedName:"service",type:{name:"String"}},region:{serializedName:"region",type:{name:"String"}},incidentType:{serializedName:"incidentType",type:{name:"String"}}}}},ErrorResponse={type:{name:"Composite",className:"ErrorResponse",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",readOnly:!0,type:{name:"String"}}}}},OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}}}}},OperationDisplay={type:{name:"Composite",className:"OperationDisplay",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"}}}}},StatusBanner={type:{name:"Composite",className:"StatusBanner",modelProperties:{title:{serializedName:"title",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}},cloud:{serializedName:"cloud",type:{name:"String"}},lastModifiedTime:{serializedName:"lastModifiedTime",type:{name:"DateTime"}}}}},StatusActiveEvent={type:{name:"Composite",className:"StatusActiveEvent",modelProperties:{title:{serializedName:"title",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}},trackingId:{serializedName:"trackingId",type:{name:"String"}},startTime:{serializedName:"startTime",type:{name:"DateTime"}},cloud:{serializedName:"cloud",type:{name:"String"}},severity:{serializedName:"severity",type:{name:"String"}},stage:{serializedName:"stage",type:{name:"String"}},published:{serializedName:"published",type:{name:"Boolean"}},lastModifiedTime:{serializedName:"lastModifiedTime",type:{name:"DateTime"}},impacts:{serializedName:"impacts",type:{name:"Sequence",element:{type:{name:"Composite",className:"EmergingIssueImpact"}}}}}}},EmergingIssueImpact={type:{name:"Composite",className:"EmergingIssueImpact",modelProperties:{id:{serializedName:"id",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},regions:{serializedName:"regions",type:{name:"Sequence",element:{type:{name:"Composite",className:"ImpactedRegion"}}}}}}},ImpactedRegion={type:{name:"Composite",className:"ImpactedRegion",modelProperties:{id:{serializedName:"id",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}}}}},Resource={type:{name:"Composite",className:"Resource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}}}}},EmergingIssueListResult={type:{name:"Composite",className:"EmergingIssueListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"EmergingIssuesGetResult"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},EmergingIssuesGetResult={type:{name:"Composite",className:"EmergingIssuesGetResult",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{refreshTimestamp:{serializedName:"properties.refreshTimestamp",type:{name:"DateTime"}},statusBanners:{serializedName:"properties.statusBanners",type:{name:"Sequence",element:{type:{name:"Composite",className:"StatusBanner"}}}},statusActiveEvents:{serializedName:"properties.statusActiveEvents",type:{name:"Sequence",element:{type:{name:"Composite",className:"StatusActiveEvent"}}}}})}};var Mappers=Object.freeze({__proto__:null,AvailabilityStatusListResult:AvailabilityStatusListResult,AvailabilityStatus:AvailabilityStatus,AvailabilityStatusProperties:AvailabilityStatusProperties,AvailabilityStatusPropertiesRecentlyResolvedState:AvailabilityStatusPropertiesRecentlyResolvedState,RecommendedAction:RecommendedAction,ServiceImpactingEvent:ServiceImpactingEvent,ServiceImpactingEventStatus:ServiceImpactingEventStatus,ServiceImpactingEventIncidentProperties:ServiceImpactingEventIncidentProperties,ErrorResponse:ErrorResponse,OperationListResult:OperationListResult,Operation:Operation,OperationDisplay:OperationDisplay,StatusBanner:StatusBanner,StatusActiveEvent:StatusActiveEvent,EmergingIssueImpact:EmergingIssueImpact,ImpactedRegion:ImpactedRegion,Resource:Resource,EmergingIssueListResult:EmergingIssueListResult,EmergingIssuesGetResult:EmergingIssuesGetResult});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2017-07-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},filter={parameterPath:["options","filter"],mapper:{serializedName:"$filter",type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},expand={parameterPath:["options","expand"],mapper:{serializedName:"$expand",type:{name:"String"}}},resourceGroupName={parameterPath:"resourceGroupName",mapper:{serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},resourceUri={parameterPath:"resourceUri",mapper:{serializedName:"resourceUri",required:!0,type:{name:"String"}},skipEncoding:!0},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},issueName={parameterPath:"issueName",mapper:{defaultValue:"default",isConstant:!0,serializedName:"issueName",type:{name:"String"}}};class AvailabilityStatusesImpl{constructor(e){this.client=e}listBySubscriptionId(e){const t=this.listBySubscriptionIdPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionIdPagingPage(e)}}listBySubscriptionIdPagingPage(i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscriptionId(i));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listBySubscriptionIdNext(t,i)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listBySubscriptionIdPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,a=tslib.__asyncValues(this.listBySubscriptionIdPagingPage(s));!(i=yield tslib.__await(a.next())).done;){var r=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}listByResourceGroup(e,t){const i=this.listByResourceGroupPagingAll(e,t);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByResourceGroupPagingPage(e,t)}}listByResourceGroupPagingPage(i,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByResourceGroup(i,a));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listByResourceGroupNext(i,t,a)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listByResourceGroupPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,a=tslib.__asyncValues(this.listByResourceGroupPagingPage(s,n));!(i=yield tslib.__await(a.next())).done;){var r=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}list(e,t){const i=this.listPagingAll(e,t);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,t)}}listPagingPage(i,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(i,a));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(i,t,a)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,a=tslib.__asyncValues(this.listPagingPage(s,n));!(i=yield tslib.__await(a.next())).done;){var r=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}_listBySubscriptionId(e){return this.client.sendOperationRequest({options:e},listBySubscriptionIdOperationSpec)}_listByResourceGroup(e,t){return this.client.sendOperationRequest({resourceGroupName:e,options:t},listByResourceGroupOperationSpec)}getByResource(e,t){return this.client.sendOperationRequest({resourceUri:e,options:t},getByResourceOperationSpec$1)}_list(e,t){return this.client.sendOperationRequest({resourceUri:e,options:t},listOperationSpec$4)}_listBySubscriptionIdNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listBySubscriptionIdNextOperationSpec)}_listByResourceGroupNext(e,t,i){return this.client.sendOperationRequest({resourceGroupName:e,nextLink:t,options:i},listByResourceGroupNextOperationSpec)}_listNext(e,t,i){return this.client.sendOperationRequest({resourceUri:e,nextLink:t,options:i},listNextOperationSpec$3)}}const serializer$4=coreClient__namespace.createSerializer(Mappers,!1),listBySubscriptionIdOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/availabilityStatuses",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$4},listByResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceHealth/availabilityStatuses",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,subscriptionId,resourceGroupName],headerParameters:[accept],serializer:serializer$4},getByResourceOperationSpec$1={path:"/{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses/current",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatus},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,resourceUri],headerParameters:[accept],serializer:serializer$4},listOperationSpec$4={path:"/{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,resourceUri],headerParameters:[accept],serializer:serializer$4},listBySubscriptionIdNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$4},listByResourceGroupNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,subscriptionId,resourceGroupName,nextLink],headerParameters:[accept],serializer:serializer$4},listNextOperationSpec$3={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,resourceUri,nextLink],headerParameters:[accept],serializer:serializer$4};class ChildAvailabilityStatusesImpl{constructor(e){this.client=e}list(e,t){const i=this.listPagingAll(e,t);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,t)}}listPagingPage(i,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(i,a));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(i,t,a)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,a=tslib.__asyncValues(this.listPagingPage(s,n));!(i=yield tslib.__await(a.next())).done;){var r=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}getByResource(e,t){return this.client.sendOperationRequest({resourceUri:e,options:t},getByResourceOperationSpec)}_list(e,t){return this.client.sendOperationRequest({resourceUri:e,options:t},listOperationSpec$3)}_listNext(e,t,i){return this.client.sendOperationRequest({resourceUri:e,nextLink:t,options:i},listNextOperationSpec$2)}}const serializer$3=coreClient__namespace.createSerializer(Mappers,!1),getByResourceOperationSpec={path:"/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses/current",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatus},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,resourceUri],headerParameters:[accept],serializer:serializer$3},listOperationSpec$3={path:"/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,resourceUri],headerParameters:[accept],serializer:serializer$3},listNextOperationSpec$2={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,resourceUri,nextLink],headerParameters:[accept],serializer:serializer$3};class ChildResourcesImpl{constructor(e){this.client=e}list(e,t){const i=this.listPagingAll(e,t);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,t)}}listPagingPage(i,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(i,a));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(i,t,a)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,a=tslib.__asyncValues(this.listPagingPage(s,n));!(i=yield tslib.__await(a.next())).done;){var r=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}_list(e,t){return this.client.sendOperationRequest({resourceUri:e,options:t},listOperationSpec$2)}_listNext(e,t,i){return this.client.sendOperationRequest({resourceUri:e,nextLink:t,options:i},listNextOperationSpec$1)}}const serializer$2=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$2={path:"/{resourceUri}/providers/Microsoft.ResourceHealth/childResources",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,resourceUri],headerParameters:[accept],serializer:serializer$2},listNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion,filter,expand],urlParameters:[$host,resourceUri,nextLink],headerParameters:[accept],serializer:serializer$2};class OperationsImpl{constructor(e){this.client=e}list(e){return this.client.sendOperationRequest({options:e},listOperationSpec$1)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec$1={path:"/providers/Microsoft.ResourceHealth/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$1};class EmergingIssuesImpl{constructor(e){this.client=e}list(e){const t=this.listPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(i));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(t,i)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,a=tslib.__asyncValues(this.listPagingPage(s));!(i=yield tslib.__await(a.next())).done;){var r=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(r)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}get(e){return this.client.sendOperationRequest({options:e},getOperationSpec)}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec)}_listNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listNextOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),getOperationSpec={path:"/providers/Microsoft.ResourceHealth/emergingIssues/{issueName}",httpMethod:"GET",responses:{200:{bodyMapper:EmergingIssuesGetResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,issueName],headerParameters:[accept],serializer:serializer},listOperationSpec={path:"/providers/Microsoft.ResourceHealth/emergingIssues",httpMethod:"GET",responses:{200:{bodyMapper:EmergingIssueListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:EmergingIssueListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer};class MicrosoftResourceHealth extends coreClient__namespace.ServiceClient{constructor(e,t,i){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===t)throw new Error("'subscriptionId' cannot be null");var e={requestContentType:"application/json; charset=utf-8",credential:e},a="azsdk-js-arm-resourcehealth/3.1.0",a=(i=i||{}).userAgentOptions&&i.userAgentOptions.userAgentPrefix?i.userAgentOptions.userAgentPrefix+" "+a:a,e=(i.credentialScopes||(i.credentialScopes=["https://management.azure.com/.default"]),Object.assign(Object.assign(Object.assign({},e),i),{userAgentOptions:{userAgentPrefix:a},baseUri:null!=(a=null!=(e=i.endpoint)?e:i.baseUri)?a:"https://management.azure.com"}));if(super(e),null!=i&&i.pipeline&&0<i.pipeline.getOrderedPolicies().length){const r=i.pipeline.getOrderedPolicies();r.some(e=>e.name===coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName)||(this.pipeline.removePolicy({name:coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName}),this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({scopes:e.baseUri+"/.default",challengeCallbacks:{authorizeRequestOnChallenge:coreClient__namespace.authorizeRequestOnClaimChallenge}})))}this.subscriptionId=t,this.$host=i.$host||"https://management.azure.com",this.apiVersion=i.apiVersion||"2017-07-01",this.availabilityStatuses=new AvailabilityStatusesImpl(this),this.childAvailabilityStatuses=new ChildAvailabilityStatusesImpl(this),this.childResources=new ChildResourcesImpl(this),this.operations=new OperationsImpl(this),this.emergingIssues=new EmergingIssuesImpl(this),this.addCustomApiVersionPolicy(i.apiVersion)}addCustomApiVersionPolicy(r){r&&this.pipeline.addPolicy({name:"CustomApiVersionPolicy",sendRequest(i,a){return tslib.__awaiter(this,void 0,void 0,function*(){const e=i.url.split("?");if(1<e.length){const t=e[1].split("&").map(e=>-1<e.indexOf("api-version")?"api-version="+r:e);i.url=e[0]+"?"+t.join("&")}return a(i)})}})}}exports.MicrosoftResourceHealth=MicrosoftResourceHealth;
|
package/dist/index.min.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/availabilityStatuses.ts","../src/operations/childAvailabilityStatuses.ts","../src/operations/childResources.ts","../src/operations/operations.ts","../src/operations/emergingIssues.ts","../src/microsoftResourceHealth.ts"],"names":["KnownSeverityValues","KnownStageValues","AvailabilityStatusListResult","type","name","className","modelProperties","value","serializedName","required","element","nextLink","AvailabilityStatus","id","location","properties","AvailabilityStatusProperties","availabilityState","allowedValues","summary","detailedStatus","reasonType","rootCauseAttributionTime","healthEventType","healthEventCause","healthEventCategory","healthEventId","resolutionETA","occuredTime","reasonChronicity","reportedTime","recentlyResolvedState","recommendedActions","serviceImpactingEvents","AvailabilityStatusPropertiesRecentlyResolvedState","unavailableOccurredTime","resolvedTime","unavailabilitySummary","RecommendedAction","action","actionUrl","actionUrlText","ServiceImpactingEvent","eventStartTime","eventStatusLastModifiedTime","correlationId","status","incidentProperties","ServiceImpactingEventStatus","ServiceImpactingEventIncidentProperties","title","service","region","incidentType","ErrorResponse","code","readOnly","message","details","OperationListResult","Operation","display","OperationDisplay","provider","resource","operation","description","StatusBanner","cloud","lastModifiedTime","StatusActiveEvent","trackingId","startTime","severity","stage","published","impacts","EmergingIssueImpact","regions","ImpactedRegion","Resource","EmergingIssueListResult","EmergingIssuesGetResult","Object","assign","refreshTimestamp","statusBanners","statusActiveEvents","accept","parameterPath","mapper","defaultValue","isConstant","$host","skipEncoding","apiVersion","filter","subscriptionId","expand","resourceGroupName","resourceUri","issueName","AvailabilityStatusesImpl","constructor","client","this","listBySubscriptionId","options","iter","listBySubscriptionIdPagingAll","next","Symbol","asyncIterator","byPage","listBySubscriptionIdPagingPage","let","result","__await","_listBySubscriptionId","continuationToken","_listBySubscriptionIdNext","_c","_b","__asyncValues","done","page","__asyncDelegator","listByResourceGroup","listByResourceGroupPagingAll","listByResourceGroupPagingPage","_listByResourceGroup","_listByResourceGroupNext","list","listPagingAll","listPagingPage","_list","_listNext","sendOperationRequest","listBySubscriptionIdOperationSpec","listByResourceGroupOperationSpec","getByResource","getByResourceOperationSpec","listOperationSpec","listBySubscriptionIdNextOperationSpec","listByResourceGroupNextOperationSpec","listNextOperationSpec","serializer","coreClient","createSerializer","Mappers","path","httpMethod","responses","200","bodyMapper","Mappers.AvailabilityStatusListResult","default","Mappers.ErrorResponse","queryParameters","Parameters.apiVersion","Parameters.filter","Parameters.expand","urlParameters","Parameters.$host","Parameters.subscriptionId","headerParameters","Parameters.accept","Parameters.resourceGroupName","Mappers.AvailabilityStatus","Parameters.resourceUri","Parameters.nextLink","ChildAvailabilityStatusesImpl","ChildResourcesImpl","OperationsImpl","Mappers.OperationListResult","EmergingIssuesImpl","get","getOperationSpec","Mappers.EmergingIssuesGetResult","Parameters.issueName","Mappers.EmergingIssueListResult","MicrosoftResourceHealth","ServiceClient","credentials","undefined","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","optionsWithDefaults","credentialScopes","baseUri","_a","endpoint","super","pipeline","getOrderedPolicies","length","pipelinePolicies","some","pipelinePolicy","coreRestPipeline","bearerTokenAuthenticationPolicyName","removePolicy","addPolicy","bearerTokenAuthenticationPolicy","scopes","challengeCallbacks","authorizeRequestOnChallenge","authorizeRequestOnClaimChallenge","availabilityStatuses","childAvailabilityStatuses","childResources","operations","emergingIssues"],"mappings":"mmBAiQYA,QAAAA,yBAAAA,EAAZ,SAAYA,GACVA,EAAA,YAAA,cACAA,EAAA,QAAA,UACAA,EAAA,MAAA,QAHF,CAAYA,QAAAA,sBAAAA,QAAAA,oBAIX,KAcWC,QAAAA,sBAAAA,EAAZ,SAAYA,GACVA,EAAA,OAAA,SACAA,EAAA,QAAA,UACAA,EAAA,SAAA,WAHF,CAAYA,QAAAA,mBAAAA,QAAAA,iBAIX,KC7QM,MAAMC,6BAA2D,CACtEC,KAAM,CACJC,KAAM,YACNC,UAAW,+BACXC,gBAAiB,CACfC,MAAO,CACLC,eAAgB,QAChBC,UAAU,EACVN,KAAM,CACJC,KAAM,WACNM,QAAS,CACPP,KAAM,CACJC,KAAM,YACNC,UAAW,yBAKnBM,SAAU,CACRH,eAAgB,WAChBL,KAAM,CACJC,KAAM,cAOHQ,mBAAiD,CAC5DT,KAAM,CACJC,KAAM,YACNC,UAAW,qBACXC,gBAAiB,CACfO,GAAI,CACFL,eAAgB,KAChBL,KAAM,CACJC,KAAM,WAGVA,KAAM,CACJI,eAAgB,OAChBL,KAAM,CACJC,KAAM,WAGVD,KAAM,CACJK,eAAgB,OAChBL,KAAM,CACJC,KAAM,WAGVU,SAAU,CACRN,eAAgB,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AOvB3G,KAAKR,eAAiBA,EAGtBQ,KAAKZ,MAAQc,EAAQd,OAAS,+BAC9BY,KAAKV,WAAaY,EAAQZ,YAAc,aACxCU,KAAK4G,qBAAuB,IAAI/G,yBAAyBG,MACzDA,KAAK6G,0BAA4B,IAAI3C,8BAA8BlE,MACnEA,KAAK8G,eAAiB,IAAI3C,mBAAmBnE,MAC7CA,KAAK+G,WAAa,IAAI3C,eAAepE,MACrCA,KAAKgH,eAAiB,IAAI1C,mBAAmBtE,O"}
|
1
|
+
{"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/availabilityStatuses.ts","../src/operations/childAvailabilityStatuses.ts","../src/operations/childResources.ts","../src/operations/operations.ts","../src/operations/emergingIssues.ts","../src/microsoftResourceHealth.ts"],"names":["KnownSeverityValues","KnownStageValues","AvailabilityStatusListResult","type","name","className","modelProperties","value","serializedName","required","element","nextLink","AvailabilityStatus","id","location","properties","AvailabilityStatusProperties","availabilityState","allowedValues","summary","detailedStatus","reasonType","rootCauseAttributionTime","healthEventType","healthEventCause","healthEventCategory","healthEventId","resolutionETA","occuredTime","reasonChronicity","reportedTime","recentlyResolvedState","recommendedActions","serviceImpactingEvents","AvailabilityStatusPropertiesRecentlyResolvedState","unavailableOccurredTime","resolvedTime","unavailabilitySummary","RecommendedAction","action","actionUrl","actionUrlText","ServiceImpactingEvent","eventStartTime","eventStatusLastModifiedTime","correlationId","status","incidentProperties","ServiceImpactingEventStatus","ServiceImpactingEventIncidentProperties","title","service","region","incidentType","ErrorResponse","code","readOnly","message","details","OperationListResult","Operation","display","OperationDisplay","provider","resource","operation","description","StatusBanner","cloud","lastModifiedTime","StatusActiveEvent","trackingId","startTime","severity","stage","published","impacts","EmergingIssueImpact","regions","ImpactedRegion","Resource","EmergingIssueListResult","EmergingIssuesGetResult","Object","assign","refreshTimestamp","statusBanners","statusActiveEvents","accept","parameterPath","mapper","defaultValue","isConstant","$host","skipEncoding","apiVersion","filter","subscriptionId","expand","resourceGroupName","resourceUri","issueName","AvailabilityStatusesImpl","constructor","client","this","listBySubscriptionId","options","iter","listBySubscriptionIdPagingAll","next","Symbol","asyncIterator","byPage","listBySubscriptionIdPagingPage","let","result","__await","_listBySubscriptionId","continuationToken","_listBySubscriptionIdNext","_c","_b","__asyncValues","done","page","__asyncDelegator","listByResourceGroup","listByResourceGroupPagingAll","listByResourceGroupPagingPage","_listByResourceGroup","_listByResourceGroupNext","list","listPagingAll","listPagingPage","_list","_listNext","sendOperationRequest","listBySubscriptionIdOperationSpec","listByResourceGroupOperationSpec","getByResource","getByResourceOperationSpec","listOperationSpec","listBySubscriptionIdNextOperationSpec","listByResourceGroupNextOperationSpec","listNextOperationSpec","serializer","coreClient","createSerializer","Mappers","path","httpMethod","responses","200","bodyMapper","Mappers.AvailabilityStatusListResult","default","Mappers.ErrorResponse","queryParameters","Parameters.apiVersion","Parameters.filter","Parameters.expand","urlParameters","Parameters.$host","Parameters.subscriptionId","headerParameters","Parameters.accept","Parameters.resourceGroupName","Mappers.AvailabilityStatus","Parameters.resourceUri","Parameters.nextLink","ChildAvailabilityStatusesImpl","ChildResourcesImpl","OperationsImpl","Mappers.OperationListResult","EmergingIssuesImpl","get","getOperationSpec","Mappers.EmergingIssuesGetResult","Parameters.issueName","Mappers.EmergingIssueListResult","MicrosoftResourceHealth","ServiceClient","credentials","undefined","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","optionsWithDefaults","credentialScopes","baseUri","_a","endpoint","super","pipeline","getOrderedPolicies","length","pipelinePolicies","some","pipelinePolicy","coreRestPipeline","bearerTokenAuthenticationPolicyName","removePolicy","addPolicy","bearerTokenAuthenticationPolicy","scopes","challengeCallbacks","authorizeRequestOnChallenge","authorizeRequestOnClaimChallenge","availabilityStatuses","childAvailabilityStatuses","childResources","operations","emergingIssues","addCustomApiVersionPolicy","sendRequest","request","param","url","split","newParams","map","item","indexOf","join"],"mappings":"mmBAiQYA,QAAAA,yBAAAA,EAAZ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mB,EAAfF,EAAMrB,OAAY,CACpB,MAAMwB,EAAYH,EAAM,GAAGE,MAAM,KAAKE,IAAI,IACL,EAA/BC,EAAKC,QAAQ,eACR,eAAiBpI,EAEjBmI,GAGXN,EAAQE,IAAMD,EAAM,GAAK,IAAMG,EAAUI,KAAK,KAEhD,OAAOtH,EAAK8G,S"}
|
@@ -14,6 +14,8 @@ export declare class MicrosoftResourceHealth extends coreClient.ServiceClient {
|
|
14
14
|
* @param options The parameter options
|
15
15
|
*/
|
16
16
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MicrosoftResourceHealthOptionalParams);
|
17
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
18
|
+
private addCustomApiVersionPolicy;
|
17
19
|
availabilityStatuses: AvailabilityStatuses;
|
18
20
|
childAvailabilityStatuses: ChildAvailabilityStatuses;
|
19
21
|
childResources: ChildResources;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"microsoftResourceHealth.d.ts","sourceRoot":"","sources":["../../src/microsoftResourceHealth.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;
|
1
|
+
{"version":3,"file":"microsoftResourceHealth.d.ts","sourceRoot":"","sources":["../../src/microsoftResourceHealth.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAQ7C,OAAO,EACL,oBAAoB,EACpB,yBAAyB,EACzB,cAAc,EACd,UAAU,EACV,cAAc,EACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,qCAAqC,EAAE,MAAM,UAAU,CAAC;AAEjE,qBAAa,uBAAwB,SAAQ,UAAU,CAAC,aAAa;IACnE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,qCAAqC;IA0EjD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;IACvB,cAAc,EAAE,cAAc,CAAC;CAChC"}
|
@@ -5,6 +5,7 @@
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
|
+
import { __awaiter } from "tslib";
|
8
9
|
import * as coreClient from "@azure/core-client";
|
9
10
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
10
11
|
import { AvailabilityStatusesImpl, ChildAvailabilityStatusesImpl, ChildResourcesImpl, OperationsImpl, EmergingIssuesImpl } from "./operations";
|
@@ -32,7 +33,7 @@ export class MicrosoftResourceHealth extends coreClient.ServiceClient {
|
|
32
33
|
requestContentType: "application/json; charset=utf-8",
|
33
34
|
credential: credentials
|
34
35
|
};
|
35
|
-
const packageDetails = `azsdk-js-arm-resourcehealth/3.0
|
36
|
+
const packageDetails = `azsdk-js-arm-resourcehealth/3.1.0`;
|
36
37
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
37
38
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
38
39
|
: `${packageDetails}`;
|
@@ -69,6 +70,34 @@ export class MicrosoftResourceHealth extends coreClient.ServiceClient {
|
|
69
70
|
this.childResources = new ChildResourcesImpl(this);
|
70
71
|
this.operations = new OperationsImpl(this);
|
71
72
|
this.emergingIssues = new EmergingIssuesImpl(this);
|
73
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
74
|
+
}
|
75
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
76
|
+
addCustomApiVersionPolicy(apiVersion) {
|
77
|
+
if (!apiVersion) {
|
78
|
+
return;
|
79
|
+
}
|
80
|
+
const apiVersionPolicy = {
|
81
|
+
name: "CustomApiVersionPolicy",
|
82
|
+
sendRequest(request, next) {
|
83
|
+
return __awaiter(this, void 0, void 0, function* () {
|
84
|
+
const param = request.url.split("?");
|
85
|
+
if (param.length > 1) {
|
86
|
+
const newParams = param[1].split("&").map((item) => {
|
87
|
+
if (item.indexOf("api-version") > -1) {
|
88
|
+
return "api-version=" + apiVersion;
|
89
|
+
}
|
90
|
+
else {
|
91
|
+
return item;
|
92
|
+
}
|
93
|
+
});
|
94
|
+
request.url = param[0] + "?" + newParams.join("&");
|
95
|
+
}
|
96
|
+
return next(request);
|
97
|
+
});
|
98
|
+
}
|
99
|
+
};
|
100
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
72
101
|
}
|
73
102
|
}
|
74
103
|
//# sourceMappingURL=microsoftResourceHealth.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"microsoftResourceHealth.js","sourceRoot":"","sources":["../../src/microsoftResourceHealth.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
1
|
+
{"version":3,"file":"microsoftResourceHealth.js","sourceRoot":"","sources":["../../src/microsoftResourceHealth.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EACnB,MAAM,cAAc,CAAC;AAUtB,MAAM,OAAO,uBAAwB,SAAQ,UAAU,CAAC,aAAa;IAKnE;;;;;;OAMG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA+C;;QAE/C,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,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AAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;wBACpB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;4BACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE;gCACpC,OAAO,cAAc,GAAG,UAAU,CAAC;6BACpC;iCAAM;gCACL,OAAO,IAAI,CAAC;6BACb;wBACH,CAAC,CAAC,CAAC;wBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;qBACpD;oBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC;aAAA;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAOF"}
|
@@ -218,18 +218,21 @@ export interface EmergingIssueListResult {
|
|
218
218
|
nextLink?: string;
|
219
219
|
}
|
220
220
|
/** The Get EmergingIssues operation response. */
|
221
|
-
export
|
221
|
+
export interface EmergingIssuesGetResult extends Resource {
|
222
222
|
/** Timestamp for when last time refreshed for ongoing emerging issue. */
|
223
223
|
refreshTimestamp?: Date;
|
224
224
|
/** The list of emerging issues of banner type. */
|
225
225
|
statusBanners?: StatusBanner[];
|
226
226
|
/** The list of emerging issues of active event type. */
|
227
227
|
statusActiveEvents?: StatusActiveEvent[];
|
228
|
-
}
|
228
|
+
}
|
229
229
|
/** Known values of {@link SeverityValues} that the service accepts. */
|
230
230
|
export declare enum KnownSeverityValues {
|
231
|
+
/** Information */
|
231
232
|
Information = "Information",
|
233
|
+
/** Warning */
|
232
234
|
Warning = "Warning",
|
235
|
+
/** Error */
|
233
236
|
Error = "Error"
|
234
237
|
}
|
235
238
|
/**
|
@@ -244,8 +247,11 @@ export declare enum KnownSeverityValues {
|
|
244
247
|
export declare type SeverityValues = string;
|
245
248
|
/** Known values of {@link StageValues} that the service accepts. */
|
246
249
|
export declare enum KnownStageValues {
|
250
|
+
/** Active */
|
247
251
|
Active = "Active",
|
252
|
+
/** Resolve */
|
248
253
|
Resolve = "Resolve",
|
254
|
+
/** Archived */
|
249
255
|
Archived = "Archived"
|
250
256
|
}
|
251
257
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,sDAAsD;AACtD,MAAM,WAAW,4BAA4B;IAC3C,wCAAwC;IACxC,KAAK,EAAE,kBAAkB,EAAE,CAAC;IAC5B,4IAA4I;IAC5I,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wCAAwC;AACxC,MAAM,WAAW,kBAAkB;IACjC,6EAA6E;IAC7E,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,eAAe;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wCAAwC;IACxC,UAAU,CAAC,EAAE,4BAA4B,CAAC;CAC3C;AAED,wCAAwC;AACxC,MAAM,WAAW,4BAA4B;IAC3C,sIAAsI;IACtI,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;IAC5C,sDAAsD;IACtD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0CAA0C;IAC1C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4LAA4L;IAC5L,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wIAAwI;IACxI,wBAAwB,CAAC,EAAE,IAAI,CAAC;IAChC,qKAAqK;IACrK,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mKAAmK;IACnK,gBAAgB,CAAC,EAA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AQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,qDAAqD;AACrD,oBAAY,sBAAsB,GAAG,mBAAmB,CAAC;AAEzD,2BAA2B;AAC3B,MAAM,WAAW,+BACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,oDAAoD;AACpD,oBAAY,yBAAyB,GAAG,uBAAuB,CAAC;AAEhE,2BAA2B;AAC3B,MAAM,WAAW,gCACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,qDAAqD;AACrD,oBAAY,0BAA0B,GAAG,uBAAuB,CAAC;AAEjE,2BAA2B;AAC3B,MAAM,WAAW,oCACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,yDAAyD;AACzD,oBAAY,8BAA8B,GAAG,uBAAuB,CAAC;AAErE,2BAA2B;AAC3B,MAAM,WAAW,qCACf,SAAQ,UAAU,CAAC,oBAAoB;IACvC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
@@ -8,15 +8,21 @@
|
|
8
8
|
/** Known values of {@link SeverityValues} that the service accepts. */
|
9
9
|
export var KnownSeverityValues;
|
10
10
|
(function (KnownSeverityValues) {
|
11
|
+
/** Information */
|
11
12
|
KnownSeverityValues["Information"] = "Information";
|
13
|
+
/** Warning */
|
12
14
|
KnownSeverityValues["Warning"] = "Warning";
|
15
|
+
/** Error */
|
13
16
|
KnownSeverityValues["Error"] = "Error";
|
14
17
|
})(KnownSeverityValues || (KnownSeverityValues = {}));
|
15
18
|
/** Known values of {@link StageValues} that the service accepts. */
|
16
19
|
export var KnownStageValues;
|
17
20
|
(function (KnownStageValues) {
|
21
|
+
/** Active */
|
18
22
|
KnownStageValues["Active"] = "Active";
|
23
|
+
/** Resolve */
|
19
24
|
KnownStageValues["Resolve"] = "Resolve";
|
25
|
+
/** Archived */
|
20
26
|
KnownStageValues["Archived"] = "Archived";
|
21
27
|
})(KnownStageValues || (KnownStageValues = {}));
|
22
28
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA0PH,uEAAuE;AACvE,MAAM,CAAN,IAAY,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA0PH,uEAAuE;AACvE,MAAM,CAAN,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,kBAAkB;IAClB,kDAA2B,CAAA;IAC3B,cAAc;IACd,0CAAmB,CAAA;IACnB,YAAY;IACZ,sCAAe,CAAA;AACjB,CAAC,EAPW,mBAAmB,KAAnB,mBAAmB,QAO9B;AAaD,oEAAoE;AACpE,MAAM,CAAN,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,aAAa;IACb,qCAAiB,CAAA;IACjB,cAAc;IACd,uCAAmB,CAAA;IACnB,eAAe;IACf,yCAAqB,CAAA;AACvB,CAAC,EAPW,gBAAgB,KAAhB,gBAAgB,QAO3B"}
|
@@ -6,24 +6,22 @@
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
8
|
import { __awaiter } from "tslib";
|
9
|
-
import {
|
10
|
-
const
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
(recording) => recording.replace(/"access_token":"[^"]*"/g, `"access_token":"access_token"`)
|
19
|
-
],
|
20
|
-
queryParametersToSkip: []
|
9
|
+
import { Recorder } from "@azure-tools/test-recorder";
|
10
|
+
const replaceableVariables = {
|
11
|
+
AZURE_CLIENT_ID: "azure_client_id",
|
12
|
+
AZURE_CLIENT_SECRET: "azure_client_secret",
|
13
|
+
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
|
14
|
+
SUBSCRIPTION_ID: "azure_subscription_id"
|
15
|
+
};
|
16
|
+
const recorderOptions = {
|
17
|
+
envSetupForPlayback: replaceableVariables
|
21
18
|
};
|
22
19
|
describe("My test", () => {
|
23
20
|
let recorder;
|
24
21
|
beforeEach(function () {
|
25
22
|
return __awaiter(this, void 0, void 0, function* () {
|
26
|
-
recorder =
|
23
|
+
recorder = new Recorder(this.currentTest);
|
24
|
+
yield recorder.start(recorderOptions);
|
27
25
|
});
|
28
26
|
});
|
29
27
|
afterEach(function () {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,QAAQ,EAGT,MAAM,4BAA4B,CAAC;AAIpC,MAAM,oBAAoB,GAA2B;IACnD,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,sCAAsC;IACvD,eAAe,EAAE,uBAAuB;CACzC,CAAC;AAEF,MAAM,eAAe,GAAyB;IAC5C,mBAAmB,EAAE,oBAAoB;CAC1C,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAC1C,MAAM,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QACxC,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"sdk-type": "mgmt",
|
4
4
|
"author": "Microsoft Corporation",
|
5
5
|
"description": "A generated SDK for MicrosoftResourceHealth.",
|
6
|
-
"version": "3.0
|
6
|
+
"version": "3.1.0",
|
7
7
|
"engines": {
|
8
8
|
"node": ">=12.0.0"
|
9
9
|
},
|
@@ -38,9 +38,13 @@
|
|
38
38
|
"uglify-js": "^3.4.9",
|
39
39
|
"rimraf": "^3.0.0",
|
40
40
|
"@azure/identity": "^2.0.1",
|
41
|
-
"@azure-tools/test-recorder": "^
|
41
|
+
"@azure-tools/test-recorder": "^2.0.0",
|
42
|
+
"@azure-tools/test-credential": "^1.0.0",
|
42
43
|
"mocha": "^7.1.1",
|
43
|
-
"
|
44
|
+
"@types/chai": "^4.2.8",
|
45
|
+
"chai": "^4.2.0",
|
46
|
+
"cross-env": "^7.0.2",
|
47
|
+
"@azure/dev-tool": "^1.0.0"
|
44
48
|
},
|
45
49
|
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resourcehealth/arm-resourcehealth",
|
46
50
|
"repository": {
|
@@ -91,9 +95,8 @@
|
|
91
95
|
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
|
92
96
|
"unit-test:browser": "echo skipped",
|
93
97
|
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
94
|
-
"integration-test:node": "
|
95
|
-
"integration-test:browser": "echo skipped"
|
96
|
-
"docs": "echo skipped"
|
98
|
+
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
|
99
|
+
"integration-test:browser": "echo skipped"
|
97
100
|
},
|
98
101
|
"sideEffects": false,
|
99
102
|
"//metadata": {
|
@@ -113,4 +116,4 @@
|
|
113
116
|
"disableDocsMs": true,
|
114
117
|
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-resourcehealth?view=azure-node-preview"
|
115
118
|
}
|
116
|
-
}
|
119
|
+
}
|
@@ -207,11 +207,11 @@ export interface EmergingIssuesGetOptionalParams extends coreClient.OperationOpt
|
|
207
207
|
export type EmergingIssuesGetResponse = EmergingIssuesGetResult;
|
208
208
|
|
209
209
|
// @public
|
210
|
-
export
|
210
|
+
export interface EmergingIssuesGetResult extends Resource {
|
211
211
|
refreshTimestamp?: Date;
|
212
|
-
statusBanners?: StatusBanner[];
|
213
212
|
statusActiveEvents?: StatusActiveEvent[];
|
214
|
-
|
213
|
+
statusBanners?: StatusBanner[];
|
214
|
+
}
|
215
215
|
|
216
216
|
// @public
|
217
217
|
export interface EmergingIssuesListNextOptionalParams extends coreClient.OperationOptions {
|
@@ -242,21 +242,15 @@ export interface ImpactedRegion {
|
|
242
242
|
|
243
243
|
// @public
|
244
244
|
export enum KnownSeverityValues {
|
245
|
-
// (undocumented)
|
246
245
|
Error = "Error",
|
247
|
-
// (undocumented)
|
248
246
|
Information = "Information",
|
249
|
-
// (undocumented)
|
250
247
|
Warning = "Warning"
|
251
248
|
}
|
252
249
|
|
253
250
|
// @public
|
254
251
|
export enum KnownStageValues {
|
255
|
-
// (undocumented)
|
256
252
|
Active = "Active",
|
257
|
-
// (undocumented)
|
258
253
|
Archived = "Archived",
|
259
|
-
// (undocumented)
|
260
254
|
Resolve = "Resolve"
|
261
255
|
}
|
262
256
|
|
@@ -8,6 +8,11 @@
|
|
8
8
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
10
10
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
11
|
+
import {
|
12
|
+
PipelineRequest,
|
13
|
+
PipelineResponse,
|
14
|
+
SendRequest
|
15
|
+
} from "@azure/core-rest-pipeline";
|
11
16
|
import * as coreAuth from "@azure/core-auth";
|
12
17
|
import {
|
13
18
|
AvailabilityStatusesImpl,
|
@@ -58,7 +63,7 @@ export class MicrosoftResourceHealth extends coreClient.ServiceClient {
|
|
58
63
|
credential: credentials
|
59
64
|
};
|
60
65
|
|
61
|
-
const packageDetails = `azsdk-js-arm-resourcehealth/3.0
|
66
|
+
const packageDetails = `azsdk-js-arm-resourcehealth/3.1.0`;
|
62
67
|
const userAgentPrefix =
|
63
68
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
64
69
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
@@ -111,6 +116,35 @@ export class MicrosoftResourceHealth extends coreClient.ServiceClient {
|
|
111
116
|
this.childResources = new ChildResourcesImpl(this);
|
112
117
|
this.operations = new OperationsImpl(this);
|
113
118
|
this.emergingIssues = new EmergingIssuesImpl(this);
|
119
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
120
|
+
}
|
121
|
+
|
122
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
123
|
+
private addCustomApiVersionPolicy(apiVersion?: string) {
|
124
|
+
if (!apiVersion) {
|
125
|
+
return;
|
126
|
+
}
|
127
|
+
const apiVersionPolicy = {
|
128
|
+
name: "CustomApiVersionPolicy",
|
129
|
+
async sendRequest(
|
130
|
+
request: PipelineRequest,
|
131
|
+
next: SendRequest
|
132
|
+
): Promise<PipelineResponse> {
|
133
|
+
const param = request.url.split("?");
|
134
|
+
if (param.length > 1) {
|
135
|
+
const newParams = param[1].split("&").map((item) => {
|
136
|
+
if (item.indexOf("api-version") > -1) {
|
137
|
+
return "api-version=" + apiVersion;
|
138
|
+
} else {
|
139
|
+
return item;
|
140
|
+
}
|
141
|
+
});
|
142
|
+
request.url = param[0] + "?" + newParams.join("&");
|
143
|
+
}
|
144
|
+
return next(request);
|
145
|
+
}
|
146
|
+
};
|
147
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
114
148
|
}
|
115
149
|
|
116
150
|
availabilityStatuses: AvailabilityStatuses;
|