Hybrid Runbook Worker Group - Get

Retrieve a hybrid runbook worker group.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/hybridRunbookWorkerGroups/{hybridRunbookWorkerGroupName}?api-version=2015-10-31

URI Parameters

Name In Required Type Description
automationAccountName
path True
  • string

The name of the automation account.

hybridRunbookWorkerGroupName
path True
  • string

The hybrid runbook worker group name

resourceGroupName
path True
  • string

Name of an Azure Resource group.

Regex pattern: ^[-\w\._]+$

subscriptionId
path True
  • string

Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

api-version
query True
  • string

Client Api Version.

Responses

Name Type Description
200 OK

OK

Other Status Codes

Automation error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Get a hybrid worker group

Sample Request

GET https://management.azure.com/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/testaccount/hybridRunbookWorkerGroups/TestHybridGroup?api-version=2015-10-31

Sample Response

{
  "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/testaccount/hybridRunbookWorkerGroups/TestHybridGroup",
  "name": "TestHybridGroup",
  "hybridRunbookWorkers": [
    {
      "name": "TestHybridWorker",
      "ip": "100.1.1.1",
      "registrationTime": "2017-03-24T12:43:45.0146578-07:00"
    }
  ],
  "credential": {
    "name": "myRunAsCredentialName"
  }
}

Definitions

ErrorResponse

Error response of an operation failure

GroupTypeEnum

Type of the HybridWorkerGroup.

HybridRunbookWorker

Definition of hybrid runbook worker.

HybridRunbookWorkerGroup

Definition of hybrid runbook worker group.

RunAsCredentialAssociationProperty

Definition of RunAs credential to use for hybrid worker.

ErrorResponse

Error response of an operation failure

Name Type Description
code
  • string

Error code

message
  • string

Error message indicating why the operation failed.

GroupTypeEnum

Type of the HybridWorkerGroup.

Name Type Description
System
  • string
User
  • string

HybridRunbookWorker

Definition of hybrid runbook worker.

Name Type Description
ip
  • string

Gets or sets the assigned machine IP address.

lastSeenDateTime
  • string

Last Heartbeat from the Worker

name
  • string

Gets or sets the worker machine name.

registrationTime
  • string

Gets or sets the registration time of the worker machine.

HybridRunbookWorkerGroup

Definition of hybrid runbook worker group.

Name Type Description
credential

Sets the credential of a worker group.

groupType

Type of the HybridWorkerGroup.

hybridRunbookWorkers

Gets or sets the list of hybrid runbook workers.

id
  • string

Gets or sets the id of the resource.

name
  • string

Gets or sets the name of the group.

RunAsCredentialAssociationProperty

Definition of RunAs credential to use for hybrid worker.

Name Type Description
name
  • string

Gets or sets the name of the credential.