@azure/arm-resourcehealth 3.2.1-alpha.20230522.1 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +111 -8
- package/dist/index.js +2621 -386
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/availabilityStatusesGetByResourceSample.js +1 -1
- package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.js +3 -3
- package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.js +3 -3
- package/dist-esm/samples-dev/availabilityStatusesListSample.js +3 -3
- package/dist-esm/samples-dev/childAvailabilityStatusesGetByResourceSample.js +4 -4
- package/dist-esm/samples-dev/childAvailabilityStatusesGetByResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js +4 -4
- package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js.map +1 -1
- package/dist-esm/samples-dev/childResourcesListSample.js +3 -3
- package/dist-esm/samples-dev/childResourcesListSample.js.map +1 -1
- package/dist-esm/samples-dev/emergingIssuesGetSample.js +3 -2
- package/dist-esm/samples-dev/emergingIssuesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/emergingIssuesListSample.js +1 -1
- package/dist-esm/samples-dev/eventFetchDetailsBySubscriptionIdAndTrackingIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventFetchDetailsBySubscriptionIdAndTrackingIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventFetchDetailsBySubscriptionIdAndTrackingIdSample.js +37 -0
- package/dist-esm/samples-dev/eventFetchDetailsBySubscriptionIdAndTrackingIdSample.js.map +1 -0
- package/dist-esm/samples-dev/eventFetchDetailsByTenantIdAndTrackingIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventFetchDetailsByTenantIdAndTrackingIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventFetchDetailsByTenantIdAndTrackingIdSample.js +38 -0
- package/dist-esm/samples-dev/eventFetchDetailsByTenantIdAndTrackingIdSample.js.map +1 -0
- package/dist-esm/samples-dev/eventGetBySubscriptionIdAndTrackingIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventGetBySubscriptionIdAndTrackingIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventGetBySubscriptionIdAndTrackingIdSample.js +43 -0
- package/dist-esm/samples-dev/eventGetBySubscriptionIdAndTrackingIdSample.js.map +1 -0
- package/dist-esm/samples-dev/eventGetByTenantIdAndTrackingIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventGetByTenantIdAndTrackingIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventGetByTenantIdAndTrackingIdSample.js +44 -0
- package/dist-esm/samples-dev/eventGetByTenantIdAndTrackingIdSample.js.map +1 -0
- package/dist-esm/samples-dev/eventsListBySingleResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventsListBySingleResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventsListBySingleResourceSample.js +59 -0
- package/dist-esm/samples-dev/eventsListBySingleResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.js +63 -0
- package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.js.map +1 -0
- package/dist-esm/samples-dev/eventsListByTenantIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventsListByTenantIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventsListByTenantIdSample.js +64 -0
- package/dist-esm/samples-dev/eventsListByTenantIdSample.js.map +1 -0
- package/dist-esm/samples-dev/impactedResourcesGetByTenantIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/impactedResourcesGetByTenantIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/impactedResourcesGetByTenantIdSample.js +39 -0
- package/dist-esm/samples-dev/impactedResourcesGetByTenantIdSample.js.map +1 -0
- package/dist-esm/samples-dev/impactedResourcesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/impactedResourcesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/impactedResourcesGetSample.js +38 -0
- package/dist-esm/samples-dev/impactedResourcesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.js +62 -0
- package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.js.map +1 -0
- package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.js +63 -0
- package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.js.map +1 -0
- package/dist-esm/samples-dev/metadataGetEntitySample.d.ts +2 -0
- package/dist-esm/samples-dev/metadataGetEntitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/metadataGetEntitySample.js +38 -0
- package/dist-esm/samples-dev/metadataGetEntitySample.js.map +1 -0
- package/dist-esm/samples-dev/metadataListSample.d.ts +2 -0
- package/dist-esm/samples-dev/metadataListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/metadataListSample.js +58 -0
- package/dist-esm/samples-dev/metadataListSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +37 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.js +58 -0
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.js.map +1 -0
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js +59 -0
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js.map +1 -0
- package/dist-esm/src/microsoftResourceHealth.d.ts +8 -4
- package/dist-esm/src/microsoftResourceHealth.d.ts.map +1 -1
- package/dist-esm/src/microsoftResourceHealth.js +10 -6
- package/dist-esm/src/microsoftResourceHealth.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +657 -34
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +114 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +24 -3
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +883 -100
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +4 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +51 -3
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/availabilityStatuses.d.ts +9 -15
- package/dist-esm/src/operations/availabilityStatuses.d.ts.map +1 -1
- package/dist-esm/src/operations/availabilityStatuses.js +9 -15
- package/dist-esm/src/operations/availabilityStatuses.js.map +1 -1
- package/dist-esm/src/operations/emergingIssues.d.ts +6 -5
- package/dist-esm/src/operations/emergingIssues.d.ts.map +1 -1
- package/dist-esm/src/operations/emergingIssues.js +15 -14
- package/dist-esm/src/operations/emergingIssues.js.map +1 -1
- package/dist-esm/src/operations/eventOperations.d.ts +39 -0
- package/dist-esm/src/operations/eventOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/eventOperations.js +137 -0
- package/dist-esm/src/operations/eventOperations.js.map +1 -0
- package/dist-esm/src/operations/eventsOperations.d.ts +83 -0
- package/dist-esm/src/operations/eventsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/eventsOperations.js +393 -0
- package/dist-esm/src/operations/eventsOperations.js.map +1 -0
- package/dist-esm/src/operations/impactedResources.d.ts +72 -0
- package/dist-esm/src/operations/impactedResources.d.ts.map +1 -0
- package/dist-esm/src/operations/impactedResources.js +330 -0
- package/dist-esm/src/operations/impactedResources.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +6 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +6 -1
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/metadata.d.ts +38 -0
- package/dist-esm/src/operations/metadata.d.ts.map +1 -0
- package/dist-esm/src/operations/metadata.js +162 -0
- package/dist-esm/src/operations/metadata.js.map +1 -0
- package/dist-esm/src/operations/securityAdvisoryImpactedResources.d.ts +58 -0
- package/dist-esm/src/operations/securityAdvisoryImpactedResources.d.ts.map +1 -0
- package/dist-esm/src/operations/securityAdvisoryImpactedResources.js +271 -0
- package/dist-esm/src/operations/securityAdvisoryImpactedResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts +4 -7
- package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts +3 -2
- package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/eventOperations.d.ts +31 -0
- package/dist-esm/src/operationsInterfaces/eventOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/eventOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/eventOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/eventsOperations.d.ts +26 -0
- package/dist-esm/src/operationsInterfaces/eventsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/eventsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/eventsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/impactedResources.d.ts +32 -0
- package/dist-esm/src/operationsInterfaces/impactedResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/impactedResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/impactedResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +6 -1
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/metadata.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/metadata.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/metadata.js +9 -0
- package/dist-esm/src/operationsInterfaces/metadata.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/securityAdvisoryImpactedResources.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/securityAdvisoryImpactedResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/securityAdvisoryImpactedResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/securityAdvisoryImpactedResources.js.map +1 -0
- package/dist-esm/test/resourcehealth_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/resourcehealth_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/resourcehealth_operations_test.spec.js +56 -0
- package/dist-esm/test/resourcehealth_operations_test.spec.js.map +1 -0
- package/package.json +6 -6
- package/review/arm-resourcehealth.api.md +516 -8
- package/src/microsoftResourceHealth.ts +29 -8
- package/src/models/index.ts +757 -35
- package/src/models/mappers.ts +956 -101
- package/src/models/parameters.ts +55 -3
- package/src/operations/availabilityStatuses.ts +9 -15
- package/src/operations/emergingIssues.ts +24 -18
- package/src/operations/eventOperations.ts +184 -0
- package/src/operations/eventsOperations.ts +434 -0
- package/src/operations/impactedResources.ts +414 -0
- package/src/operations/index.ts +6 -1
- package/src/operations/metadata.ts +182 -0
- package/src/operations/securityAdvisoryImpactedResources.ts +342 -0
- package/src/operationsInterfaces/availabilityStatuses.ts +4 -7
- package/src/operationsInterfaces/emergingIssues.ts +3 -0
- package/src/operationsInterfaces/eventOperations.ts +60 -0
- package/src/operationsInterfaces/eventsOperations.ts +47 -0
- package/src/operationsInterfaces/impactedResources.ts +63 -0
- package/src/operationsInterfaces/index.ts +6 -1
- package/src/operationsInterfaces/metadata.ts +36 -0
- package/src/operationsInterfaces/securityAdvisoryImpactedResources.ts +37 -0
- package/types/arm-resourcehealth.d.ts +853 -23
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../../src/operations/metadata.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAYnD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAoC;QAEpC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;Y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ACX,CAAC;AACF,MAAM,sBAAsB,GAA6B;IACvD,IAAI,EAAE,qDAAqD;IAC3D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC;IAClD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { SecurityAdvisoryImpactedResources } from "../operationsInterfaces";
|
3
|
+
import { MicrosoftResourceHealth } from "../microsoftResourceHealth";
|
4
|
+
import { EventImpactedResource, SecurityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams, SecurityAdvisoryImpactedResourcesListByTenantIdAndEventIdOptionalParams } from "../models";
|
5
|
+
/** Class containing SecurityAdvisoryImpactedResources operations. */
|
6
|
+
export declare class SecurityAdvisoryImpactedResourcesImpl implements SecurityAdvisoryImpactedResources {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class SecurityAdvisoryImpactedResources class.
|
10
|
+
* @param client Reference to the service client
|
11
|
+
*/
|
12
|
+
constructor(client: MicrosoftResourceHealth);
|
13
|
+
/**
|
14
|
+
* Lists impacted resources in the subscription by an event (Security Advisory).
|
15
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
16
|
+
* @param options The options parameters.
|
17
|
+
*/
|
18
|
+
listBySubscriptionIdAndEventId(eventTrackingId: string, options?: SecurityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams): PagedAsyncIterableIterator<EventImpactedResource>;
|
19
|
+
private listBySubscriptionIdAndEventIdPagingPage;
|
20
|
+
private listBySubscriptionIdAndEventIdPagingAll;
|
21
|
+
/**
|
22
|
+
* Lists impacted resources in the tenant by an event (Security Advisory).
|
23
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
24
|
+
* @param options The options parameters.
|
25
|
+
*/
|
26
|
+
listByTenantIdAndEventId(eventTrackingId: string, options?: SecurityAdvisoryImpactedResourcesListByTenantIdAndEventIdOptionalParams): PagedAsyncIterableIterator<EventImpactedResource>;
|
27
|
+
private listByTenantIdAndEventIdPagingPage;
|
28
|
+
private listByTenantIdAndEventIdPagingAll;
|
29
|
+
/**
|
30
|
+
* Lists impacted resources in the subscription by an event (Security Advisory).
|
31
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
32
|
+
* @param options The options parameters.
|
33
|
+
*/
|
34
|
+
private _listBySubscriptionIdAndEventId;
|
35
|
+
/**
|
36
|
+
* Lists impacted resources in the tenant by an event (Security Advisory).
|
37
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
38
|
+
* @param options The options parameters.
|
39
|
+
*/
|
40
|
+
private _listByTenantIdAndEventId;
|
41
|
+
/**
|
42
|
+
* ListBySubscriptionIdAndEventIdNext
|
43
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
44
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscriptionIdAndEventId
|
45
|
+
* method.
|
46
|
+
* @param options The options parameters.
|
47
|
+
*/
|
48
|
+
private _listBySubscriptionIdAndEventIdNext;
|
49
|
+
/**
|
50
|
+
* ListByTenantIdAndEventIdNext
|
51
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
52
|
+
* @param nextLink The nextLink from the previous successful call to the ListByTenantIdAndEventId
|
53
|
+
* method.
|
54
|
+
* @param options The options parameters.
|
55
|
+
*/
|
56
|
+
private _listByTenantIdAndEventIdNext;
|
57
|
+
}
|
58
|
+
//# sourceMappingURL=securityAdvisoryImpactedResources.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"securityAdvisoryImpactedResources.d.ts","sourceRoot":"","sources":["../../../src/operations/securityAdvisoryImpactedResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,iCAAiC,EAAE,MAAM,yBAAyB,CAAC;AAI5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,qBAAqB,EAErB,6EAA6E,EAG7E,uEAAuE,EAIxE,MAAM,WAAW,CAAC;AAGnB,qEAAqE;AACrE,qBAAa,qCACX,YAAW,iCAAiC;IAC5C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;OAIG;IACI,8BAA8B,CACnC,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6EAA6E,GACtF,0BAA0B,CAAC,qBAAqB,CAAC;YAyBrC,wCAAwC;YA8BxC,uCAAuC;IAYtD;;;;OAIG;IACI,wBAAwB,CAC7B,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,uEAAuE,GAChF,0BAA0B,CAAC,qBAAqB,CAAC;YAyBrC,kCAAkC;YA2BlC,iCAAiC;IAYhD;;;;OAIG;IACH,OAAO,CAAC,+BAA+B;IAYvC;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IAYjC;;;;;;OAMG;IACH,OAAO,CAAC,mCAAmC;IAa3C;;;;;;OAMG;IACH,OAAO,CAAC,6BAA6B;CAYtC"}
|
@@ -0,0 +1,271 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
9
|
+
import { setContinuationToken } from "../pagingHelper";
|
10
|
+
import * as coreClient from "@azure/core-client";
|
11
|
+
import * as Mappers from "../models/mappers";
|
12
|
+
import * as Parameters from "../models/parameters";
|
13
|
+
/// <reference lib="esnext.asynciterable" />
|
14
|
+
/** Class containing SecurityAdvisoryImpactedResources operations. */
|
15
|
+
export class SecurityAdvisoryImpactedResourcesImpl {
|
16
|
+
/**
|
17
|
+
* Initialize a new instance of the class SecurityAdvisoryImpactedResources class.
|
18
|
+
* @param client Reference to the service client
|
19
|
+
*/
|
20
|
+
constructor(client) {
|
21
|
+
this.client = client;
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* Lists impacted resources in the subscription by an event (Security Advisory).
|
25
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
26
|
+
* @param options The options parameters.
|
27
|
+
*/
|
28
|
+
listBySubscriptionIdAndEventId(eventTrackingId, options) {
|
29
|
+
const iter = this.listBySubscriptionIdAndEventIdPagingAll(eventTrackingId, options);
|
30
|
+
return {
|
31
|
+
next() {
|
32
|
+
return iter.next();
|
33
|
+
},
|
34
|
+
[Symbol.asyncIterator]() {
|
35
|
+
return this;
|
36
|
+
},
|
37
|
+
byPage: (settings) => {
|
38
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
39
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
40
|
+
}
|
41
|
+
return this.listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options, settings);
|
42
|
+
}
|
43
|
+
};
|
44
|
+
}
|
45
|
+
listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options, settings) {
|
46
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionIdAndEventIdPagingPage_1() {
|
47
|
+
let result;
|
48
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
49
|
+
if (!continuationToken) {
|
50
|
+
result = yield __await(this._listBySubscriptionIdAndEventId(eventTrackingId, options));
|
51
|
+
let page = result.value || [];
|
52
|
+
continuationToken = result.nextLink;
|
53
|
+
setContinuationToken(page, continuationToken);
|
54
|
+
yield yield __await(page);
|
55
|
+
}
|
56
|
+
while (continuationToken) {
|
57
|
+
result = yield __await(this._listBySubscriptionIdAndEventIdNext(eventTrackingId, continuationToken, options));
|
58
|
+
continuationToken = result.nextLink;
|
59
|
+
let page = result.value || [];
|
60
|
+
setContinuationToken(page, continuationToken);
|
61
|
+
yield yield __await(page);
|
62
|
+
}
|
63
|
+
});
|
64
|
+
}
|
65
|
+
listBySubscriptionIdAndEventIdPagingAll(eventTrackingId, options) {
|
66
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionIdAndEventIdPagingAll_1() {
|
67
|
+
var _a, e_1, _b, _c;
|
68
|
+
try {
|
69
|
+
for (var _d = true, _e = __asyncValues(this.listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
|
70
|
+
_c = _f.value;
|
71
|
+
_d = false;
|
72
|
+
try {
|
73
|
+
const page = _c;
|
74
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
75
|
+
}
|
76
|
+
finally {
|
77
|
+
_d = true;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
82
|
+
finally {
|
83
|
+
try {
|
84
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
85
|
+
}
|
86
|
+
finally { if (e_1) throw e_1.error; }
|
87
|
+
}
|
88
|
+
});
|
89
|
+
}
|
90
|
+
/**
|
91
|
+
* Lists impacted resources in the tenant by an event (Security Advisory).
|
92
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
93
|
+
* @param options The options parameters.
|
94
|
+
*/
|
95
|
+
listByTenantIdAndEventId(eventTrackingId, options) {
|
96
|
+
const iter = this.listByTenantIdAndEventIdPagingAll(eventTrackingId, options);
|
97
|
+
return {
|
98
|
+
next() {
|
99
|
+
return iter.next();
|
100
|
+
},
|
101
|
+
[Symbol.asyncIterator]() {
|
102
|
+
return this;
|
103
|
+
},
|
104
|
+
byPage: (settings) => {
|
105
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
106
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
107
|
+
}
|
108
|
+
return this.listByTenantIdAndEventIdPagingPage(eventTrackingId, options, settings);
|
109
|
+
}
|
110
|
+
};
|
111
|
+
}
|
112
|
+
listByTenantIdAndEventIdPagingPage(eventTrackingId, options, settings) {
|
113
|
+
return __asyncGenerator(this, arguments, function* listByTenantIdAndEventIdPagingPage_1() {
|
114
|
+
let result;
|
115
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
116
|
+
if (!continuationToken) {
|
117
|
+
result = yield __await(this._listByTenantIdAndEventId(eventTrackingId, options));
|
118
|
+
let page = result.value || [];
|
119
|
+
continuationToken = result.nextLink;
|
120
|
+
setContinuationToken(page, continuationToken);
|
121
|
+
yield yield __await(page);
|
122
|
+
}
|
123
|
+
while (continuationToken) {
|
124
|
+
result = yield __await(this._listByTenantIdAndEventIdNext(eventTrackingId, continuationToken, options));
|
125
|
+
continuationToken = result.nextLink;
|
126
|
+
let page = result.value || [];
|
127
|
+
setContinuationToken(page, continuationToken);
|
128
|
+
yield yield __await(page);
|
129
|
+
}
|
130
|
+
});
|
131
|
+
}
|
132
|
+
listByTenantIdAndEventIdPagingAll(eventTrackingId, options) {
|
133
|
+
return __asyncGenerator(this, arguments, function* listByTenantIdAndEventIdPagingAll_1() {
|
134
|
+
var _a, e_2, _b, _c;
|
135
|
+
try {
|
136
|
+
for (var _d = true, _e = __asyncValues(this.listByTenantIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
|
137
|
+
_c = _f.value;
|
138
|
+
_d = false;
|
139
|
+
try {
|
140
|
+
const page = _c;
|
141
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
142
|
+
}
|
143
|
+
finally {
|
144
|
+
_d = true;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
149
|
+
finally {
|
150
|
+
try {
|
151
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
152
|
+
}
|
153
|
+
finally { if (e_2) throw e_2.error; }
|
154
|
+
}
|
155
|
+
});
|
156
|
+
}
|
157
|
+
/**
|
158
|
+
* Lists impacted resources in the subscription by an event (Security Advisory).
|
159
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
160
|
+
* @param options The options parameters.
|
161
|
+
*/
|
162
|
+
_listBySubscriptionIdAndEventId(eventTrackingId, options) {
|
163
|
+
return this.client.sendOperationRequest({ eventTrackingId, options }, listBySubscriptionIdAndEventIdOperationSpec);
|
164
|
+
}
|
165
|
+
/**
|
166
|
+
* Lists impacted resources in the tenant by an event (Security Advisory).
|
167
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
168
|
+
* @param options The options parameters.
|
169
|
+
*/
|
170
|
+
_listByTenantIdAndEventId(eventTrackingId, options) {
|
171
|
+
return this.client.sendOperationRequest({ eventTrackingId, options }, listByTenantIdAndEventIdOperationSpec);
|
172
|
+
}
|
173
|
+
/**
|
174
|
+
* ListBySubscriptionIdAndEventIdNext
|
175
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
176
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscriptionIdAndEventId
|
177
|
+
* method.
|
178
|
+
* @param options The options parameters.
|
179
|
+
*/
|
180
|
+
_listBySubscriptionIdAndEventIdNext(eventTrackingId, nextLink, options) {
|
181
|
+
return this.client.sendOperationRequest({ eventTrackingId, nextLink, options }, listBySubscriptionIdAndEventIdNextOperationSpec);
|
182
|
+
}
|
183
|
+
/**
|
184
|
+
* ListByTenantIdAndEventIdNext
|
185
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
186
|
+
* @param nextLink The nextLink from the previous successful call to the ListByTenantIdAndEventId
|
187
|
+
* method.
|
188
|
+
* @param options The options parameters.
|
189
|
+
*/
|
190
|
+
_listByTenantIdAndEventIdNext(eventTrackingId, nextLink, options) {
|
191
|
+
return this.client.sendOperationRequest({ eventTrackingId, nextLink, options }, listByTenantIdAndEventIdNextOperationSpec);
|
192
|
+
}
|
193
|
+
}
|
194
|
+
// Operation Specifications
|
195
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
196
|
+
const listBySubscriptionIdAndEventIdOperationSpec = {
|
197
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/listSecurityAdvisoryImpactedResources",
|
198
|
+
httpMethod: "POST",
|
199
|
+
responses: {
|
200
|
+
200: {
|
201
|
+
bodyMapper: Mappers.EventImpactedResourceListResult
|
202
|
+
},
|
203
|
+
default: {
|
204
|
+
bodyMapper: Mappers.ErrorResponse
|
205
|
+
}
|
206
|
+
},
|
207
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
208
|
+
urlParameters: [
|
209
|
+
Parameters.$host,
|
210
|
+
Parameters.subscriptionId,
|
211
|
+
Parameters.eventTrackingId
|
212
|
+
],
|
213
|
+
headerParameters: [Parameters.accept],
|
214
|
+
serializer
|
215
|
+
};
|
216
|
+
const listByTenantIdAndEventIdOperationSpec = {
|
217
|
+
path: "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/listSecurityAdvisoryImpactedResources",
|
218
|
+
httpMethod: "POST",
|
219
|
+
responses: {
|
220
|
+
200: {
|
221
|
+
bodyMapper: Mappers.EventImpactedResourceListResult
|
222
|
+
},
|
223
|
+
default: {
|
224
|
+
bodyMapper: Mappers.ErrorResponse
|
225
|
+
}
|
226
|
+
},
|
227
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
228
|
+
urlParameters: [Parameters.$host, Parameters.eventTrackingId],
|
229
|
+
headerParameters: [Parameters.accept],
|
230
|
+
serializer
|
231
|
+
};
|
232
|
+
const listBySubscriptionIdAndEventIdNextOperationSpec = {
|
233
|
+
path: "{nextLink}",
|
234
|
+
httpMethod: "GET",
|
235
|
+
responses: {
|
236
|
+
200: {
|
237
|
+
bodyMapper: Mappers.EventImpactedResourceListResult
|
238
|
+
},
|
239
|
+
default: {
|
240
|
+
bodyMapper: Mappers.ErrorResponse
|
241
|
+
}
|
242
|
+
},
|
243
|
+
urlParameters: [
|
244
|
+
Parameters.$host,
|
245
|
+
Parameters.subscriptionId,
|
246
|
+
Parameters.nextLink,
|
247
|
+
Parameters.eventTrackingId
|
248
|
+
],
|
249
|
+
headerParameters: [Parameters.accept],
|
250
|
+
serializer
|
251
|
+
};
|
252
|
+
const listByTenantIdAndEventIdNextOperationSpec = {
|
253
|
+
path: "{nextLink}",
|
254
|
+
httpMethod: "GET",
|
255
|
+
responses: {
|
256
|
+
200: {
|
257
|
+
bodyMapper: Mappers.EventImpactedResourceListResult
|
258
|
+
},
|
259
|
+
default: {
|
260
|
+
bodyMapper: Mappers.ErrorResponse
|
261
|
+
}
|
262
|
+
},
|
263
|
+
urlParameters: [
|
264
|
+
Parameters.$host,
|
265
|
+
Parameters.nextLink,
|
266
|
+
Parameters.eventTrackingId
|
267
|
+
],
|
268
|
+
headerParameters: [Parameters.accept],
|
269
|
+
serializer
|
270
|
+
};
|
271
|
+
//# sourceMappingURL=securityAdvisoryImpactedResources.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"securityAdvisoryImpactedResources.js","sourceRoot":"","sources":["../../../src/operations/securityAdvisoryImpactedResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAcnD,4CAA4C;AAC5C,qEAAqE;AACrE,MAAM,OAAO,qCAAqC;IAIhD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,8BAA8B,CACnC,eAAuB,EACvB,OAAuF;QAEvF,MAAM,IAAI,GAAG,IAAI,CAAC,uCAAuC,CACvD,eAAe,EACf,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE;oBACzB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;iBACpE;gBACD,OAAO,IAAI,CAAC,wCAAwC,CAClD,eAAe,EACf,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,wCAAwC,CACrD,eAAuB,EACvB,OAAuF,EACvF,QAAuB;;YAEvB,IAAI,MAA+E,CAAC;YACpF,IAAI,i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CACX,CAAC;AACF,MAAM,yCAAyC,GAA6B;IAC1E,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,+BAA+B;SACpD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
@@ -3,21 +3,18 @@ import { AvailabilityStatus, AvailabilityStatusesListBySubscriptionIdOptionalPar
|
|
3
3
|
/** Interface representing a AvailabilityStatuses. */
|
4
4
|
export interface AvailabilityStatuses {
|
5
5
|
/**
|
6
|
-
* Lists the current availability status for all the resources in the subscription.
|
7
|
-
* property in the response to get the next page of availability statuses.
|
6
|
+
* Lists the current availability status for all the resources in the subscription.
|
8
7
|
* @param options The options parameters.
|
9
8
|
*/
|
10
9
|
listBySubscriptionId(options?: AvailabilityStatusesListBySubscriptionIdOptionalParams): PagedAsyncIterableIterator<AvailabilityStatus>;
|
11
10
|
/**
|
12
|
-
* Lists the current availability status for all the resources in the resource group.
|
13
|
-
*
|
14
|
-
* @param resourceGroupName The name of the resource group.
|
11
|
+
* Lists the current availability status for all the resources in the resource group.
|
12
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
15
13
|
* @param options The options parameters.
|
16
14
|
*/
|
17
15
|
listByResourceGroup(resourceGroupName: string, options?: AvailabilityStatusesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AvailabilityStatus>;
|
18
16
|
/**
|
19
|
-
* Lists all historical availability transitions and impacting events for a single resource.
|
20
|
-
* nextLink property in the response to get the next page of availability status
|
17
|
+
* Lists all historical availability transitions and impacting events for a single resource.
|
21
18
|
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
22
19
|
* type. Currently the API support not nested and one nesting level resource types :
|
23
20
|
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"availabilityStatuses.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/availabilityStatuses.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,sDAAsD,EACtD,qDAAqD,EACrD,sCAAsC,EACtC,+CAA+C,EAC/C,yCAAyC,EAC1C,MAAM,WAAW,CAAC;AAGnB,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC
|
1
|
+
{"version":3,"file":"availabilityStatuses.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/availabilityStatuses.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,sDAAsD,EACtD,qDAAqD,EACrD,sCAAsC,EACtC,+CAA+C,EAC/C,yCAAyC,EAC1C,MAAM,WAAW,CAAC;AAGnB,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,oBAAoB,CAClB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;;;;;OAQG;IACH,IAAI,CACF,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;;;;;OAQG;IACH,aAAa,CACX,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC,CAAC;CACvD"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
-
import { EmergingIssuesGetResult, EmergingIssuesListOptionalParams, EmergingIssuesGetOptionalParams, EmergingIssuesGetResponse } from "../models";
|
2
|
+
import { EmergingIssuesGetResult, EmergingIssuesListOptionalParams, IssueNameParameter, EmergingIssuesGetOptionalParams, EmergingIssuesGetResponse } from "../models";
|
3
3
|
/** Interface representing a EmergingIssues. */
|
4
4
|
export interface EmergingIssues {
|
5
5
|
/**
|
@@ -9,8 +9,9 @@ export interface EmergingIssues {
|
|
9
9
|
list(options?: EmergingIssuesListOptionalParams): PagedAsyncIterableIterator<EmergingIssuesGetResult>;
|
10
10
|
/**
|
11
11
|
* Gets Azure services' emerging issues.
|
12
|
+
* @param issueName The name of the emerging issue.
|
12
13
|
* @param options The options parameters.
|
13
14
|
*/
|
14
|
-
get(options?: EmergingIssuesGetOptionalParams): Promise<EmergingIssuesGetResponse>;
|
15
|
+
get(issueName: IssueNameParameter, options?: EmergingIssuesGetOptionalParams): Promise<EmergingIssuesGetResponse>;
|
15
16
|
}
|
16
17
|
//# sourceMappingURL=emergingIssues.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"emergingIssues.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/emergingIssues.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,uBAAuB,EACvB,gCAAgC,EAChC,+BAA+B,EAC/B,yBAAyB,EAC1B,MAAM,WAAW,CAAC;AAGnB,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,uBAAuB,CAAC,CAAC;IACvD
|
1
|
+
{"version":3,"file":"emergingIssues.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/emergingIssues.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,uBAAuB,EACvB,gCAAgC,EAChC,kBAAkB,EAClB,+BAA+B,EAC/B,yBAAyB,EAC1B,MAAM,WAAW,CAAC;AAGnB,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,uBAAuB,CAAC,CAAC;IACvD;;;;OAIG;IACH,GAAG,CACD,SAAS,EAAE,kBAAkB,EAC7B,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACvC"}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { EventGetBySubscriptionIdAndTrackingIdOptionalParams, EventGetBySubscriptionIdAndTrackingIdResponse, EventFetchDetailsBySubscriptionIdAndTrackingIdOptionalParams, EventFetchDetailsBySubscriptionIdAndTrackingIdResponse, EventGetByTenantIdAndTrackingIdOptionalParams, EventGetByTenantIdAndTrackingIdResponse, EventFetchDetailsByTenantIdAndTrackingIdOptionalParams, EventFetchDetailsByTenantIdAndTrackingIdResponse } from "../models";
|
2
|
+
/** Interface representing a EventOperations. */
|
3
|
+
export interface EventOperations {
|
4
|
+
/**
|
5
|
+
* Service health event in the subscription by event tracking id
|
6
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
7
|
+
* @param options The options parameters.
|
8
|
+
*/
|
9
|
+
getBySubscriptionIdAndTrackingId(eventTrackingId: string, options?: EventGetBySubscriptionIdAndTrackingIdOptionalParams): Promise<EventGetBySubscriptionIdAndTrackingIdResponse>;
|
10
|
+
/**
|
11
|
+
* Service health event details in the subscription by event tracking id. This can be used to fetch
|
12
|
+
* sensitive properties for Security Advisory events
|
13
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
14
|
+
* @param options The options parameters.
|
15
|
+
*/
|
16
|
+
fetchDetailsBySubscriptionIdAndTrackingId(eventTrackingId: string, options?: EventFetchDetailsBySubscriptionIdAndTrackingIdOptionalParams): Promise<EventFetchDetailsBySubscriptionIdAndTrackingIdResponse>;
|
17
|
+
/**
|
18
|
+
* Service health event in the tenant by event tracking id
|
19
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
20
|
+
* @param options The options parameters.
|
21
|
+
*/
|
22
|
+
getByTenantIdAndTrackingId(eventTrackingId: string, options?: EventGetByTenantIdAndTrackingIdOptionalParams): Promise<EventGetByTenantIdAndTrackingIdResponse>;
|
23
|
+
/**
|
24
|
+
* Service health event details in the tenant by event tracking id. This can be used to fetch sensitive
|
25
|
+
* properties for Security Advisory events
|
26
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
27
|
+
* @param options The options parameters.
|
28
|
+
*/
|
29
|
+
fetchDetailsByTenantIdAndTrackingId(eventTrackingId: string, options?: EventFetchDetailsByTenantIdAndTrackingIdOptionalParams): Promise<EventFetchDetailsByTenantIdAndTrackingIdResponse>;
|
30
|
+
}
|
31
|
+
//# sourceMappingURL=eventOperations.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"eventOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/eventOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,mDAAmD,EACnD,6CAA6C,EAC7C,4DAA4D,EAC5D,sDAAsD,EACtD,6CAA6C,EAC7C,uCAAuC,EACvC,sDAAsD,EACtD,gDAAgD,EACjD,MAAM,WAAW,CAAC;AAEnB,gDAAgD;AAChD,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,gCAAgC,CAC9B,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC,CAAC;IAC1D;;;;;OAKG;IACH,yCAAyC,CACvC,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,4DAA4D,GACrE,OAAO,CAAC,sDAAsD,CAAC,CAAC;IACnE;;;;OAIG;IACH,0BAA0B,CACxB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC,CAAC;IACpD;;;;;OAKG;IACH,mCAAmC,CACjC,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC,CAAC;CAC9D"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
export {};
|
9
|
+
//# sourceMappingURL=eventOperations.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"eventOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/eventOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { Event, EventsListBySubscriptionIdOptionalParams, EventsListByTenantIdOptionalParams, EventsListBySingleResourceOptionalParams } from "../models";
|
3
|
+
/** Interface representing a EventsOperations. */
|
4
|
+
export interface EventsOperations {
|
5
|
+
/**
|
6
|
+
* Lists service health events in the subscription.
|
7
|
+
* @param options The options parameters.
|
8
|
+
*/
|
9
|
+
listBySubscriptionId(options?: EventsListBySubscriptionIdOptionalParams): PagedAsyncIterableIterator<Event>;
|
10
|
+
/**
|
11
|
+
* Lists current service health events in the tenant.
|
12
|
+
* @param options The options parameters.
|
13
|
+
*/
|
14
|
+
listByTenantId(options?: EventsListByTenantIdOptionalParams): PagedAsyncIterableIterator<Event>;
|
15
|
+
/**
|
16
|
+
* Lists current service health events for given resource.
|
17
|
+
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
18
|
+
* type. Currently the API support not nested and one nesting level resource types :
|
19
|
+
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
20
|
+
* and
|
21
|
+
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
|
22
|
+
* @param options The options parameters.
|
23
|
+
*/
|
24
|
+
listBySingleResource(resourceUri: string, options?: EventsListBySingleResourceOptionalParams): PagedAsyncIterableIterator<Event>;
|
25
|
+
}
|
26
|
+
//# sourceMappingURL=eventsOperations.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"eventsOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/eventsOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,KAAK,EACL,wCAAwC,EACxC,kCAAkC,EAClC,wCAAwC,EACzC,MAAM,WAAW,CAAC;AAGnB,iDAAiD;AACjD,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,oBAAoB,CAClB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,KAAK,CAAC,CAAC;IACrC;;;OAGG;IACH,cAAc,CACZ,OAAO,CAAC,EAAE,kCAAkC,GAC3C,0BAA0B,CAAC,KAAK,CAAC,CAAC;IACrC;;;;;;;;OAQG;IACH,oBAAoB,CAClB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,KAAK,CAAC,CAAC;CACtC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
export {};
|
9
|
+
//# sourceMappingURL=eventsOperations.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"eventsOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/eventsOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { EventImpactedResource, ImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams, ImpactedResourcesListByTenantIdAndEventIdOptionalParams, ImpactedResourcesGetOptionalParams, ImpactedResourcesGetResponse, ImpactedResourcesGetByTenantIdOptionalParams, ImpactedResourcesGetByTenantIdResponse } from "../models";
|
3
|
+
/** Interface representing a ImpactedResources. */
|
4
|
+
export interface ImpactedResources {
|
5
|
+
/**
|
6
|
+
* Lists impacted resources in the subscription by an event.
|
7
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
8
|
+
* @param options The options parameters.
|
9
|
+
*/
|
10
|
+
listBySubscriptionIdAndEventId(eventTrackingId: string, options?: ImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams): PagedAsyncIterableIterator<EventImpactedResource>;
|
11
|
+
/**
|
12
|
+
* Lists impacted resources in the tenant by an event.
|
13
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
14
|
+
* @param options The options parameters.
|
15
|
+
*/
|
16
|
+
listByTenantIdAndEventId(eventTrackingId: string, options?: ImpactedResourcesListByTenantIdAndEventIdOptionalParams): PagedAsyncIterableIterator<EventImpactedResource>;
|
17
|
+
/**
|
18
|
+
* Gets the specific impacted resource in the subscription by an event.
|
19
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
20
|
+
* @param impactedResourceName Name of the Impacted Resource.
|
21
|
+
* @param options The options parameters.
|
22
|
+
*/
|
23
|
+
get(eventTrackingId: string, impactedResourceName: string, options?: ImpactedResourcesGetOptionalParams): Promise<ImpactedResourcesGetResponse>;
|
24
|
+
/**
|
25
|
+
* Gets the specific impacted resource in the tenant by an event.
|
26
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
27
|
+
* @param impactedResourceName Name of the Impacted Resource.
|
28
|
+
* @param options The options parameters.
|
29
|
+
*/
|
30
|
+
getByTenantId(eventTrackingId: string, impactedResourceName: string, options?: ImpactedResourcesGetByTenantIdOptionalParams): Promise<ImpactedResourcesGetByTenantIdResponse>;
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=impactedResources.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"impactedResources.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/impactedResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,qBAAqB,EACrB,6DAA6D,EAC7D,uDAAuD,EACvD,kCAAkC,EAClC,4BAA4B,EAC5B,4CAA4C,EAC5C,sCAAsC,EACvC,MAAM,WAAW,CAAC;AAGnB,kDAAkD;AAClD,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,8BAA8B,CAC5B,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6DAA6D,GACtE,0BAA0B,CAAC,qBAAqB,CAAC,CAAC;IACrD;;;;OAIG;IACH,wBAAwB,CACtB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,uDAAuD,GAChE,0BAA0B,CAAC,qBAAqB,CAAC,CAAC;IACrD;;;;;OAKG;IACH,GAAG,CACD,eAAe,EAAE,MAAM,EACvB,oBAAoB,EAAE,MAAM,EAC5B,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACzC;;;;;OAKG;IACH,aAAa,CACX,eAAe,EAAE,MAAM,EACvB,oBAAoB,EAAE,MAAM,EAC5B,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;CACpD"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
export {};
|
9
|
+
//# sourceMappingURL=impactedResources.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"impactedResources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/impactedResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
@@ -1,6 +1,11 @@
|
|
1
1
|
export * from "./availabilityStatuses";
|
2
|
+
export * from "./operations";
|
3
|
+
export * from "./metadata";
|
4
|
+
export * from "./impactedResources";
|
5
|
+
export * from "./securityAdvisoryImpactedResources";
|
6
|
+
export * from "./eventsOperations";
|
7
|
+
export * from "./eventOperations";
|
2
8
|
export * from "./childAvailabilityStatuses";
|
3
9
|
export * from "./childResources";
|
4
|
-
export * from "./operations";
|
5
10
|
export * from "./emergingIssues";
|
6
11
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,wBAAwB,CAAC;AACvC,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qCAAqC,CAAC;AACpD,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
|
@@ -6,8 +6,13 @@
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
8
|
export * from "./availabilityStatuses";
|
9
|
+
export * from "./operations";
|
10
|
+
export * from "./metadata";
|
11
|
+
export * from "./impactedResources";
|
12
|
+
export * from "./securityAdvisoryImpactedResources";
|
13
|
+
export * from "./eventsOperations";
|
14
|
+
export * from "./eventOperations";
|
9
15
|
export * from "./childAvailabilityStatuses";
|
10
16
|
export * from "./childResources";
|
11
|
-
export * from "./operations";
|
12
17
|
export * from "./emergingIssues";
|
13
18
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,wBAAwB,CAAC;AACvC,cAAc,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qCAAqC,CAAC;AACpD,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { MetadataEntity, MetadataListOptionalParams, MetadataGetEntityOptionalParams, MetadataGetEntityResponse } from "../models";
|
3
|
+
/** Interface representing a Metadata. */
|
4
|
+
export interface Metadata {
|
5
|
+
/**
|
6
|
+
* Gets the list of metadata entities.
|
7
|
+
* @param options The options parameters.
|
8
|
+
*/
|
9
|
+
list(options?: MetadataListOptionalParams): PagedAsyncIterableIterator<MetadataEntity>;
|
10
|
+
/**
|
11
|
+
* Gets the list of metadata entities.
|
12
|
+
* @param name Name of metadata entity.
|
13
|
+
* @param options The options parameters.
|
14
|
+
*/
|
15
|
+
getEntity(name: string, options?: MetadataGetEntityOptionalParams): Promise<MetadataGetEntityResponse>;
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=metadata.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/metadata.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,cAAc,EACd,0BAA0B,EAC1B,+BAA+B,EAC/B,yBAAyB,EAC1B,MAAM,WAAW,CAAC;AAGnB,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,cAAc,CAAC,CAAC;IAC9C;;;;OAIG;IACH,SAAS,CACP,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACvC"}
|