@azure/arm-resourcehealth 4.1.0-alpha.20250619.1 → 4.1.0-alpha.20250718.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist/browser/microsoftResourceHealth.js +23 -5
  2. package/dist/browser/microsoftResourceHealth.js.map +1 -1
  3. package/dist/browser/models/mappers.js +124 -59
  4. package/dist/browser/models/mappers.js.map +1 -1
  5. package/dist/browser/operations/availabilityStatuses.js +67 -118
  6. package/dist/browser/operations/availabilityStatuses.js.map +1 -1
  7. package/dist/browser/operations/childAvailabilityStatuses.js +23 -40
  8. package/dist/browser/operations/childAvailabilityStatuses.js.map +1 -1
  9. package/dist/browser/operations/childResources.js +23 -40
  10. package/dist/browser/operations/childResources.js.map +1 -1
  11. package/dist/browser/operations/emergingIssues.js +23 -40
  12. package/dist/browser/operations/emergingIssues.js.map +1 -1
  13. package/dist/browser/operations/eventOperations.js +1 -0
  14. package/dist/browser/operations/eventOperations.js.map +1 -1
  15. package/dist/browser/operations/eventsOperations.js +67 -118
  16. package/dist/browser/operations/eventsOperations.js.map +1 -1
  17. package/dist/browser/operations/impactedResources.js +45 -79
  18. package/dist/browser/operations/impactedResources.js.map +1 -1
  19. package/dist/browser/operations/metadata.js +23 -40
  20. package/dist/browser/operations/metadata.js.map +1 -1
  21. package/dist/browser/operations/operations.js +1 -0
  22. package/dist/browser/operations/operations.js.map +1 -1
  23. package/dist/browser/operations/securityAdvisoryImpactedResources.js +45 -79
  24. package/dist/browser/operations/securityAdvisoryImpactedResources.js.map +1 -1
  25. package/dist/browser/pagingHelper.js +2 -4
  26. package/dist/browser/pagingHelper.js.map +1 -1
  27. package/dist/commonjs/microsoftResourceHealth.js +23 -5
  28. package/dist/commonjs/microsoftResourceHealth.js.map +1 -1
  29. package/dist/commonjs/models/mappers.js +124 -59
  30. package/dist/commonjs/models/mappers.js.map +1 -1
  31. package/dist/commonjs/operations/availabilityStatuses.js +67 -117
  32. package/dist/commonjs/operations/availabilityStatuses.js.map +1 -1
  33. package/dist/commonjs/operations/childAvailabilityStatuses.js +23 -39
  34. package/dist/commonjs/operations/childAvailabilityStatuses.js.map +1 -1
  35. package/dist/commonjs/operations/childResources.js +23 -39
  36. package/dist/commonjs/operations/childResources.js.map +1 -1
  37. package/dist/commonjs/operations/emergingIssues.js +23 -39
  38. package/dist/commonjs/operations/emergingIssues.js.map +1 -1
  39. package/dist/commonjs/operations/eventOperations.js +1 -0
  40. package/dist/commonjs/operations/eventOperations.js.map +1 -1
  41. package/dist/commonjs/operations/eventsOperations.js +67 -117
  42. package/dist/commonjs/operations/eventsOperations.js.map +1 -1
  43. package/dist/commonjs/operations/impactedResources.js +45 -78
  44. package/dist/commonjs/operations/impactedResources.js.map +1 -1
  45. package/dist/commonjs/operations/metadata.js +23 -39
  46. package/dist/commonjs/operations/metadata.js.map +1 -1
  47. package/dist/commonjs/operations/operations.js +1 -0
  48. package/dist/commonjs/operations/operations.js.map +1 -1
  49. package/dist/commonjs/operations/securityAdvisoryImpactedResources.js +45 -78
  50. package/dist/commonjs/operations/securityAdvisoryImpactedResources.js.map +1 -1
  51. package/dist/commonjs/pagingHelper.js +2 -4
  52. package/dist/commonjs/pagingHelper.js.map +1 -1
  53. package/dist/commonjs/tsdoc-metadata.json +11 -11
  54. package/dist/esm/microsoftResourceHealth.js +23 -5
  55. package/dist/esm/microsoftResourceHealth.js.map +1 -1
  56. package/dist/esm/models/mappers.js +124 -59
  57. package/dist/esm/models/mappers.js.map +1 -1
  58. package/dist/esm/operations/availabilityStatuses.js +67 -118
  59. package/dist/esm/operations/availabilityStatuses.js.map +1 -1
  60. package/dist/esm/operations/childAvailabilityStatuses.js +23 -40
  61. package/dist/esm/operations/childAvailabilityStatuses.js.map +1 -1
  62. package/dist/esm/operations/childResources.js +23 -40
  63. package/dist/esm/operations/childResources.js.map +1 -1
  64. package/dist/esm/operations/emergingIssues.js +23 -40
  65. package/dist/esm/operations/emergingIssues.js.map +1 -1
  66. package/dist/esm/operations/eventOperations.js +1 -0
  67. package/dist/esm/operations/eventOperations.js.map +1 -1
  68. package/dist/esm/operations/eventsOperations.js +67 -118
  69. package/dist/esm/operations/eventsOperations.js.map +1 -1
  70. package/dist/esm/operations/impactedResources.js +45 -79
  71. package/dist/esm/operations/impactedResources.js.map +1 -1
  72. package/dist/esm/operations/metadata.js +23 -40
  73. package/dist/esm/operations/metadata.js.map +1 -1
  74. package/dist/esm/operations/operations.js +1 -0
  75. package/dist/esm/operations/operations.js.map +1 -1
  76. package/dist/esm/operations/securityAdvisoryImpactedResources.js +45 -79
  77. package/dist/esm/operations/securityAdvisoryImpactedResources.js.map +1 -1
  78. package/dist/esm/pagingHelper.js +2 -4
  79. package/dist/esm/pagingHelper.js.map +1 -1
  80. package/dist/react-native/microsoftResourceHealth.js +23 -5
  81. package/dist/react-native/microsoftResourceHealth.js.map +1 -1
  82. package/dist/react-native/models/mappers.js +124 -59
  83. package/dist/react-native/models/mappers.js.map +1 -1
  84. package/dist/react-native/operations/availabilityStatuses.js +67 -118
  85. package/dist/react-native/operations/availabilityStatuses.js.map +1 -1
  86. package/dist/react-native/operations/childAvailabilityStatuses.js +23 -40
  87. package/dist/react-native/operations/childAvailabilityStatuses.js.map +1 -1
  88. package/dist/react-native/operations/childResources.js +23 -40
  89. package/dist/react-native/operations/childResources.js.map +1 -1
  90. package/dist/react-native/operations/emergingIssues.js +23 -40
  91. package/dist/react-native/operations/emergingIssues.js.map +1 -1
  92. package/dist/react-native/operations/eventOperations.js +1 -0
  93. package/dist/react-native/operations/eventOperations.js.map +1 -1
  94. package/dist/react-native/operations/eventsOperations.js +67 -118
  95. package/dist/react-native/operations/eventsOperations.js.map +1 -1
  96. package/dist/react-native/operations/impactedResources.js +45 -79
  97. package/dist/react-native/operations/impactedResources.js.map +1 -1
  98. package/dist/react-native/operations/metadata.js +23 -40
  99. package/dist/react-native/operations/metadata.js.map +1 -1
  100. package/dist/react-native/operations/operations.js +1 -0
  101. package/dist/react-native/operations/operations.js.map +1 -1
  102. package/dist/react-native/operations/securityAdvisoryImpactedResources.js +45 -79
  103. package/dist/react-native/operations/securityAdvisoryImpactedResources.js.map +1 -1
  104. package/dist/react-native/pagingHelper.js +2 -4
  105. package/dist/react-native/pagingHelper.js.map +1 -1
  106. package/package.json +2 -2
  107. /package/review/{arm-resourcehealth.api.md → arm-resourcehealth-node.api.md} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"microsoftResourceHealth.js","sourceRoot":"","sources":["../../src/microsoftResourceHealth.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAW+B;AAe/B,MAAa,uBAAwB,SAAQ,UAAU,CAAC,aAAa;IAoBnE,YACE,WAAqC,EACrC,uBAAwE,EACxE,OAA+C;;QAE/C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAED,IAAI,cAAkC,CAAC;QAEvC,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YAChD,cAAc,GAAG,uBAAuB,CAAC;QAC3C,CAAC;aAAM,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YACvD,OAAO,GAAG,uBAAuB,CAAC;QACpC,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA0C;YACtD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,0CAA0C,CAAC;QAClE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC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AAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAYF;AAzJD,0DAyJC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AvailabilityStatusesImpl,\n OperationsImpl,\n MetadataImpl,\n ImpactedResourcesImpl,\n SecurityAdvisoryImpactedResourcesImpl,\n EventsOperationsImpl,\n EventOperationsImpl,\n ChildAvailabilityStatusesImpl,\n ChildResourcesImpl,\n EmergingIssuesImpl\n} from \"./operations/index.js\";\nimport {\n AvailabilityStatuses,\n Operations,\n Metadata,\n ImpactedResources,\n SecurityAdvisoryImpactedResources,\n EventsOperations,\n EventOperations,\n ChildAvailabilityStatuses,\n ChildResources,\n EmergingIssues\n} from \"./operationsInterfaces/index.js\";\nimport { MicrosoftResourceHealthOptionalParams } from \"./models/index.js\";\n\nexport class MicrosoftResourceHealth extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the MicrosoftResourceHealth class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: MicrosoftResourceHealthOptionalParams\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: MicrosoftResourceHealthOptionalParams\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?: MicrosoftResourceHealthOptionalParams | string,\n options?: MicrosoftResourceHealthOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: MicrosoftResourceHealthOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-resourcehealth/4.1.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-10-01-preview\";\n this.availabilityStatuses = new AvailabilityStatusesImpl(this);\n this.operations = new OperationsImpl(this);\n this.metadata = new MetadataImpl(this);\n this.impactedResources = new ImpactedResourcesImpl(this);\n this.securityAdvisoryImpactedResources = new SecurityAdvisoryImpactedResourcesImpl(\n this\n );\n this.eventsOperations = new EventsOperationsImpl(this);\n this.eventOperations = new EventOperationsImpl(this);\n this.childAvailabilityStatuses = new ChildAvailabilityStatusesImpl(this);\n this.childResources = new ChildResourcesImpl(this);\n this.emergingIssues = new EmergingIssuesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n availabilityStatuses: AvailabilityStatuses;\n operations: Operations;\n metadata: Metadata;\n impactedResources: ImpactedResources;\n securityAdvisoryImpactedResources: SecurityAdvisoryImpactedResources;\n eventsOperations: EventsOperations;\n eventOperations: EventOperations;\n childAvailabilityStatuses: ChildAvailabilityStatuses;\n childResources: ChildResources;\n emergingIssues: EmergingIssues;\n}\n"]}
