Aracılığıyla paylaş


AutomationClient class

Extends

Oluşturucular

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

AutomationClient sınıfının yeni bir örneğini başlatır.

Özellikler

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

Devralınan Özellikler

acceptLanguage
countType1
credentials
longRunningOperationRetryTimeout

Uzun Süre Çalışan İşlemler için saniyeler içinde yeniden deneme zaman aşımı. Varsayılan değer 30'dur.

subscriptionId

Devralınan Yöntemler

beginLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

LRO'nun ilk isteğini (uzun süre çalışan işlem) gönderin ve LRO'nun yoklanması ve LRO'nun tamamlanıp tamamlanmadığını denetlemek için yöntemler sağlayan bir HttpLongRunningOperationResponse değerini geri alın.

restoreLROPoller(LROPollState)

Sağlanan LROPollState'ten bir LROPoller'i geri yükleyin. Bu yöntem, bir LROPoller'ı farklı bir işlem veya makinede yeniden oluşturmak için kullanılabilir.

sendLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

Yoklama yapacak ve nihai sonucu sağlayacak bir istekte bulunma mekanizması sağlar.

sendLRORequest(OperationArguments, OperationSpec, RequestOptionsBase)

LRO'nun ilk isteğini (uzun süre çalışan işlem) gönderin ve LRO'nun yoklanması ve LRO'nun tamamlanıp tamamlanmadığını denetlemek için yöntemler sağlayan bir LROPoller'ı geri alın.

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

Sağlanan OperationSpec kullanılarak doldurulan bir HTTP isteği gönderin.

sendRequest(RequestPrepareOptions | WebResourceLike)

Sağlanan httpRequest dosyasını gönderin.

Oluşturucu Ayrıntıları

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

AutomationClient sınıfının yeni bir örneğini başlatır.

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

Parametreler

credentials

ServiceClientCredentials | TokenCredential

İstemcinin Azure'a bağlanması için gereken kimlik bilgileri. @azure/identity paketinden TokenCredential arabirimini uygulayan kimlik bilgileri önerilir. Bu kimlik bilgileri hakkında daha fazla bilgi için bkz. https://www.npmjs.com/package/@azure/identity. @azure/ms-rest-nodeauth ve @azure/ms-rest-browserauth eski paketlerden ServiceClientCredentials arabirimini uygulayan kimlik bilgileri de desteklenir.

subscriptionId

string

Microsoft Azure aboneliğini benzersiz olarak tanımlayan abonelik kimlik bilgilerini alır. Abonelik kimliği, her hizmet çağrısı için URI'nin bir parçasını oluşturur.

countType1
CountType

Alınacak sayıların türü. Olası değerler şunlardır: 'status', 'nodeconfiguration'

options
AutomationClientOptions

Parametre seçenekleri

Özellik Ayrıntıları

activity

activity: ActivityOperations

Özellik Değeri

agentRegistrationInformation

agentRegistrationInformation: AgentRegistrationInformation

Özellik Değeri

automationAccount

automationAccount: AutomationAccountOperations

Özellik Değeri

certificate

certificate: CertificateOperations

Özellik Değeri

connection

connection: ConnectionOperations

Özellik Değeri

connectionType

connectionType: ConnectionTypeOperations

Özellik Değeri

credential

credential: CredentialOperations

Özellik Değeri

dscCompilationJob

dscCompilationJob: DscCompilationJobOperations

Özellik Değeri

dscCompilationJobStream

dscCompilationJobStream: DscCompilationJobStream

Özellik Değeri

dscConfiguration

dscConfiguration: DscConfigurationOperations

Özellik Değeri

dscNode

dscNode: DscNodeOperations

Özellik Değeri

dscNodeConfiguration

dscNodeConfiguration: DscNodeConfigurationOperations

Özellik Değeri

fields

fields: Fields

Özellik Değeri

hybridRunbookWorkerGroup

hybridRunbookWorkerGroup: HybridRunbookWorkerGroupOperations

Özellik Değeri

job

job: JobOperations

Özellik Değeri

jobSchedule

jobSchedule: JobScheduleOperations

Özellik Değeri

jobStream

jobStream: JobStreamOperations

Özellik Değeri

keys

keys: Keys

Özellik Değeri

linkedWorkspace

linkedWorkspace: LinkedWorkspaceOperations

Özellik Değeri

module

module: ModuleOperations

Özellik Değeri

nodeCountInformation

nodeCountInformation: NodeCountInformation

Özellik Değeri

nodeReports

nodeReports: NodeReports

Özellik Değeri

objectDataTypes

objectDataTypes: ObjectDataTypes

Özellik Değeri

operations

operations: Operations

Özellik Değeri

python2Package

python2Package: Python2Package

Özellik Değeri

runbook

runbook: RunbookOperations

Özellik Değeri

runbookDraft

runbookDraft: RunbookDraftOperations

Özellik Değeri

schedule

schedule: ScheduleOperations

Özellik Değeri

softwareUpdateConfigurationMachineRuns

softwareUpdateConfigurationMachineRuns: SoftwareUpdateConfigurationMachineRuns

