@azure/arm-resourcehealth 1.1.0 → 3.0.0-alpha.20211124.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +21 -21
  3. package/README.md +98 -100
  4. package/dist/index.js +1811 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +6 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +13 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/microsoftResourceHealth.d.ts +20 -0
  13. package/dist-esm/src/microsoftResourceHealth.d.ts.map +1 -0
  14. package/dist-esm/src/microsoftResourceHealth.js +27 -0
  15. package/dist-esm/src/microsoftResourceHealth.js.map +1 -0
  16. package/dist-esm/src/microsoftResourceHealthContext.d.ts +17 -0
  17. package/dist-esm/src/microsoftResourceHealthContext.d.ts.map +1 -0
  18. package/dist-esm/src/microsoftResourceHealthContext.js +50 -0
  19. package/dist-esm/src/microsoftResourceHealthContext.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +402 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +22 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +21 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +393 -170
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +12 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/parameters.js +52 -36
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/availabilityStatuses.d.ts +102 -0
  33. package/dist-esm/src/operations/availabilityStatuses.d.ts.map +1 -0
  34. package/dist-esm/src/operations/availabilityStatuses.js +407 -0
  35. package/dist-esm/src/operations/availabilityStatuses.js.map +1 -0
  36. package/dist-esm/src/operations/childAvailabilityStatuses.d.ts +51 -0
  37. package/dist-esm/src/operations/childAvailabilityStatuses.d.ts.map +1 -0
  38. package/dist-esm/src/operations/childAvailabilityStatuses.js +173 -0
  39. package/dist-esm/src/operations/childAvailabilityStatuses.js.map +1 -0
  40. package/dist-esm/src/operations/childResources.d.ts +43 -0
  41. package/dist-esm/src/operations/childResources.d.ts.map +1 -0
  42. package/dist-esm/src/operations/childResources.js +143 -0
  43. package/dist-esm/src/operations/childResources.js.map +1 -0
  44. package/dist-esm/src/operations/emergingIssues.d.ts +37 -0
  45. package/dist-esm/src/operations/emergingIssues.d.ts.map +1 -0
  46. package/dist-esm/src/operations/emergingIssues.js +143 -0
  47. package/dist-esm/src/operations/emergingIssues.js.map +1 -0
  48. package/dist-esm/src/operations/index.d.ts +6 -0
  49. package/dist-esm/src/operations/index.d.ts.map +1 -0
  50. package/dist-esm/src/operations/index.js +13 -0
  51. package/dist-esm/src/operations/index.js.map +1 -0
  52. package/dist-esm/src/operations/operations.d.ts +18 -0
  53. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  54. package/dist-esm/src/operations/operations.js +46 -0
  55. package/dist-esm/src/operations/operations.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts +40 -0
  57. package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/availabilityStatuses.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/availabilityStatuses.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.d.ts +23 -0
  61. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/childResources.d.ts +15 -0
  65. package/dist-esm/src/operationsInterfaces/childResources.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/childResources.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/childResources.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts +16 -0
  69. package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/emergingIssues.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/emergingIssues.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  73. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  75. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
  77. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  80. package/dist-esm/test/sampleTest.d.ts +2 -0
  81. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  82. package/dist-esm/test/sampleTest.js +40 -0
  83. package/dist-esm/test/sampleTest.js.map +1 -0
  84. package/package.json +69 -25
  85. package/review/arm-resourcehealth.api.md +396 -0
  86. package/rollup.config.js +184 -27
  87. package/src/index.ts +13 -0
  88. package/src/microsoftResourceHealth.ts +53 -0
  89. package/src/microsoftResourceHealthContext.ts +71 -0
  90. package/src/models/index.ts +478 -0
  91. package/{lib → src}/models/mappers.ts +409 -175
  92. package/src/models/parameters.ts +127 -0
  93. package/src/operations/availabilityStatuses.ts +479 -0
  94. package/src/operations/childAvailabilityStatuses.ts +210 -0
  95. package/src/operations/childResources.ts +168 -0
  96. package/src/operations/emergingIssues.ts +165 -0
  97. package/src/operations/index.ts +13 -0
  98. package/src/operations/operations.ts +59 -0
  99. package/src/operationsInterfaces/availabilityStatuses.ts +67 -0
  100. package/src/operationsInterfaces/childAvailabilityStatuses.ts +43 -0
  101. package/src/operationsInterfaces/childResources.ts +30 -0
  102. package/src/operationsInterfaces/emergingIssues.ts +34 -0
  103. package/src/operationsInterfaces/index.ts +13 -0
  104. package/src/operationsInterfaces/operations.ts +21 -0
  105. package/tsconfig.json +4 -4
  106. package/types/arm-resourcehealth.d.ts +588 -0
  107. package/types/tsdoc-metadata.json +11 -0
  108. package/dist/arm-resourcehealth.js +0 -1037
  109. package/dist/arm-resourcehealth.js.map +0 -1
  110. package/dist/arm-resourcehealth.min.js +0 -1
  111. package/dist/arm-resourcehealth.min.js.map +0 -1
  112. package/esm/microsoftResourceHealth.d.ts +0 -20
  113. package/esm/microsoftResourceHealth.d.ts.map +0 -1
  114. package/esm/microsoftResourceHealth.js +0 -35
  115. package/esm/microsoftResourceHealth.js.map +0 -1
  116. package/esm/microsoftResourceHealthContext.d.ts +0 -17
  117. package/esm/microsoftResourceHealthContext.d.ts.map +0 -1
  118. package/esm/microsoftResourceHealthContext.js +0 -57
  119. package/esm/microsoftResourceHealthContext.js.map +0 -1
  120. package/esm/models/availabilityStatusesMappers.d.ts +0 -2
  121. package/esm/models/availabilityStatusesMappers.d.ts.map +0 -1
  122. package/esm/models/availabilityStatusesMappers.js +0 -11
  123. package/esm/models/availabilityStatusesMappers.js.map +0 -1
  124. package/esm/models/index.d.ts +0 -589
  125. package/esm/models/index.d.ts.map +0 -1
  126. package/esm/models/index.js +0 -10
  127. package/esm/models/index.js.map +0 -1
  128. package/esm/models/mappers.d.ts +0 -16
  129. package/esm/models/mappers.d.ts.map +0 -1
  130. package/esm/models/mappers.js.map +0 -1
  131. package/esm/models/operationsMappers.d.ts +0 -2
  132. package/esm/models/operationsMappers.d.ts.map +0 -1
  133. package/esm/models/operationsMappers.js +0 -11
  134. package/esm/models/operationsMappers.js.map +0 -1
  135. package/esm/models/parameters.d.ts +0 -10
  136. package/esm/models/parameters.d.ts.map +0 -1
  137. package/esm/models/parameters.js.map +0 -1
  138. package/esm/operations/availabilityStatuses.d.ts +0 -166
  139. package/esm/operations/availabilityStatuses.d.ts.map +0 -1
  140. package/esm/operations/availabilityStatuses.js +0 -225
  141. package/esm/operations/availabilityStatuses.js.map +0 -1
  142. package/esm/operations/index.d.ts +0 -3
  143. package/esm/operations/index.d.ts.map +0 -1
  144. package/esm/operations/index.js +0 -12
  145. package/esm/operations/index.js.map +0 -1
  146. package/esm/operations/operations.d.ts +0 -28
  147. package/esm/operations/operations.d.ts.map +0 -1
  148. package/esm/operations/operations.js +0 -51
  149. package/esm/operations/operations.js.map +0 -1
  150. package/lib/microsoftResourceHealth.ts +0 -45
  151. package/lib/microsoftResourceHealthContext.ts +0 -63
  152. package/lib/models/availabilityStatusesMappers.ts +0 -22
  153. package/lib/models/index.ts +0 -628
  154. package/lib/models/operationsMappers.ts +0 -17
  155. package/lib/models/parameters.ts +0 -98
  156. package/lib/operations/availabilityStatuses.ts +0 -416
  157. package/lib/operations/index.ts +0 -12
  158. package/lib/operations/operations.ts +0 -74