1
+ {"version":3,"file":"microsoftResourceHealth.js","sourceRoot":"","sources":["../../src/microsoftResourceHealth.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAW+B;AAe/B,MAAa,uBAAwB,SAAQ,UAAU,CAAC,aAAa;IACnE,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAU;IAiBxB,YACE,WAAqC,EACrC,uBAAwE,EACxE,OAA+C;QAE/C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAED,IAAI,cAAkC,CAAC;QAEvC,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YAChD,cAAc,GAAG,uBAAuB,CAAC;QAC3C,CAAC;aAAM,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YACvD,OAAO,GAAG,uBAAuB,CAAC;QACpC,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA0C;YACtD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM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,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,oBAAoB,CAAuB;IAC3C,UAAU,CAAa;IACvB,QAAQ,CAAW;IACnB,iBAAiB,CAAoB;IACrC,iCAAiC,CAAoC;IACrE,gBAAgB,CAAmB;IACnC,eAAe,CAAkB;IACjC,yBAAyB,CAA4B;IACrD,cAAc,CAAiB;IAC/B,cAAc,CAAiB;CAChC;AAzJD,0DAyJC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AvailabilityStatusesImpl,\n OperationsImpl,\n MetadataImpl,\n ImpactedResourcesImpl,\n SecurityAdvisoryImpactedResourcesImpl,\n EventsOperationsImpl,\n EventOperationsImpl,\n ChildAvailabilityStatusesImpl,\n ChildResourcesImpl,\n EmergingIssuesImpl\n} from \"./operations/index.js\";\nimport {\n AvailabilityStatuses,\n Operations,\n Metadata,\n ImpactedResources,\n SecurityAdvisoryImpactedResources,\n EventsOperations,\n EventOperations,\n ChildAvailabilityStatuses,\n ChildResources,\n EmergingIssues\n} from \"./operationsInterfaces/index.js\";\nimport { MicrosoftResourceHealthOptionalParams } from \"./models/index.js\";\n\nexport class MicrosoftResourceHealth extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the MicrosoftResourceHealth class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: MicrosoftResourceHealthOptionalParams\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: MicrosoftResourceHealthOptionalParams\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?: MicrosoftResourceHealthOptionalParams | string,\n options?: MicrosoftResourceHealthOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: MicrosoftResourceHealthOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-resourcehealth/4.1.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-10-01-preview\";\n this.availabilityStatuses = new AvailabilityStatusesImpl(this);\n this.operations = new OperationsImpl(this);\n this.metadata = new MetadataImpl(this);\n this.impactedResources = new ImpactedResourcesImpl(this);\n this.securityAdvisoryImpactedResources = new SecurityAdvisoryImpactedResourcesImpl(\n this\n );\n this.eventsOperations = new EventsOperationsImpl(this);\n this.eventOperations = new EventOperationsImpl(this);\n this.childAvailabilityStatuses = new ChildAvailabilityStatusesImpl(this);\n this.childResources = new ChildResourcesImpl(this);\n this.emergingIssues = new EmergingIssuesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n availabilityStatuses: AvailabilityStatuses;\n operations: Operations;\n metadata: Metadata;\n impactedResources: ImpactedResources;\n securityAdvisoryImpactedResources: SecurityAdvisoryImpactedResources;\n eventsOperations: EventsOperations;\n eventOperations: EventOperations;\n childAvailabilityStatuses: ChildAvailabilityStatuses;\n childResources: ChildResources;\n emergingIssues: EmergingIssues;\n}\n"]}
@@ -1148,19 +1148,24 @@ exports.ProxyResource = {
1148
1148
  type: {
1149
1149
  name: "Composite",
1150
1150
  className: "ProxyResource",
1151
- modelProperties: Object.assign({}, exports.Resource.type.modelProperties)
1151
+ modelProperties: {
1152
+ ...exports.Resource.type.modelProperties
1153
+ }
1152
1154
  }
1153
1155
  };
