Share via


List all activities in a module

 

The List all activities in a module operation returns information about all activities in a module.

Request

To specify the request, replace <subscription-id> with your subscription ID, <cloud-service-name> with the name of the cloud service to use for making the request, <automation-account-name> with the name of the automation account to use for making the request, and <module-name> with the name of the module of the activities that you want to list. Include required URI parameters.

Method

Request URI

GET

https://management.core.windows.net/<subscription-id>/cloudServices/<cloud-service-name>/resources/automation/~/automationAccounts/<automation-account-name>/modules/<module-name>/activities?api-version=2014-12-08

URI Parameters

Parameter

Description

api-version

Required. Must be set to 2014-12-08.

Request Headers

The request header in the following table is required.

Request Header

Description

x-ms-version

Specifies the version of the operation. Set to 2013-06-01 or a later version.

Request Body

None

Response

Status Code

A successful operation returns 200 (OK). For information about common error codes, see HTTP/1.1 Status Code Definitions.

Response Headers

Request Header

Description

x-ms-request-id

A unique identifier for the current operation.

Response Body

The following response body shows a portion of activities in the Microsoft.PowerShell.Security module. The remaining response is obtained by using the nextlink URL that would be at the bottom of the JSON output.

{
   "value":[
      {
         "name":"ConvertFrom-SecureString",
         "properties":{
            "definition":"",
            "description":"\u000aConvertFrom-SecureString [-SecureString] <securestring> [[-SecureKey] <securestring>] [<CommonParameters>]\u000a\u000aConvertFrom-SecureString [-SecureString] <securestring> [-Key <byte[]>] [<CommonParameters>]\u000a ^http:\/\/go.microsoft.com\/fwlink\/?LinkID=113287^",
            "parameterSets":null,
            "outputTypes":null,
            "creationTime":"2015-04-30T11:39:51.037+00:00",
            "lastModifiedTime":"2015-04-30T11:39:51.037+00:00"
         }
      },
      {
         "name":"ConvertTo-SecureString",
         "properties":{
            "definition":"",
            "description":"\u000aConvertTo-SecureString [-String] <string> [[-SecureKey] <securestring>] [<CommonParameters>]\u000a\u000aConvertTo-SecureString [-String] <string> [-AsPlainText] [-Force] [<CommonParameters>]\u000a\u000aConvertTo-SecureString [-String] <string> [-Key <byte[]>] [<CommonParameters>]\u000a ^http:\/\/go.microsoft.com\/fwlink\/?LinkID=113291^",
            "parameterSets":null,
            "outputTypes":null,
            "creationTime":"2015-04-30T11:39:51.037+00:00",
            "lastModifiedTime":"2015-04-30T11:39:51.037+00:00"
         }
      },
      {
         "name":"Get-Acl",
         "properties":{
            "definition":"",
            "description":"\u000aGet-Acl [[-Path] <string[]>] [-Audit] [-AllCentralAccessPolicies] [-Filter <string>] [-Include <string[]>] [-Exclude <string[]>] [-UseTransaction] [<CommonParameters>]\u000a\u000aGet-Acl -InputObject <psobject> [-Audit] [-AllCentralAccessPolicies] [-Filter <string>] [-Include <string[]>] [-Exclude <string[]>] [-UseTransaction] [<CommonParameters>]\u000a\u000aGet-Acl [-LiteralPath <string[]>] [-Audit] [-AllCentralAccessPolicies] [-Filter <string>] [-Include <string[]>] [-Exclude <string[]>] [-UseTransaction] [<CommonParameters>]\u000a ^http:\/\/go.microsoft.com\/fwlink\/?LinkID=113305^",
            "parameterSets":null,
            "outputTypes":null,
            "creationTime":"2015-04-30T11:39:51.037+00:00",
            "lastModifiedTime":"2015-04-30T11:39:51.037+00:00"
         }
      },
      {
         "name":"Get-AuthenticodeSignature",
         "properties":{
            "definition":"",
            "description":"\u000aGet-AuthenticodeSignature [-FilePath] <string[]> [<CommonParameters>]\u000a\u000aGet-AuthenticodeSignature -LiteralPath <string[]> [<CommonParameters>]\u000a ^http:\/\/go.microsoft.com\/fwlink\/?LinkID=113307^",
            "parameterSets":null,
            "outputTypes":null,
            "creationTime":"2015-04-30T11:39:51.037+00:00",
            "lastModifiedTime":"2015-04-30T11:39:51.037+00:00"
         }
      },
      {
         "name":"Get-Credential",
         "properties":{
            "definition":"",
            "description":"\u000aGet-Credential [-Credential] <pscredential> [<CommonParameters>]\u000a\u000aGet-Credential [[-UserName] <string>] -Message <string> [<CommonParameters>]\u000a ^http:\/\/go.microsoft.com\/fwlink\/?LinkID=113311^",
            "parameterSets":null,
            "outputTypes":null,
            "creationTime":"2015-04-30T11:39:51.037+00:00",
            "lastModifiedTime":"2015-04-30T11:39:51.037+00:00"
         }
      },
      {
         "name":"Get-ExecutionPolicy",
         "properties":{
            "definition":"",
            "description":"\u000aGet-ExecutionPolicy [[-Scope] <ExecutionPolicyScope>] [-List] [<CommonParameters>]\u000a ^http:\/\/go.microsoft.com\/fwlink\/?LinkID=113315^",
            "parameterSets":null,
            "outputTypes":null,
            "creationTime":"2015-04-30T11:39:51.037+00:00",
            "lastModifiedTime":"2015-04-30T11:39:51.037+00:00"
         }
      },
      {
         "name":"Get-PfxCertificate",
         "properties":{
            "definition":"",
            "description":"\u000aGet-PfxCertificate [-FilePath] <string[]> [<CommonParameters>]\u000a\u000aGet-PfxCertificate -LiteralPath <string[]> [<CommonParameters>]\u000a ^http:\/\/go.microsoft.com\/fwlink\/?LinkID=113323^",
            "parameterSets":null,
            "outputTypes":null,
            "creationTime":"2015-04-30T11:39:51.037+00:00",
            "lastModifiedTime":"2015-04-30T11:39:51.037+00:00"
         }
      },
      {
         "name":"Set-Acl",
         "properties":{
            "definition":"",
            "description":"\u000aSet-Acl [-Path] <string[]> [-AclObject] <Object> [[-CentralAccessPolicy] <string>] [-ClearCentralAccessPolicy] [-Passthru] [-Filter <string>] [-Include <string[]>] [-Exclude <string[]>] [-WhatIf] [-Confirm] [-UseTransaction] [<CommonParameters>]\u000a\u000aSet-Acl [-InputObject] <psobject> [-AclObject] <Object> [-Passthru] [-Filter <string>] [-Include <string[]>] [-Exclude <string[]>] [-WhatIf] [-Confirm] [-UseTransaction] [<CommonParameters>]\u000a\u000aSet-Acl [-AclObject] <Object> [[-CentralAccessPolicy] <string>] -LiteralPath <string[]> [-ClearCentralAccessPolicy] [-Passthru] [-Filter <string>] [-Include <string[]>] [-Exclude <string[]>] [-WhatIf] [-Confirm] [-UseTransaction] [<CommonParameters>]\u000a ^http:\/\/go.microsoft.com\/fwlink\/?LinkID=113389^",
            "parameterSets":null,
            "outputTypes":null,
            "creationTime":"2015-04-30T11:39:51.037+00:00",
            "lastModifiedTime":"2015-04-30T11:39:51.037+00:00"
         }
      },
      {
         "name":"Set-AuthenticodeSignature",
         "properties":{
            "definition":"",
            "description":"\u000aSet-AuthenticodeSignature [-FilePath] <string[]> [-Certificate] <X509Certificate2> [-IncludeChain <string>] [-TimestampServer <string>] [-HashAlgorithm <string>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]\u000a\u000aSet-AuthenticodeSignature [-Certificate] <X509Certificate2> -LiteralPath <string[]> [-IncludeChain <string>] [-TimestampServer <string>] [-HashAlgorithm <string>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]\u000a ^http:\/\/go.microsoft.com\/fwlink\/?LinkID=113391^",
            "parameterSets":null,
            "outputTypes":null,
            "creationTime":"2015-04-30T11:39:51.037+00:00",
            "lastModifiedTime":"2015-04-30T11:39:51.037+00:00"
         }
      },
      {
         "name":"Set-ExecutionPolicy",
         "properties":{
            "definition":"",
            "description":"\u000aSet-ExecutionPolicy [-ExecutionPolicy] <ExecutionPolicy> [[-Scope] <ExecutionPolicyScope>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]\u000a ^http:\/\/go.microsoft.com\/fwlink\/?LinkID=113394^",
            "parameterSets":null,
            "outputTypes":null,
            "creationTime":"2015-04-30T11:39:51.037+00:00",
            "lastModifiedTime":"2015-04-30T11:39:51.037+00:00"
         }
      }
   ]
}

Element

Description

name

The name of the activity.

properties/definition

A definition of the activity.

properties/description

The activity's signature of parameter names, options, and syntax.

properties/parametersets

Not provided for this list. Use the Get information about a module's activity operation to view them.

properties/outputTypes

(Same as above.)

properties/creationTime

The date and time the module was created.

properties/lastModifiedTime

The date and time the module was last changed.

nextLink

Returned only when the number of records exceeds the page size (100 records). This link, and any subsequent links, returns the next page of records.

See Also

Automation Modules
Operations on Automation