azure-native.automation.getDscConfiguration
Explore with Pulumi AI
Retrieve the configuration identified by configuration name.
Uses Azure REST API version 2023-11-01.
Other available API versions: 2015-10-31, 2019-06-01, 2022-08-08, 2023-05-15-preview, 2024-10-23. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native automation [ApiVersion]
. See the version guide for details.
Using getDscConfiguration
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 getDscConfiguration(args: GetDscConfigurationArgs, opts?: InvokeOptions): Promise<GetDscConfigurationResult>
function getDscConfigurationOutput(args: GetDscConfigurationOutputArgs, opts?: InvokeOptions): Output<GetDscConfigurationResult>
def get_dsc_configuration(automation_account_name: Optional[str] = None,
configuration_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDscConfigurationResult
def get_dsc_configuration_output(automation_account_name: Optional[pulumi.Input[str]] = None,
configuration_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDscConfigurationResult]
func LookupDscConfiguration(ctx *Context, args *LookupDscConfigurationArgs, opts ...InvokeOption) (*LookupDscConfigurationResult, error)
func LookupDscConfigurationOutput(ctx *Context, args *LookupDscConfigurationOutputArgs, opts ...InvokeOption) LookupDscConfigurationResultOutput
> Note: This function is named LookupDscConfiguration
in the Go SDK.
public static class GetDscConfiguration
{
public static Task<GetDscConfigurationResult> InvokeAsync(GetDscConfigurationArgs args, InvokeOptions? opts = null)
public static Output<GetDscConfigurationResult> Invoke(GetDscConfigurationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDscConfigurationResult> getDscConfiguration(GetDscConfigurationArgs args, InvokeOptions options)
public static Output<GetDscConfigurationResult> getDscConfiguration(GetDscConfigurationArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:automation:getDscConfiguration
arguments:
# arguments dictionary
The following arguments are supported:
- Automation
Account stringName - The name of the automation account.
- Configuration
Name string - The configuration name.
- Resource
Group stringName - Name of an Azure Resource group.
- Automation
Account stringName - The name of the automation account.
- Configuration
Name string - The configuration name.
- Resource
Group stringName - Name of an Azure Resource group.
- automation
Account StringName - The name of the automation account.
- configuration
Name String - The configuration name.
- resource
Group StringName - Name of an Azure Resource group.
- automation
Account stringName - The name of the automation account.
- configuration
Name string - The configuration name.
- resource
Group stringName - Name of an Azure Resource group.
- automation_
account_ strname - The name of the automation account.
- configuration_
name str - The configuration name.
- resource_
group_ strname - Name of an Azure Resource group.
- automation
Account StringName - The name of the automation account.
- configuration
Name String - The configuration name.
- resource
Group StringName - Name of an Azure Resource group.
getDscConfiguration Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- Etag string
- Gets or sets the etag of the resource.
- Job
Count int - Gets or sets the job count of the configuration.
- Last
Modified stringTime - Gets or sets the last modified time.
- Location string
- The Azure Region where the resource lives
- Log
Verbose bool - Gets or sets verbose log option.
- Node
Configuration intCount - Gets the number of compiled node configurations.
- Parameters
Dictionary<string, Pulumi.
Azure Native. Automation. Outputs. Dsc Configuration Parameter Response> - Gets or sets the configuration parameters.
- Provisioning
State string - Gets or sets the provisioning state of the configuration.
- Source
Pulumi.
Azure Native. Automation. Outputs. Content Source Response - Gets or sets the source.
- State string
- Gets or sets the state of the configuration.
- Dictionary<string, string>
- Resource tags.
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- Etag string
- Gets or sets the etag of the resource.
- Job
Count int - Gets or sets the job count of the configuration.
- Last
Modified stringTime - Gets or sets the last modified time.
- Location string
- The Azure Region where the resource lives
- Log
Verbose bool - Gets or sets verbose log option.
- Node
Configuration intCount - Gets the number of compiled node configurations.
- Parameters
map[string]Dsc
Configuration Parameter Response - Gets or sets the configuration parameters.
- Provisioning
State string - Gets or sets the provisioning state of the configuration.
- Source
Content
Source Response - Gets or sets the source.
- State string
- Gets or sets the state of the configuration.
- map[string]string
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- 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.
- etag String
- Gets or sets the etag of the resource.
- job
Count Integer - Gets or sets the job count of the configuration.
- last
Modified StringTime - Gets or sets the last modified time.
- location String
- The Azure Region where the resource lives
- log
Verbose Boolean - Gets or sets verbose log option.
- node
Configuration IntegerCount - Gets the number of compiled node configurations.
- parameters
Map<String,Dsc
Configuration Parameter Response> - Gets or sets the configuration parameters.
- provisioning
State String - Gets or sets the provisioning state of the configuration.
- source
Content
Source Response - Gets or sets the source.
- state String
- Gets or sets the state of the configuration.
- Map<String,String>
- Resource tags.
- azure
Api stringVersion - The Azure API version of the resource.
- 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.
- etag string
- Gets or sets the etag of the resource.
- job
Count number - Gets or sets the job count of the configuration.
- last
Modified stringTime - Gets or sets the last modified time.
- location string
- The Azure Region where the resource lives
- log
Verbose boolean - Gets or sets verbose log option.
- node
Configuration numberCount - Gets the number of compiled node configurations.
- parameters
{[key: string]: Dsc
Configuration Parameter Response} - Gets or sets the configuration parameters.
- provisioning
State string - Gets or sets the provisioning state of the configuration.
- source
Content
Source Response - Gets or sets the source.
- state string
- Gets or sets the state of the configuration.
- {[key: string]: string}
- Resource tags.
- azure_
api_ strversion - The Azure API version of the resource.
- 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.
- etag str
- Gets or sets the etag of the resource.
- job_
count int - Gets or sets the job count of the configuration.
- last_
modified_ strtime - Gets or sets the last modified time.
- location str
- The Azure Region where the resource lives
- log_
verbose bool - Gets or sets verbose log option.
- node_
configuration_ intcount - Gets the number of compiled node configurations.
- parameters
Mapping[str, Dsc
Configuration Parameter Response] - Gets or sets the configuration parameters.
- provisioning_
state str - Gets or sets the provisioning state of the configuration.
- source
Content
Source Response - Gets or sets the source.
- state str
- Gets or sets the state of the configuration.
- Mapping[str, str]
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- 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.
- etag String
- Gets or sets the etag of the resource.
- job
Count Number - Gets or sets the job count of the configuration.
- last
Modified StringTime - Gets or sets the last modified time.
- location String
- The Azure Region where the resource lives
- log
Verbose Boolean - Gets or sets verbose log option.
- node
Configuration NumberCount - Gets the number of compiled node configurations.
- parameters Map<Property Map>
- Gets or sets the configuration parameters.
- provisioning
State String - Gets or sets the provisioning state of the configuration.
- source Property Map
- Gets or sets the source.
- state String
- Gets or sets the state of the configuration.
- Map<String>
- Resource tags.
Supporting Types
ContentHashResponse
ContentSourceResponse
- Hash
Pulumi.
Azure Native. Automation. Inputs. Content Hash Response - Gets or sets the hash.
- Type string
- Gets or sets the content source type.
- Value string
- Gets or sets the value of the content. This is based on the content source type.
- Version string
- Gets or sets the version of the content.
- Hash
Content
Hash Response - Gets or sets the hash.
- Type string
- Gets or sets the content source type.
- Value string
- Gets or sets the value of the content. This is based on the content source type.
- Version string
- Gets or sets the version of the content.
- hash
Content
Hash Response - Gets or sets the hash.
- type String
- Gets or sets the content source type.
- value String
- Gets or sets the value of the content. This is based on the content source type.
- version String
- Gets or sets the version of the content.
- hash
Content
Hash Response - Gets or sets the hash.
- type string
- Gets or sets the content source type.
- value string
- Gets or sets the value of the content. This is based on the content source type.
- version string
- Gets or sets the version of the content.
- hash
Content
Hash Response - Gets or sets the hash.
- type str
- Gets or sets the content source type.
- value str
- Gets or sets the value of the content. This is based on the content source type.
- version str
- Gets or sets the version of the content.
- hash Property Map
- Gets or sets the hash.
- type String
- Gets or sets the content source type.
- value String
- Gets or sets the value of the content. This is based on the content source type.
- version String
- Gets or sets the version of the content.
DscConfigurationParameterResponse
- 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