1154
1156
  exports.MetadataEntity = {
1155
1157
  type: {
1156
1158
  name: "Composite",
1157
1159
  className: "MetadataEntity",
1158
- modelProperties: Object.assign(Object.assign({}, exports.ProxyResource.type.modelProperties), { displayName: {
1160
+ modelProperties: {
1161
+ ...exports.ProxyResource.type.modelProperties,
1162
+ displayName: {
1159
1163
  serializedName: "properties.displayName",
1160
1164
  type: {
1161
1165
  name: "String"
1162
1166
  }
1163
- }, dependsOn: {
1167
+ },
1168
+ dependsOn: {
1164
1169
  serializedName: "properties.dependsOn",
1165
1170
  type: {
1166
1171
  name: "Sequence",
@@ -1170,7 +1175,8 @@ exports.MetadataEntity = {
1170
1175
  }
1171
1176
  }
1172
1177
  }
1173
- }, applicableScenarios: {
1178
+ },
1179
+ applicableScenarios: {
1174
1180
  serializedName: "properties.applicableScenarios",
1175
1181
  type: {
1176
1182
  name: "Sequence",
@@ -1180,7 +1186,8 @@ exports.MetadataEntity = {
1180
1186
  }
1181
1187
  }
1182
1188
  }
1183
- }, supportedValues: {
1189
+ },
1190
+ supportedValues: {
1184
1191
  serializedName: "properties.supportedValues",
1185
1192
  type: {
1186
1193
  name: "Sequence",
@@ -1191,62 +1198,73 @@ exports.MetadataEntity = {
1191
1198
  }
1192
1199
  }
1193
1200
  }
1194
- } })
1201
+ }
1202
+ }
1195
1203
  }
