@azure/arm-resourcehealth 4.1.0-alpha.20240411.1 → 4.1.0-alpha.20240415.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.js +1 -1
- package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.js.map +1 -1
- package/dist-esm/samples-dev/availabilityStatusesListSample.js +1 -1
- package/dist-esm/samples-dev/availabilityStatusesListSample.js.map +1 -1
- package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js +1 -1
- package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js.map +1 -1
- package/dist-esm/samples-dev/childResourcesListSample.js +1 -1
- package/dist-esm/samples-dev/childResourcesListSample.js.map +1 -1
- package/dist-esm/samples-dev/emergingIssuesListSample.js +1 -1
- package/dist-esm/samples-dev/emergingIssuesListSample.js.map +1 -1
- package/dist-esm/samples-dev/eventsListBySingleResourceSample.js +1 -1
- package/dist-esm/samples-dev/eventsListBySingleResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.js +1 -1
- package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.js.map +1 -1
- package/dist-esm/samples-dev/eventsListByTenantIdSample.js +1 -1
- package/dist-esm/samples-dev/eventsListByTenantIdSample.js.map +1 -1
- package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.js +1 -1
- package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.js.map +1 -1
- package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.js +1 -1
- package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.js.map +1 -1
- package/dist-esm/samples-dev/metadataListSample.js +1 -1
- package/dist-esm/samples-dev/metadataListSample.js.map +1 -1
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.js +1 -1
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.js.map +1 -1
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js +1 -1
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js.map +1 -1
- package/package.json +3 -3
@@ -19,8 +19,8 @@ dotenv.config();
|
|
19
19
|
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json
|
20
20
|
*/
|
21
21
|
function listByResourceGroup() {
|
22
|
-
var _a, e_1, _b, _c;
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
23
|
+
var _a, e_1, _b, _c;
|
24
24
|
const subscriptionId = process.env["RESOURCEHEALTH_SUBSCRIPTION_ID"] || "subscriptionId";
|
25
25
|
const resourceGroupName = process.env["RESOURCEHEALTH_RESOURCE_GROUP"] || "resourceGroupName";
|
26
26
|
const expand = "recommendedactions";
|
@@ -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;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,eAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,mBAAmB,CACpE,iBAAiB,EACjB,OAAO,CACR,CAAA,IAAA,sDAAE,CAAC;gBAHmB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,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,eAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,mBAAmB,CACpE,iBAAiB,EACjB,OAAO,CACR,CAAA,IAAA,sDAAE,CAAC;gBAHmB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,mBAAmB,EAAE,CAAC;IACxB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -19,8 +19,8 @@ dotenv.config();
|
|
19
19
|
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/AvailabilityStatuses_ListBySubscriptionId.json
|
20
20
|
*/
|
21
21
|
function listHealthBySubscriptionId() {
|
22
|
-
var _a, e_1, _b, _c;
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
23
|
+
var _a, e_1, _b, _c;
|
24
24
|
const subscriptionId = process.env["RESOURCEHEALTH_SUBSCRIPTION_ID"] || "subscriptionId";
|
25
25
|
const expand = "recommendedactions";
|
26
26
|
const options = {
|
@@ -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;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,eAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,oBAAoB,CACrE,OAAO,CACR,CAAA,IAAA,sDAAE,CAAC;gBAFmB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,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,eAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,oBAAoB,CACrE,OAAO,CACR,CAAA,IAAA,sDAAE,CAAC;gBAFmB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -19,8 +19,8 @@ dotenv.config();
|
|
19
19
|
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/AvailabilityStatuses_List.json
|
20
20
|
*/
|
21
21
|
function getHealthHistoryByResource() {
|
22
|
-
var _a, e_1, _b, _c;
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
23
|
+
var _a, e_1, _b, _c;
|
24
24
|
const resourceUri = "resourceUri";
|
25
25
|
const credential = new DefaultAzureCredential();
|
26
26
|
const client = new MicrosoftResourceHealth(credential);
|
@@ -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;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;;QACvC,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC;QACvD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA,IAAA,sDAAE,CAAC;gBAAhD,cAA6C;gBAA7C,WAA6C;gBAAzD,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,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,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC;QACvD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA,IAAA,sDAAE,CAAC;gBAAhD,cAA6C;gBAA7C,WAA6C;gBAAzD,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -19,8 +19,8 @@ dotenv.config();
|
|
19
19
|
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/ChildAvailabilityStatuses_List.json
|
20
20
|
*/
|
21
21
|
function getChildHealthHistoryByResource() {
|
22
|
-
var _a, e_1, _b, _c;
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
23
|
+
var _a, e_1, _b, _c;
|
24
24
|
const resourceUri = "subscriptions/227b734f-e14f-4de6-b7fc-3190c21e69f6/resourceGroups/JUHACKETRHCTEST/providers/Microsoft.Compute/virtualMachineScaleSets/rhctest/virtualMachines/4";
|
25
25
|
const credential = new DefaultAzureCredential();
|
26
26
|
const client = new MicrosoftResourceHealth(credential);
|
@@ -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;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,+BAA+B;;;QAC5C,MAAM,WAAW,GACf,iKAAiK,CAAC;QACpK,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC;QACvD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,yBAAyB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA,IAAA,sDAAE,CAAC;gBAArD,cAAkD;gBAAlD,WAAkD;gBAA9D,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,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,+BAA+B;;;QAC5C,MAAM,WAAW,GACf,iKAAiK,CAAC;QACpK,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC;QACvD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,yBAAyB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA,IAAA,sDAAE,CAAC;gBAArD,cAAkD;gBAAlD,WAAkD;gBAA9D,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,+BAA+B,EAAE,CAAC;IACpC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -19,8 +19,8 @@ dotenv.config();
|
|
19
19
|
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/ChildResources_List.json
|
20
20
|
*/
|
21
21
|
function getCurrentChildHealthByResource() {
|
22
|
-
var _a, e_1, _b, _c;
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
23
|
+
var _a, e_1, _b, _c;
|
24
24
|
const resourceUri = "resourceUri";
|
25
25
|
const credential = new DefaultAzureCredential();
|
26
26
|
const client = new MicrosoftResourceHealth(credential);
|
@@ -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;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,+BAA+B;;;QAC5C,MAAM,WAAW,GAAG,aAA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I,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,+BAA+B,EAAE,CAAC;IACpC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -19,8 +19,8 @@ dotenv.config();
|
|
19
19
|
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/EmergingIssues_List.json
|
20
20
|
*/
|
21
21
|
function getEmergingIssues() {
|
22
|
-
var _a, e_1, _b, _c;
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
23
|
+
var _a, e_1, _b, _c;
|
24
24
|
const credential = new DefaultAzureCredential();
|
25
25
|
const client = new MicrosoftResourceHealth(credential);
|
26
26
|
const resArray = new Array();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"emergingIssuesListSample.js","sourceRoot":"","sources":["../../samples-dev/emergingIssuesListSample.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,iBAAiB;;;QAC9B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC;QACvD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,CAAA,IAAA,sDAAE,CAAC;gBAA/B,cAA4B;gBAA5B,WAA4B;gBAAxC,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC
|
1
|
+
{"version":3,"file":"emergingIssuesListSample.js","sourceRoot":"","sources":["../../samples-dev/emergingIssuesListSample.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,iBAAiB;;;QAC9B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC;QACvD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,CAAA,IAAA,sDAAE,CAAC;gBAA/B,cAA4B;gBAA5B,WAA4B;gBAAxC,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,iBAAiB,EAAE,CAAC;IACtB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -19,8 +19,8 @@ dotenv.config();
|
|
19
19
|
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Events_ListBySingleResource.json
|
20
20
|
*/
|
21
21
|
function listEventsBySingleResource() {
|
22
|
-
var _a, e_1, _b, _c;
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
23
|
+
var _a, e_1, _b, _c;
|
24
24
|
const resourceUri = "subscriptions/4abcdefgh-ijkl-mnop-qrstuvwxyz/resourceGroups/rhctestenv/providers/Microsoft.Compute/virtualMachines/rhctestenvV1PI";
|
25
25
|
const credential = new DefaultAzureCredential();
|
26
26
|
const client = new MicrosoftResourceHealth(credential);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eventsListBySingleResourceSample.js","sourceRoot":"","sources":["../../samples-dev/eventsListBySingleResourceSample.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,WAAW,GACf,mIAAmI,CAAC;QACtI,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC;QACvD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,gBAAgB,CAAC,oBAAoB,CACjE,WAAW,CACZ,CAAA,IAAA,sDAAE,CAAC;gBAFmB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC
|
1
|
+
{"version":3,"file":"eventsListBySingleResourceSample.js","sourceRoot":"","sources":["../../samples-dev/eventsListBySingleResourceSample.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,WAAW,GACf,mIAAmI,CAAC;QACtI,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC;QACvD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,gBAAgB,CAAC,oBAAoB,CACjE,WAAW,CACZ,CAAA,IAAA,sDAAE,CAAC;gBAFmB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -19,8 +19,8 @@ dotenv.config();
|
|
19
19
|
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Events_ListBySubscriptionId.json
|
20
20
|
*/
|
21
21
|
function listEventsBySubscriptionId() {
|
22
|
-
var _a, e_1, _b, _c;
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
23
|
+
var _a, e_1, _b, _c;
|
24
24
|
const subscriptionId = process.env["RESOURCEHEALTH_SUBSCRIPTION_ID"] || "subscriptionId";
|
25
25
|
const filter = "service eq 'Virtual Machines' or region eq 'West US'";
|
26
26
|
const queryStartTime = "7/24/2020";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eventsListBySubscriptionIdSample.js","sourceRoot":"","sources":["../../samples-dev/eventsListBySubscriptionIdSample.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,sDAAsD,CAAC;QACtE,MAAM,cAAc,GAAG,WAAW,CAAC;QACnC,MAAM,OAAO,GAA6C;YACxD,MAAM;YACN,cAAc;SACf,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,eAAA,KAAA,cAAA,MAAM,CAAC,gBAAgB,CAAC,oBAAoB,CACjE,OAAO,CACR,CAAA,IAAA,sDAAE,CAAC;gBAFmB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC
|
1
|
+
{"version":3,"file":"eventsListBySubscriptionIdSample.js","sourceRoot":"","sources":["../../samples-dev/eventsListBySubscriptionIdSample.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,sDAAsD,CAAC;QACtE,MAAM,cAAc,GAAG,WAAW,CAAC;QACnC,MAAM,OAAO,GAA6C;YACxD,MAAM;YACN,cAAc;SACf,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,eAAA,KAAA,cAAA,MAAM,CAAC,gBAAgB,CAAC,oBAAoB,CACjE,OAAO,CACR,CAAA,IAAA,sDAAE,CAAC;gBAFmB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -19,8 +19,8 @@ dotenv.config();
|
|
19
19
|
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Events_ListByTenantId.json
|
20
20
|
*/
|
21
21
|
function listEventsByTenantId() {
|
22
|
-
var _a, e_1, _b, _c;
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
23
|
+
var _a, e_1, _b, _c;
|
24
24
|
const filter = "service eq 'Virtual Machines' or region eq 'West US'";
|
25
25
|
const queryStartTime = "7/24/2020";
|
26
26
|
const options = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eventsListByTenantIdSample.js","sourceRoot":"","sources":["../../samples-dev/eventsListByTenantIdSample.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,oBAAoB;;;QACjC,MAAM,MAAM,GAAG,sDAAsD,CAAC;QACtE,MAAM,cAAc,GAAG,WAAW,CAAC;QACnC,MAAM,OAAO,GAAuC;YAClD,MAAM;YACN,cAAc;SACf,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC;QACvD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,gBAAgB,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA,IAAA,sDAAE,CAAC;gBAAlD,cAA+C;gBAA/C,WAA+C;gBAA3D,IAAI,IAAI,KAAA,CAAA;gB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 -19,8 +19,8 @@ dotenv.config();
|
|
19
19
|
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/ImpactedResources_ListBySubscriptionId_ListByEventId.json
|
20
20
|
*/
|
21
21
|
function listImpactedResourcesBySubscriptionId() {
|
22
|
-
var _a, e_1, _b, _c;
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
23
|
+
var _a, e_1, _b, _c;
|
24
24
|
const subscriptionId = process.env["RESOURCEHEALTH_SUBSCRIPTION_ID"] || "subscriptionId";
|
25
25
|
const eventTrackingId = "BC_1-FXZ";
|
26
26
|
const filter = "targetRegion eq 'westus'";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"impactedResourcesListBySubscriptionIdAndEventIdSample.js","sourceRoot":"","sources":["../../samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.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,qCAAqC;;;QAClD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,gBAAgB,CAAC;QACpE,MAAM,eAAe,GAAG,UAAU,CAAC;QACnC,MAAM,MAAM,GAAG,0BAA0B,CAAC;QAC1C,MAAM,OAAO,GAAkE;YAC7E,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,eAAA,KAAA,cAAA,MAAM,CAAC,iBAAiB,CAAC,8BAA8B,CAC5E,eAAe,EACf,OAAO,CACR,CAAA,IAAA,sDAAE,CAAC;gBAHmB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC
|
1
|
+
{"version":3,"file":"impactedResourcesListBySubscriptionIdAndEventIdSample.js","sourceRoot":"","sources":["../../samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.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,qCAAqC;;;QAClD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,gBAAgB,CAAC;QACpE,MAAM,eAAe,GAAG,UAAU,CAAC;QACnC,MAAM,MAAM,GAAG,0BAA0B,CAAC;QAC1C,MAAM,OAAO,GAAkE;YAC7E,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,eAAA,KAAA,cAAA,MAAM,CAAC,iBAAiB,CAAC,8BAA8B,CAC5E,eAAe,EACf,OAAO,CACR,CAAA,IAAA,sDAAE,CAAC;gBAHmB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qCAAqC,EAAE,CAAC;IAC1C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -19,8 +19,8 @@ dotenv.config();
|
|
19
19
|
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/ImpactedResources_ListByTenantId_ListByEventId.json
|
20
20
|
*/
|
21
21
|
function listEventsByTenantId() {
|
22
|
-
var _a, e_1, _b, _c;
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
23
|
+
var _a, e_1, _b, _c;
|
24
24
|
const eventTrackingId = "BC_1-FXZ";
|
25
25
|
const filter = "targetRegion eq 'westus'";
|
26
26
|
const options = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"impactedResourcesListByTenantIdAndEventIdSample.js","sourceRoot":"","sources":["../../samples-dev/impactedResourcesListByTenantIdAndEventIdSample.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,oBAAoB;;;QACjC,MAAM,eAAe,GAAG,UAAU,CAAC;QACnC,MAAM,MAAM,GAAG,0BAA0B,CAAC;QAC1C,MAAM,OAAO,GAA4D;YACvE,MAAM;SACP,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC;QACvD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,iBAAiB,CAAC,wBAAwB,CACtE,eAAe,EACf,OAAO,CACR,CAAA,IAAA,sDAAE,CAAC;gBAHmB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC
|
1
|
+
{"version":3,"file":"impactedResourcesListByTenantIdAndEventIdSample.js","sourceRoot":"","sources":["../../samples-dev/impactedResourcesListByTenantIdAndEventIdSample.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,oBAAoB;;;QACjC,MAAM,eAAe,GAAG,UAAU,CAAC;QACnC,MAAM,MAAM,GAAG,0BAA0B,CAAC;QAC1C,MAAM,OAAO,GAA4D;YACvE,MAAM;SACP,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC;QACvD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,iBAAiB,CAAC,wBAAwB,CACtE,eAAe,EACf,OAAO,CACR,CAAA,IAAA,sDAAE,CAAC;gBAHmB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,oBAAoB,EAAE,CAAC;IACzB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -19,8 +19,8 @@ dotenv.config();
|
|
19
19
|
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Metadata_List.json
|
20
20
|
*/
|
21
21
|
function getMetadata() {
|
22
|
-
var _a, e_1, _b, _c;
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
23
|
+
var _a, e_1, _b, _c;
|
24
24
|
const credential = new DefaultAzureCredential();
|
25
25
|
const client = new MicrosoftResourceHealth(credential);
|
26
26
|
const resArray = new Array();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"metadataListSample.js","sourceRoot":"","sources":["../../samples-dev/metadataListSample.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,WAAW;;;QACxB,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC;QACvD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KA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|
|
19
19
|
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/SecurityAdvisoryImpactedResources_ListBySubscriptionId_ListByEventId.json
|
20
20
|
*/
|
21
21
|
function listSecurityAdvisoryImpactedResourcesBySubscriptionId() {
|
22
|
-
var _a, e_1, _b, _c;
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
23
|
+
var _a, e_1, _b, _c;
|
24
24
|
const subscriptionId = process.env["RESOURCEHEALTH_SUBSCRIPTION_ID"] || "subscriptionId";
|
25
25
|
const eventTrackingId = "BC_1-FXZ";
|
26
26
|
const credential = new DefaultAzureCredential();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.js","sourceRoot":"","sources":["../../samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.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,qDAAqD;;;QAClE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,gBAAgB,CAAC;QACpE,MAAM,eAAe,GAAG,UAAU,CAAC;QACnC,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,eAAA,KAAA,cAAA,MAAM,CAAC,iCAAiC,CAAC,8BAA8B,CAC5F,eAAe,CAChB,CAAA,IAAA,sDAAE,CAAC;gBAFmB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC
|
1
|
+
{"version":3,"file":"securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.js","sourceRoot":"","sources":["../../samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.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,qDAAqD;;;QAClE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,IAAI,gBAAgB,CAAC;QACpE,MAAM,eAAe,GAAG,UAAU,CAAC;QACnC,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,eAAA,KAAA,cAAA,MAAM,CAAC,iCAAiC,CAAC,8BAA8B,CAC5F,eAAe,CAChB,CAAA,IAAA,sDAAE,CAAC;gBAFmB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qDAAqD,EAAE,CAAC;IAC1D,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js
CHANGED
@@ -19,8 +19,8 @@ dotenv.config();
|
|
19
19
|
* x-ms-original-file: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/SecurityAdvisoryImpactedResources_ListByTenantId_ListByEventId.json
|
20
20
|
*/
|
21
21
|
function listSecurityAdvisoryImpactedResourcesByTenantId() {
|
22
|
-
var _a, e_1, _b, _c;
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
23
|
+
var _a, e_1, _b, _c;
|
24
24
|
const eventTrackingId = "BC_1-FXZ";
|
25
25
|
const credential = new DefaultAzureCredential();
|
26
26
|
const client = new MicrosoftResourceHealth(credential);
|
package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js","sourceRoot":"","sources":["../../samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.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,+CAA+C;;;QAC5D,MAAM,eAAe,GAAG,UAAU,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC;QACvD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,iCAAiC,CAAC,wBAAwB,CACtF,eAAe,CAChB,CAAA,IAAA,sDAAE,CAAC;gBAFmB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC
|
1
|
+
{"version":3,"file":"securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js","sourceRoot":"","sources":["../../samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.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,+CAA+C;;;QAC5D,MAAM,eAAe,GAAG,UAAU,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC;QACvD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,iCAAiC,CAAC,wBAAwB,CACtF,eAAe,CAChB,CAAA,IAAA,sDAAE,CAAC;gBAFmB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,+CAA+C,EAAE,CAAC;IACpD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"sdk-type": "mgmt",
|
4
4
|
"author": "Microsoft Corporation",
|
5
5
|
"description": "A generated SDK for MicrosoftResourceHealth.",
|
6
|
-
"version": "4.1.0-alpha.
|
6
|
+
"version": "4.1.0-alpha.20240415.1",
|
7
7
|
"engines": {
|
8
8
|
"node": ">=18.0.0"
|
9
9
|
},
|
@@ -27,8 +27,8 @@
|
|
27
27
|
"types": "./types/arm-resourcehealth.d.ts",
|
28
28
|
"devDependencies": {
|
29
29
|
"@microsoft/api-extractor": "^7.31.1",
|
30
|
-
"mkdirp": "^
|
31
|
-
"typescript": "~5.
|
30
|
+
"mkdirp": "^3.0.1",
|
31
|
+
"typescript": "~5.4.5",
|
32
32
|
"uglify-js": "^3.4.9",
|
33
33
|
"rimraf": "^5.0.0",
|
34
34
|
"dotenv": "^16.0.0",
|