@azure/arm-resourcehealth 3.1.1-alpha.20230127.1 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. package/CHANGELOG.md +16 -10
  2. package/LICENSE +1 -1
  3. package/dist/index.js +161 -86
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/availabilityStatusesGetByResourceSample.js +10 -2
  8. package/dist-esm/samples-dev/availabilityStatusesGetByResourceSample.js.map +1 -1
  9. package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.js +10 -3
  10. package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.js.map +1 -1
  11. package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.js +9 -2
  12. package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.js.map +1 -1
  13. package/dist-esm/samples-dev/availabilityStatusesListSample.js +10 -2
  14. package/dist-esm/samples-dev/availabilityStatusesListSample.js.map +1 -1
  15. package/dist-esm/samples-dev/childAvailabilityStatusesGetByResourceSample.js +10 -2
  16. package/dist-esm/samples-dev/childAvailabilityStatusesGetByResourceSample.js.map +1 -1
  17. package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js +10 -2
  18. package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js.map +1 -1
  19. package/dist-esm/samples-dev/childResourcesListSample.js +10 -2
  20. package/dist-esm/samples-dev/childResourcesListSample.js.map +1 -1
  21. package/dist-esm/samples-dev/emergingIssuesGetSample.js +10 -2
  22. package/dist-esm/samples-dev/emergingIssuesGetSample.js.map +1 -1
  23. package/dist-esm/samples-dev/emergingIssuesListSample.js +10 -2
  24. package/dist-esm/samples-dev/emergingIssuesListSample.js.map +1 -1
  25. package/dist-esm/src/index.d.ts +1 -0
  26. package/dist-esm/src/index.d.ts.map +1 -1
  27. package/dist-esm/src/index.js +1 -0
  28. package/dist-esm/src/index.js.map +1 -1
  29. package/dist-esm/src/microsoftResourceHealth.d.ts.map +1 -1
  30. package/dist-esm/src/microsoftResourceHealth.js +20 -18
  31. package/dist-esm/src/microsoftResourceHealth.js.map +1 -1
  32. package/dist-esm/src/models/index.d.ts +0 -20
  33. package/dist-esm/src/models/index.d.ts.map +1 -1
  34. package/dist-esm/src/operations/availabilityStatuses.d.ts.map +1 -1
  35. package/dist-esm/src/operations/availabilityStatuses.js +55 -36
  36. package/dist-esm/src/operations/availabilityStatuses.js.map +1 -1
  37. package/dist-esm/src/operations/childAvailabilityStatuses.d.ts.map +1 -1
  38. package/dist-esm/src/operations/childAvailabilityStatuses.js +19 -12
  39. package/dist-esm/src/operations/childAvailabilityStatuses.js.map +1 -1
  40. package/dist-esm/src/operations/childResources.d.ts.map +1 -1
  41. package/dist-esm/src/operations/childResources.js +19 -12
  42. package/dist-esm/src/operations/childResources.js.map +1 -1
  43. package/dist-esm/src/operations/emergingIssues.d.ts.map +1 -1
  44. package/dist-esm/src/operations/emergingIssues.js +19 -8
  45. package/dist-esm/src/operations/emergingIssues.js.map +1 -1
  46. package/dist-esm/src/pagingHelper.d.ts +13 -0
  47. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  48. package/dist-esm/src/pagingHelper.js +32 -0
  49. package/dist-esm/src/pagingHelper.js.map +1 -0
  50. package/package.json +7 -5
  51. package/review/arm-resourcehealth.api.md +3 -10
  52. package/src/index.ts +1 -0
  53. package/src/microsoftResourceHealth.ts +26 -20
  54. package/src/models/index.ts +5 -30
  55. package/src/operations/availabilityStatuses.ts +66 -40
  56. package/src/operations/childAvailabilityStatuses.ts +22 -14
  57. package/src/operations/childResources.ts +21 -13
  58. package/src/operations/emergingIssues.ts +22 -10
  59. package/src/pagingHelper.ts +39 -0
  60. package/types/arm-resourcehealth.d.ts +9 -20
  61. package/types/tsdoc-metadata.json +1 -1