1196
1204
  };
1197
1205
  exports.EventImpactedResource = {
1198
1206
  type: {
1199
1207
  name: "Composite",
1200
1208
  className: "EventImpactedResource",
1201
- modelProperties: Object.assign(Object.assign({}, exports.ProxyResource.type.modelProperties), { targetResourceType: {
1209
+ modelProperties: {
1210
+ ...exports.ProxyResource.type.modelProperties,
1211
+ targetResourceType: {
1202
1212
  serializedName: "properties.targetResourceType",
1203
1213
  readOnly: true,
1204
1214
  type: {
1205
1215
  name: "String"
1206
1216
  }
1207
- }, targetResourceId: {
1217
+ },
1218
+ targetResourceId: {
1208
1219
  serializedName: "properties.targetResourceId",
1209
1220
  readOnly: true,
1210
1221
  type: {
1211
1222
  name: "String"
1212
1223
  }
1213
- }, targetRegion: {
1224
+ },
1225
+ targetRegion: {
1214
1226
  serializedName: "properties.targetRegion",
1215
1227
  readOnly: true,
1216
1228
  type: {
1217
1229
  name: "String"
1218
1230
  }
1219
- }, resourceName: {
1231
+ },
1232
+ resourceName: {
1220
1233
  serializedName: "properties.resourceName",
1221
1234
  readOnly: true,
1222
1235
  type: {
1223
1236
  name: "String"
1224
1237
  }
1225
- }, resourceGroup: {
1238
+ },
1239
+ resourceGroup: {
1226
1240
  serializedName: "properties.resourceGroup",
1227
1241
  readOnly: true,
1228
1242
  type: {
1229
1243
  name: "String"
1230
1244
  }
1231
- }, status: {
1245
+ },
1246
+ status: {
1232
1247
  serializedName: "properties.status",
1233
1248
  readOnly: true,
1234
1249
  type: {
1235
1250
  name: "String"
1236
1251
  }
1237
- }, maintenanceStartTime: {
1252
+ },
1253
+ maintenanceStartTime: {
1238
1254
  serializedName: "properties.maintenanceStartTime",
1239
1255
  readOnly: true,
1240
1256
  type: {
1241
1257
  name: "String"
1242
1258
  }
1243
- }, maintenanceEndTime: {
1259
+ },
1260
+ maintenanceEndTime: {
1244
1261
  serializedName: "properties.maintenanceEndTime",
1245
1262
  readOnly: true,
1246
1263
  type: {
1247
1264
  name: "String"
1248
1265
  }
1249
- }, info: {
1266
+ },
1267
+ info: {
1250
1268
  serializedName: "properties.info",
1251
1269
  type: {
1252
1270
  name: "Sequence",
@@ -1257,75 +1275,90 @@ exports.EventImpactedResource = {
1257
1275
  }
1258
1276
  }
1259
1277
  }
1260
- } })
1278
+ }
1279
+ }
1261
1280
  }