Özellik Değeri

softwareUpdateConfigurationRuns

softwareUpdateConfigurationRuns: SoftwareUpdateConfigurationRuns

Özellik Değeri

softwareUpdateConfigurations

softwareUpdateConfigurations: SoftwareUpdateConfigurations

Özellik Değeri

sourceControl

sourceControl: SourceControlOperations

Özellik Değeri

sourceControlSyncJob

sourceControlSyncJob: SourceControlSyncJobOperations

Özellik Değeri

sourceControlSyncJobStreams

sourceControlSyncJobStreams: SourceControlSyncJobStreams

Özellik Değeri

statistics

statistics: StatisticsOperations

Özellik Değeri

testJob

testJob: TestJobOperations

Özellik Değeri

testJobStreams

testJobStreams: TestJobStreams

Özellik Değeri

usages

usages: Usages

Özellik Değeri

variable

variable: VariableOperations

Özellik Değeri

watcher

watcher: WatcherOperations

Özellik Değeri

webhook

webhook: WebhookOperations

Özellik Değeri

Devralınan Özellik Detayları

acceptLanguage

acceptLanguage: string

Özellik Değeri

string

Devralındığı yer:AutomationClientContext.acceptLanguage

countType1

countType1: CountType

Özellik Değeri

Devralındığı yer:AutomationClientContext.countType1

credentials

credentials: ServiceClientCredentials | TokenCredential

Özellik Değeri

Devralındığı yer:AutomationClientContext.credentials

longRunningOperationRetryTimeout

Uzun Süre Çalışan İşlemler için saniyeler içinde yeniden deneme zaman aşımı. Varsayılan değer 30'dur.

longRunningOperationRetryTimeout?: number

Özellik Değeri

number

Devralındığı yer:AutomationClientContext.longRunningOperationRetryTimeout

subscriptionId

subscriptionId: string

Özellik Değeri

string

Devralındığı yer:AutomationClientContext.subscriptionId

Devralınan Yöntemin Ayrıntıları

beginLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

LRO'nun ilk isteğini (uzun süre çalışan işlem) gönderin ve LRO'nun yoklanması ve LRO'nun tamamlanıp tamamlanmadığını denetlemek için yöntemler sağlayan bir HttpLongRunningOperationResponse değerini geri alın.

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

Parametreler

request

RequestPrepareOptions | WebResource

İstek nesnesi

options
RequestOptionsBase

İstek yapılırken gönderilecek ek seçenekler

Döndürülenler

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

LRO ile etkileşime geçme yöntemlerini sağlayan HttpLongRunningOperationResponse.

Devralındığı yer:AutomationClientContext.beginLongRunningRequest

restoreLROPoller(LROPollState)

Sağlanan LROPollState'ten bir LROPoller'i geri yükleyin. Bu yöntem, bir LROPoller'ı farklı bir işlem veya makinede yeniden oluşturmak için kullanılabilir.

function restoreLROPoller(lroPollState: LROPollState): LROPoller

Parametreler

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

Döndürülenler

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

Devralındığı yer:AutomationClientContext.restoreLROPoller

sendLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

Yoklama yapacak ve nihai sonucu sağlayacak bir istekte bulunma mekanizması sağlar.

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

Parametreler

request

RequestPrepareOptions | WebResource

İstek nesnesi

options
RequestOptionsBase

İstek yapılırken gönderilecek ek seçenekler

Döndürülenler

Son yoklama isteğini, yanıtı ve responseBody'i içeren HttpOperationResponse.

Devralındığı yer:AutomationClientContext.sendLongRunningRequest

sendLRORequest(OperationArguments, OperationSpec, RequestOptionsBase)

LRO'nun ilk isteğini (uzun süre çalışan işlem) gönderin ve LRO'nun yoklanması ve LRO'nun tamamlanıp tamamlanmadığını denetlemek için yöntemler sağlayan bir LROPoller'ı geri alın.

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

Parametreler

operationArguments
OperationArguments

İşlemin bağımsız değişkenleri.

operationSpec
OperationSpec

İşlemin belirtimi.

options
RequestOptionsBase

İstek yapılırken gönderilecek ek seçenekler.

Döndürülenler

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

LRO ile etkileşim kurmak için yöntemler sağlayan LROPoller nesnesi.

Devralındığı yer:AutomationClientContext.sendLRORequest

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

Sağlanan OperationSpec kullanılarak doldurulan bir HTTP isteği gönderin.

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

Parametreler

operationArguments
OperationArguments

HTTP isteğinin şablonlu değerlerinin doldurulacağı bağımsız değişkenler.

operationSpec
OperationSpec

httpRequest'i doldurmak için kullanılacak OperationSpec.

callback

ServiceCallback<any>

Yanıt alındığında çağrılacak geri çağırma.

Döndürülenler

Promise<RestResponse>

Devralındığı yer:AutomationClientContext.sendOperationRequest

sendRequest(RequestPrepareOptions | WebResourceLike)

Sağlanan httpRequest dosyasını gönderin.

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

Parametreler

Döndürülenler

Devralındığı yer:AutomationClientContext.sendRequest