다음을 통해 공유


AutomationClient class

Extends

생성자

AutomationClient(ServiceClientCredentials | TokenCredential, string, CountType, AutomationClientOptions)

AutomationClient 클래스의 새 인스턴스를 초기화합니다.

속성

activity
agentRegistrationInformation
automationAccount
certificate
connection
connectionType
credential
dscCompilationJob
dscCompilationJobStream
dscConfiguration
dscNode
dscNodeConfiguration
fields
hybridRunbookWorkerGroup
job
jobSchedule
jobStream
keys
linkedWorkspace
module
nodeCountInformation
nodeReports
objectDataTypes
operations
python2Package
runbook
runbookDraft
schedule
softwareUpdateConfigurationMachineRuns
softwareUpdateConfigurationRuns
softwareUpdateConfigurations
sourceControl
sourceControlSyncJob
sourceControlSyncJobStreams
statistics
testJob
testJobStreams
usages
variable
watcher
webhook

상속된 속성

acceptLanguage
countType1
credentials
longRunningOperationRetryTimeout

장기 실행 작업의 재시도 시간 제한(초)입니다. 기본값은 30입니다.

subscriptionId

상속된 메서드

beginLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

LRO(장기 실행 작업)의 초기 요청을 보내고 LRO를 폴링하고 LRO가 완료되었는지 확인하는 메서드를 제공하는 HttpLongRunningOperationResponse를 다시 가져옵니다.

restoreLROPoller(LROPollState)

제공된 LROPollState에서 LROPoller를 복원합니다. 이 메서드는 다른 프로세스 또는 컴퓨터에서 LROPoller를 다시 만드는 데 사용할 수 있습니다.

sendLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

최종 결과를 폴링하고 제공하는 요청을 만드는 메커니즘을 제공합니다.

sendLRORequest(OperationArguments, OperationSpec, RequestOptionsBase)

LRO(장기 실행 작업)의 초기 요청을 보내고 LRO를 폴링하고 LRO가 완료되었는지 확인하는 메서드를 제공하는 LROPoller를 다시 가져옵니다.

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

제공된 OperationSpec을 사용하여 채워진 HTTP 요청을 보냅니다.

sendRequest(RequestPrepareOptions | WebResourceLike)

제공된 httpRequest를 보냅니다.

생성자 세부 정보

AutomationClient(ServiceClientCredentials | TokenCredential, string, CountType, AutomationClientOptions)

AutomationClient 클래스의 새 인스턴스를 초기화합니다.

new AutomationClient(credentials: ServiceClientCredentials | TokenCredential, subscriptionId: string, countType1: CountType, options?: AutomationClientOptions)

매개 변수

credentials

ServiceClientCredentials | TokenCredential

클라이언트가 Azure에 연결하는 데 필요한 자격 증명입니다. 패키지에서 TokenCredential 인터페이스를 구현하는 자격 증명을 @azure/identity 사용하는 것이 좋습니다. 이러한 자격 증명에 대한 자세한 내용은 를 참조하세요 https://www.npmjs.com/package/@azure/identity. 이전 패키지 @azure/ms-rest-nodeauth 에서 ServiceClientCredentials 인터페이스를 구현하는 자격 증명도 @azure/ms-rest-browserauth 지원됩니다.

subscriptionId

string

Microsoft Azure 구독을 고유하게 식별하는 구독 자격 증명을 가져옵니다. 구독 ID는 모든 서비스 호출에 대한 URI의 파트를 형성합니다.

countType1
CountType

검색할 개수의 형식입니다. 가능한 값은 'status', 'nodeconfiguration'입니다.

options
AutomationClientOptions

매개 변수 옵션

속성 세부 정보

activity

activity: ActivityOperations

속성 값

agentRegistrationInformation

agentRegistrationInformation: AgentRegistrationInformation

속성 값

automationAccount

automationAccount: AutomationAccountOperations

속성 값

certificate

certificate: CertificateOperations

속성 값

connection

connection: ConnectionOperations

속성 값

connectionType

connectionType: ConnectionTypeOperations

속성 값

credential

credential: CredentialOperations

속성 값

dscCompilationJob

dscCompilationJob: DscCompilationJobOperations

속성 값

dscCompilationJobStream

dscCompilationJobStream: DscCompilationJobStream

속성 값

dscConfiguration

dscConfiguration: DscConfigurationOperations

속성 값

dscNode

dscNode: DscNodeOperations

속성 값

dscNodeConfiguration

dscNodeConfiguration: DscNodeConfigurationOperations

속성 값

fields

fields: Fields

속성 값

hybridRunbookWorkerGroup

hybridRunbookWorkerGroup: HybridRunbookWorkerGroupOperations

속성 값

job

job: JobOperations

속성 값

jobSchedule

jobSchedule: JobScheduleOperations

속성 값

jobStream

jobStream: JobStreamOperations

속성 값

keys

keys: Keys

속성 값

linkedWorkspace

linkedWorkspace: LinkedWorkspaceOperations

속성 값

module

module: ModuleOperations

속성 값

nodeCountInformation

nodeCountInformation: NodeCountInformation

속성 값

nodeReports

nodeReports: NodeReports

속성 값

objectDataTypes

objectDataTypes: ObjectDataTypes

속성 값

operations

operations: Operations

속성 값

python2Package

python2Package: Python2Package

속성 값

runbook

runbook: RunbookOperations

속성 값

runbookDraft

runbookDraft: RunbookDraftOperations

속성 값

schedule

schedule: ScheduleOperations

속성 값

softwareUpdateConfigurationMachineRuns