1262
1281
  };
1263
1282
  exports.Event = {
1264
1283
  type: {
1265
1284
  name: "Composite",
1266
1285
  className: "Event",
1267
- modelProperties: Object.assign(Object.assign({}, exports.ProxyResource.type.modelProperties), { eventType: {
1286
+ modelProperties: {
1287
+ ...exports.ProxyResource.type.modelProperties,
1288
+ eventType: {
1268
1289
  serializedName: "properties.eventType",
1269
1290
  type: {
1270
1291
  name: "String"
1271
1292
  }
1272
- }, eventSubType: {
1293
+ },
1294
+ eventSubType: {
1273
1295
  serializedName: "properties.eventSubType",
1274
1296
  type: {
1275
1297
  name: "String"
1276
1298
  }
1277
- }, eventSource: {
1299
+ },
1300
+ eventSource: {
1278
1301
  serializedName: "properties.eventSource",
1279
1302
  type: {
1280
1303
  name: "String"
1281
1304
  }
1282
- }, status: {
1305
+ },
1306
+ status: {
1283
1307
  serializedName: "properties.status",
1284
1308
  type: {
1285
1309
  name: "String"
1286
1310
  }
1287
- }, title: {
1311
+ },
1312
+ title: {
1288
1313
  serializedName: "properties.title",
1289
1314
  type: {
1290
1315
  name: "String"
1291
1316
  }
1292
- }, summary: {
1317
+ },
1318
+ summary: {
1293
1319
  serializedName: "properties.summary",
1294
1320
  type: {
1295
1321
  name: "String"
1296
1322
  }
1297
- }, header: {
1323
+ },
1324
+ header: {
1298
1325
  serializedName: "properties.header",
1299
1326
  type: {
1300
1327
  name: "String"
1301
1328
  }
1302
- }, level: {
1329
+ },
1330
+ level: {
1303
1331
  serializedName: "properties.level",
1304
1332
  type: {
1305
1333
  name: "String"
1306
1334
  }
1307
- }, eventLevel: {
1335
+ },
1336
+ eventLevel: {
1308
1337
  serializedName: "properties.eventLevel",
1309
1338
  type: {
1310
1339
  name: "String"
1311
1340
  }
1312
- }, externalIncidentId: {
1341
+ },
1342
+ externalIncidentId: {
1313
1343
  serializedName: "properties.externalIncidentId",
1314
1344
  type: {
1315
1345
  name: "String"
1316
1346
  }
1317
- }, reason: {
1347
+ },
1348
+ reason: {
1318
1349
  serializedName: "properties.reason",
1319
1350
  type: {
1320
1351
  name: "String"
1321
1352
  }
1322
- }, article: {
1353
+ },
1354
+ article: {
1323
1355
  serializedName: "properties.article",
1324
1356
  type: {
1325
1357
  name: "Composite",
1326
1358
  className: "EventPropertiesArticle"
1327
1359
  }
1328
- }, links: {
1360
+ },
1361
+ links: {
1329
1362
  serializedName: "properties.links",
1330
1363
  type: {
1331
1364
  name: "Sequence",
@@ -1336,17 +1369,20 @@ exports.Event = {
1336
1369
  }
1337
1370
  }
1338
1371
  }
1339
- }, impactStartTime: {
1372
+ },
1373
+ impactStartTime: {
1340
1374
  serializedName: "properties.impactStartTime",
1341
1375
  type: {
1342
1376
  name: "DateTime"
1343
1377
  }
1344
- }, impactMitigationTime: {
1378
+ },
1379
+ impactMitigationTime: {
1345
1380
  serializedName: "properties.impactMitigationTime",
1346
1381
  type: {
1347
1382
  name: "DateTime"
1348
1383
  }
1349
- }, impact: {
1384
+ },
1385
+ impact: {
1350
1386
  serializedName: "properties.impact",
1351
1387
  type: {
1352
1388
  name: "Sequence",
@@ -1357,13 +1393,15 @@ exports.Event = {
1357
1393
  }
1358
1394
  }
1359
1395
  }
1360
- }, recommendedActions: {
1396
+ },
1397
+ recommendedActions: {
1361
1398
  serializedName: "properties.recommendedActions",
1362
1399
  type: {
1363
1400
  name: "Composite",
1364
1401
  className: "EventPropertiesRecommendedActions"
1365
1402
  }
1366
- }, faqs: {
1403
+ },
1404
+ faqs: {
1367
1405
  serializedName: "properties.faqs",
1368
1406
  type: {
1369
1407
  name: "Sequence",
@@ -1374,90 +1412,108 @@ exports.Event = {
1374
1412
  }
1375
1413
  }
1376
1414
  }
1377
- }, isHIR: {
1415
+ },
1416
+ isHIR: {
1378
1417
  serializedName: "properties.isHIR",
1379
1418
  type: {
1380
1419
  name: "Boolean"
1381
1420
  }
1382
- }, enableMicrosoftSupport: {
1421
+ },
1422
+ enableMicrosoftSupport: {
1383
1423
  serializedName: "properties.enableMicrosoftSupport",
1384
1424
  type: {
1385
1425
  name: "Boolean"
1386
1426
  }
1387
- }, description: {
1427
+ },
1428
+ description: {
1388
1429
  serializedName: "properties.description",
1389
1430
  type: {
1390
1431
  name: "String"
1391
1432
  }
1392
- }, platformInitiated: {
1433
+ },
1434
+ platformInitiated: {
1393
1435
  serializedName: "properties.platformInitiated",
1394
1436
  type: {
1395
1437
  name: "Boolean"
1396
1438
  }
1397
- }, enableChatWithUs: {
1439
+ },
1440
+ enableChatWithUs: {
1398
1441
  serializedName: "properties.enableChatWithUs",
1399
1442
  type: {
1400
1443
  name: "Boolean"
1401
1444
  }
1402
- }, priority: {
1445
+ },
1446
+ priority: {
1403
1447
  serializedName: "properties.priority",
1404
1448
  type: {
1405
1449
  name: "Number"
1406
1450
  }
1407
- }, lastUpdateTime: {
1451
+ },
1452
+ lastUpdateTime: {
1408
1453
  serializedName: "properties.lastUpdateTime",
1409
1454
  type: {
1410
1455
  name: "DateTime"
1411
1456
  }
1412
- }, hirStage: {
1457
+ },
1458
+ hirStage: {
1413
1459
  serializedName: "properties.hirStage",
1414
1460
  type: {
1415
1461
  name: "String"
1416
1462
  }
1417
- }, additionalInformation: {
1463
+ },
1464
+ additionalInformation: {
1418
1465
  serializedName: "properties.additionalInformation",
1419
1466
  type: {
1420
1467
  name: "Composite",
1421
1468
  className: "EventPropertiesAdditionalInformation"
1422
1469
  }
1423
- }, duration: {
1470
+ },
1471
+ duration: {
1424
1472
  serializedName: "properties.duration",
1425
1473
  type: {
1426
1474
  name: "Number"
1427
1475
  }
1428
- }, impactType: {
1476
+ },
1477
+ impactType: {
1429
1478
  serializedName: "properties.impactType",
1430
1479
  type: {
1431
1480
  name: "String"
1432
1481
  }
1433
- }, maintenanceId: {
1482
+ },
1483
+ maintenanceId: {
1434
1484
  serializedName: "properties.maintenanceId",
1435
1485
  type: {
1436
1486
  name: "String"
1437
1487
  }
1438
- }, maintenanceType: {
1488
+ },
1489
+ maintenanceType: {
1439
1490
  serializedName: "properties.maintenanceType",
1440
1491
  type: {
1441
1492
  name: "String"
1442
1493
  }
1443
- }, argQuery: {
1494
+ },
1495
+ argQuery: {
1444
1496
  serializedName: "properties.argQuery",
1445
1497
  type: {
1446
1498
  name: "String"
1447
1499
  }
1448
- } })
1500
+ }
1501
+ }
1449
1502
  }
