@azure/arm-maintenance 1.0.0-alpha.20250718.1 → 1.0.0-alpha.20250721.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/maintenanceManagementClient.js +25 -5
- package/dist/browser/maintenanceManagementClient.js.map +1 -1
- package/dist/browser/models/mappers.js +47 -22
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/applyUpdateForResourceGroup.js +10 -27
- package/dist/browser/operations/applyUpdateForResourceGroup.js.map +1 -1
- package/dist/browser/operations/applyUpdates.js +10 -27
- package/dist/browser/operations/applyUpdates.js.map +1 -1
- package/dist/browser/operations/configurationAssignments.js +19 -53
- package/dist/browser/operations/configurationAssignments.js.map +1 -1
- package/dist/browser/operations/configurationAssignmentsForResourceGroup.js +1 -0
- package/dist/browser/operations/configurationAssignmentsForResourceGroup.js.map +1 -1
- package/dist/browser/operations/configurationAssignmentsForSubscriptions.js +1 -0
- package/dist/browser/operations/configurationAssignmentsForSubscriptions.js.map +1 -1
- package/dist/browser/operations/configurationAssignmentsWithinSubscription.js +10 -27
- package/dist/browser/operations/configurationAssignmentsWithinSubscription.js.map +1 -1
- package/dist/browser/operations/maintenanceConfigurations.js +10 -27
- package/dist/browser/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/browser/operations/maintenanceConfigurationsForResourceGroup.js +10 -27
- package/dist/browser/operations/maintenanceConfigurationsForResourceGroup.js.map +1 -1
- package/dist/browser/operations/operations.js +10 -27
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/publicMaintenanceConfigurations.js +10 -27
- package/dist/browser/operations/publicMaintenanceConfigurations.js.map +1 -1
- package/dist/browser/operations/scheduledEvent.js +1 -0
- package/dist/browser/operations/scheduledEvent.js.map +1 -1
- package/dist/browser/operations/updates.js +19 -53
- package/dist/browser/operations/updates.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/maintenanceManagementClient.js +25 -5
- package/dist/commonjs/maintenanceManagementClient.js.map +1 -1
- package/dist/commonjs/models/mappers.js +47 -22
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/applyUpdateForResourceGroup.js +10 -26
- package/dist/commonjs/operations/applyUpdateForResourceGroup.js.map +1 -1
- package/dist/commonjs/operations/applyUpdates.js +10 -26
- package/dist/commonjs/operations/applyUpdates.js.map +1 -1
- package/dist/commonjs/operations/configurationAssignments.js +19 -52
- package/dist/commonjs/operations/configurationAssignments.js.map +1 -1
- package/dist/commonjs/operations/configurationAssignmentsForResourceGroup.js +1 -0
- package/dist/commonjs/operations/configurationAssignmentsForResourceGroup.js.map +1 -1
- package/dist/commonjs/operations/configurationAssignmentsForSubscriptions.js +1 -0
- package/dist/commonjs/operations/configurationAssignmentsForSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/configurationAssignmentsWithinSubscription.js +10 -26
- package/dist/commonjs/operations/configurationAssignmentsWithinSubscription.js.map +1 -1
- package/dist/commonjs/operations/maintenanceConfigurations.js +10 -26
- package/dist/commonjs/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/commonjs/operations/maintenanceConfigurationsForResourceGroup.js +10 -26
- package/dist/commonjs/operations/maintenanceConfigurationsForResourceGroup.js.map +1 -1
- package/dist/commonjs/operations/operations.js +10 -26
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/publicMaintenanceConfigurations.js +10 -26
- package/dist/commonjs/operations/publicMaintenanceConfigurations.js.map +1 -1
- package/dist/commonjs/operations/scheduledEvent.js +1 -0
- package/dist/commonjs/operations/scheduledEvent.js.map +1 -1
- package/dist/commonjs/operations/updates.js +19 -52
- package/dist/commonjs/operations/updates.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/esm/maintenanceManagementClient.js +25 -5
- package/dist/esm/maintenanceManagementClient.js.map +1 -1
- package/dist/esm/models/mappers.js +47 -22
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/applyUpdateForResourceGroup.js +10 -27
- package/dist/esm/operations/applyUpdateForResourceGroup.js.map +1 -1
- package/dist/esm/operations/applyUpdates.js +10 -27
- package/dist/esm/operations/applyUpdates.js.map +1 -1
- package/dist/esm/operations/configurationAssignments.js +19 -53
- package/dist/esm/operations/configurationAssignments.js.map +1 -1
- package/dist/esm/operations/configurationAssignmentsForResourceGroup.js +1 -0
- package/dist/esm/operations/configurationAssignmentsForResourceGroup.js.map +1 -1
- package/dist/esm/operations/configurationAssignmentsForSubscriptions.js +1 -0
- package/dist/esm/operations/configurationAssignmentsForSubscriptions.js.map +1 -1
- package/dist/esm/operations/configurationAssignmentsWithinSubscription.js +10 -27
- package/dist/esm/operations/configurationAssignmentsWithinSubscription.js.map +1 -1
- package/dist/esm/operations/maintenanceConfigurations.js +10 -27
- package/dist/esm/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/esm/operations/maintenanceConfigurationsForResourceGroup.js +10 -27
- package/dist/esm/operations/maintenanceConfigurationsForResourceGroup.js.map +1 -1
- package/dist/esm/operations/operations.js +10 -27
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/publicMaintenanceConfigurations.js +10 -27
- package/dist/esm/operations/publicMaintenanceConfigurations.js.map +1 -1
- package/dist/esm/operations/scheduledEvent.js +1 -0
- package/dist/esm/operations/scheduledEvent.js.map +1 -1
- package/dist/esm/operations/updates.js +19 -53
- package/dist/esm/operations/updates.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/maintenanceManagementClient.js +25 -5
- package/dist/react-native/maintenanceManagementClient.js.map +1 -1
- package/dist/react-native/models/mappers.js +47 -22
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/applyUpdateForResourceGroup.js +10 -27
- package/dist/react-native/operations/applyUpdateForResourceGroup.js.map +1 -1
- package/dist/react-native/operations/applyUpdates.js +10 -27
- package/dist/react-native/operations/applyUpdates.js.map +1 -1
- package/dist/react-native/operations/configurationAssignments.js +19 -53
- package/dist/react-native/operations/configurationAssignments.js.map +1 -1
- package/dist/react-native/operations/configurationAssignmentsForResourceGroup.js +1 -0
- package/dist/react-native/operations/configurationAssignmentsForResourceGroup.js.map +1 -1
- package/dist/react-native/operations/configurationAssignmentsForSubscriptions.js +1 -0
- package/dist/react-native/operations/configurationAssignmentsForSubscriptions.js.map +1 -1
- package/dist/react-native/operations/configurationAssignmentsWithinSubscription.js +10 -27
- package/dist/react-native/operations/configurationAssignmentsWithinSubscription.js.map +1 -1
- package/dist/react-native/operations/maintenanceConfigurations.js +10 -27
- package/dist/react-native/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/react-native/operations/maintenanceConfigurationsForResourceGroup.js +10 -27
- package/dist/react-native/operations/maintenanceConfigurationsForResourceGroup.js.map +1 -1
- package/dist/react-native/operations/operations.js +10 -27
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/publicMaintenanceConfigurations.js +10 -27
- package/dist/react-native/operations/publicMaintenanceConfigurations.js.map +1 -1
- package/dist/react-native/operations/scheduledEvent.js +1 -0
- package/dist/react-native/operations/scheduledEvent.js.map +1 -1
- package/dist/react-native/operations/updates.js +19 -53
- package/dist/react-native/operations/updates.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +2 -2
|
@@ -9,6 +9,9 @@ import * as coreClient from "@azure/core-client";
|
|
|
9
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
10
|
import { ScheduledEventImpl, PublicMaintenanceConfigurationsImpl, ApplyUpdatesImpl, ConfigurationAssignmentsImpl, MaintenanceConfigurationsImpl, MaintenanceConfigurationsForResourceGroupImpl, ApplyUpdateForResourceGroupImpl, ConfigurationAssignmentsWithinSubscriptionImpl, ConfigurationAssignmentsForSubscriptionsImpl, ConfigurationAssignmentsForResourceGroupImpl, OperationsImpl, UpdatesImpl, } from "./operations/index.js";
|
|
11
11
|
export class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
12
|
+
$host;
|
|
13
|
+
subscriptionId;
|
|
14
|
+
apiVersion;
|
|
12
15
|
/**
|
|
13
16
|
* Initializes a new instance of the MaintenanceManagementClient class.
|
|
14
17
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -16,7 +19,6 @@ export class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
|
16
19
|
* @param options The parameter options
|
|
17
20
|
*/
|
|
18
21
|
constructor(credentials, subscriptionId, options) {
|
|
19
|
-
var _a, _b, _c;
|
|
20
22
|
if (credentials === undefined) {
|
|
21
23
|
throw new Error("'credentials' cannot be null");
|
|
22
24
|
}
|
|
@@ -35,12 +37,17 @@ export class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
|
35
37
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
36
38
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
37
39
|
: `${packageDetails}`;
|
|
38
|
-
const optionsWithDefaults =
|
|
40
|
+
const optionsWithDefaults = {
|
|
41
|
+
...defaults,
|
|
42
|
+
...options,
|
|
43
|
+
userAgentOptions: {
|
|
39
44
|
userAgentPrefix,
|
|
40
|
-
},
|
|
45
|
+
},
|
|
46
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
|
|
47
|
+
};
|
|
41
48
|
super(optionsWithDefaults);
|
|
42
49
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
43
|
-
if (
|
|
50
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
44
51
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
45
52
|
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
46
53
|
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
@@ -54,7 +61,8 @@ export class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
|
54
61
|
});
|
|
55
62
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
56
63
|
credential: credentials,
|
|
57
|
-
scopes:
|
|
64
|
+
scopes: optionsWithDefaults.credentialScopes ??
|
|
65
|
+
`${optionsWithDefaults.endpoint}/.default`,
|
|
58
66
|
challengeCallbacks: {
|
|
59
67
|
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
60
68
|
},
|
|
@@ -109,5 +117,17 @@ export class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
|
109
117
|
};
|
|
110
118
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
111
119
|
}
|
|
120
|
+
scheduledEvent;
|
|
121
|
+
publicMaintenanceConfigurations;
|
|
122
|
+
applyUpdates;
|
|
123
|
+
configurationAssignments;
|
|
124
|
+
maintenanceConfigurations;
|
|
125
|
+
maintenanceConfigurationsForResourceGroup;
|
|
126
|
+
applyUpdateForResourceGroup;
|
|
127
|
+
configurationAssignmentsWithinSubscription;
|
|
128
|
+
configurationAssignmentsForSubscriptions;
|
|
129
|
+
configurationAssignmentsForResourceGroup;
|
|
130
|
+
operations;
|
|
131
|
+
updates;
|
|
112
132
|
}
|
|
113
133
|
//# sourceMappingURL=maintenanceManagementClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maintenanceManagementClient.js","sourceRoot":"","sources":["../../src/maintenanceManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,kBAAkB,EAClB,mCAAmC,EACnC,gBAAgB,EAChB,4BAA4B,EAC5B,6BAA6B,EAC7B,6CAA6C,EAC7C,+BAA+B,EAC/B,8CAA8C,EAC9C,4CA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,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAcF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ScheduledEventImpl,\n PublicMaintenanceConfigurationsImpl,\n ApplyUpdatesImpl,\n ConfigurationAssignmentsImpl,\n MaintenanceConfigurationsImpl,\n MaintenanceConfigurationsForResourceGroupImpl,\n ApplyUpdateForResourceGroupImpl,\n ConfigurationAssignmentsWithinSubscriptionImpl,\n ConfigurationAssignmentsForSubscriptionsImpl,\n ConfigurationAssignmentsForResourceGroupImpl,\n OperationsImpl,\n UpdatesImpl,\n} from \"./operations/index.js\";\nimport {\n ScheduledEvent,\n PublicMaintenanceConfigurations,\n ApplyUpdates,\n ConfigurationAssignments,\n MaintenanceConfigurations,\n MaintenanceConfigurationsForResourceGroup,\n ApplyUpdateForResourceGroup,\n ConfigurationAssignmentsWithinSubscription,\n ConfigurationAssignmentsForSubscriptions,\n ConfigurationAssignmentsForResourceGroup,\n Operations,\n Updates,\n} from \"./operationsInterfaces/index.js\";\nimport { MaintenanceManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class MaintenanceManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the MaintenanceManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: MaintenanceManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: MaintenanceManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-maintenance/1.0.0-beta.3`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-10-01-preview\";\n this.scheduledEvent = new ScheduledEventImpl(this);\n this.publicMaintenanceConfigurations =\n new PublicMaintenanceConfigurationsImpl(this);\n this.applyUpdates = new ApplyUpdatesImpl(this);\n this.configurationAssignments = new ConfigurationAssignmentsImpl(this);\n this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);\n this.maintenanceConfigurationsForResourceGroup =\n new MaintenanceConfigurationsForResourceGroupImpl(this);\n this.applyUpdateForResourceGroup = new ApplyUpdateForResourceGroupImpl(\n this,\n );\n this.configurationAssignmentsWithinSubscription =\n new ConfigurationAssignmentsWithinSubscriptionImpl(this);\n this.configurationAssignmentsForSubscriptions =\n new ConfigurationAssignmentsForSubscriptionsImpl(this);\n this.configurationAssignmentsForResourceGroup =\n new ConfigurationAssignmentsForResourceGroupImpl(this);\n this.operations = new OperationsImpl(this);\n this.updates = new UpdatesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n scheduledEvent: ScheduledEvent;\n publicMaintenanceConfigurations: PublicMaintenanceConfigurations;\n applyUpdates: ApplyUpdates;\n configurationAssignments: ConfigurationAssignments;\n maintenanceConfigurations: MaintenanceConfigurations;\n maintenanceConfigurationsForResourceGroup: MaintenanceConfigurationsForResourceGroup;\n applyUpdateForResourceGroup: ApplyUpdateForResourceGroup;\n configurationAssignmentsWithinSubscription: ConfigurationAssignmentsWithinSubscription;\n configurationAssignmentsForSubscriptions: ConfigurationAssignmentsForSubscriptions;\n configurationAssignmentsForResourceGroup: ConfigurationAssignmentsForResourceGroup;\n operations: Operations;\n updates: Updates;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"maintenanceManagementClient.js","sourceRoot":"","sources":["../../src/maintenanceManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,kBAAkB,EAClB,mCAAmC,EACnC,gBAAgB,EAChB,4BAA4B,EAC5B,6BAA6B,EAC7B,6CAA6C,EAC7C,+BAA+B,EAC/B,8CAA8C,EAC9C,4CAA4C,EAC5C,4CAA4C,EAC5C,cAAc,EACd,WAAW,GACZ,MAAM,uBAAuB,CAAC;AAiB/B,MAAM,OAAO,2BAA4B,SAAQ,UAAU,CAAC,aAAa;IACvE,KAAK,CAAS;IACd,cAAc,CAAS;IACvB,UAAU,CAAS;IAEnB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAmD;QAEnD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;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B,wBAAwB,CAA2B;IACnD,yBAAyB,CAA4B;IACrD,yCAAyC,CAA4C;IACrF,2BAA2B,CAA8B;IACzD,0CAA0C,CAA6C;IACvF,wCAAwC,CAA2C;IACnF,wCAAwC,CAA2C;IACnF,UAAU,CAAa;IACvB,OAAO,CAAU;CAClB","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ScheduledEventImpl,\n PublicMaintenanceConfigurationsImpl,\n ApplyUpdatesImpl,\n ConfigurationAssignmentsImpl,\n MaintenanceConfigurationsImpl,\n MaintenanceConfigurationsForResourceGroupImpl,\n ApplyUpdateForResourceGroupImpl,\n ConfigurationAssignmentsWithinSubscriptionImpl,\n ConfigurationAssignmentsForSubscriptionsImpl,\n ConfigurationAssignmentsForResourceGroupImpl,\n OperationsImpl,\n UpdatesImpl,\n} from \"./operations/index.js\";\nimport {\n ScheduledEvent,\n PublicMaintenanceConfigurations,\n ApplyUpdates,\n ConfigurationAssignments,\n MaintenanceConfigurations,\n MaintenanceConfigurationsForResourceGroup,\n ApplyUpdateForResourceGroup,\n ConfigurationAssignmentsWithinSubscription,\n ConfigurationAssignmentsForSubscriptions,\n ConfigurationAssignmentsForResourceGroup,\n Operations,\n Updates,\n} from \"./operationsInterfaces/index.js\";\nimport { MaintenanceManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class MaintenanceManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the MaintenanceManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: MaintenanceManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: MaintenanceManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-maintenance/1.0.0-beta.3`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-10-01-preview\";\n this.scheduledEvent = new ScheduledEventImpl(this);\n this.publicMaintenanceConfigurations =\n new PublicMaintenanceConfigurationsImpl(this);\n this.applyUpdates = new ApplyUpdatesImpl(this);\n this.configurationAssignments = new ConfigurationAssignmentsImpl(this);\n this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);\n this.maintenanceConfigurationsForResourceGroup =\n new MaintenanceConfigurationsForResourceGroupImpl(this);\n this.applyUpdateForResourceGroup = new ApplyUpdateForResourceGroupImpl(\n this,\n );\n this.configurationAssignmentsWithinSubscription =\n new ConfigurationAssignmentsWithinSubscriptionImpl(this);\n this.configurationAssignmentsForSubscriptions =\n new ConfigurationAssignmentsForSubscriptionsImpl(this);\n this.configurationAssignmentsForResourceGroup =\n new ConfigurationAssignmentsForResourceGroupImpl(this);\n this.operations = new OperationsImpl(this);\n this.updates = new UpdatesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n scheduledEvent: ScheduledEvent;\n publicMaintenanceConfigurations: PublicMaintenanceConfigurations;\n applyUpdates: ApplyUpdates;\n configurationAssignments: ConfigurationAssignments;\n maintenanceConfigurations: MaintenanceConfigurations;\n maintenanceConfigurationsForResourceGroup: MaintenanceConfigurationsForResourceGroup;\n applyUpdateForResourceGroup: ApplyUpdateForResourceGroup;\n configurationAssignmentsWithinSubscription: ConfigurationAssignmentsWithinSubscription;\n configurationAssignmentsForSubscriptions: ConfigurationAssignmentsForSubscriptions;\n configurationAssignmentsForResourceGroup: ConfigurationAssignmentsForResourceGroup;\n operations: Operations;\n updates: Updates;\n}\n"]}
|
|
@@ -554,120 +554,145 @@ export const MaintenanceConfiguration = {
|
|
|
554
554
|
type: {
|
|
555
555
|
name: "Composite",
|
|
556
556
|
className: "MaintenanceConfiguration",
|
|
557
|
-
modelProperties:
|
|
557
|
+
modelProperties: {
|
|
558
|
+
...Resource.type.modelProperties,
|
|
559
|
+
location: {
|
|
558
560
|
serializedName: "location",
|
|
559
561
|
type: {
|
|
560
562
|
name: "String",
|
|
561
563
|
},
|
|
562
|
-
},
|
|
564
|
+
},
|
|
565
|
+
tags: {
|
|
563
566
|
serializedName: "tags",
|
|
564
567
|
type: {
|
|
565
568
|
name: "Dictionary",
|
|
566
569
|
value: { type: { name: "String" } },
|
|
567
570
|
},
|
|
568
|
-
},
|
|
571
|
+
},
|
|
572
|
+
namespace: {
|
|
569
573
|
serializedName: "properties.namespace",
|
|
570
574
|
type: {
|
|
571
575
|
name: "String",
|
|
572
576
|
},
|
|
573
|
-
},
|
|
577
|
+
},
|
|
578
|
+
extensionProperties: {
|
|
574
579
|
serializedName: "properties.extensionProperties",
|
|
575
580
|
type: {
|
|
576
581
|
name: "Dictionary",
|
|
577
582
|
value: { type: { name: "String" } },
|
|
578
583
|
},
|
|
579
|
-
},
|
|
584
|
+
},
|
|
585
|
+
maintenanceScope: {
|
|
580
586
|
serializedName: "properties.maintenanceScope",
|
|
581
587
|
type: {
|
|
582
588
|
name: "String",
|
|
583
589
|
},
|
|
584
|
-
},
|
|
590
|
+
},
|
|
591
|
+
visibility: {
|
|
585
592
|
serializedName: "properties.visibility",
|
|
586
593
|
type: {
|
|
587
594
|
name: "String",
|
|
588
595
|
},
|
|
589
|
-
},
|
|
596
|
+
},
|
|
597
|
+
installPatches: {
|
|
590
598
|
serializedName: "properties.installPatches",
|
|
591
599
|
type: {
|
|
592
600
|
name: "Composite",
|
|
593
601
|
className: "InputPatchConfiguration",
|
|
594
602
|
},
|
|
595
|
-
},
|
|
603
|
+
},
|
|
604
|
+
startDateTime: {
|
|
596
605
|
serializedName: "properties.maintenanceWindow.startDateTime",
|
|
597
606
|
type: {
|
|
598
607
|
name: "String",
|
|
599
608
|
},
|
|
600
|
-
},
|
|
609
|
+
},
|
|
610
|
+
expirationDateTime: {
|
|
601
611
|
serializedName: "properties.maintenanceWindow.expirationDateTime",
|
|
602
612
|
type: {
|
|
603
613
|
name: "String",
|
|
604
614
|
},
|
|
605
|
-
},
|
|
615
|
+
},
|
|
616
|
+
duration: {
|
|
606
617
|
serializedName: "properties.maintenanceWindow.duration",
|
|
607
618
|
type: {
|
|
608
619
|
name: "String",
|
|
609
620
|
},
|
|
610
|
-
},
|
|
621
|
+
},
|
|
622
|
+
timeZone: {
|
|
611
623
|
serializedName: "properties.maintenanceWindow.timeZone",
|
|
612
624
|
type: {
|
|
613
625
|
name: "String",
|
|
614
626
|
},
|
|
615
|
-
},
|
|
627
|
+
},
|
|
628
|
+
recurEvery: {
|
|
616
629
|
serializedName: "properties.maintenanceWindow.recurEvery",
|
|
617
630
|
type: {
|
|
618
631
|
name: "String",
|
|
619
632
|
},
|
|
620
|
-
}
|
|
633
|
+
},
|
|
634
|
+
},
|
|
621
635
|
},
|
|
622
636
|
};
|
|
623
637
|
export const ApplyUpdate = {
|
|
624
638
|
type: {
|
|
625
639
|
name: "Composite",
|
|
626
640
|
className: "ApplyUpdate",
|
|
627
|
-
modelProperties:
|
|
641
|
+
modelProperties: {
|
|
642
|
+
...Resource.type.modelProperties,
|
|
643
|
+
status: {
|
|
628
644
|
serializedName: "properties.status",
|
|
629
645
|
type: {
|
|
630
646
|
name: "String",
|
|
631
647
|
},
|
|
632
|
-
},
|
|
648
|
+
},
|
|
649
|
+
resourceId: {
|
|
633
650
|
serializedName: "properties.resourceId",
|
|
634
651
|
type: {
|
|
635
652
|
name: "String",
|
|
636
653
|
},
|
|
637
|
-
},
|
|
654
|
+
},
|
|
655
|
+
lastUpdateTime: {
|
|
638
656
|
serializedName: "properties.lastUpdateTime",
|
|
639
657
|
type: {
|
|
640
658
|
name: "DateTime",
|
|
641
659
|
},
|
|
642
|
-
}
|
|
660
|
+
},
|
|
661
|
+
},
|
|
643
662
|
},
|
|
644
663
|
};
|
|
645
664
|
export const ConfigurationAssignment = {
|
|
646
665
|
type: {
|
|
647
666
|
name: "Composite",
|
|
648
667
|
className: "ConfigurationAssignment",
|
|
649
|
-
modelProperties:
|
|
668
|
+
modelProperties: {
|
|
669
|
+
...Resource.type.modelProperties,
|
|
670
|
+
location: {
|
|
650
671
|
serializedName: "location",
|
|
651
672
|
type: {
|
|
652
673
|
name: "String",
|
|
653
674
|
},
|
|
654
|
-
},
|
|
675
|
+
},
|
|
676
|
+
maintenanceConfigurationId: {
|
|
655
677
|
serializedName: "properties.maintenanceConfigurationId",
|
|
656
678
|
type: {
|
|
657
679
|
name: "String",
|
|
658
680
|
},
|
|
659
|
-
},
|
|
681
|
+
},
|
|
682
|
+
resourceId: {
|
|
660
683
|
serializedName: "properties.resourceId",
|
|
661
684
|
type: {
|
|
662
685
|
name: "String",
|
|
663
686
|
},
|
|
664
|
-
},
|
|
687
|
+
},
|
|
688
|
+
filter: {
|
|
665
689
|
serializedName: "properties.filter",
|
|
666
690
|
type: {
|
|
667
691
|
name: "Composite",
|
|
668
692
|
className: "ConfigurationAssignmentFilterProperties",
|
|
669
693
|
},
|
|
670
|
-
}
|
|
694
|
+
},
|
|
695
|
+
},
|
|
671
696
|
},
|
|
672
697
|
};
|
|
673
698
|
//# sourceMappingURL=mappers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":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CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA+B;IACrD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,aAAa;QACxB,eAAe,kCACV,QAAQ,CAAC,IAAI,CAAC,eAAe,KAChC,MAAM,EAAE;gBACN,cAAc,EAAE,mBAAmB;gBACnC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,UAAU,EAAE;gBACV,cAAc,EAAE,uBAAuB;gBACvC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,cAAc,EAAE;gBACd,cAAc,EAAE,2BAA2B;gBAC3C,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;iBACjB;aACF,GACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAA+B;IACjE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,yBAAyB;QACpC,eAAe,kCACV,QAAQ,CAAC,IAAI,CAAC,eAAe,KAChC,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,0BAA0B,EAAE;gBAC1B,cAAc,EAAE,uCAAuC;gBACvD,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,UAAU,EAAE;gBACV,cAAc,EAAE,uBAAuB;gBACvC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,MAAM,EAAE;gBACN,cAAc,EAAE,mBAAmB;gBACnC,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,yCAAyC;iBACrD;aACF,GACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const ScheduledEventApproveResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ScheduledEventApproveResponse\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MaintenanceError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MaintenanceError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\",\n },\n },\n },\n },\n};\n\nexport const ErrorDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ListMaintenanceConfigurationsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListMaintenanceConfigurationsResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MaintenanceConfiguration\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const InputPatchConfiguration: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InputPatchConfiguration\",\n modelProperties: {\n rebootSetting: {\n defaultValue: \"IfRequired\",\n serializedName: \"rebootSetting\",\n type: {\n name: \"String\",\n },\n },\n windowsParameters: {\n serializedName: \"windowsParameters\",\n type: {\n name: \"Composite\",\n className: \"InputWindowsParameters\",\n },\n },\n linuxParameters: {\n serializedName: \"linuxParameters\",\n type: {\n name: \"Composite\",\n className: \"InputLinuxParameters\",\n },\n },\n },\n },\n};\n\nexport const InputWindowsParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InputWindowsParameters\",\n modelProperties: {\n kbNumbersToExclude: {\n serializedName: \"kbNumbersToExclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n kbNumbersToInclude: {\n serializedName: \"kbNumbersToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n classificationsToInclude: {\n serializedName: \"classificationsToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n excludeKbsRequiringReboot: {\n serializedName: \"excludeKbsRequiringReboot\",\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n\nexport const InputLinuxParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InputLinuxParameters\",\n modelProperties: {\n packageNameMasksToExclude: {\n serializedName: \"packageNameMasksToExclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n packageNameMasksToInclude: {\n serializedName: \"packageNameMasksToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n classificationsToInclude: {\n serializedName: \"classificationsToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n },\n },\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\",\n },\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\",\n },\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\",\n },\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationAssignmentFilterProperties: coreClient.CompositeMapper =\n {\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignmentFilterProperties\",\n modelProperties: {\n resourceTypes: {\n serializedName: \"resourceTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n resourceGroups: {\n serializedName: \"resourceGroups\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n osTypes: {\n serializedName: \"osTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n locations: {\n serializedName: \"locations\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n tagSettings: {\n serializedName: \"tagSettings\",\n type: {\n name: \"Composite\",\n className: \"TagSettingsProperties\",\n },\n },\n },\n },\n };\n\nexport const TagSettingsProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TagSettingsProperties\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Sequence\", element: { type: { name: \"String\" } } },\n },\n },\n },\n filterOperator: {\n serializedName: \"filterOperator\",\n type: {\n name: \"Enum\",\n allowedValues: [\"All\", \"Any\"],\n },\n },\n },\n },\n};\n\nexport const ListConfigurationAssignmentsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListConfigurationAssignmentsResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignment\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ListApplyUpdate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListApplyUpdate\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplyUpdate\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const OperationsListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationsListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationInfo\",\n },\n },\n origin: {\n serializedName: \"origin\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n\nexport const OperationInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationInfo\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\",\n },\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\",\n },\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ListUpdatesResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListUpdatesResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Update\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Update: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Update\",\n modelProperties: {\n maintenanceScope: {\n serializedName: \"maintenanceScope\",\n type: {\n name: \"String\",\n },\n },\n impactType: {\n serializedName: \"impactType\",\n type: {\n name: \"String\",\n },\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\",\n },\n },\n impactDurationInSec: {\n serializedName: \"impactDurationInSec\",\n type: {\n name: \"Number\",\n },\n },\n notBefore: {\n serializedName: \"notBefore\",\n type: {\n name: \"DateTime\",\n },\n },\n resourceId: {\n serializedName: \"properties.resourceId\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MaintenanceConfiguration: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MaintenanceConfiguration\",\n modelProperties: {\n ...Resource.type.modelProperties,\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n namespace: {\n serializedName: \"properties.namespace\",\n type: {\n name: \"String\",\n },\n },\n extensionProperties: {\n serializedName: \"properties.extensionProperties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n maintenanceScope: {\n serializedName: \"properties.maintenanceScope\",\n type: {\n name: \"String\",\n },\n },\n visibility: {\n serializedName: \"properties.visibility\",\n type: {\n name: \"String\",\n },\n },\n installPatches: {\n serializedName: \"properties.installPatches\",\n type: {\n name: \"Composite\",\n className: \"InputPatchConfiguration\",\n },\n },\n startDateTime: {\n serializedName: \"properties.maintenanceWindow.startDateTime\",\n type: {\n name: \"String\",\n },\n },\n expirationDateTime: {\n serializedName: \"properties.maintenanceWindow.expirationDateTime\",\n type: {\n name: \"String\",\n },\n },\n duration: {\n serializedName: \"properties.maintenanceWindow.duration\",\n type: {\n name: \"String\",\n },\n },\n timeZone: {\n serializedName: \"properties.maintenanceWindow.timeZone\",\n type: {\n name: \"String\",\n },\n },\n recurEvery: {\n serializedName: \"properties.maintenanceWindow.recurEvery\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ApplyUpdate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplyUpdate\",\n modelProperties: {\n ...Resource.type.modelProperties,\n status: {\n serializedName: \"properties.status\",\n type: {\n name: \"String\",\n },\n },\n resourceId: {\n serializedName: \"properties.resourceId\",\n type: {\n name: \"String\",\n },\n },\n lastUpdateTime: {\n serializedName: \"properties.lastUpdateTime\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationAssignment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignment\",\n modelProperties: {\n ...Resource.type.modelProperties,\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n maintenanceConfigurationId: {\n serializedName: \"properties.maintenanceConfigurationId\",\n type: {\n name: \"String\",\n },\n },\n resourceId: {\n serializedName: \"properties.resourceId\",\n type: {\n name: \"String\",\n },\n },\n filter: {\n serializedName: \"properties.filter\",\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignmentFilterProperties\",\n },\n },\n },\n },\n};\n"]}
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,6BAA6B,GAA+B;IACvE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,+BAA+B;QAC1C,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAA+B;IAC1D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,kBAAkB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aACF;YACD,cAAc,EAAE;gBACd,cAAc,EAAE,2BAA2B;gBAC3C,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;iBACjB;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAA+B;IACjE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,yBAAyB;QACpC,eAAe,EAAE;YACf,GAAG,QAAQ,CAAC,IAAI,CAAC,eAAe;YAChC,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,0BAA0B,EAAE;gBAC1B,cAAc,EAAE,uCAAuC;gBACvD,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,uBAAuB;gBACvC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,mBAAmB;gBACnC,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,yCAAyC;iBACrD;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const ScheduledEventApproveResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ScheduledEventApproveResponse\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MaintenanceError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MaintenanceError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\",\n },\n },\n },\n },\n};\n\nexport const ErrorDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ListMaintenanceConfigurationsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListMaintenanceConfigurationsResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MaintenanceConfiguration\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const InputPatchConfiguration: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InputPatchConfiguration\",\n modelProperties: {\n rebootSetting: {\n defaultValue: \"IfRequired\",\n serializedName: \"rebootSetting\",\n type: {\n name: \"String\",\n },\n },\n windowsParameters: {\n serializedName: \"windowsParameters\",\n type: {\n name: \"Composite\",\n className: \"InputWindowsParameters\",\n },\n },\n linuxParameters: {\n serializedName: \"linuxParameters\",\n type: {\n name: \"Composite\",\n className: \"InputLinuxParameters\",\n },\n },\n },\n },\n};\n\nexport const InputWindowsParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InputWindowsParameters\",\n modelProperties: {\n kbNumbersToExclude: {\n serializedName: \"kbNumbersToExclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n kbNumbersToInclude: {\n serializedName: \"kbNumbersToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n classificationsToInclude: {\n serializedName: \"classificationsToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n excludeKbsRequiringReboot: {\n serializedName: \"excludeKbsRequiringReboot\",\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n\nexport const InputLinuxParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InputLinuxParameters\",\n modelProperties: {\n packageNameMasksToExclude: {\n serializedName: \"packageNameMasksToExclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n packageNameMasksToInclude: {\n serializedName: \"packageNameMasksToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n classificationsToInclude: {\n serializedName: \"classificationsToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n },\n },\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\",\n },\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\",\n },\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\",\n },\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationAssignmentFilterProperties: coreClient.CompositeMapper =\n {\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignmentFilterProperties\",\n modelProperties: {\n resourceTypes: {\n serializedName: \"resourceTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n resourceGroups: {\n serializedName: \"resourceGroups\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n osTypes: {\n serializedName: \"osTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n locations: {\n serializedName: \"locations\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n tagSettings: {\n serializedName: \"tagSettings\",\n type: {\n name: \"Composite\",\n className: \"TagSettingsProperties\",\n },\n },\n },\n },\n };\n\nexport const TagSettingsProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TagSettingsProperties\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Sequence\", element: { type: { name: \"String\" } } },\n },\n },\n },\n filterOperator: {\n serializedName: \"filterOperator\",\n type: {\n name: \"Enum\",\n allowedValues: [\"All\", \"Any\"],\n },\n },\n },\n },\n};\n\nexport const ListConfigurationAssignmentsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListConfigurationAssignmentsResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignment\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ListApplyUpdate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListApplyUpdate\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplyUpdate\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const OperationsListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationsListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationInfo\",\n },\n },\n origin: {\n serializedName: \"origin\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n\nexport const OperationInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationInfo\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\",\n },\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\",\n },\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ListUpdatesResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListUpdatesResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Update\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Update: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Update\",\n modelProperties: {\n maintenanceScope: {\n serializedName: \"maintenanceScope\",\n type: {\n name: \"String\",\n },\n },\n impactType: {\n serializedName: \"impactType\",\n type: {\n name: \"String\",\n },\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\",\n },\n },\n impactDurationInSec: {\n serializedName: \"impactDurationInSec\",\n type: {\n name: \"Number\",\n },\n },\n notBefore: {\n serializedName: \"notBefore\",\n type: {\n name: \"DateTime\",\n },\n },\n resourceId: {\n serializedName: \"properties.resourceId\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MaintenanceConfiguration: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MaintenanceConfiguration\",\n modelProperties: {\n ...Resource.type.modelProperties,\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n namespace: {\n serializedName: \"properties.namespace\",\n type: {\n name: \"String\",\n },\n },\n extensionProperties: {\n serializedName: \"properties.extensionProperties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n maintenanceScope: {\n serializedName: \"properties.maintenanceScope\",\n type: {\n name: \"String\",\n },\n },\n visibility: {\n serializedName: \"properties.visibility\",\n type: {\n name: \"String\",\n },\n },\n installPatches: {\n serializedName: \"properties.installPatches\",\n type: {\n name: \"Composite\",\n className: \"InputPatchConfiguration\",\n },\n },\n startDateTime: {\n serializedName: \"properties.maintenanceWindow.startDateTime\",\n type: {\n name: \"String\",\n },\n },\n expirationDateTime: {\n serializedName: \"properties.maintenanceWindow.expirationDateTime\",\n type: {\n name: \"String\",\n },\n },\n duration: {\n serializedName: \"properties.maintenanceWindow.duration\",\n type: {\n name: \"String\",\n },\n },\n timeZone: {\n serializedName: \"properties.maintenanceWindow.timeZone\",\n type: {\n name: \"String\",\n },\n },\n recurEvery: {\n serializedName: \"properties.maintenanceWindow.recurEvery\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ApplyUpdate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplyUpdate\",\n modelProperties: {\n ...Resource.type.modelProperties,\n status: {\n serializedName: \"properties.status\",\n type: {\n name: \"String\",\n },\n },\n resourceId: {\n serializedName: \"properties.resourceId\",\n type: {\n name: \"String\",\n },\n },\n lastUpdateTime: {\n serializedName: \"properties.lastUpdateTime\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationAssignment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignment\",\n modelProperties: {\n ...Resource.type.modelProperties,\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n maintenanceConfigurationId: {\n serializedName: \"properties.maintenanceConfigurationId\",\n type: {\n name: \"String\",\n },\n },\n resourceId: {\n serializedName: \"properties.resourceId\",\n type: {\n name: \"String\",\n },\n },\n filter: {\n serializedName: \"properties.filter\",\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignmentFilterProperties\",\n },\n },\n },\n },\n};\n"]}
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
9
|
import * as Mappers from "../models/mappers.js";
|
|
11
10
|
import * as Parameters from "../models/parameters.js";
|
|
12
11
|
/// <reference lib="esnext.asynciterable" />
|
|
13
12
|
/** Class containing ApplyUpdateForResourceGroup operations. */
|
|
14
13
|
export class ApplyUpdateForResourceGroupImpl {
|
|
14
|
+
client;
|
|
15
15
|
/**
|
|
16
16
|
* Initialize a new instance of the class ApplyUpdateForResourceGroup class.
|
|
17
17
|
* @param client Reference to the service client
|
|
@@ -34,39 +34,22 @@ export class ApplyUpdateForResourceGroupImpl {
|
|
|
34
34
|
return this;
|
|
35
35
|
},
|
|
36
36
|
byPage: (settings) => {
|
|
37
|
-
if (settings
|
|
37
|
+
if (settings?.maxPageSize) {
|
|
38
38
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
39
|
}
|
|
40
40
|
return this.listPagingPage(resourceGroupName, options, settings);
|
|
41
41
|
},
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
listPagingPage(resourceGroupName, options, _settings) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
yield yield __await(result.value || []);
|
|
49
|
-
});
|
|
44
|
+
async *listPagingPage(resourceGroupName, options, _settings) {
|
|
45
|
+
let result;
|
|
46
|
+
result = await this._list(resourceGroupName, options);
|
|
47
|
+
yield result.value || [];
|
|
50
48
|
}
|
|
51
|
-
listPagingAll(resourceGroupName, options) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
56
|
-
_c = _f.value;
|
|
57
|
-
_d = false;
|
|
58
|
-
const page = _c;
|
|
59
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
63
|
-
finally {
|
|
64
|
-
try {
|
|
65
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
66
|
-
}
|
|
67
|
-
finally { if (e_1) throw e_1.error; }
|
|
68
|
-
}
|
|
69
|
-
});
|
|
49
|
+
async *listPagingAll(resourceGroupName, options) {
|
|
50
|
+
for await (const page of this.listPagingPage(resourceGroupName, options)) {
|
|
51
|
+
yield* page;
|
|
52
|
+
}
|
|
70
53
|
}
|
|
71
54
|
/**
|
|
72
55
|
* Get Configuration records within a subscription and resource group
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyUpdateForResourceGroup.js","sourceRoot":"","sources":["../../../src/operations/applyUpdateForResourceGroup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"applyUpdateForResourceGroup.js","sourceRoot":"","sources":["../../../src/operations/applyUpdateForResourceGroup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,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,CAAC,EAAE,CAAC;YACzE,KAAK,CAAC,CAAC,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED;;;;OAIG;IACK,KAAK,CACX,iBAAyB,EACzB,OAAuD;QAEvD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAC9B,iBAAiB,CAClB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,iHAAiH;IACvH,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { ApplyUpdateForResourceGroup } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MaintenanceManagementClient } from \"../maintenanceManagementClient.js\";\nimport {\n ApplyUpdate,\n ApplyUpdateForResourceGroupListOptionalParams,\n ApplyUpdateForResourceGroupListResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ApplyUpdateForResourceGroup operations. */\nexport class ApplyUpdateForResourceGroupImpl\n implements ApplyUpdateForResourceGroup\n{\n private readonly client: MaintenanceManagementClient;\n\n /**\n * Initialize a new instance of the class ApplyUpdateForResourceGroup class.\n * @param client Reference to the service client\n */\n constructor(client: MaintenanceManagementClient) {\n this.client = client;\n }\n\n /**\n * Get Configuration records within a subscription and resource group\n * @param resourceGroupName Resource Group Name\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n options?: ApplyUpdateForResourceGroupListOptionalParams,\n ): PagedAsyncIterableIterator<ApplyUpdate> {\n const iter = this.listPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n options?: ApplyUpdateForResourceGroupListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<ApplyUpdate[]> {\n let result: ApplyUpdateForResourceGroupListResponse;\n result = await this._list(resourceGroupName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n options?: ApplyUpdateForResourceGroupListOptionalParams,\n ): AsyncIterableIterator<ApplyUpdate> {\n for await (const page of this.listPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Get Configuration records within a subscription and resource group\n * @param resourceGroupName Resource Group Name\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n options?: ApplyUpdateForResourceGroupListOptionalParams,\n ): Promise<ApplyUpdateForResourceGroupListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maintenance/applyUpdates\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListApplyUpdate,\n },\n default: {\n bodyMapper: Mappers.MaintenanceError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
9
|
import * as Mappers from "../models/mappers.js";
|
|
11
10
|
import * as Parameters from "../models/parameters.js";
|
|
12
11
|
/// <reference lib="esnext.asynciterable" />
|
|
13
12
|
/** Class containing ApplyUpdates operations. */
|
|
14
13
|
export class ApplyUpdatesImpl {
|
|
14
|
+
client;
|
|
15
15
|
/**
|
|
16
16
|
* Initialize a new instance of the class ApplyUpdates class.
|
|
17
17
|
* @param client Reference to the service client
|
|
@@ -33,39 +33,22 @@ export class ApplyUpdatesImpl {
|
|
|
33
33
|
return this;
|
|
34
34
|
},
|
|
35
35
|
byPage: (settings) => {
|
|
36
|
-
if (settings
|
|
36
|
+
if (settings?.maxPageSize) {
|
|
37
37
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
38
38
|
}
|
|
39
39
|
return this.listPagingPage(options, settings);
|
|
40
40
|
},
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
listPagingPage(options, _settings) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
yield yield __await(result.value || []);
|
|
48
|
-
});
|
|
43
|
+
async *listPagingPage(options, _settings) {
|
|
44
|
+
let result;
|
|
45
|
+
result = await this._list(options);
|
|
46
|
+
yield result.value || [];
|
|
49
47
|
}
|
|
50
|
-
listPagingAll(options) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
55
|
-
_c = _f.value;
|
|
56
|
-
_d = false;
|
|
57
|
-
const page = _c;
|
|
58
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
62
|
-
finally {
|
|
63
|
-
try {
|
|
64
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
65
|
-
}
|
|
66
|
-
finally { if (e_1) throw e_1.error; }
|
|
67
|
-
}
|
|
68
|
-
});
|
|
48
|
+
async *listPagingAll(options) {
|
|
49
|
+
for await (const page of this.listPagingPage(options)) {
|
|
50
|
+
yield* page;
|
|
51
|
+
}
|
|
69
52
|
}
|
|
70
53
|
/**
|
|
71
54
|
* Track maintenance updates to resource with parent
|