softwareUpdateConfigurationMachineRuns: SoftwareUpdateConfigurationMachineRuns

속성 값

softwareUpdateConfigurationRuns

softwareUpdateConfigurationRuns: SoftwareUpdateConfigurationRuns

속성 값

softwareUpdateConfigurations

softwareUpdateConfigurations: SoftwareUpdateConfigurations

속성 값

sourceControl

sourceControl: SourceControlOperations

속성 값

sourceControlSyncJob

sourceControlSyncJob: SourceControlSyncJobOperations

속성 값

sourceControlSyncJobStreams

sourceControlSyncJobStreams: SourceControlSyncJobStreams

속성 값

statistics

statistics: StatisticsOperations

속성 값

testJob

testJob: TestJobOperations

속성 값

testJobStreams

testJobStreams: TestJobStreams

속성 값

usages

usages: Usages

속성 값

variable

variable: VariableOperations

속성 값

watcher

watcher: WatcherOperations

속성 값

webhook

webhook: WebhookOperations

속성 값

상속된 속성 세부 정보

acceptLanguage

acceptLanguage: string

속성 값

string

AutomationClientContext.acceptLanguage에서 상속됨

countType1

countType1: CountType

속성 값

AutomationClientContext.countType1에서 상속됨

credentials

credentials: ServiceClientCredentials | TokenCredential

속성 값

AutomationClientContext.credentials에서 상속됨

longRunningOperationRetryTimeout

장기 실행 작업의 재시도 시간 제한(초)입니다. 기본값은 30입니다.

longRunningOperationRetryTimeout?: number

속성 값

number

AutomationClientContext.longRunningOperationRetryTimeout에서 상속됨

subscriptionId

subscriptionId: string

속성 값

string

AutomationClientContext.subscriptionId에서 상속됨

상속된 메서드 세부 정보

beginLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

LRO(장기 실행 작업)의 초기 요청을 보내고 LRO를 폴링하고 LRO가 완료되었는지 확인하는 메서드를 제공하는 HttpLongRunningOperationResponse를 다시 가져옵니다.

function beginLongRunningRequest(request: RequestPrepareOptions | WebResource, options?: RequestOptionsBase): Promise<LROPoller>

매개 변수

request

RequestPrepareOptions | WebResource

요청 개체

options
RequestOptionsBase

요청을 수행하는 동안 보낼 추가 옵션

반환

Promise<@azure/ms-rest-azure-js.LROPoller>

LRO와 상호 작용하기 위한 메서드를 제공하는 HttpLongRunningOperationResponse입니다.

AutomationClientContext.beginLongRunningRequest에서 상속됨

restoreLROPoller(LROPollState)

제공된 LROPollState에서 LROPoller를 복원합니다. 이 메서드는 다른 프로세스 또는 컴퓨터에서 LROPoller를 다시 만드는 데 사용할 수 있습니다.

function restoreLROPoller(lroPollState: LROPollState): LROPoller

매개 변수

lroPollState
@azure/ms-rest-azure-js.LROPollState

반환

@azure/ms-rest-azure-js.LROPoller

AutomationClientContext.restoreLROPoller에서 상속됨

sendLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

최종 결과를 폴링하고 제공하는 요청을 만드는 메커니즘을 제공합니다.

function sendLongRunningRequest(request: RequestPrepareOptions | WebResource, options?: RequestOptionsBase): Promise<HttpOperationResponse>

매개 변수

request

RequestPrepareOptions | WebResource

요청 개체

options
RequestOptionsBase

요청을 수행하는 동안 보낼 추가 옵션

반환

최종 폴링 요청, 응답 및 responseBody를 포함하는 HttpOperationResponse입니다.

AutomationClientContext.sendLongRunningRequest에서 상속됨

sendLRORequest(OperationArguments, OperationSpec, RequestOptionsBase)

LRO(장기 실행 작업)의 초기 요청을 보내고 LRO를 폴링하고 LRO가 완료되었는지 확인하는 메서드를 제공하는 LROPoller를 다시 가져옵니다.

function sendLRORequest(operationArguments: OperationArguments, operationSpec: OperationSpec, options?: RequestOptionsBase): Promise<LROPoller>

매개 변수

operationArguments
OperationArguments

작업에 대한 인수입니다.

operationSpec
OperationSpec

작업의 사양입니다.

options
RequestOptionsBase

요청을 수행하는 동안 보낼 추가 옵션입니다.

반환

Promise<@azure/ms-rest-azure-js.LROPoller>

LRO와 상호 작용하는 메서드를 제공하는 LROPoller 개체입니다.

AutomationClientContext.sendLRORequest에서 상속됨

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

제공된 OperationSpec을 사용하여 채워진 HTTP 요청을 보냅니다.

function sendOperationRequest(operationArguments: OperationArguments, operationSpec: OperationSpec, callback?: ServiceCallback<any>): Promise<RestResponse>

매개 변수

operationArguments
OperationArguments

HTTP 요청의 템플릿 값이 채워질 인수입니다.

operationSpec
OperationSpec

httpRequest를 채우는 데 사용할 OperationSpec입니다.

callback

ServiceCallback<any>

응답을 받을 때 호출할 콜백입니다.

반환

Promise<RestResponse>

AutomationClientContext.sendOperationRequest에서 상속

sendRequest(RequestPrepareOptions | WebResourceLike)

제공된 httpRequest를 보냅니다.

function sendRequest(options: RequestPrepareOptions | WebResourceLike): Promise<HttpOperationResponse>

매개 변수

반환

AutomationClientContext.sendRequest에서 상속됨