1450
1503
  };
1451
1504
  exports.EmergingIssuesGetResult = {
1452
1505
  type: {
1453
1506
  name: "Composite",
1454
1507
  className: "EmergingIssuesGetResult",
1455
- modelProperties: Object.assign(Object.assign({}, exports.ProxyResource.type.modelProperties), { refreshTimestamp: {
1508
+ modelProperties: {
1509
+ ...exports.ProxyResource.type.modelProperties,
1510
+ refreshTimestamp: {
1456
1511
  serializedName: "properties.refreshTimestamp",
1457
1512
  type: {
1458
1513
  name: "DateTime"
1459
1514
  }
1460
- }, statusBanners: {
1515
+ },
1516
+ statusBanners: {
1461
1517
  serializedName: "properties.statusBanners",
1462
1518
  type: {
1463
1519
  name: "Sequence",
@@ -1468,7 +1524,8 @@ exports.EmergingIssuesGetResult = {
1468
1524
  }
1469
1525
  }
1470
1526
  }
1471
- }, statusActiveEvents: {
1527
+ },
1528
+ statusActiveEvents: {
1472
1529
  serializedName: "properties.statusActiveEvents",
1473
1530
  type: {
1474
1531
  name: "Sequence",
@@ -1479,39 +1536,47 @@ exports.EmergingIssuesGetResult = {
1479
1536
  }
1480
1537
  }
1481
1538
  }
1482
- } })
1539
+ }
1540
+ }
1483
1541
  }
