@azure/arm-automation
Version:
AutomationClient Library with typescript type definitions for node.js and browser.
81 lines • 5.13 kB
JavaScript
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
import { __extends } from "tslib";
import * as Models from "./models";
import * as Mappers from "./models/mappers";
import * as operations from "./operations";
import { AutomationClientContext } from "./automationClientContext";
var AutomationClient = /** @class */ (function (_super) {
__extends(AutomationClient, _super);
/**
* Initializes a new instance of the AutomationClient class.
* @param credentials Credentials needed for the client to connect to Azure. Credentials
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
* more information about these credentials, see
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
* @azure/ms-rest-browserauth are also supported.
* @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure
* subscription. The subscription ID forms part of the URI for every service call.
* @param countType1 The type of counts to retrieve. Possible values include: 'status',
* 'nodeconfiguration'
* @param [options] The parameter options
*/
function AutomationClient(credentials, subscriptionId, countType1, options) {
var _this = _super.call(this, credentials, subscriptionId, countType1, options) || this;
_this.automationAccount = new operations.AutomationAccountOperations(_this);
_this.operations = new operations.Operations(_this);
_this.statistics = new operations.StatisticsOperations(_this);
_this.usages = new operations.Usages(_this);
_this.keys = new operations.Keys(_this);
_this.certificate = new operations.CertificateOperations(_this);
_this.connection = new operations.ConnectionOperations(_this);
_this.connectionType = new operations.ConnectionTypeOperations(_this);
_this.credential = new operations.CredentialOperations(_this);
_this.dscConfiguration = new operations.DscConfigurationOperations(_this);
_this.hybridRunbookWorkerGroup = new operations.HybridRunbookWorkerGroupOperations(_this);
_this.jobSchedule = new operations.JobScheduleOperations(_this);
_this.linkedWorkspace = new operations.LinkedWorkspaceOperations(_this);
_this.activity = new operations.ActivityOperations(_this);
_this.module = new operations.ModuleOperations(_this);
_this.objectDataTypes = new operations.ObjectDataTypes(_this);
_this.fields = new operations.Fields(_this);
_this.schedule = new operations.ScheduleOperations(_this);
_this.variable = new operations.VariableOperations(_this);
_this.webhook = new operations.WebhookOperations(_this);
_this.watcher = new operations.WatcherOperations(_this);
_this.softwareUpdateConfigurations = new operations.SoftwareUpdateConfigurations(_this);
_this.softwareUpdateConfigurationRuns = new operations.SoftwareUpdateConfigurationRuns(_this);
_this.softwareUpdateConfigurationMachineRuns = new operations.SoftwareUpdateConfigurationMachineRuns(_this);
_this.sourceControl = new operations.SourceControlOperations(_this);
_this.sourceControlSyncJob = new operations.SourceControlSyncJobOperations(_this);
_this.sourceControlSyncJobStreams = new operations.SourceControlSyncJobStreams(_this);
_this.job = new operations.JobOperations(_this);
_this.jobStream = new operations.JobStreamOperations(_this);
_this.agentRegistrationInformation = new operations.AgentRegistrationInformation(_this);
_this.dscNode = new operations.DscNodeOperations(_this);
_this.nodeReports = new operations.NodeReports(_this);
_this.dscCompilationJob = new operations.DscCompilationJobOperations(_this);
_this.dscCompilationJobStream = new operations.DscCompilationJobStream(_this);
_this.dscNodeConfiguration = new operations.DscNodeConfigurationOperations(_this);
_this.nodeCountInformation = new operations.NodeCountInformation(_this);
_this.runbookDraft = new operations.RunbookDraftOperations(_this);
_this.runbook = new operations.RunbookOperations(_this);
_this.testJobStreams = new operations.TestJobStreams(_this);
_this.testJob = new operations.TestJobOperations(_this);
_this.python2Package = new operations.Python2Package(_this);
return _this;
}
return AutomationClient;
}(AutomationClientContext));
// Operation Specifications
export { AutomationClient, AutomationClientContext, Models as AutomationModels, Mappers as AutomationMappers };
export * from "./operations";
//# sourceMappingURL=automationClient.js.map