你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AutomationAccountResource 类

定义

表示 AutomationAccount 的类,以及可对其进行执行的实例操作。 如果有 ,ResourceIdentifier可以使用 GetAutomationAccountResource 方法从 的ArmClient实例构造 AutomationAccountResource 。 否则,可以使用 GetAutomationAccount 方法从其父资源 ResourceGroupResource 获取一个。

public class AutomationAccountResource : Azure.ResourceManager.ArmResource
type AutomationAccountResource = class
    inherit ArmResource
Public Class AutomationAccountResource
Inherits ArmResource
继承
AutomationAccountResource

构造函数

AutomationAccountResource()

初始化 类的新实例 AutomationAccountResource 进行模拟。

字段

ResourceType

获取操作的资源类型。

属性

Client

获取 ArmClient 创建自的此资源客户端。

(继承自 ArmResource)
Data

获取表示此功能的数据。

Diagnostics

获取此资源客户端的诊断选项。

(继承自 ArmResource)
Endpoint

获取此资源客户端的基 URI。

(继承自 ArmResource)
HasData

获取当前实例是否具有数据。

Id

获取资源标识符。

(继承自 ArmResource)
Pipeline

获取此资源客户端的管道。

(继承自 ArmResource)

方法

AddTag(String, String, CancellationToken)

将标记添加到当前资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
  • 操作IdAutomationAccount_Get
AddTagAsync(String, String, CancellationToken)

将标记添加到当前资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
  • 操作IdAutomationAccount_Get
AutomationPrivateLinkResources(CancellationToken)

获取需要为自动化帐户创建的专用链接资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateLinkResources
  • 操作IdPrivateLinkResources_Automation
AutomationPrivateLinkResourcesAsync(CancellationToken)

获取需要为自动化帐户创建的专用链接资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateLinkResources
  • 操作IdPrivateLinkResources_Automation
CanUseTagResource(CancellationToken)

检查 TagResource API 是否部署在当前环境中。

(继承自 ArmResource)
CanUseTagResourceAsync(CancellationToken)

检查 TagResource API 是否部署在当前环境中。

(继承自 ArmResource)
ConvertGraphRunbookContent(GraphicalRunbookContent, CancellationToken)

序列化或反序列化 GraphRunbookContent 的后期操作

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/convertGraphRunbookContent
  • 操作 IdconvertGraphRunbookContent
ConvertGraphRunbookContentAsync(GraphicalRunbookContent, CancellationToken)

序列化或反序列化 GraphRunbookContent 的后期操作

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/convertGraphRunbookContent
  • 操作 IdconvertGraphRunbookContent
CreateResourceIdentifier(String, String, String)

生成实例的资源标识符 AutomationAccountResource

Delete(WaitUntil, CancellationToken)

删除自动化帐户。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
  • 操作IdAutomationAccount_Delete
DeleteAsync(WaitUntil, CancellationToken)

删除自动化帐户。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
  • 操作IdAutomationAccount_Delete
GenerateUriWebhook(CancellationToken)

生成用于创建 Webhook 的 URI。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/generateUri
  • 操作IdWebhook_GenerateUri
GenerateUriWebhookAsync(CancellationToken)

生成用于创建 Webhook 的 URI。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/generateUri
  • 操作IdWebhook_GenerateUri
Get(CancellationToken)

获取有关自动化帐户的信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
  • 操作IdAutomationAccount_Get
GetAgentRegistrationInformation(CancellationToken)

检索自动化代理注册信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/agentRegistrationInformation
  • 操作IdAgentRegistrationInformation_Get
GetAgentRegistrationInformationAsync(CancellationToken)

检索自动化代理注册信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/agentRegistrationInformation
  • 操作IdAgentRegistrationInformation_Get
GetAllNodeCountInformation(AutomationCountType, CancellationToken)

检索 Dsc 节点的计数。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodecounts/{countType}
  • 操作IdNodeCountInformation_Get