1484
1542
  };
1485
1543
  exports.ImpactedResourceStatus = {
1486
1544
  type: {
1487
1545
  name: "Composite",
1488
1546
  className: "ImpactedResourceStatus",
1489
- modelProperties: Object.assign(Object.assign({}, exports.ProxyResource.type.modelProperties), { availabilityState: {
1547
+ modelProperties: {
1548
+ ...exports.ProxyResource.type.modelProperties,
1549
+ availabilityState: {
1490
1550
  serializedName: "properties.availabilityState",
1491
1551
  type: {
1492
1552
  name: "String"
1493
1553
  }
1494
- }, title: {
1554
+ },
1555
+ title: {
1495
1556
  serializedName: "properties.title",
1496
1557
  type: {
1497
1558
  name: "String"
1498
1559
  }
1499
- }, summary: {
1560
+ },
1561
+ summary: {
1500
1562
  serializedName: "properties.summary",
1501
1563
  type: {
1502
1564
  name: "String"
1503
1565
  }
1504
- }, reasonType: {
1566
+ },
1567
+ reasonType: {
1505
1568
  serializedName: "properties.reasonType",
1506
1569
  type: {
1507
1570
  name: "String"
1508
1571
  }
1509
- }, occurredTime: {
1572
+ },
1573
+ occurredTime: {
1510
1574
  serializedName: "properties.occurredTime",
1511
1575
  type: {
1512
1576
  name: "DateTime"
1513
1577
  }
1514
- } })
1578
+ }
1579
+ }
1515
1580
  }
1516
1581
  };
1517
1582
  //# sourceMappingURL=mappers.js.map