package/dist/index.min.js CHANGED
@@ -1 +1 @@
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){var a;return i&&i.__esModule?i:(a=Object.create(null),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.1",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"}));super(e),null!=i&&i.pipeline&&0<i.pipeline.getOrderedPolicies().length&&(i.pipeline.getOrderedPolicies().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*(){var e,t=i.url.split("?");return 1<t.length&&(e=t[1].split("&").map(e=>-1<e.indexOf("api-version")?"api-version="+r:e),i.url=t[0]+"?"+e.join("&")),a(i)})}})}}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){var a;return i&&i.__esModule?i:(a=Object.create(null),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);const pageMap=new WeakMap;function getContinuationToken(e){return"object"!=typeof e||null===e||null==(e=pageMap.get(e))?void 0:e.continuationToken}function setContinuationToken(e,t){var i;"object"==typeof e&&null!==e&&t&&((i=null!=(i=pageMap.get(e))?i:{}).continuationToken=t,pageMap.set(e,i))}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(t){const e=this.listBySubscriptionIdPagingAll(t);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listBySubscriptionIdPagingPage(t,e)}}}listBySubscriptionIdPagingPage(r,s){return tslib.__asyncGenerator(this,arguments,function*(){let e,t=null==s?void 0:s.continuationToken;var i;for(t||(setContinuationToken(i=(e=yield tslib.__await(this._listBySubscriptionId(r))).value||[],t=e.nextLink),yield yield tslib.__await(i));t;){e=yield tslib.__await(this._listBySubscriptionIdNext(t,r)),t=e.nextLink;var a=e.value||[];setContinuationToken(a,t),yield yield tslib.__await(a)}})}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(t,i){const e=this.listByResourceGroupPagingAll(t,i);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listByResourceGroupPagingPage(t,i,e)}}}listByResourceGroupPagingPage(r,s,n){return tslib.__asyncGenerator(this,arguments,function*(){let e,t=null==n?void 0:n.continuationToken;var i;for(t||(setContinuationToken(i=(e=yield tslib.__await(this._listByResourceGroup(r,s))).value||[],t=e.nextLink),yield yield tslib.__await(i));t;){e=yield tslib.__await(this._listByResourceGroupNext(r,t,s)),t=e.nextLink;var a=e.value||[];setContinuationToken(a,t),yield yield tslib.__await(a)}})}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(t,i){const e=this.listPagingAll(t,i);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(t,i,e)}}}listPagingPage(r,s,n){return tslib.__asyncGenerator(this,arguments,function*(){let e,t=null==n?void 0:n.continuationToken;var i;for(t||(setContinuationToken(i=(e=yield tslib.__await(this._list(r,s))).value||[],t=e.nextLink),yield yield tslib.__await(i));t;){e=yield tslib.__await(this._listNext(r,t,s)),t=e.nextLink;var a=e.value||[];setContinuationToken(a,t),yield yield tslib.__await(a)}})}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}},urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$4},listByResourceGroupNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},urlParameters:[$host,subscriptionId,resourceGroupName,nextLink],headerParameters:[accept],serializer:serializer$4},listNextOperationSpec$3={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AvailabilityStatusListResult},default:{bodyMapper:ErrorResponse}},urlParameters:[$host,resourceUri,nextLink],headerParameters:[accept],serializer:serializer$4};class ChildAvailabilityStatusesImpl{constructor(e){this.client=e}list(t,i){const e=this.listPagingAll(t,i);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(t,i,e)}}}listPagingPage(r,s,n){return tslib.__asyncGenerator(this,arguments,function*(){let e,t=null==n?void 0:n.continuationToken;var i;for(t||(setContinuationToken(i=(e=yield tslib.__await(this._list(r,s))).value||[],t=e.nextLink),yield yield tslib.__await(i));t;){e=yield tslib.__await(this._listNext(r,t,s)),t=e.nextLink;var a=e.value||[];setContinuationToken(a,t),yield yield tslib.__await(a)}})}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}},urlParameters:[$host,resourceUri,nextLink],headerParameters:[accept],serializer:serializer$3};class ChildResourcesImpl{constructor(e){this.client=e}list(t,i){const e=this.listPagingAll(t,i);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(t,i,e)}}}listPagingPage(r,s,n){return tslib.__asyncGenerator(this,arguments,function*(){let e,t=null==n?void 0:n.continuationToken;var i;for(t||(setContinuationToken(i=(e=yield tslib.__await(this._list(r,s))).value||[],t=e.nextLink),yield yield tslib.__await(i));t;){e=yield tslib.__await(this._listNext(r,t,s)),t=e.nextLink;var a=e.value||[];setContinuationToken(a,t),yield yield tslib.__await(a)}})}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}},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(t){const e=this.listPagingAll(t);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(t,e)}}}listPagingPage(r,s){return tslib.__asyncGenerator(this,arguments,function*(){let e,t=null==s?void 0:s.continuationToken;var i;for(t||(setContinuationToken(i=(e=yield tslib.__await(this._list(r))).value||[],t=e.nextLink),yield yield tslib.__await(i));t;){e=yield tslib.__await(this._listNext(t,r)),t=e.nextLink;var a=e.value||[];setContinuationToken(a,t),yield yield tslib.__await(a)}})}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}},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 a,r="azsdk-js-arm-resourcehealth/3.2.0",r=(i=i||{}).userAgentOptions&&i.userAgentOptions.userAgentPrefix?i.userAgentOptions.userAgentPrefix+" "+r:r,r=Object.assign(Object.assign(Object.assign({},{requestContentType:"application/json; charset=utf-8",credential:e}),i),{userAgentOptions:{userAgentPrefix:r},endpoint:null!=(r=null!=(r=i.endpoint)?r:i.baseUri)?r:"https://management.azure.com"});super(r);let s=!1;null!=i&&i.pipeline&&0<i.pipeline.getOrderedPolicies().length&&(a=i.pipeline.getOrderedPolicies(),s=a.some(e=>e.name===coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName)),i&&i.pipeline&&0!=i.pipeline.getOrderedPolicies().length&&s||(this.pipeline.removePolicy({name:coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName}),this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({credential:e,scopes:null!=(a=r.credentialScopes)?a:r.endpoint+"/.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*(){var e,t=i.url.split("?");return 1<t.length&&(e=t[1].split("&").map(e=>-1<e.indexOf("api-version")?"api-version="+r:e),i.url=t[0]+"?"+e.join("&")),a(i)})}})}}exports.MicrosoftResourceHealth=MicrosoftResourceHealth,exports.getContinuationToken=getContinuationToken;
@@ -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","yield","__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","some","pipelinePolicy","coreRestPipeline","bearerTokenAuthenticationPolicyName","removePolicy","addPolicy","bearerTokenAuthenticationPolicy","scopes","challengeCallbacks","authorizeRequestOnChallenge","authorizeRequestOnClaimChallenge","availabilityStatuses","childAvailabilityStatuses","childResources","operations","emergingIssues","addCustomApiVersionPolicy","sendRequest","request","newParams","param","url","split","map","item","indexOf","join"],"mappings":"6lBAiQYA,QAAAA,oBAAAA,KAAAA,EAAZ,SAAYA,GAEVA,EAAA,YAAA,cAEAA,EAAA,QAAA,UAEAA,EAAA,MAAA,OACD,EAPWA,QAAAA,sBAAAA,QAAAA,oBAOX,GAAA,EAcWC,QAAAA,iBAAAA,KAAAA,EAAZ,SAAYA,GAEVA,EAAA,OAAA,SAEAA,EAAA,QAAA,UAEAA,EAAA,SAAA,UACD,EAPWA,QAAAA,mBAAAA,QAAAA,iBAOX,GAAA,ECnRM,MAAMC,6BAA2D,CACtEC,KAAM,CACJC,KAAM,YACNC,UAAW,+BACXC,gBAAiB,CACfC,MAAO,CACLC,eAAgB,QAChBC,SAAU,CAAA,EACVN,KAAM,CACJC,KAAM,WACNM,QAAS,CACPP,KAAM,CACJC,KAAM,YACNC,UAAW,oBACZ,CACF,CACF,CACF,EACDM,SAAU,CACRH,eAAgB,WAChBL,KAAM,CACJC,KAAM,QACP,CACF,CACF,CACF,C,EAGUQ,mBAAiD,CAC5DT,KAAM,CACJC,KAAM,YACNC,UAAW,qBACXC,gBAAiB,CACfO,GAAI,CACFL,eAAgB,KAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDA,KAAM,CACJI,eAAgB,OAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDD,KAAM,CACJK,eAAgB,OAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDU,SAAU,CACRN,eAAgB,WAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDW,WAAY,CACVP,eAAgB,aAChBL,KAAM,CACJC,KAAM,YACNC,UAAW,8BACZ,CACF,CACF,CACF,C,EAGUW,6BAA2D,CACtEb,KAAM,CACJC,KAAM,YACNC,UAAW,+BACXC,gBAAiB,CACfW,kBAAmB,CACjBT,eAAgB,oBAChBL,KAAM,CACJC,KAAM,OACNc,cAAe,CAAC,YAAa,cAAe,UAC7C,CACF,EACDC,QAAS,CACPX,eAAgB,UAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDgB,eAAgB,CACdZ,eAAgB,iBAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDiB,WAAY,CACVb,eAAgB,aAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDkB,yBAA0B,CACxBd,eAAgB,2BAChBL,KAAM,CACJC,KAAM,UACP,CACF,EACDmB,gBAAiB,CACff,eAAgB,kBAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDoB,iBAAkB,CAChBhB,eAAgB,mBAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDqB,oBAAqB,CACnBjB,eAAgB,sBAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDsB,cAAe,CACblB,eAAgB,gBAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDuB,cAAe,CACbnB,eAAgB,gBA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sBACXC,gBAAiB,CACfC,MAAO,CACLC,eAAgB,QAChBC,SAAU,CAAA,EACVN,KAAM,CACJC,KAAM,WACNM,QAAS,CACPP,KAAM,CACJC,KAAM,YACNC,UAAW,WACZ,CACF,CACF,CACF,CACF,CACF,C,EAGUuD,UAAwC,CACnDzD,KAAM,CACJC,KAAM,YACNC,UAAW,YACXC,gBAAiB,CACfF,KAAM,CACJI,eAAgB,OAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDyD,QAAS,CACPrD,eAAgB,UAChBL,KAAM,CACJC,KAAM,YACNC,UAAW,kBACZ,CACF,CACF,CACF,C,EAGUyD,iBAA+C,CAC1D3D,KAAM,CACJC,KAAM,YACNC,UAAW,mBACXC,gBAAiB,CACfyD,SAAU,CACRvD,eAAgB,WAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACD4D,SAAU,CACRxD,eAAgB,WAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACD6D,UAAW,CACTzD,eAAgB,YAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACD8D,YAAa,CACX1D,eAAgB,cAChBL,KAAM,CACJC,KAAM,QACP,CACF,CACF,CACF,C,EAGU+D,aAA2C,CACtDhE,KAAM,CACJC,KAAM,YACNC,UAAW,eACXC,gBAAiB,CACf4C,MAAO,CACL1C,eAAgB,QAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDqD,QAAS,CACPjD,eAAgB,UAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDgE,MAAO,CACL5D,eAAgB,QAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDiE,iBAAkB,CAChB7D,eAAgB,mBAChBL,KAAM,CACJC,KAAM,UACP,CACF,CACF,CACF,C,EAGUkE,kBAAgD,CAC3DnE,KAAM,CACJC,KAAM,YACNC,UAAW,oBACXC,gBAAiB,CACf4C,MAAO,CACL1C,eAAgB,QAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACD8D,YAAa,CACX1D,eAAgB,cAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDmE,WAAY,CACV/D,eAAgB,aAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDoE,UAAW,CACThE,eAAgB,YAChBL,KAAM,CACJC,KAAM,UACP,CACF,EACDgE,MAAO,CACL5D,eAAgB,QAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDqE,SAAU,CACRjE,eAAgB,WAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDsE,MAAO,CACLlE,eAAgB,QAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDuE,UAAW,CACTnE,eAAgB,YAChBL,KAAM,CACJC,KAAM,SACP,CACF,EACDiE,iBAAkB,CAChB7D,eAAgB,mBAChBL,KAAM,CACJC,KAAM,UACP,CACF,EACDwE,QAAS,CACPpE,eAAgB,UAChBL,KAAM,CACJC,KAAM,WACNM,QAAS,CACPP,KAAM,CACJC,KAAM,YACNC,UAAW,qBACZ,CACF,CACF,CACF,CACF,CACF,C,EAGUwE,oBAAkD,CAC7D1E,KAAM,CACJC,KAAM,YACNC,UAAW,sBACXC,gBAAiB,CACfO,GAAI,CACFL,eAAgB,KAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDA,KAAM,CACJI,eAAgB,OAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACD0E,QAAS,CACPtE,eAAgB,UAChBL,KAAM,CACJC,KAAM,WACNM,QAAS,CACPP,KAAM,CACJC,KAAM,YACNC,UAAW,gBACZ,CACF,CACF,CACF,CACF,CACF,C,EAGU0E,eAA6C,CACxD5E,KAAM,CACJC,KAAM,YACNC,UAAW,iBACXC,gBAAiB,CACfO,GAAI,CACFL,eAAgB,KAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDA,KAAM,CACJI,eAAgB,OAChBL,KAAM,CACJC,KAAM,QACP,CACF,CACF,CACF,C,EAGU4E,SAAuC,CAClD7E,KAAM,CACJC,KAAM,YACNC,UAAW,WACXC,gBAAiB,CACfO,GAAI,CACFL,eAAgB,KAChBgD,SAAU,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IAAI1C,eAAerE,IAAI,EACzCA,KAAKgH,eAAiB,IAAIzC,mBAAmBvE,IAAI,EACjDA,KAAKiH,0BAA0B/G,EAAQZ,UAAU,C,CAI3C2H,0BAA0B3H,GAC3BA,GAuBLU,KAAK8F,SAASQ,UApBW,CACvB3M,KAAM,yBACAuN,YACJC,EACA9G,G,sDAEA,IAEQ+G,EAFFC,EAAQF,EAAQG,IAAIC,MAAM,GAAG,EAWnC,OAVmB,EAAfF,EAAMrB,SACFoB,EAAYC,EAAM,GAAGE,MAAM,GAAG,EAAEC,IAAI,GACN,CAAC,EAA/BC,EAAKC,QAAQ,aAAa,EACrB,eAAiBpI,EAEjBmI,CAEV,EACDN,EAAQG,IAAMD,EAAM,GAAK,IAAMD,EAAUO,KAAK,GAAG,GAE5CtH,EAAK8G,CAAO,C,CACpB,CAAA,C,CAEqC,C,CAQ3C,C"}
1
+ {"version":3,"sources":["../src/pagingHelper.ts","../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":["pageMap","WeakMap","getContinuationToken","page","_a","get","continuationToken","setContinuationToken","pageInfo","set","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","settings","maxPageSize","Error","listBySubscriptionIdPagingPage","let","result","yield","tslib","__await","_listBySubscriptionId","_listBySubscriptionIdNext","_c","_b","__asyncValues","done","__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","getOperationSpec","Mappers.EmergingIssuesGetResult","Parameters.issueName","Mappers.EmergingIssueListResult","MicrosoftResourceHealth","ServiceClient","credentials","undefined","pipelinePolicies","packageDetails","userAgentPrefix","userAgentOptions","optionsWithDefaults","requestContentType","credential","endpoint","baseUri","super","bearerTokenAuthenticationPolicyFound","pipeline","getOrderedPolicies","length","some","pipelinePolicy","coreRestPipeline","bearerTokenAuthenticationPolicyName","removePolicy","addPolicy","bearerTokenAuthenticationPolicy","scopes","credentialScopes","challengeCallbacks","authorizeRequestOnChallenge","authorizeRequestOnClaimChallenge","availabilityStatuses","childAvailabilityStatuses","childResources","operations","emergingIssues","addCustomApiVersionPolicy","sendRequest","request","newParams","param","url","split","map","item","indexOf","join"],"mappings":"6lBAYA,MAAMA,QAAU,IAAIC,QASd,SAAUC,qBAAqBC,GACnC,MAAoB,UAAhB,OAAOA,GAA8B,OAATA,GAGzB,OAAAC,EAAAJ,QAAQK,IAAIF,CAAI,GAHvB,KAAA,EAG0BC,EAAAE,iBAC5B,CAEgB,SAAAC,qBACdJ,EACAG,G,IAKME,EAHc,UAAhB,OAAOL,GAA8B,OAATA,GAAkBG,KAG5CE,EAAW,OAAAJ,EAAAJ,QAAQK,IAAIF,CAAI,GAAKC,EAAA,IAC7BE,kBAAoBA,EAC7BN,QAAQS,IAAIN,EAAMK,CAAQ,EAC5B,CC2NYE,QAAAA,oBAAAA,KAAAA,EAAZ,SAAYA,GAEVA,EAAA,YAAA,cAEAA,EAAA,QAAA,UAEAA,EAAA,MAAA,OACD,EAPWA,QAAAA,sBAAAA,QAAAA,oBAOX,GAAA,EAcWC,QAAAA,iBAAAA,KAAAA,EAAZ,SAAYA,GAEVA,EAAA,OAAA,SAEAA,EAAA,QAAA,UAEAA,EAAA,SAAA,UACD,EAPWA,QAAAA,mBAAAA,QAAAA,iBAOX,GAAA,ECnRM,MAAMC,6BAA2D,CACtEC,KAAM,CACJC,KAAM,YACNC,UAAW,+BACXC,gBAAiB,CACfC,MAAO,CACLC,eAAgB,QAChBC,SAAU,CAAA,EACVN,KAAM,CACJC,KAAM,WACNM,QAAS,CACPP,KAAM,CACJC,KAAM,YACNC,UAAW,oBACZ,CACF,CACF,CACF,EACDM,SAAU,CACRH,eAAgB,WAChBL,KAAM,CACJC,KAAM,QACP,CACF,CACF,CACF,C,EAGUQ,mBAAiD,CAC5DT,KAAM,CACJC,KAAM,YACNC,UAAW,qBACXC,gBAAiB,CACfO,GAAI,CACFL,eAAgB,KAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDA,KAAM,CACJI,eAAgB,OAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDD,KAAM,CACJK,eAAgB,OAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDU,SAAU,CACRN,eAAgB,WAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDW,WAAY,CACVP,eAAgB,aAChBL,KAAM,CACJC,KAAM,YACNC,UAAW,8BACZ,CACF,CACF,CACF,C,EAGUW,6BAA2D,CACtEb,KAAM,CACJC,KAAM,YACNC,UAAW,+BACXC,gBAAiB,CACfW,kBAAmB,CACjBT,eAAgB,oBAChBL,KAAM,CACJC,KAAM,OACNc,cAAe,CAAC,YAAa,cAAe,UAC7C,CACF,EACDC,QAAS,CACPX,eAAgB,UAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDgB,eAAgB,CACdZ,eAAgB,iBAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDiB,WAAY,CACVb,eAAgB,aAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDkB,yBAA0B,CACxBd,eAAgB,2BAChBL,KAAM,CACJC,KAAM,UACP,CACF,EACDmB,gBAAiB,CACff,eAAgB,kBAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDoB,iBAAkB,CAChBhB,eAAgB,mBAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDqB,oBAAqB,CACnBjB,eAAgB,sBAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDsB,cAAe,CACblB,eAAgB,gBAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDuB,cAAe,CACbnB,eAAgB,gBAChBL,KAAM,CACJC,KAAM,UACP,CACF,EACDwB,YAAa,CACXpB,eAAgB,cAChBL,KAAM,CACJC,KAAM,UACP,CACF,EAC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ACPP,KAAM,CACJC,KAAM,YACNC,UAAW,WACZ,CACF,CACF,CACF,CACF,CACF,C,EAGUuD,UAAwC,CACnDzD,KAAM,CACJC,KAAM,YACNC,UAAW,YACXC,gBAAiB,CACfF,KAAM,CACJI,eAAgB,OAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDyD,QAAS,CACPrD,eAAgB,UAChBL,KAAM,CACJC,KAAM,YACNC,UAAW,kBACZ,CACF,CACF,CACF,C,EAGUyD,iBAA+C,CAC1D3D,KAAM,CACJC,KAAM,YACNC,UAAW,mBACXC,gBAAiB,CACfyD,SAAU,CACRvD,eAAgB,WAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACD4D,SAAU,CACRxD,eAAgB,WAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACD6D,UAAW,CACTzD,eAAgB,YAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACD8D,YAAa,CACX1D,eAAgB,cAChBL,KAAM,CACJC,KAAM,QACP,CACF,CACF,CACF,C,EAGU+D,aAA2C,CACtDhE,KAAM,CACJC,KAAM,YACNC,UAAW,eACXC,gBAAiB,CACf4C,MAAO,CACL1C,eAAgB,QAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDqD,QAAS,CACPjD,eAAgB,UAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDgE,MAAO,CACL5D,eAAgB,QAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDiE,iBAAkB,CAChB7D,eAAgB,mBAChBL,KAAM,CACJC,KAAM,UACP,CACF,CACF,CACF,C,EAGUkE,kBAAgD,CAC3DnE,KAAM,CACJC,KAAM,YACNC,UAAW,oBACXC,gBAAiB,CACf4C,MAAO,CACL1C,eAAgB,QAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACD8D,YAAa,CACX1D,eAAgB,cAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDmE,WAAY,CACV/D,eAAgB,aAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDoE,UAAW,CACThE,eAAgB,YAChBL,KAAM,CACJC,KAAM,UACP,CACF,EACDgE,MAAO,CACL5D,eAAgB,QAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDqE,SAAU,CACRjE,eAAgB,WAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDsE,MAAO,CACLlE,eAAgB,QAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDuE,UAAW,CACTnE,eAAgB,YAChBL,KAAM,CACJC,KAAM,SACP,CACF,EACDiE,iBAAkB,CAChB7D,eAAgB,mBAChBL,KAAM,CACJC,KAAM,UACP,CACF,EACDwE,QAAS,CACPpE,eAAgB,UAChBL,KAAM,CACJC,KAAM,WACNM,QAAS,CACPP,KAAM,CACJC,KAAM,YACNC,UAAW,qBACZ,CACF,CACF,CACF,CACF,CACF,C,EAGUwE,oBAAkD,CAC7D1E,KAAM,CACJC,KAAM,YACNC,UAAW,sBACXC,gBAAiB,CACfO,GAAI,CACFL,eAAgB,KAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDA,KAAM,CACJI,eAAgB,OAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACD0E,QAAS,CACPtE,eAAgB,UAChBL,KAAM,CACJC,KAAM,WACNM,QAAS,CACPP,KAAM,CACJC,KAAM,YACNC,UAAW,gBACZ,CACF,CACF,CACF,CACF,CACF,C,EAGU0E,eAA6C,CACxD5E,KAAM,CACJC,KAAM,YACNC,UAAW,iBACXC,gBAAiB,CACfO,GAAI,CACFL,eAAgB,KAChBL,KAAM,CACJC,KAAM,QACP,CACF,EACDA,KAAM,CACJI,eAAgB,OAChBL,KAAM,CACJC,KAAM,QACP,CACF,CACF,CACF,C,EAGU4E,SAAuC,CAClD7E,KAAM,CACJC,KAAM,YACNC,UAAW,WACXC,gBAAiB,CACfO,GAAI,CACFL,eAAgB,KAChBgD,SAAU,CAAA,EACVrD,KAAM,CACJC,KAAM,QACP,CACF,EACDA,KAAM,CACJI,eAAgB,OAChBgD,SAAU,CAAA,EACVrD,KAA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Z,MAAQc,EAAQd,OAAS,+BAC9BY,KAAKV,WAAaY,EAAQZ,YAAc,aACxCU,KAAK4G,qBAAuB,IAAI/G,yBAAyBG,IAAI,EAC7DA,KAAK6G,0BAA4B,IAAIxC,8BAA8BrE,IAAI,EACvEA,KAAK8G,eAAiB,IAAIxC,mBAAmBtE,IAAI,EACjDA,KAAK+G,WAAa,IAAIxC,eAAevE,IAAI,EACzCA,KAAKgH,eAAiB,IAAIvC,mBAAmBzE,IAAI,EACjDA,KAAKiH,0BAA0B/G,EAAQZ,UAAU,C,CAI3C2H,0BAA0B3H,GAC3BA,GAuBLU,KAAK6F,SAASQ,UApBW,CACvB1M,KAAM,yBACAuN,YACJC,EACA9G,G,sDAEA,IAEQ+G,EAFFC,EAAQF,EAAQG,IAAIC,MAAM,GAAG,EAWnC,OAVmB,EAAfF,EAAMtB,SACFqB,EAAYC,EAAM,GAAGE,MAAM,GAAG,EAAEC,IAAI,GACN,CAAC,EAA/BC,EAAKC,QAAQ,aAAa,EACrB,eAAiBpI,EAEjBmI,CAEV,EACDN,EAAQG,IAAMD,EAAM,GAAK,IAAMD,EAAUO,KAAK,GAAG,GAE5CtH,EAAK8G,CAAO,C,CACpB,CAAA,C,CAEqC,C,CAQ3C,C"}
@@ -10,6 +10,8 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { MicrosoftResourceHealth } from "@azure/arm-resourcehealth";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Gets current availability status for a single resource
15
17
  *
@@ -18,7 +20,8 @@ import { DefaultAzureCredential } from "@azure/identity";
18
20
  */
19
21
  function getCurrentHealthByResource() {
20
22
  return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
23
+ const subscriptionId = process.env["RESOURCEHEALTH_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
22
25
  const resourceUri = "resourceUri";
23
26
  const expand = "recommendedactions";
24
27
  const options = { expand };
@@ -28,5 +31,10 @@ function getCurrentHealthByResource() {
28
31
  console.log(result);
29
32
  });
30
33
  }
31
- getCurrentHealthByResource().catch(console.error);
34
+ function main() {
35
+ return __awaiter(this, void 0, void 0, function* () {
36
+ getCurrentHealthByResource();
37
+ });
38
+ }
39
+ main().catch(console.error);
32
40
  //# sourceMappingURL=availabilityStatusesGetByResourceSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"availabilityStatusesGetByResourceSample.js","sourceRoot":"","sources":["../../samples-dev/availabilityStatusesGetByResourceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,MAAM,GAAG,oBAAoB,CAAC;QACpC,MAAM,OAAO,GAAoD,EAAE,MAAM,EAAE,CAAC;QAC5E,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,aAAa,CAC5D,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,0BAA0B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"availabilityStatusesGetByResourceSample.js","sourceRoot":"","sources":["../../samples-dev/availabilityStatusesGetByResourceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC;YAC7C,sCAAsC,CAAC;QACzC,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,MAAM,GAAG,oBAAoB,CAAC;QACpC,MAAM,OAAO,GAAoD,EAAE,MAAM,EAAE,CAAC;QAC5E,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,aAAa,CAC5D,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,6 +10,8 @@ import { __asyncValues, __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { MicrosoftResourceHealth } from "@azure/arm-resourcehealth";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Lists the current availability status for all the resources in the resource group. Use the nextLink property in the response to get the next page of availability statuses.
15
17
  *
@@ -19,8 +21,8 @@ import { DefaultAzureCredential } from "@azure/identity";
19
21
  function listByResourceGroup() {
20
22
  var e_1, _a;
21
23
  return __awaiter(this, void 0, void 0, function* () {
22
- const subscriptionId = "subscriptionId";
23
- const resourceGroupName = "resourceGroupName";
24
+ const subscriptionId = process.env["RESOURCEHEALTH_SUBSCRIPTION_ID"] || "subscriptionId";
25
+ const resourceGroupName = process.env["RESOURCEHEALTH_RESOURCE_GROUP"] || "resourceGroupName";
24
26
  const expand = "recommendedactions";
25
27
  const options = {
26
28
  expand
@@ -44,5 +46,10 @@ function listByResourceGroup() {
44
46
  console.log(resArray);
45
47
  });
46
48
  }
47
- listByResourceGroup().catch(console.error);
49
+ function main() {
50
+ return __awaiter(this, void 0, void 0, function* () {
51
+ listByResourceGroup();
52
+ });
53
+ }
54
+ main().catch(console.error);
48
55
  //# sourceMappingURL=availabilityStatusesListByResourceGroupSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"availabilityStatusesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/availabilityStatusesListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,mBAAmB;;;QAChC,MAAM,cAAc,GAAG,gBAAgB,CAAC;QACxC,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;QAC9C,MAAM,MAAM,GAAG,oBAAoB,CAAC;QACpC,MAAM,OAAO,GAA0D;YACrE,MAAM;SACP,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,mBAAmB,CACpE,iBAAiB,EACjB,OAAO,CACR,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,mBAAmB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"availabilityStatusesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/availabilityStatusesListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,mBAAmB;;;QAChC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,gBAAgB,CAAC;QACpE,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,mBAAmB,CAAC;QACtE,MAAM,MAAM,GAAG,oBAAoB,CAAC;QACpC,MAAM,OAAO,GAA0D;YACrE,MAAM;SACP,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,mBAAmB,CACpE,iBAAiB,EACjB,OAAO,CACR,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,mBAAmB,EAAE,CAAC;IACxB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,6 +10,8 @@ import { __asyncValues, __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { MicrosoftResourceHealth } from "@azure/arm-resourcehealth";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Lists the current availability status for all the resources in the subscription. Use the nextLink property in the response to get the next page of availability statuses.
15
17
  *
@@ -19,7 +21,7 @@ import { DefaultAzureCredential } from "@azure/identity";
19
21
  function listHealthBySubscriptionId() {
20
22
  var e_1, _a;
21
23
  return __awaiter(this, void 0, void 0, function* () {
22
- const subscriptionId = "subscriptionId";
24
+ const subscriptionId = process.env["RESOURCEHEALTH_SUBSCRIPTION_ID"] || "subscriptionId";
23
25
  const expand = "recommendedactions";
24
26
  const options = {
25
27
  expand
@@ -43,5 +45,10 @@ function listHealthBySubscriptionId() {
43
45
  console.log(resArray);
44
46
  });
45
47
  }
46
- listHealthBySubscriptionId().catch(console.error);
48
+ function main() {
49
+ return __awaiter(this, void 0, void 0, function* () {
50
+ listHealthBySubscriptionId();
51
+ });
52
+ }
53
+ main().catch(console.error);
47
54
  //# sourceMappingURL=availabilityStatusesListBySubscriptionIdSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"availabilityStatusesListBySubscriptionIdSample.js","sourceRoot":"","sources":["../../samples-dev/availabilityStatusesListBySubscriptionIdSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,0BAA0B;;;QACvC,MAAM,cAAc,GAAG,gBAAgB,CAAC;QACxC,MAAM,MAAM,GAAG,oBAAoB,CAAC;QACpC,MAAM,OAAO,GAA2D;YACtE,MAAM;SACP,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,oBAAoB,CACrE,OAAO,CACR,CAAA,IAAA;gBAFU,IAAI,IAAI,WAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,0BAA0B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"availabilityStatusesListBySubscriptionIdSample.js","sourceRoot":"","sources":["../../samples-dev/availabilityStatusesListBySubscriptionIdSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;;QACvC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,gBAAgB,CAAC;QACpE,MAAM,MAAM,GAAG,oBAAoB,CAAC;QACpC,MAAM,OAAO,GAA2D;YACtE,MAAM;SACP,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,oBAAoB,CACrE,OAAO,CACR,CAAA,IAAA;gBAFU,IAAI,IAAI,WAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,6 +10,8 @@ import { __asyncValues, __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { MicrosoftResourceHealth } from "@azure/arm-resourcehealth";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Lists all historical availability transitions and impacting events for a single resource. Use the nextLink property in the response to get the next page of availability status
15
17
  *
@@ -19,7 +21,8 @@ import { DefaultAzureCredential } from "@azure/identity";
19
21
  function getHealthHistoryByResource() {
20
22
  var e_1, _a;
21
23
  return __awaiter(this, void 0, void 0, function* () {
22
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
24
+ const subscriptionId = process.env["RESOURCEHEALTH_SUBSCRIPTION_ID"] ||
25
+ "00000000-0000-0000-0000-000000000000";
23
26
  const resourceUri = "resourceUri";
24
27
  const credential = new DefaultAzureCredential();
25
28
  const client = new MicrosoftResourceHealth(credential, subscriptionId);
@@ -40,5 +43,10 @@ function getHealthHistoryByResource() {
40
43
  console.log(resArray);
41
44
  });
42
45
  }
43
- getHealthHistoryByResource().catch(console.error);
46
+ function main() {
47
+ return __awaiter(this, void 0, void 0, function* () {
48
+ getHealthHistoryByResource();
49
+ });
50
+ }
51
+ main().catch(console.error);
44
52
  //# sourceMappingURL=availabilityStatusesListSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"availabilityStatusesListSample.js","sourceRoot":"","sources":["../../samples-dev/availabilityStatusesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,0BAA0B;;;QACvC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA,IAAA;gBAAzD,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,0BAA0B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"availabilityStatusesListSample.js","sourceRoot":"","sources":["../../samples-dev/availabilityStatusesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;;QACvC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC;YAC7C,sCAAsC,CAAC;QACzC,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA,IAAA;gBAAzD,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,6 +10,8 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { MicrosoftResourceHealth } from "@azure/arm-resourcehealth";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Gets current availability status for a single resource
15
17
  *
@@ -18,7 +20,8 @@ import { DefaultAzureCredential } from "@azure/identity";
18
20
  */
19
21
  function getCurrentHealthByResource() {
20
22
  return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
23
+ const subscriptionId = process.env["RESOURCEHEALTH_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
22
25
  const resourceUri = "resourceUri";
23
26
  const expand = "recommendedactions";
24
27
  const options = {
@@ -30,5 +33,10 @@ function getCurrentHealthByResource() {
30
33
  console.log(result);
31
34
  });
32
35
  }
33
- getCurrentHealthByResource().catch(console.error);
36
+ function main() {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ getCurrentHealthByResource();
39
+ });
40
+ }
41
+ main().catch(console.error);
34
42
  //# sourceMappingURL=childAvailabilityStatusesGetByResourceSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"childAvailabilityStatusesGetByResourceSample.js","sourceRoot":"","sources":["../../samples-dev/childAvailabilityStatusesGetByResourceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,MAAM,GAAG,oBAAoB,CAAC;QACpC,MAAM,OAAO,GAAyD;YACpE,MAAM;SACP,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,yBAAyB,CAAC,aAAa,CACjE,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,0BAA0B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"childAvailabilityStatusesGetByResourceSample.js","sourceRoot":"","sources":["../../samples-dev/childAvailabilityStatusesGetByResourceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC;YAC7C,sCAAsC,CAAC;QACzC,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,MAAM,GAAG,oBAAoB,CAAC;QACpC,MAAM,OAAO,GAAyD;YACpE,MAAM;SACP,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,yBAAyB,CAAC,aAAa,CACjE,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,6 +10,8 @@ import { __asyncValues, __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { MicrosoftResourceHealth } from "@azure/arm-resourcehealth";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Lists the historical availability statuses for a single child resource. Use the nextLink property in the response to get the next page of availability status
15
17
  *
@@ -19,7 +21,8 @@ import { DefaultAzureCredential } from "@azure/identity";
19
21
  function getHealthHistoryByResource() {
20
22
  var e_1, _a;
21
23
  return __awaiter(this, void 0, void 0, function* () {
22
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
24
+ const subscriptionId = process.env["RESOURCEHEALTH_SUBSCRIPTION_ID"] ||
25
+ "00000000-0000-0000-0000-000000000000";
23
26
  const resourceUri = "resourceUri";
24
27
  const credential = new DefaultAzureCredential();
25
28
  const client = new MicrosoftResourceHealth(credential, subscriptionId);
@@ -40,5 +43,10 @@ function getHealthHistoryByResource() {
40
43
  console.log(resArray);
41
44
  });
42
45
  }
43
- getHealthHistoryByResource().catch(console.error);
46
+ function main() {
47
+ return __awaiter(this, void 0, void 0, function* () {
48
+ getHealthHistoryByResource();
49
+ });
50
+ }
51
+ main().catch(console.error);
44
52
  //# sourceMappingURL=childAvailabilityStatusesListSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"childAvailabilityStatusesListSample.js","sourceRoot":"","sources":["../../samples-dev/childAvailabilityStatusesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,0BAA0B;;;QACvC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,yBAAyB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA,IAAA;gBAA9D,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,0BAA0B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"childAvailabilityStatusesListSample.js","sourceRoot":"","sources":["../../samples-dev/childAvailabilityStatusesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;;QACvC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC;YAC7C,sCAAsC,CAAC;QACzC,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,yBAAyB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA,IAAA;gBAA9D,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,6 +10,8 @@ import { __asyncValues, __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { MicrosoftResourceHealth } from "@azure/arm-resourcehealth";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Lists the all the children and its current health status for a parent resource. Use the nextLink property in the response to get the next page of children current health
15
17
  *
@@ -19,7 +21,8 @@ import { DefaultAzureCredential } from "@azure/identity";
19
21
  function getHealthHistoryByResource() {
20
22
  var e_1, _a;
21
23
  return __awaiter(this, void 0, void 0, function* () {
22
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
24
+ const subscriptionId = process.env["RESOURCEHEALTH_SUBSCRIPTION_ID"] ||
25
+ "00000000-0000-0000-0000-000000000000";
23
26
  const resourceUri = "resourceUri";
24
27
  const credential = new DefaultAzureCredential();
25
28
  const client = new MicrosoftResourceHealth(credential, subscriptionId);
@@ -40,5 +43,10 @@ function getHealthHistoryByResource() {
40
43
  console.log(resArray);
41
44
  });
42
45
  }
43
- getHealthHistoryByResource().catch(console.error);
46
+ function main() {
47
+ return __awaiter(this, void 0, void 0, function* () {
48
+ getHealthHistoryByResource();
49
+ });
50
+ }
51
+ main().catch(console.error);
44
52
  //# sourceMappingURL=childResourcesListSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"childResourcesListSample.js","sourceRoot":"","sources":["../../samples-dev/childResourcesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,0BAA0B;;;QACvC,MAAM,cAAc,GAAG,sCAAsC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AC,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA,IAAA;gBAAnD,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,6 +10,8 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { MicrosoftResourceHealth } from "@azure/arm-resourcehealth";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Gets Azure services' emerging issues.
15
17
  *
@@ -18,12 +20,18 @@ import { DefaultAzureCredential } from "@azure/identity";
18
20
  */
19
21
  function getEmergingIssues() {
20
22
  return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
23
+ const subscriptionId = process.env["RESOURCEHEALTH_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
22
25
  const credential = new DefaultAzureCredential();
23
26
  const client = new MicrosoftResourceHealth(credential, subscriptionId);
24
27
  const result = yield client.emergingIssues.get();
25
28
  console.log(result);
26
29
  });
27
30
  }
28
- getEmergingIssues().catch(console.error);
31
+ function main() {
32
+ return __awaiter(this, void 0, void 0, function* () {
33
+ getEmergingIssues();
34
+ });
35
+ }
36
+ main().catch(console.error);
29
37
  //# sourceMappingURL=emergingIssuesGetSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"emergingIssuesGetSample.js","sourceRoot":"","sources":["../../samples-dev/emergingIssuesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,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AAe,IAAI;;QACjB,iBAAiB,EAAE,CAAC;IACtB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,6 +10,8 @@ import { __asyncValues, __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { MicrosoftResourceHealth } from "@azure/arm-resourcehealth";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Lists Azure services' emerging issues.
15
17
  *
@@ -19,7 +21,8 @@ import { DefaultAzureCredential } from "@azure/identity";
19
21
  function getEmergingIssues() {
20
22
  var e_1, _a;
21
23
  return __awaiter(this, void 0, void 0, function* () {
22
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
24
+ const subscriptionId = process.env["RESOURCEHEALTH_SUBSCRIPTION_ID"] ||
25
+ "00000000-0000-0000-0000-000000000000";
23
26
  const credential = new DefaultAzureCredential();
24
27
  const client = new MicrosoftResourceHealth(credential, subscriptionId);
25
28
  const resArray = new Array();
@@ -39,5 +42,10 @@ function getEmergingIssues() {
39
42
  console.log(resArray);
40
43
  });
41
44
  }
42
- getEmergingIssues().catch(console.error);
45
+ function main() {
46
+ return __awaiter(this, void 0, void 0, function* () {
47
+ getEmergingIssues();
48
+ });
49
+ }
50
+ main().catch(console.error);
43
51
  //# sourceMappingURL=emergingIssuesListSample.js.map