GetAllNodeCountInformationAsync(AutomationCountType, CancellationToken)

检索 Dsc 节点的计数。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodecounts/{countType}
  • 操作IdNodeCountInformation_Get
GetAsync(CancellationToken)

获取有关自动化帐户的信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
  • 操作IdAutomationAccount_Get
GetAutomationAccountKeys(CancellationToken)

检索帐户的自动化密钥。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/listKeys
  • 操作IdKeys_ListByAutomationAccount
GetAutomationAccountKeysAsync(CancellationToken)

检索帐户的自动化密钥。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/listKeys
  • 操作IdKeys_ListByAutomationAccount
GetAutomationAccountModule(String, CancellationToken)

检索由模块名称标识的模块。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules/{moduleName}
  • 操作IdModule_Get
GetAutomationAccountModuleAsync(String, CancellationToken)

检索由模块名称标识的模块。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules/{moduleName}
  • 操作IdModule_Get
GetAutomationAccountModules()

获取 AutomationAccount 中的 AutomationAccountModuleResources 集合。

GetAutomationAccountPython2Package(String, CancellationToken)

检索按包名称标识的 python 2 包。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python2Packages/{packageName}
  • 操作IdPython2Package_Get
GetAutomationAccountPython2PackageAsync(String, CancellationToken)

检索按包名称标识的 python 2 包。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python2Packages/{packageName}
  • 操作IdPython2Package_Get
GetAutomationAccountPython2Packages()

获取 AutomationAccount 中的 AutomationAccountPython2PackageResources 集合。

GetAutomationCertificate(String, CancellationToken)

检索由证书名称标识的证书。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/certificates/{certificateName}
  • 操作IdCertificate_Get
GetAutomationCertificateAsync(String, CancellationToken)

检索由证书名称标识的证书。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/certificates/{certificateName}
  • 操作IdCertificate_Get
GetAutomationCertificates()

获取 AutomationAccount 中 AutomationCertificateResources 的集合。

GetAutomationConnection(String, CancellationToken)

检索由连接名称标识的连接。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connections/{connectionName}
  • 操作IdConnection_Get
GetAutomationConnectionAsync(String, CancellationToken)

检索由连接名称标识的连接。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connections/{connectionName}
  • 操作IdConnection_Get
GetAutomationConnections()

获取 AutomationAccount 中的 AutomationConnectionResources 集合。

GetAutomationConnectionType(String, CancellationToken)

检索由连接类型名称标识的连接类型。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connectionTypes/{connectionTypeName}
  • 操作IdConnectionType_Get
GetAutomationConnectionTypeAsync(String, CancellationToken)

检索由连接类型名称标识的连接类型。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/connectionTypes/{connectionTypeName}
  • 操作IdConnectionType_Get
GetAutomationConnectionTypes()

获取 AutomationAccount 中 AutomationConnectionTypeResources 的集合。

GetAutomationCredential(String, CancellationToken)

检索由凭据名称标识的凭据。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/credentials/{credentialName}
  • 操作IdCredential_Get
GetAutomationCredentialAsync(String, CancellationToken)

检索由凭据名称标识的凭据。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/credentials/{credentialName}
  • 操作IdCredential_Get
GetAutomationCredentials()

获取 AutomationAccount 中 AutomationCredentialResources 的集合。

GetAutomationJob(String, String, CancellationToken)

检索由作业名称标识的作业。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}
  • 操作IdJob_Get
GetAutomationJobAsync(String, String, CancellationToken)

检索由作业名称标识的作业。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}
  • 操作IdJob_Get
GetAutomationJobs()

获取 AutomationAccount 中 AutomationJobResources 的集合。

GetAutomationJobSchedule(Guid, CancellationToken)

检索由作业计划名称标识的作业计划。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobSchedules/{jobScheduleId}
  • 操作IdJobSchedule_Get
GetAutomationJobScheduleAsync(Guid, CancellationToken)

检索由作业计划名称标识的作业计划。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobSchedules/{jobScheduleId}
  • 操作IdJobSchedule_Get
GetAutomationJobSchedules()

获取 AutomationAccount 中 AutomationJobScheduleResources 的集合。

GetAutomationPrivateEndpointConnection(String, CancellationToken)

获取专用终结点连接。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • 操作IdPrivateEndpointConnections_Get
GetAutomationPrivateEndpointConnectionAsync(String, CancellationToken)

获取专用终结点连接。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • 操作IdPrivateEndpointConnections_Get
GetAutomationPrivateEndpointConnections()

获取 AutomationAccount 中 AutomationPrivateEndpointConnectionResources 的集合。

GetAutomationRunbook(String, CancellationToken)

检索由 Runbook 名称标识的 Runbook。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}
  • 操作IdRunbook_Get
GetAutomationRunbookAsync(String, CancellationToken)

检索由 Runbook 名称标识的 Runbook。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}
  • 操作IdRunbook_Get
GetAutomationRunbooks()

获取 AutomationAccount 中 AutomationRunbookResources 的集合。

GetAutomationSchedule(String, CancellationToken)

检索按计划名称标识的计划。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/schedules/{scheduleName}
  • 操作IdSchedule_Get
GetAutomationScheduleAsync(String, CancellationToken)

检索按计划名称标识的计划。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/schedules/{scheduleName}
  • 操作IdSchedule_Get
GetAutomationSchedules()

获取 AutomationAccount 中 AutomationScheduleResources 的集合。

GetAutomationSourceControl(String, CancellationToken)

检索由源代码管理名称标识的源代码管理。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}
  • 操作IdSourceControl_Get
GetAutomationSourceControlAsync(String, CancellationToken)

检索由源代码管理名称标识的源代码管理。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}
  • 操作IdSourceControl_Get
GetAutomationSourceControls()

获取 AutomationAccount 中 AutomationSourceControlResources 的集合。

GetAutomationVariable(String, CancellationToken)

检索由变量名称标识的变量。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/variables/{variableName}
  • 操作IdVariable_Get
GetAutomationVariableAsync(String, CancellationToken)

检索由变量名称标识的变量。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/variables/{variableName}
  • 操作IdVariable_Get
GetAutomationVariables()

获取 AutomationAccount 中 AutomationVariableResources 的集合。

GetAutomationWatcher(String, CancellationToken)

检索由观察程序名称标识的观察程序。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}
  • 操作IdWatcher_Get
GetAutomationWatcherAsync(String, CancellationToken)

检索由观察程序名称标识的观察程序。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}
  • 操作IdWatcher_Get
GetAutomationWatchers()

获取 AutomationAccount 中 AutomationWatcherResources 的集合。

GetAutomationWebhook(String, CancellationToken)

检索由 Webhook 名称标识的 Webhook。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
  • 操作IdWebhook_Get
GetAutomationWebhookAsync(String, CancellationToken)

检索由 Webhook 名称标识的 Webhook。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
  • 操作IdWebhook_Get
GetAutomationWebhooks()

获取 AutomationAccount 中 AutomationWebhookResources 的集合。

GetAvailableLocations(CancellationToken)

列出所有可用的地理位置。

(继承自 ArmResource)
GetAvailableLocationsAsync(CancellationToken)

列出所有可用的地理位置。

(继承自 ArmResource)
GetDscCompilationJob(String, CancellationToken)

检索由作业 ID 标识的 Dsc 配置编译作业。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{compilationJobName}
  • 操作IdDscCompilationJob_Get
GetDscCompilationJobAsync(String, CancellationToken)

检索由作业 ID 标识的 Dsc 配置编译作业。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{compilationJobName}
  • 操作IdDscCompilationJob_Get
GetDscCompilationJobs()

