This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.automation.getRunbook
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Retrieve the runbook identified by runbook name. Azure REST API version: 2022-08-08.
Other available API versions: 2023-05-15-preview, 2023-11-01.
Using getRunbook
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRunbook(args: GetRunbookArgs, opts?: InvokeOptions): Promise<GetRunbookResult>
function getRunbookOutput(args: GetRunbookOutputArgs, opts?: InvokeOptions): Output<GetRunbookResult>
def get_runbook(automation_account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
runbook_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRunbookResult
def get_runbook_output(automation_account_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
runbook_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRunbookResult]
func LookupRunbook(ctx *Context, args *LookupRunbookArgs, opts ...InvokeOption) (*LookupRunbookResult, error)
func LookupRunbookOutput(ctx *Context, args *LookupRunbookOutputArgs, opts ...InvokeOption) LookupRunbookResultOutput
> Note: This function is named LookupRunbook
in the Go SDK.
public static class GetRunbook
{
public static Task<GetRunbookResult> InvokeAsync(GetRunbookArgs args, InvokeOptions? opts = null)
public static Output<GetRunbookResult> Invoke(GetRunbookInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRunbookResult> getRunbook(GetRunbookArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:automation:getRunbook
arguments:
# arguments dictionary
The following arguments are supported:
- Automation
Account stringName - The name of the automation account.
- Resource
Group stringName - Name of an Azure Resource group.
- Runbook
Name string - The runbook name.
- Automation
Account stringName - The name of the automation account.
- Resource
Group stringName - Name of an Azure Resource group.
- Runbook
Name string - The runbook name.
- automation
Account StringName - The name of the automation account.
- resource
Group StringName - Name of an Azure Resource group.
- runbook
Name String - The runbook name.
- automation
Account stringName - The name of the automation account.
- resource
Group stringName - Name of an Azure Resource group.
- runbook
Name string - The runbook name.
- automation_
account_ strname - The name of the automation account.
- resource_
group_ strname - Name of an Azure Resource group.
- runbook_
name str - The runbook name.
- automation
Account StringName - The name of the automation account.
- resource
Group StringName - Name of an Azure Resource group.
- runbook
Name String - The runbook name.
getRunbook Result
The following output properties are available:
- Id string
- Fully qualified resource Id for the resource
- Name string
- The name of the resource
- Type string
- The type of the resource.
- Creation
Time string - Gets or sets the creation time.
- Description string
- Gets or sets the description.
- Draft
Pulumi.
Azure Native. Automation. Outputs. Runbook Draft Response - Gets or sets the draft runbook properties.
- Etag string
- Gets or sets the etag of the resource.
- Job
Count int - Gets or sets the job count of the runbook.
- Last
Modified stringBy - Gets or sets the last modified by.
- Last
Modified stringTime - Gets or sets the last modified time.
- Location string
- The Azure Region where the resource lives
- Log
Activity intTrace - Gets or sets the option to log activity trace of the runbook.
- Log
Progress bool - Gets or sets progress log option.
- Log
Verbose bool - Gets or sets verbose log option.
- Output
Types List<string> - Gets or sets the runbook output types.
- Parameters
Dictionary<string, Pulumi.
Azure Native. Automation. Outputs. Runbook Parameter Response> - Gets or sets the runbook parameters.
- Provisioning
State string - Gets or sets the provisioning state of the runbook.
- Publish
Content Pulumi.Link Azure Native. Automation. Outputs. Content Link Response - Gets or sets the published runbook content link.
- Runbook
Type string - Gets or sets the type of the runbook.
- State string
- Gets or sets the state of the runbook.
- Dictionary<string, string>
- Resource tags.
- Id string
- Fully qualified resource Id for the resource
- Name string
- The name of the resource
- Type string
- The type of the resource.
- Creation
Time string - Gets or sets the creation time.
- Description string
- Gets or sets the description.
- Draft
Runbook
Draft Response - Gets or sets the draft runbook properties.
- Etag string
- Gets or sets the etag of the resource.
- Job
Count int - Gets or sets the job count of the runbook.
- Last
Modified stringBy - Gets or sets the last modified by.
- Last
Modified stringTime - Gets or sets the last modified time.
- Location string
- The Azure Region where the resource lives
- Log
Activity intTrace - Gets or sets the option to log activity trace of the runbook.
- Log
Progress bool - Gets or sets progress log option.
- Log
Verbose bool - Gets or sets verbose log option.
- Output
Types []string - Gets or sets the runbook output types.
- Parameters
map[string]Runbook
Parameter Response - Gets or sets the runbook parameters.
- Provisioning
State string - Gets or sets the provisioning state of the runbook.
- Publish
Content ContentLink Link Response - Gets or sets the published runbook content link.
- Runbook
Type string - Gets or sets the type of the runbook.
- State string
- Gets or sets the state of the runbook.
- map[string]string
- Resource tags.
- id String
- Fully qualified resource Id for the resource
- name String
- The name of the resource
- type String
- The type of the resource.
- creation
Time String - Gets or sets the creation time.
- description String
- Gets or sets the description.
- draft
Runbook
Draft Response - Gets or sets the draft runbook properties.
- etag String
- Gets or sets the etag of the resource.
- job
Count Integer - Gets or sets the job count of the runbook.
- last
Modified StringBy - Gets or sets the last modified by.
- last
Modified StringTime - Gets or sets the last modified time.
- location String
- The Azure Region where the resource lives
- log
Activity IntegerTrace - Gets or sets the option to log activity trace of the runbook.
- log
Progress Boolean - Gets or sets progress log option.
- log
Verbose Boolean - Gets or sets verbose log option.
- output
Types List<String> - Gets or sets the runbook output types.
- parameters
Map<String,Runbook
Parameter Response> - Gets or sets the runbook parameters.
- provisioning
State String - Gets or sets the provisioning state of the runbook.
- publish
Content ContentLink Link Response - Gets or sets the published runbook content link.
- runbook
Type String - Gets or sets the type of the runbook.
- state String
- Gets or sets the state of the runbook.
- Map<String,String>
- Resource tags.
- id string
- Fully qualified resource Id for the resource
- name string
- The name of the resource
- type string
- The type of the resource.
- creation
Time string - Gets or sets the creation time.
- description string
- Gets or sets the description.
- draft
Runbook
Draft Response - Gets or sets the draft runbook properties.
- etag string
- Gets or sets the etag of the resource.
- job
Count number - Gets or sets the job count of the runbook.
- last
Modified stringBy - Gets or sets the last modified by.
- last
Modified stringTime - Gets or sets the last modified time.
- location string
- The Azure Region where the resource lives
- log
Activity numberTrace - Gets or sets the option to log activity trace of the runbook.
- log
Progress boolean - Gets or sets progress log option.
- log
Verbose boolean - Gets or sets verbose log option.
- output
Types string[] - Gets or sets the runbook output types.
- parameters
{[key: string]: Runbook
Parameter Response} - Gets or sets the runbook parameters.
- provisioning
State string - Gets or sets the provisioning state of the runbook.
- publish
Content ContentLink Link Response - Gets or sets the published runbook content link.
- runbook
Type string - Gets or sets the type of the runbook.
- state string
- Gets or sets the state of the runbook.
- {[key: string]: string}
- Resource tags.
- id str
- Fully qualified resource Id for the resource
- name str
- The name of the resource
- type str
- The type of the resource.
- creation_
time str - Gets or sets the creation time.
- description str
- Gets or sets the description.
- draft
Runbook
Draft Response - Gets or sets the draft runbook properties.
- etag str
- Gets or sets the etag of the resource.
- job_
count int - Gets or sets the job count of the runbook.
- last_
modified_ strby - Gets or sets the last modified by.
- last_
modified_ strtime - Gets or sets the last modified time.
- location str
- The Azure Region where the resource lives
- log_
activity_ inttrace - Gets or sets the option to log activity trace of the runbook.
- log_
progress bool - Gets or sets progress log option.
- log_
verbose bool - Gets or sets verbose log option.
- output_
types Sequence[str] - Gets or sets the runbook output types.
- parameters
Mapping[str, Runbook
Parameter Response] - Gets or sets the runbook parameters.
- provisioning_
state str - Gets or sets the provisioning state of the runbook.
- publish_
content_ Contentlink Link Response - Gets or sets the published runbook content link.
- runbook_
type str - Gets or sets the type of the runbook.
- state str
- Gets or sets the state of the runbook.
- Mapping[str, str]
- Resource tags.
- id String
- Fully qualified resource Id for the resource
- name String
- The name of the resource
- type String
- The type of the resource.
- creation
Time String - Gets or sets the creation time.
- description String
- Gets or sets the description.
- draft Property Map
- Gets or sets the draft runbook properties.
- etag String
- Gets or sets the etag of the resource.
- job
Count Number - Gets or sets the job count of the runbook.
- last
Modified StringBy - Gets or sets the last modified by.
- last
Modified StringTime - Gets or sets the last modified time.
- location String
- The Azure Region where the resource lives
- log
Activity NumberTrace - Gets or sets the option to log activity trace of the runbook.
- log
Progress Boolean - Gets or sets progress log option.
- log
Verbose Boolean - Gets or sets verbose log option.
- output
Types List<String> - Gets or sets the runbook output types.
- parameters Map<Property Map>
- Gets or sets the runbook parameters.
- provisioning
State String - Gets or sets the provisioning state of the runbook.
- publish
Content Property MapLink - Gets or sets the published runbook content link.
- runbook
Type String - Gets or sets the type of the runbook.
- state String
- Gets or sets the state of the runbook.
- Map<String>
- Resource tags.
Supporting Types
ContentHashResponse
ContentLinkResponse
- Content
Hash Pulumi.Azure Native. Automation. Inputs. Content Hash Response - Gets or sets the hash.
- Uri string
- Gets or sets the uri of the runbook content.
- Version string
- Gets or sets the version of the content.
- Content
Hash ContentHash Response - Gets or sets the hash.
- Uri string
- Gets or sets the uri of the runbook content.
- Version string
- Gets or sets the version of the content.
- content
Hash ContentHash Response - Gets or sets the hash.
- uri String
- Gets or sets the uri of the runbook content.
- version String
- Gets or sets the version of the content.
- content
Hash ContentHash Response - Gets or sets the hash.
- uri string
- Gets or sets the uri of the runbook content.
- version string
- Gets or sets the version of the content.
- content_
hash ContentHash Response - Gets or sets the hash.
- uri str
- Gets or sets the uri of the runbook content.
- version str
- Gets or sets the version of the content.
- content
Hash Property Map - Gets or sets the hash.
- uri String
- Gets or sets the uri of the runbook content.
- version String
- Gets or sets the version of the content.
RunbookDraftResponse
- Creation
Time string - Gets or sets the creation time of the runbook draft.
- Draft
Content Pulumi.Link Azure Native. Automation. Inputs. Content Link Response - Gets or sets the draft runbook content link.
- In
Edit bool - Gets or sets whether runbook is in edit mode.
- Last
Modified stringTime - Gets or sets the last modified time of the runbook draft.
- Output
Types List<string> - Gets or sets the runbook output types.
- Parameters
Dictionary<string, Pulumi.
Azure Native. Automation. Inputs. Runbook Parameter Response> - Gets or sets the runbook draft parameters.
- Creation
Time string - Gets or sets the creation time of the runbook draft.
- Draft
Content ContentLink Link Response - Gets or sets the draft runbook content link.
- In
Edit bool - Gets or sets whether runbook is in edit mode.
- Last
Modified stringTime - Gets or sets the last modified time of the runbook draft.
- Output
Types []string - Gets or sets the runbook output types.
- Parameters
map[string]Runbook
Parameter Response - Gets or sets the runbook draft parameters.
- creation
Time String - Gets or sets the creation time of the runbook draft.
- draft
Content ContentLink Link Response - Gets or sets the draft runbook content link.
- in
Edit Boolean - Gets or sets whether runbook is in edit mode.
- last
Modified StringTime - Gets or sets the last modified time of the runbook draft.
- output
Types List<String> - Gets or sets the runbook output types.
- parameters
Map<String,Runbook
Parameter Response> - Gets or sets the runbook draft parameters.
- creation
Time string - Gets or sets the creation time of the runbook draft.
- draft
Content ContentLink Link Response - Gets or sets the draft runbook content link.
- in
Edit boolean - Gets or sets whether runbook is in edit mode.
- last
Modified stringTime - Gets or sets the last modified time of the runbook draft.
- output
Types string[] - Gets or sets the runbook output types.
- parameters
{[key: string]: Runbook
Parameter Response} - Gets or sets the runbook draft parameters.
- creation_
time str - Gets or sets the creation time of the runbook draft.
- draft_
content_ Contentlink Link Response - Gets or sets the draft runbook content link.
- in_
edit bool - Gets or sets whether runbook is in edit mode.
- last_
modified_ strtime - Gets or sets the last modified time of the runbook draft.
- output_
types Sequence[str] - Gets or sets the runbook output types.
- parameters
Mapping[str, Runbook
Parameter Response] - Gets or sets the runbook draft parameters.
- creation
Time String - Gets or sets the creation time of the runbook draft.
- draft
Content Property MapLink - Gets or sets the draft runbook content link.
- in
Edit Boolean - Gets or sets whether runbook is in edit mode.
- last
Modified StringTime - Gets or sets the last modified time of the runbook draft.
- output
Types List<String> - Gets or sets the runbook output types.
- parameters Map<Property Map>
- Gets or sets the runbook draft parameters.
RunbookParameterResponse
- Default
Value string - Gets or sets the default value of parameter.
- Is
Mandatory bool - Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
- Position int
- Get or sets the position of the parameter.
- Type string
- Gets or sets the type of the parameter.
- Default
Value string - Gets or sets the default value of parameter.
- Is
Mandatory bool - Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
- Position int
- Get or sets the position of the parameter.
- Type string
- Gets or sets the type of the parameter.
- default
Value String - Gets or sets the default value of parameter.
- is
Mandatory Boolean - Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
- position Integer
- Get or sets the position of the parameter.
- type String
- Gets or sets the type of the parameter.
- default
Value string - Gets or sets the default value of parameter.
- is
Mandatory boolean - Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
- position number
- Get or sets the position of the parameter.
- type string
- Gets or sets the type of the parameter.
- default_
value str - Gets or sets the default value of parameter.
- is_
mandatory bool - Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
- position int
- Get or sets the position of the parameter.
- type str
- Gets or sets the type of the parameter.
- default
Value String - Gets or sets the default value of parameter.
- is
Mandatory Boolean - Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
- position Number
- Get or sets the position of the parameter.
- type String
- Gets or sets the type of the parameter.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi