@azure/arm-resourcehealth 1.2.0 → 3.0.0-alpha.20211215.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +26 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +69 -83
- package/dist/index.js +1811 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/microsoftResourceHealth.d.ts +20 -0
- package/dist-esm/src/microsoftResourceHealth.d.ts.map +1 -0
- package/dist-esm/src/microsoftResourceHealth.js +27 -0
- package/dist-esm/src/microsoftResourceHealth.js.map +1 -0
- package/dist-esm/src/microsoftResourceHealthContext.d.ts +17 -0
- package/dist-esm/src/microsoftResourceHealthContext.d.ts.map +1 -0
- package/dist-esm/src/microsoftResourceHealthContext.js +50 -0
- package/dist-esm/src/microsoftResourceHealthContext.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +402 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +22 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +21 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +393 -170
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +12 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +52 -36
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/availabilityStatuses.d.ts +102 -0
- package/dist-esm/src/operations/availabilityStatuses.d.ts.map +1 -0
- package/dist-esm/src/operations/availabilityStatuses.js +407 -0
- package/dist-esm/src/operations/availabilityStatuses.js.map +1 -0
- package/dist-esm/src/operations/childAvailabilityStatuses.d.ts +51 -0
- package/dist-esm/src/operations/childAvailabilityStatuses.d.ts.map +1 -0
- package/dist-esm/src/operations/childAvailabilityStatuses.js +173 -0
- package/dist-esm/src/operations/childAvailabilityStatuses.js.map +1 -0
- package/dist-esm/src/operations/childResources.d.ts +43 -0
- package/dist-esm/src/operations/childResources.d.ts.map +1 -0
- package/dist-esm/src/operations/childResources.js +143 -0
- package/dist-esm/src/operations/childResources.js.map +1 -0
- package/dist-esm/src/operations/emergingIssues.d.ts +37 -0
- package/dist-esm/src/operations/emergingIssues.d.ts.map +1 -0
- package/dist-esm/src/operations/emergingIssues.js +143 -0
- package/dist-esm/src/operations/emergingIssues.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +6 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +13 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +18 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +46 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/availabilityStatuses.js +9 -0
- package/dist-esm/src/operationsInterfaces/availabilityStatuses.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js +9 -0
- package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/childResources.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/childResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/childResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/childResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/emergingIssues.js +9 -0
- package/dist-esm/src/operationsInterfaces/emergingIssues.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +67 -24
- package/review/arm-resourcehealth.api.md +396 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +13 -0
- package/src/microsoftResourceHealth.ts +40 -38
- package/src/microsoftResourceHealthContext.ts +49 -47
- package/src/models/index.ts +382 -532
- package/src/models/mappers.ts +409 -175
- package/src/models/parameters.ts +66 -37
- package/src/operations/availabilityStatuses.ts +335 -272
- package/src/operations/childAvailabilityStatuses.ts +210 -0
- package/src/operations/childResources.ts +168 -0
- package/src/operations/emergingIssues.ts +165 -0
- package/src/operations/index.ts +6 -5
- package/src/operations/operations.ts +26 -41
- package/src/operationsInterfaces/availabilityStatuses.ts +67 -0
- package/src/operationsInterfaces/childAvailabilityStatuses.ts +43 -0
- package/src/operationsInterfaces/childResources.ts +30 -0
- package/src/operationsInterfaces/emergingIssues.ts +34 -0
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/operations.ts +21 -0
- package/tsconfig.json +4 -4
- package/types/arm-resourcehealth.d.ts +588 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-resourcehealth.js +0 -1047
- package/dist/arm-resourcehealth.js.map +0 -1
- package/dist/arm-resourcehealth.min.js +0 -1
- package/dist/arm-resourcehealth.min.js.map +0 -1
- package/esm/microsoftResourceHealth.d.ts +0 -26
- package/esm/microsoftResourceHealth.d.ts.map +0 -1
- package/esm/microsoftResourceHealth.js +0 -40
- package/esm/microsoftResourceHealth.js.map +0 -1
- package/esm/microsoftResourceHealthContext.d.ts +0 -23
- package/esm/microsoftResourceHealthContext.d.ts.map +0 -1
- package/esm/microsoftResourceHealthContext.js +0 -62
- package/esm/microsoftResourceHealthContext.js.map +0 -1
- package/esm/models/availabilityStatusesMappers.d.ts +0 -2
- package/esm/models/availabilityStatusesMappers.d.ts.map +0 -1
- package/esm/models/availabilityStatusesMappers.js +0 -11
- package/esm/models/availabilityStatusesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -589
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -16
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -10
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/availabilityStatuses.d.ts +0 -166
- package/esm/operations/availabilityStatuses.d.ts.map +0 -1
- package/esm/operations/availabilityStatuses.js +0 -225
- package/esm/operations/availabilityStatuses.js.map +0 -1
- package/esm/operations/index.d.ts +0 -3
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -12
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/src/models/availabilityStatusesMappers.ts +0 -22
- package/src/models/operationsMappers.ts +0 -17
package/src/models/parameters.ts
CHANGED
@@ -1,52 +1,55 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
* license information.
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
5
4
|
*
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
9
7
|
*/
|
10
8
|
|
11
|
-
import
|
9
|
+
import {
|
10
|
+
OperationParameter,
|
11
|
+
OperationURLParameter,
|
12
|
+
OperationQueryParameter
|
13
|
+
} from "@azure/core-client";
|
12
14
|
|
13
|
-
export const
|
14
|
-
parameterPath: "
|
15
|
+
export const accept: OperationParameter = {
|
16
|
+
parameterPath: "accept",
|
15
17
|
mapper: {
|
16
|
-
|
17
|
-
|
18
|
+
defaultValue: "application/json",
|
19
|
+
isConstant: true,
|
20
|
+
serializedName: "Accept",
|
18
21
|
type: {
|
19
22
|
name: "String"
|
20
23
|
}
|
21
24
|
}
|
22
25
|
};
|
23
|
-
|
24
|
-
|
26
|
+
|
27
|
+
export const $host: OperationURLParameter = {
|
28
|
+
parameterPath: "$host",
|
25
29
|
mapper: {
|
30
|
+
serializedName: "$host",
|
26
31
|
required: true,
|
27
|
-
serializedName: "api-version",
|
28
32
|
type: {
|
29
33
|
name: "String"
|
30
34
|
}
|
31
|
-
}
|
35
|
+
},
|
36
|
+
skipEncoding: true
|
32
37
|
};
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
"expand"
|
37
|
-
],
|
38
|
+
|
39
|
+
export const apiVersion: OperationQueryParameter = {
|
40
|
+
parameterPath: "apiVersion",
|
38
41
|
mapper: {
|
39
|
-
|
42
|
+
defaultValue: "2017-07-01",
|
43
|
+
isConstant: true,
|
44
|
+
serializedName: "api-version",
|
40
45
|
type: {
|
41
46
|
name: "String"
|
42
47
|
}
|
43
48
|
}
|
44
49
|
};
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
"filter"
|
49
|
-
],
|
50
|
+
|
51
|
+
export const filter: OperationQueryParameter = {
|
52
|
+
parameterPath: ["options", "filter"],
|
50
53
|
mapper: {
|
51
54
|
serializedName: "$filter",
|
52
55
|
type: {
|
@@ -54,43 +57,69 @@ export const filter: msRest.OperationQueryParameter = {
|
|
54
57
|
}
|
55
58
|
}
|
56
59
|
};
|
57
|
-
|
58
|
-
|
60
|
+
|
61
|
+
export const subscriptionId: OperationURLParameter = {
|
62
|
+
parameterPath: "subscriptionId",
|
59
63
|
mapper: {
|
64
|
+
serializedName: "subscriptionId",
|
60
65
|
required: true,
|
61
|
-
serializedName: "nextLink",
|
62
66
|
type: {
|
63
67
|
name: "String"
|
64
68
|
}
|
65
|
-
}
|
66
|
-
|
69
|
+
}
|
70
|
+
};
|
71
|
+
|
72
|
+
export const expand: OperationQueryParameter = {
|
73
|
+
parameterPath: ["options", "expand"],
|
74
|
+
mapper: {
|
75
|
+
serializedName: "$expand",
|
76
|
+
type: {
|
77
|
+
name: "String"
|
78
|
+
}
|
79
|
+
}
|
67
80
|
};
|
68
|
-
|
81
|
+
|
82
|
+
export const resourceGroupName: OperationURLParameter = {
|
69
83
|
parameterPath: "resourceGroupName",
|
70
84
|
mapper: {
|
71
|
-
required: true,
|
72
85
|
serializedName: "resourceGroupName",
|
86
|
+
required: true,
|
73
87
|
type: {
|
74
88
|
name: "String"
|
75
89
|
}
|
76
90
|
}
|
77
91
|
};
|
78
|
-
|
92
|
+
|
93
|
+
export const resourceUri: OperationURLParameter = {
|
79
94
|
parameterPath: "resourceUri",
|
80
95
|
mapper: {
|
81
|
-
required: true,
|
82
96
|
serializedName: "resourceUri",
|
97
|
+
required: true,
|
83
98
|
type: {
|
84
99
|
name: "String"
|
85
100
|
}
|
86
101
|
},
|
87
102
|
skipEncoding: true
|
88
103
|
};
|
89
|
-
|
90
|
-
|
104
|
+
|
105
|
+
export const nextLink: OperationURLParameter = {
|
106
|
+
parameterPath: "nextLink",
|
91
107
|
mapper: {
|
108
|
+
serializedName: "nextLink",
|
92
109
|
required: true,
|
93
|
-
|
110
|
+
type: {
|
111
|
+
name: "String"
|
112
|
+
}
|
113
|
+
},
|
114
|
+
skipEncoding: true
|
115
|
+
};
|
116
|
+
|
117
|
+
export const issueName: OperationURLParameter = {
|
118
|
+
parameterPath: "issueName",
|
119
|
+
mapper: {
|
120
|
+
defaultValue: "default",
|
121
|
+
isConstant: true,
|
122
|
+
serializedName: "issueName",
|
94
123
|
type: {
|
95
124
|
name: "String"
|
96
125
|
}
|