获取 AutomationAccount 中 DscCompilationJobResources 的集合。

GetDscCompilationJobStreams(Guid, CancellationToken)

检索编译作业的所有作业流。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{jobId}/streams
  • 操作IdDscCompilationJobStream_ListByJob
GetDscCompilationJobStreamsAsync(Guid, CancellationToken)

检索编译作业的所有作业流。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{jobId}/streams
  • 操作IdDscCompilationJobStream_ListByJob
GetDscConfiguration(String, CancellationToken)

检索由配置名称标识的配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations/{configurationName}
  • 操作IdDscConfiguration_Get
GetDscConfigurationAsync(String, CancellationToken)

检索由配置名称标识的配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations/{configurationName}
  • 操作IdDscConfiguration_Get
GetDscConfigurations()

获取 AutomationAccount 中 DscConfigurationResources 的集合。

GetDscNode(String, CancellationToken)

检索由节点 ID 标识的 dsc 节点。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodes/{nodeId}
  • 操作IdDscNode_Get
GetDscNodeAsync(String, CancellationToken)

检索由节点 ID 标识的 dsc 节点。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodes/{nodeId}
  • 操作IdDscNode_Get
GetDscNodeConfiguration(String, CancellationToken)

按节点配置检索 Dsc 节点配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodeConfigurations/{nodeConfigurationName}
  • 操作IdDscNodeConfiguration_Get
GetDscNodeConfigurationAsync(String, CancellationToken)

按节点配置检索 Dsc 节点配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodeConfigurations/{nodeConfigurationName}
  • 操作IdDscNodeConfiguration_Get
GetDscNodeConfigurations()

获取 AutomationAccount 中 DscNodeConfigurationResources 的集合。

GetDscNodes()

获取 AutomationAccount 中的 DscNodeResources 集合。

GetFieldsByType(String, CancellationToken)

检索所有辅助模块中给定类型的字段列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/objectDataTypes/{typeName}/fields
  • 操作IdObjectDataTypes_ListFieldsByType
GetFieldsByTypeAsync(String, CancellationToken)

检索所有辅助模块中给定类型的字段列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/objectDataTypes/{typeName}/fields
  • 操作IdObjectDataTypes_ListFieldsByType
GetHybridRunbookWorkerGroup(String, CancellationToken)

检索混合 Runbook 辅助角色组。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}
  • 操作IdHybridRunbookWorkerGroup_Get
GetHybridRunbookWorkerGroupAsync(String, CancellationToken)

检索混合 Runbook 辅助角色组。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}
  • 操作IdHybridRunbookWorkerGroup_Get
GetHybridRunbookWorkerGroups()

获取 AutomationAccount 中的 HybridRunbookWorkerGroupResources 集合。

GetLinkedWorkspace(CancellationToken)

检索帐户 ID 的链接工作区。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/linkedWorkspace
  • 操作IdLinkedWorkspace_Get
GetLinkedWorkspaceAsync(CancellationToken)

检索帐户 ID 的链接工作区。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/linkedWorkspace
  • 操作IdLinkedWorkspace_Get
GetManagementLock(String, CancellationToken)

