@azure/arm-resourcehealth 2.0.0 → 3.0.0-alpha.20211124.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +70 -82
- 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 +233 -309
- 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 +44 -39
- 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/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- 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/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/availabilityStatuses.js} +2 -7
- 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/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js} +2 -2
- 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/{esm/models/index.js → dist-esm/src/operationsInterfaces/operations.js} +2 -1
- 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 +63 -22
- package/review/arm-resourcehealth.api.md +396 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +13 -0
- package/src/microsoftResourceHealth.ts +38 -41
- package/src/microsoftResourceHealthContext.ts +47 -44
- package/src/models/index.ts +322 -878
- package/src/models/mappers.ts +232 -320
- package/src/models/parameters.ts +58 -40
- package/src/operations/availabilityStatuses.ts +325 -276
- package/src/operations/childAvailabilityStatuses.ts +137 -130
- package/src/operations/childResources.ts +109 -85
- package/src/operations/emergingIssues.ts +96 -103
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +24 -38
- 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 +3 -3
- package/types/arm-resourcehealth.d.ts +588 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-resourcehealth.js +0 -1743
- 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 -29
- package/esm/microsoftResourceHealth.d.ts.map +0 -1
- package/esm/microsoftResourceHealth.js +0 -42
- 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 -61
- 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 -9
- package/esm/models/availabilityStatusesMappers.js.map +0 -1
- package/esm/models/childAvailabilityStatusesMappers.d.ts +0 -2
- package/esm/models/childAvailabilityStatusesMappers.d.ts.map +0 -1
- package/esm/models/childAvailabilityStatusesMappers.js +0 -9
- package/esm/models/childAvailabilityStatusesMappers.js.map +0 -1
- package/esm/models/childResourcesMappers.d.ts +0 -2
- package/esm/models/childResourcesMappers.d.ts.map +0 -1
- package/esm/models/childResourcesMappers.js +0 -9
- package/esm/models/childResourcesMappers.js.map +0 -1
- package/esm/models/emergingIssuesMappers.d.ts +0 -2
- package/esm/models/emergingIssuesMappers.d.ts.map +0 -1
- package/esm/models/emergingIssuesMappers.js +0 -9
- package/esm/models/emergingIssuesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -957
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -26
- 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.map +0 -1
- package/esm/models/parameters.d.ts +0 -11
- 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 -239
- package/esm/operations/availabilityStatuses.js.map +0 -1
- package/esm/operations/childAvailabilityStatuses.d.ts +0 -81
- package/esm/operations/childAvailabilityStatuses.d.ts.map +0 -1
- package/esm/operations/childAvailabilityStatuses.js +0 -117
- package/esm/operations/childAvailabilityStatuses.js.map +0 -1
- package/esm/operations/childResources.d.ts +0 -57
- package/esm/operations/childResources.d.ts.map +0 -1
- package/esm/operations/childResources.js +0 -87
- package/esm/operations/childResources.js.map +0 -1
- package/esm/operations/emergingIssues.d.ts +0 -61
- package/esm/operations/emergingIssues.d.ts.map +0 -1
- package/esm/operations/emergingIssues.js +0 -106
- package/esm/operations/emergingIssues.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- 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 -50
- package/esm/operations/operations.js.map +0 -1
- package/src/models/availabilityStatusesMappers.ts +0 -19
- package/src/models/childAvailabilityStatusesMappers.ts +0 -19
- package/src/models/childResourcesMappers.ts +0 -19
- package/src/models/emergingIssuesMappers.ts +0 -22
package/src/models/parameters.ts
CHANGED
@@ -3,49 +3,53 @@
|
|
3
3
|
* Licensed under the MIT License.
|
4
4
|
*
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
7
|
-
* regenerated.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
7
|
*/
|
9
8
|
|
10
|
-
import
|
9
|
+
import {
|
10
|
+
OperationParameter,
|
11
|
+
OperationURLParameter,
|
12
|
+
OperationQueryParameter
|
13
|
+
} from "@azure/core-client";
|
11
14
|
|
12
|
-
export const
|
13
|
-
parameterPath: "
|
15
|
+
export const accept: OperationParameter = {
|
16
|
+
parameterPath: "accept",
|
14
17
|
mapper: {
|
15
|
-
|
16
|
-
|
18
|
+
defaultValue: "application/json",
|
19
|
+
isConstant: true,
|
20
|
+
serializedName: "Accept",
|
17
21
|
type: {
|
18
22
|
name: "String"
|
19
23
|
}
|
20
24
|
}
|
21
25
|
};
|
22
|
-
|
23
|
-
|
26
|
+
|
27
|
+
export const $host: OperationURLParameter = {
|
28
|
+
parameterPath: "$host",
|
24
29
|
mapper: {
|
30
|
+
serializedName: "$host",
|
25
31
|
required: true,
|
26
|
-
serializedName: "api-version",
|
27
32
|
type: {
|
28
33
|
name: "String"
|
29
34
|
}
|
30
|
-
}
|
35
|
+
},
|
36
|
+
skipEncoding: true
|
31
37
|
};
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
"expand"
|
36
|
-
],
|
38
|
+
|
39
|
+
export const apiVersion: OperationQueryParameter = {
|
40
|
+
parameterPath: "apiVersion",
|
37
41
|
mapper: {
|
38
|
-
|
42
|
+
defaultValue: "2017-07-01",
|
43
|
+
isConstant: true,
|
44
|
+
serializedName: "api-version",
|
39
45
|
type: {
|
40
46
|
name: "String"
|
41
47
|
}
|
42
48
|
}
|
43
49
|
};
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
"filter"
|
48
|
-
],
|
50
|
+
|
51
|
+
export const filter: OperationQueryParameter = {
|
52
|
+
parameterPath: ["options", "filter"],
|
49
53
|
mapper: {
|
50
54
|
serializedName: "$filter",
|
51
55
|
type: {
|
@@ -53,55 +57,69 @@ export const filter: msRest.OperationQueryParameter = {
|
|
53
57
|
}
|
54
58
|
}
|
55
59
|
};
|
56
|
-
|
57
|
-
|
60
|
+
|
61
|
+
export const subscriptionId: OperationURLParameter = {
|
62
|
+
parameterPath: "subscriptionId",
|
58
63
|
mapper: {
|
64
|
+
serializedName: "subscriptionId",
|
59
65
|
required: true,
|
60
|
-
isConstant: true,
|
61
|
-
serializedName: "issueName",
|
62
|
-
defaultValue: 'default',
|
63
66
|
type: {
|
64
67
|
name: "String"
|
65
68
|
}
|
66
69
|
}
|
67
70
|
};
|
68
|
-
|
69
|
-
|
71
|
+
|
72
|
+
export const expand: OperationQueryParameter = {
|
73
|
+
parameterPath: ["options", "expand"],
|
70
74
|
mapper: {
|
71
|
-
|
72
|
-
serializedName: "nextLink",
|
75
|
+
serializedName: "$expand",
|
73
76
|
type: {
|
74
77
|
name: "String"
|
75
78
|
}
|
76
|
-
}
|
77
|
-
skipEncoding: true
|
79
|
+
}
|
78
80
|
};
|
79
|
-
|
81
|
+
|
82
|
+
export const resourceGroupName: OperationURLParameter = {
|
80
83
|
parameterPath: "resourceGroupName",
|
81
84
|
mapper: {
|
82
|
-
required: true,
|
83
85
|
serializedName: "resourceGroupName",
|
86
|
+
required: true,
|
84
87
|
type: {
|
85
88
|
name: "String"
|
86
89
|
}
|
87
90
|
}
|
88
91
|
};
|
89
|
-
|
92
|
+
|
93
|
+
export const resourceUri: OperationURLParameter = {
|
90
94
|
parameterPath: "resourceUri",
|
91
95
|
mapper: {
|
92
|
-
required: true,
|
93
96
|
serializedName: "resourceUri",
|
97
|
+
required: true,
|
94
98
|
type: {
|
95
99
|
name: "String"
|
96
100
|
}
|
97
101
|
},
|
98
102
|
skipEncoding: true
|
99
103
|
};
|
100
|
-
|
101
|
-
|
104
|
+
|
105
|
+
export const nextLink: OperationURLParameter = {
|
106
|
+
parameterPath: "nextLink",
|
102
107
|
mapper: {
|
108
|
+
serializedName: "nextLink",
|
103
109
|
required: true,
|
104
|
-
|
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",
|
105
123
|
type: {
|
106
124
|
name: "String"
|
107
125
|
}
|