@@ -1 +0,0 @@
1
- {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../lib/models/parameters.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,kBASnC,CAAC;AACF,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,uBAS/B,CAAC;AACF,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,uBAW3B,CAAC;AACF,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,uBAW3B,CAAC;AACF,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,qBAUjC,CAAC;AACF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,qBAStC,CAAC;AACF,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,qBAUhC,CAAC;AACF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,qBASnC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../lib/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,MAAM,CAAC,IAAM,cAAc,GAA8B;IACvD,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,cAAc,EAAE,iBAAiB;QACjC,YAAY,EAAE,OAAO;QACrB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,UAAU,GAAmC;IACxD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,MAAM,GAAmC;IACpD,aAAa,EAAE;QACb,SAAS;QACT,QAAQ;KACT;IACD,MAAM,EAAE;QACN,cAAc,EAAE,SAAS;QACzB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,MAAM,GAAmC;IACpD,aAAa,EAAE;QACb,SAAS;QACT,QAAQ;KACT;IACD,MAAM,EAAE;QACN,cAAc,EAAE,SAAS;QACzB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,YAAY,GAAiC;IACxD,aAAa,EAAE,cAAc;IAC7B,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,UAAU;QAC1B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AACF,MAAM,CAAC,IAAM,iBAAiB,GAAiC;IAC7D,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,mBAAmB;QACnC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,WAAW,GAAiC;IACvD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AACF,MAAM,CAAC,IAAM,cAAc,GAAiC;IAC1D,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,gBAAgB;QAChC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC"}
@@ -1,166 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { MicrosoftResourceHealthContext } from "../microsoftResourceHealthContext";
4
- /** Class representing a AvailabilityStatuses. */
5
- export declare class AvailabilityStatuses {
6
- private readonly client;
7
- /**
8
- * Create a AvailabilityStatuses.
9
- * @param {MicrosoftResourceHealthContext} client Reference to the service client.
10
- */
11
- constructor(client: MicrosoftResourceHealthContext);
12
- /**
13
- * Lists the current availability status for all the resources in the subscription. Use the
14
- * nextLink property in the response to get the next page of availability statuses.
15
- * @param [options] The optional parameters
16
- * @returns Promise<Models.AvailabilityStatusesListBySubscriptionIdResponse>
17
- */
18
- listBySubscriptionId(options?: Models.AvailabilityStatusesListBySubscriptionIdOptionalParams): Promise<Models.AvailabilityStatusesListBySubscriptionIdResponse>;
19
- /**
20
- * @param callback The callback
21
- */
22
- listBySubscriptionId(callback: msRest.ServiceCallback<Models.AvailabilityStatusListResult>): void;
23
- /**
24
- * @param options The optional parameters
25
- * @param callback The callback
26
- */
27
- listBySubscriptionId(options: Models.AvailabilityStatusesListBySubscriptionIdOptionalParams, callback: msRest.ServiceCallback<Models.AvailabilityStatusListResult>): void;
28
- /**
29
- * Lists the current availability status for all the resources in the resource group. Use the
30
- * nextLink property in the response to get the next page of availability statuses.
31
- * @param resourceGroupName The name of the resource group.
32
- * @param [options] The optional parameters
33
- * @returns Promise<Models.AvailabilityStatusesListByResourceGroupResponse>
34
- */
35
- listByResourceGroup(resourceGroupName: string, options?: Models.AvailabilityStatusesListByResourceGroupOptionalParams): Promise<Models.AvailabilityStatusesListByResourceGroupResponse>;
36
- /**
37
- * @param resourceGroupName The name of the resource group.
38
- * @param callback The callback
39
- */
40
- listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.AvailabilityStatusListResult>): void;
41
- /**
42
- * @param resourceGroupName The name of the resource group.
43
- * @param options The optional parameters
44
- * @param callback The callback
45
- */
46
- listByResourceGroup(resourceGroupName: string, options: Models.AvailabilityStatusesListByResourceGroupOptionalParams, callback: msRest.ServiceCallback<Models.AvailabilityStatusListResult>): void;
47
- /**
48
- * Gets current availability status for a single resource
49
- * @param resourceUri The fully qualified ID of the resource, including the resource name and
50
- * resource type. Currently the API support not nested and one nesting level resource types :
51
- * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
52
- * and
53
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
54
- * @param [options] The optional parameters
55
- * @returns Promise<Models.AvailabilityStatusesGetByResourceResponse>
56
- */
57
- getByResource(resourceUri: string, options?: Models.AvailabilityStatusesGetByResourceOptionalParams): Promise<Models.AvailabilityStatusesGetByResourceResponse>;
58
- /**
59
- * @param resourceUri The fully qualified ID of the resource, including the resource name and
60
- * resource type. Currently the API support not nested and one nesting level resource types :
61
- * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
62
- * and
63
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
64
- * @param callback The callback
65
- */
66
- getByResource(resourceUri: string, callback: msRest.ServiceCallback<Models.AvailabilityStatus>): void;
67
- /**
68
- * @param resourceUri The fully qualified ID of the resource, including the resource name and
69
- * resource type. Currently the API support not nested and one nesting level resource types :
70
- * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
71
- * and
72
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
73
- * @param options The optional parameters
74
- * @param callback The callback
75
- */
76
- getByResource(resourceUri: string, options: Models.AvailabilityStatusesGetByResourceOptionalParams, callback: msRest.ServiceCallback<Models.AvailabilityStatus>): void;
77
- /**
78
- * Lists all historical availability transitions and impacting events for a single resource. Use
79
- * the nextLink property in the response to get the next page of availability status
80
- * @param resourceUri The fully qualified ID of the resource, including the resource name and
81
- * resource type. Currently the API support not nested and one nesting level resource types :
82
- * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
83
- * and
84
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
85
- * @param [options] The optional parameters
86
- * @returns Promise<Models.AvailabilityStatusesListResponse>
87
- */
88
- list(resourceUri: string, options?: Models.AvailabilityStatusesListOptionalParams): Promise<Models.AvailabilityStatusesListResponse>;
89
- /**
90
- * @param resourceUri The fully qualified ID of the resource, including the resource name and
91
- * resource type. Currently the API support not nested and one nesting level resource types :
92
- * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
93
- * and
94
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
95
- * @param callback The callback
96
- */
97
- list(resourceUri: string, callback: msRest.ServiceCallback<Models.AvailabilityStatusListResult>): void;
98
- /**
99
- * @param resourceUri The fully qualified ID of the resource, including the resource name and
100
- * resource type. Currently the API support not nested and one nesting level resource types :
101
- * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
102
- * and
103
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
104
- * @param options The optional parameters
105
- * @param callback The callback
106
- */
107
- list(resourceUri: string, options: Models.AvailabilityStatusesListOptionalParams, callback: msRest.ServiceCallback<Models.AvailabilityStatusListResult>): void;
108
- /**
109
- * Lists the current availability status for all the resources in the subscription. Use the
110
- * nextLink property in the response to get the next page of availability statuses.
111
- * @param nextPageLink The NextLink from the previous successful call to List operation.
112
- * @param [options] The optional parameters
113
- * @returns Promise<Models.AvailabilityStatusesListBySubscriptionIdNextResponse>
114
- */
115
- listBySubscriptionIdNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.AvailabilityStatusesListBySubscriptionIdNextResponse>;
116
- /**
117
- * @param nextPageLink The NextLink from the previous successful call to List operation.
118
- * @param callback The callback
119
- */
120
- listBySubscriptionIdNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.AvailabilityStatusListResult>): void;
121
- /**
122
- * @param nextPageLink The NextLink from the previous successful call to List operation.
123
- * @param options The optional parameters
124
- * @param callback The callback
125
- */
126
- listBySubscriptionIdNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AvailabilityStatusListResult>): void;
127
- /**
128
- * Lists the current availability status for all the resources in the resource group. Use the
129
- * nextLink property in the response to get the next page of availability statuses.
130
- * @param nextPageLink The NextLink from the previous successful call to List operation.
131
- * @param [options] The optional parameters
132
- * @returns Promise<Models.AvailabilityStatusesListByResourceGroupNextResponse>
133
- */
134
- listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.AvailabilityStatusesListByResourceGroupNextResponse>;
135
- /**
136
- * @param nextPageLink The NextLink from the previous successful call to List operation.
137
- * @param callback The callback
138
- */
139
- listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.AvailabilityStatusListResult>): void;
140
- /**
141
- * @param nextPageLink The NextLink from the previous successful call to List operation.
142
- * @param options The optional parameters
143
- * @param callback The callback
144
- */
145
- listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AvailabilityStatusListResult>): void;
146
- /**
147
- * Lists all historical availability transitions and impacting events for a single resource. Use
148
- * the nextLink property in the response to get the next page of availability status
149
- * @param nextPageLink The NextLink from the previous successful call to List operation.
150
- * @param [options] The optional parameters
151
- * @returns Promise<Models.AvailabilityStatusesListNextResponse>
152
- */
153
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.AvailabilityStatusesListNextResponse>;
154
- /**
155
- * @param nextPageLink The NextLink from the previous successful call to List operation.
156
- * @param callback The callback
157
- */
158
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.AvailabilityStatusListResult>): void;
159
- /**
160
- * @param nextPageLink The NextLink from the previous successful call to List operation.
161
- * @param options The optional parameters
162
- * @param callback The callback
163
- */
164
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AvailabilityStatusListResult>): void;
165
- }
166
- //# sourceMappingURL=availabilityStatuses.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"availabilityStatuses.d.ts","sourceRoot":"","sources":["../../lib/operations/availabilityStatuses.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AAEnF,iDAAiD;AACjD,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG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AAC,eAAe,CAAC,MAAM,CAAC,4BAA4B,CAAC,GAAG,IAAI;IAC1H;;;;OAIG;IACH,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,4BAA4B,CAAC,GAAG,IAAI;IAW9J;;;;;;OAMG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,oCAAoC,CAAC;IACzH;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,4BAA4B,CAAC,GAAG,IAAI;IAC3G;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,4BAA4B,CAAC,GAAG,IAAI;CAUhJ"}
@@ -1,225 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/availabilityStatusesMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a AvailabilityStatuses. */
14
- var AvailabilityStatuses = /** @class */ (function () {
15
- /**
16
- * Create a AvailabilityStatuses.
17
- * @param {MicrosoftResourceHealthContext} client Reference to the service client.
18
- */
19
- function AvailabilityStatuses(client) {
20
- this.client = client;
21
- }
22
- AvailabilityStatuses.prototype.listBySubscriptionId = function (options, callback) {
23
- return this.client.sendOperationRequest({
24
- options: options
25
- }, listBySubscriptionIdOperationSpec, callback);
26
- };
27
- AvailabilityStatuses.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
28
- return this.client.sendOperationRequest({
29
- resourceGroupName: resourceGroupName,
30
- options: options
31
- }, listByResourceGroupOperationSpec, callback);
32
- };
33
- AvailabilityStatuses.prototype.getByResource = function (resourceUri, options, callback) {
34
- return this.client.sendOperationRequest({
35
- resourceUri: resourceUri,
36
- options: options
37
- }, getByResourceOperationSpec, callback);
38
- };
39
- AvailabilityStatuses.prototype.list = function (resourceUri, options, callback) {
40
- return this.client.sendOperationRequest({
41
- resourceUri: resourceUri,
42
- options: options
43
- }, listOperationSpec, callback);
44
- };
45
- AvailabilityStatuses.prototype.listBySubscriptionIdNext = function (nextPageLink, options, callback) {
46
- return this.client.sendOperationRequest({
47
- nextPageLink: nextPageLink,
48
- options: options
49
- }, listBySubscriptionIdNextOperationSpec, callback);
50
- };
51
- AvailabilityStatuses.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
52
- return this.client.sendOperationRequest({
53
- nextPageLink: nextPageLink,
54
- options: options
55
- }, listByResourceGroupNextOperationSpec, callback);
56
- };
57
- AvailabilityStatuses.prototype.listNext = function (nextPageLink, options, callback) {
58
- return this.client.sendOperationRequest({
59
- nextPageLink: nextPageLink,
60
- options: options
61
- }, listNextOperationSpec, callback);
62
- };
63
- return AvailabilityStatuses;
64
- }());
65
- export { AvailabilityStatuses };
66
- // Operation Specifications
67
- var serializer = new msRest.Serializer(Mappers);
68
- var listBySubscriptionIdOperationSpec = {
69
- httpMethod: "GET",
70
- path: "subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/availabilityStatuses",
71
- urlParameters: [
72
- Parameters.subscriptionId
73
- ],
74
- queryParameters: [
75
- Parameters.apiVersion,
76
- Parameters.filter,
77
- Parameters.expand
78
- ],
79
- headerParameters: [
80
- Parameters.acceptLanguage
81
- ],
82
- responses: {
83
- 200: {
84
- bodyMapper: Mappers.AvailabilityStatusListResult
85
- },
86
- default: {
87
- bodyMapper: Mappers.ErrorResponse
88
- }
89
- },
90
- serializer: serializer
91
- };
92
- var listByResourceGroupOperationSpec = {
93
- httpMethod: "GET",
94
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceHealth/availabilityStatuses",
95
- urlParameters: [
96
- Parameters.subscriptionId,
97
- Parameters.resourceGroupName
98
- ],
99
- queryParameters: [
100
- Parameters.apiVersion,
101
- Parameters.filter,
102
- Parameters.expand
103
- ],
104
- headerParameters: [
105
- Parameters.acceptLanguage
106
- ],
107
- responses: {
108
- 200: {
109
- bodyMapper: Mappers.AvailabilityStatusListResult
110
- },
111
- default: {
112
- bodyMapper: Mappers.ErrorResponse
113
- }
114
- },
115
- serializer: serializer
116
- };
117
- var getByResourceOperationSpec = {
118
- httpMethod: "GET",
119
- path: "{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses/current",
120
- urlParameters: [
121
- Parameters.resourceUri
122
- ],
123
- queryParameters: [
124
- Parameters.apiVersion,
125
- Parameters.filter,
126
- Parameters.expand
127
- ],
128
- headerParameters: [
129
- Parameters.acceptLanguage
130
- ],
131
- responses: {
132
- 200: {
133
- bodyMapper: Mappers.AvailabilityStatus
134
- },
135
- default: {
136
- bodyMapper: Mappers.ErrorResponse
137
- }
138
- },
139
- serializer: serializer
140
- };
141
- var listOperationSpec = {
142
- httpMethod: "GET",
143
- path: "{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses",
144
- urlParameters: [
145
- Parameters.resourceUri
146
- ],
147
- queryParameters: [
148
- Parameters.apiVersion,
149
- Parameters.filter,
150
- Parameters.expand
151
- ],
152
- headerParameters: [
153
- Parameters.acceptLanguage
154
- ],
155
- responses: {
156
- 200: {
157
- bodyMapper: Mappers.AvailabilityStatusListResult
158
- },
159
- default: {
160
- bodyMapper: Mappers.ErrorResponse
161
- }
162
- },
163
- serializer: serializer
164
- };
165
- var listBySubscriptionIdNextOperationSpec = {
166
- httpMethod: "GET",
167
- baseUrl: "https://management.azure.com",
168
- path: "{nextLink}",
169
- urlParameters: [
170
- Parameters.nextPageLink
171
- ],
172
- headerParameters: [
173
- Parameters.acceptLanguage
174
- ],
175
- responses: {
176
- 200: {
177
- bodyMapper: Mappers.AvailabilityStatusListResult
178
- },
179
- default: {
180
- bodyMapper: Mappers.ErrorResponse
181
- }
182
- },
183
- serializer: serializer
184
- };
185
- var listByResourceGroupNextOperationSpec = {
186
- httpMethod: "GET",
187
- baseUrl: "https://management.azure.com",
188
- path: "{nextLink}",
189
- urlParameters: [
190
- Parameters.nextPageLink
191
- ],
192
- headerParameters: [
193
- Parameters.acceptLanguage
194
- ],
195
- responses: {
196
- 200: {
197
- bodyMapper: Mappers.AvailabilityStatusListResult
198
- },
199
- default: {
200
- bodyMapper: Mappers.ErrorResponse
201
- }
202
- },
203
- serializer: serializer
204
- };
205
- var listNextOperationSpec = {
206
- httpMethod: "GET",
207
- baseUrl: "https://management.azure.com",
208
- path: "{nextLink}",
209
- urlParameters: [
210
- Parameters.nextPageLink
211
- ],
212
- headerParameters: [
213
- Parameters.acceptLanguage
214
- ],
215
- responses: {
216
- 200: {
217
- bodyMapper: Mappers.AvailabilityStatusListResult
218
- },
219
- default: {
220
- bodyMapper: Mappers.ErrorResponse
221
- }
222
- },
223
- serializer: serializer
224
- };
225
- //# sourceMappingURL=availabilityStatuses.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"availabilityStatuses.js","sourceRoot":"","sources":["../../lib/operations/availabilityStatuses.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,uCAAuC,CAAC;AACjE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,iDAAiD;AACjD;IAGE;;;OAGG;IACH,8BAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAkBD,mDAAoB,GAApB,U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EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from "./availabilityStatuses";
2
- export * from "./operations";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/operations/index.ts"],"names":[],"mappings":"AAUA,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC"}
@@ -1,12 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- export * from "./availabilityStatuses";
11
- export * from "./operations";
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC"}
@@ -1,28 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { MicrosoftResourceHealthContext } from "../microsoftResourceHealthContext";
4
- /** Class representing a Operations. */
5
- export declare class Operations {
6
- private readonly client;
7
- /**
8
- * Create a Operations.
9
- * @param {MicrosoftResourceHealthContext} client Reference to the service client.
10
- */
11
- constructor(client: MicrosoftResourceHealthContext);
12
- /**
13
- * Lists available operations for the resourcehealth resource provider
14
- * @param [options] The optional parameters
15
- * @returns Promise<Models.OperationsListResponse>
16
- */
17
- list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
18
- /**
19
- * @param callback The callback
20
- */
21
- list(callback: msRest.ServiceCallback<Models.OperationListResult>): void;
22
- /**
23
- * @param options The optional parameters
24
- * @param callback The callback
25
- */
26
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
27
- }
28
- //# sourceMappingURL=operations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../lib/operations/operations.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AAEnF,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC;IACjF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IACxE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;CAS7G"}
@@ -1,51 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/operationsMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a Operations. */
14
- var Operations = /** @class */ (function () {
15
- /**
16
- * Create a Operations.
17
- * @param {MicrosoftResourceHealthContext} client Reference to the service client.
18
- */
19
- function Operations(client) {
20
- this.client = client;
21
- }
22
- Operations.prototype.list = function (options, callback) {
23
- return this.client.sendOperationRequest({
24
- options: options
25
- }, listOperationSpec, callback);
26
- };
27
- return Operations;
28
- }());
29
- export { Operations };
30
- // Operation Specifications
31
- var serializer = new msRest.Serializer(Mappers);
32
- var listOperationSpec = {
33
- httpMethod: "GET",
34
- path: "providers/Microsoft.ResourceHealth/operations",
35
- queryParameters: [
36
- Parameters.apiVersion
37
- ],
38
- headerParameters: [
39
- Parameters.acceptLanguage
40
- ],
41
- responses: {
42
- 200: {
43
- bodyMapper: Mappers.OperationListResult
44
- },
45
- default: {
46
- bodyMapper: Mappers.ErrorResponse
47
- }
48
- },
49
- serializer: serializer
50
- };
51
- //# sourceMappingURL=operations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../lib/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,yBAAI,GAAJ,UAAK,OAAwF,EAAE,QAA6D;QAC1J,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA2C,CAAC;IACxD,CAAC;IACH,iBAAC;AAAD,CAAC,AAlCD,IAkCC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,+CAA+C;IACrD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,45 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
-
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Models from "./models";
13
- import * as Mappers from "./models/mappers";
14
- import * as operations from "./operations";
15
- import { MicrosoftResourceHealthContext } from "./microsoftResourceHealthContext";
16
-
17
-
18
- class MicrosoftResourceHealth extends MicrosoftResourceHealthContext {
19
- // Operation groups
20
- availabilityStatuses: operations.AvailabilityStatuses;
21
- operations: operations.Operations;
22
-
23
- /**
24
- * Initializes a new instance of the MicrosoftResourceHealth class.
25
- * @param credentials Credentials needed for the client to connect to Azure.
26
- * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
27
- * subscription. The subscription ID forms part of the URI for every service call.
28
- * @param [options] The parameter options
29
- */
30
- constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MicrosoftResourceHealthOptions) {
31
- super(credentials, subscriptionId, options);
32
- this.availabilityStatuses = new operations.AvailabilityStatuses(this);
33
- this.operations = new operations.Operations(this);
34
- }
35
- }
36
-
37
- // Operation Specifications
38
-
39
- export {
40
- MicrosoftResourceHealth,
41
- MicrosoftResourceHealthContext,
42
- Models as MicrosoftResourceHealthModels,
43
- Mappers as MicrosoftResourceHealthMappers
44
- };
45
- export * from "./operations";
@@ -1,63 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
-
11
- import * as Models from "./models";
12
- import * as msRest from "@azure/ms-rest-js";
13
- import * as msRestAzure from "@azure/ms-rest-azure-js";
14
-
15
- const packageName = "@azure/arm-resourcehealth";
16
- const packageVersion = "0.1.0";
17
-
18
- export class MicrosoftResourceHealthContext extends msRestAzure.AzureServiceClient {
19
- credentials: msRest.ServiceClientCredentials;
20
- subscriptionId: string;
21
- apiVersion?: string;
22
-
23
- /**
24
- * Initializes a new instance of the MicrosoftResourceHealth class.
25
- * @param credentials Credentials needed for the client to connect to Azure.
26
- * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
27
- * subscription. The subscription ID forms part of the URI for every service call.
28
- * @param [options] The parameter options
29
- */
30
- constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MicrosoftResourceHealthOptions) {
31
- if (credentials == undefined) {
32
- throw new Error('\'credentials\' cannot be null.');
33
- }
34
- if (subscriptionId == undefined) {
35
- throw new Error('\'subscriptionId\' cannot be null.');
36
- }
37
-
38
- if (!options) {
39
- options = {};
40
- }
41
- if(!options.userAgent) {
42
- const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
43
- options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
44
- }
45
-
46
- super(credentials, options);
47
-
48
- this.apiVersion = '2017-07-01';
49
- this.acceptLanguage = 'en-US';
50
- this.longRunningOperationRetryTimeout = 30;
51
- this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
52
- this.requestContentType = "application/json; charset=utf-8";
53
- this.credentials = credentials;
54
- this.subscriptionId = subscriptionId;
55
-
56
- if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
57
- this.acceptLanguage = options.acceptLanguage;
58
- }
59
- if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
60
- this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
61
- }
62
- }
63
- }