按范围获取管理锁。

  • 请求路径/{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • 操作IdManagementLocks_GetByScope
(继承自 ArmResource)
GetManagementLockAsync(String, CancellationToken)

按范围获取管理锁。

  • 请求路径/{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • 操作IdManagementLocks_GetByScope
(继承自 ArmResource)
GetManagementLocks()

获取 ArmResource 中的 ManagementLockResources 集合。

(继承自 ArmResource)
GetPolicyAssignment(String, CancellationToken)

此操作检索单个策略分配,给定其名称和创建范围。

  • 请求路径/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • 操作IdPolicyAssignments_Get
(继承自 ArmResource)
GetPolicyAssignmentAsync(String, CancellationToken)

此操作检索单个策略分配,给定其名称和创建范围。

  • 请求路径/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • 操作IdPolicyAssignments_Get
(继承自 ArmResource)
GetPolicyAssignments()

获取 ArmResource 中 PolicyAssignmentResources 的集合。

(继承自 ArmResource)
GetSoftwareUpdateConfiguration(String, String, CancellationToken)

按名称获取单个软件更新配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurations/{softwareUpdateConfigurationName}
  • 操作IdSoftwareUpdateConfigurations_GetByName
GetSoftwareUpdateConfigurationAsync(String, String, CancellationToken)

按名称获取单个软件更新配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurations/{softwareUpdateConfigurationName}
  • 操作IdSoftwareUpdateConfigurations_GetByName
GetSoftwareUpdateConfigurationMachineRun(Guid, String, CancellationToken)

获取按 ID 运行的单个软件更新配置计算机。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationMachineRuns/{softwareUpdateConfigurationMachineRunId}
  • 操作IdSoftwareUpdateConfigurationMachineRuns_GetById
GetSoftwareUpdateConfigurationMachineRunAsync(Guid, String, CancellationToken)

获取按 ID 运行的单个软件更新配置计算机。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationMachineRuns/{softwareUpdateConfigurationMachineRunId}
  • 操作IdSoftwareUpdateConfigurationMachineRuns_GetById
GetSoftwareUpdateConfigurationMachineRuns(String, String, String, String, CancellationToken)

返回软件更新配置计算机运行的列表

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationMachineRuns
  • 操作IdSoftwareUpdateConfigurationMachineRuns_List
GetSoftwareUpdateConfigurationMachineRunsAsync(String, String, String, String, CancellationToken)

返回软件更新配置计算机运行的列表

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationMachineRuns
  • 操作IdSoftwareUpdateConfigurationMachineRuns_List
GetSoftwareUpdateConfigurationRun(Guid, String, CancellationToken)

获取单个软件更新配置,按 ID 运行。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationRuns/{softwareUpdateConfigurationRunId}
  • 操作IdSoftwareUpdateConfigurationRuns_GetById
GetSoftwareUpdateConfigurationRunAsync(Guid, String, CancellationToken)

获取单个软件更新配置,按 ID 运行。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationRuns/{softwareUpdateConfigurationRunId}
  • 操作IdSoftwareUpdateConfigurationRuns_GetById
GetSoftwareUpdateConfigurationRuns(String, String, String, String, CancellationToken)

返回软件更新配置运行的列表

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationRuns
  • 操作IdSoftwareUpdateConfigurationRuns_List
GetSoftwareUpdateConfigurationRunsAsync(String, String, String, String, CancellationToken)

返回软件更新配置运行的列表

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurationRuns
  • 操作IdSoftwareUpdateConfigurationRuns_List
GetSoftwareUpdateConfigurations()

获取 AutomationAccount 中 SoftwareUpdateConfigurationResources 的集合。

GetStatistics(String, CancellationToken)

检索帐户的统计信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/statistics
  • 操作IdStatistics_ListByAutomationAccount
GetStatisticsAsync(String, CancellationToken)

检索帐户的统计信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/statistics
  • 操作IdStatistics_ListByAutomationAccount
GetStreamDscCompilationJob(Guid, String, CancellationToken)

检索作业流 ID 标识的作业流。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{jobId}/streams/{jobStreamId}
  • 操作IdDscCompilationJob_GetStream
GetStreamDscCompilationJobAsync(Guid, String, CancellationToken)

检索作业流 ID 标识的作业流。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{jobId}/streams/{jobStreamId}
  • 操作IdDscCompilationJob_GetStream
GetTagResource()

获取一个 对象,该对象表示 TagResource 以及可在 ArmResource 中对其进行执行的实例操作。

(继承自 ArmResource)
GetUsages(CancellationToken)

检索帐户 ID 的用法。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/usages
  • 操作IdUsages_ListByAutomationAccount
GetUsagesAsync(CancellationToken)

检索帐户 ID 的用法。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/usages
  • 操作IdUsages_ListByAutomationAccount
RegenerateKeyAgentRegistrationInformation(AgentRegistrationRegenerateKeyContent, CancellationToken)

重新生成主代理或辅助代理注册密钥

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/agentRegistrationInformation/regenerateKey
  • 操作IdAgentRegistrationInformation_RegenerateKey
RegenerateKeyAgentRegistrationInformationAsync(AgentRegistrationRegenerateKeyContent, CancellationToken)

重新生成主代理或辅助代理注册密钥

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/agentRegistrationInformation/regenerateKey
  • 操作IdAgentRegistrationInformation_RegenerateKey
RemoveTag(String, CancellationToken)

按键从资源中删除标记。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
  • 操作IdAutomationAccount_Get
RemoveTagAsync(String, CancellationToken)

按键从资源中删除标记。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
  • 操作IdAutomationAccount_Get
SetTags(IDictionary<String,String>, CancellationToken)

将资源上的标记替换为给定集。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
  • 操作IdAutomationAccount_Get
SetTagsAsync(IDictionary<String,String>, CancellationToken)

将资源上的标记替换为给定集。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
  • 操作IdAutomationAccount_Get
TryGetApiVersion(ResourceType, String)

获取 API 版本替代(如果已为当前客户端选项设置)。

(继承自 ArmResource)
Update(AutomationAccountPatch, CancellationToken)

更新自动化帐户。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
  • 操作IdAutomationAccount_Update
UpdateAsync(AutomationAccountPatch, CancellationToken)

更新自动化帐户。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}
  • 操作IdAutomationAccount_Update

扩展方法

GetAuthorizationRoleDefinition(ArmResource, ResourceIdentifier, CancellationToken)

按名称 (GUID) 获取角色定义。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • 操作IdRoleDefinitions_Get
GetAuthorizationRoleDefinitionAsync(ArmResource, ResourceIdentifier, CancellationToken)

按名称 (GUID) 获取角色定义。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • 操作IdRoleDefinitions_Get
GetAuthorizationRoleDefinitions(ArmResource)

获取 ArmResource 中 AuthorizationRoleDefinitionResources 的集合。

GetDenyAssignment(ArmResource, String, CancellationToken)

获取指定的拒绝分配。

  • 请求路径/{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • 操作IdDenyAssignments_Get
GetDenyAssignmentAsync(ArmResource, String, CancellationToken)

获取指定的拒绝分配。

  • 请求路径/{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • 操作IdDenyAssignments_Get
GetDenyAssignments(ArmResource)

获取 ArmResource 中 DenyAssignmentResources 的集合。

GetRoleAssignment(ArmResource, String, String, CancellationToken)

按范围和名称获取角色分配。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • 操作IdRoleAssignments_Get
GetRoleAssignmentAsync(ArmResource, String, String, CancellationToken)

按范围和名称获取角色分配。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • 操作IdRoleAssignments_Get
GetRoleAssignments(ArmResource)

获取 ArmResource 中 RoleAssignmentResources 的集合。

GetRoleAssignmentSchedule(ArmResource, String, CancellationToken)

获取资源范围的指定角色分配计划

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • 操作IdRoleAssignmentSchedules_Get
GetRoleAssignmentScheduleAsync(ArmResource, String, CancellationToken)

获取资源范围的指定角色分配计划

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • 操作IdRoleAssignmentSchedules_Get
GetRoleAssignmentScheduleInstance(ArmResource, String, CancellationToken)

获取指定的角色分配计划实例。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • 操作IdRoleAssignmentScheduleInstances_Get
GetRoleAssignmentScheduleInstanceAsync(ArmResource, String, CancellationToken)

获取指定的角色分配计划实例。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • 操作IdRoleAssignmentScheduleInstances_Get
GetRoleAssignmentScheduleInstances(ArmResource)

获取 ArmResource 中 RoleAssignmentScheduleInstanceResources 的集合。

GetRoleAssignmentScheduleRequest(ArmResource, String, CancellationToken)

获取指定的角色分配计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • 操作IdRoleAssignmentScheduleRequests_Get
GetRoleAssignmentScheduleRequestAsync(ArmResource, String, CancellationToken)

获取指定的角色分配计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • 操作IdRoleAssignmentScheduleRequests_Get
GetRoleAssignmentScheduleRequests(ArmResource)

获取 ArmResource 中 RoleAssignmentScheduleRequestResources 的集合。

GetRoleAssignmentSchedules(ArmResource)

获取 ArmResource 中 RoleAssignmentScheduleResources 的集合。

GetRoleEligibilitySchedule(ArmResource, String, CancellationToken)

获取资源范围的指定角色资格计划

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • 操作IdRoleEligibilitySchedules_Get
GetRoleEligibilityScheduleAsync(ArmResource, String, CancellationToken)

获取资源范围的指定角色资格计划

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • 操作IdRoleEligibilitySchedules_Get
GetRoleEligibilityScheduleInstance(ArmResource, String, CancellationToken)

获取指定的角色资格计划实例。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • 操作IdRoleEligibilityScheduleInstances_Get
GetRoleEligibilityScheduleInstanceAsync(ArmResource, String, CancellationToken)

获取指定的角色资格计划实例。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • 操作IdRoleEligibilityScheduleInstances_Get
GetRoleEligibilityScheduleInstances(ArmResource)

获取 ArmResource 中 RoleEligibilityScheduleInstanceResources 的集合。

GetRoleEligibilityScheduleRequest(ArmResource, String, CancellationToken)

获取指定的角色资格计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • 操作IdRoleEligibilityScheduleRequests_Get
GetRoleEligibilityScheduleRequestAsync(ArmResource, String, CancellationToken)

获取指定的角色资格计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • 操作IdRoleEligibilityScheduleRequests_Get
GetRoleEligibilityScheduleRequests(ArmResource)

获取 ArmResource 中 RoleEligibilityScheduleRequestResources 的集合。

GetRoleEligibilitySchedules(ArmResource)

获取 ArmResource 中 RoleEligibilityScheduleResources 的集合。

GetRoleManagementPolicies(ArmResource)

获取 ArmResource 中 RoleManagementPolicyResources 的集合。

GetRoleManagementPolicy(ArmResource, String, CancellationToken)

获取资源范围的指定角色管理策略

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • 操作IdRoleManagementPolicies_Get
GetRoleManagementPolicyAssignment(ArmResource, String, CancellationToken)

获取资源范围的指定角色管理策略分配

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • 操作IdRoleManagementPolicyAssignments_Get
GetRoleManagementPolicyAssignmentAsync(ArmResource, String, CancellationToken)

获取资源范围的指定角色管理策略分配

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • 操作IdRoleManagementPolicyAssignments_Get
GetRoleManagementPolicyAssignments(ArmResource)

获取 ArmResource 中 RoleManagementPolicyAssignmentResources 的集合。

GetRoleManagementPolicyAsync(ArmResource, String, CancellationToken)

获取资源范围的指定角色管理策略

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • 操作IdRoleManagementPolicies_Get
GetSystemAssignedIdentity(ArmResource)

获取表示 SystemAssignedIdentityResource 的对象,以及可在 ArmResource 中对其进行执行的实例操作。

GetLinkerResource(ArmResource, String, CancellationToken)

返回给定名称的链接器资源。

  • 请求路径/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • 操作IdLinker_Get
GetLinkerResourceAsync(ArmResource, String, CancellationToken)

返回给定名称的链接器资源。

  • 请求路径/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • 操作IdLinker_Get
GetLinkerResources(ArmResource)

获取 ArmResource 中的 LinkerResources 集合。

适用于