@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.81 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getDscConfiguration(args: GetDscConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetDscConfigurationResult>;
export interface GetDscConfigurationArgs {
/**
* The name of the automation account.
*/
automationAccountName: string;
/**
* The configuration name.
*/
configurationName: string;
/**
* Name of an Azure Resource group.
*/
resourceGroupName: string;
}
/**
* Definition of the configuration type.
*/
export interface GetDscConfigurationResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Gets or sets the creation time.
*/
readonly creationTime?: string;
/**
* Gets or sets the description.
*/
readonly description?: string;
/**
* Gets or sets the etag of the resource.
*/
readonly etag?: string;
/**
* Fully qualified resource Id for the resource
*/
readonly id: string;
/**
* Gets or sets the job count of the configuration.
*/
readonly jobCount?: number;
/**
* Gets or sets the last modified time.
*/
readonly lastModifiedTime?: string;
/**
* The Azure Region where the resource lives
*/
readonly location?: string;
/**
* Gets or sets verbose log option.
*/
readonly logVerbose?: boolean;
/**
* The name of the resource
*/
readonly name: string;
/**
* Gets the number of compiled node configurations.
*/
readonly nodeConfigurationCount?: number;
/**
* Gets or sets the configuration parameters.
*/
readonly parameters?: {
[key: string]: outputs.automation.DscConfigurationParameterResponse;
};
/**
* Gets or sets the provisioning state of the configuration.
*/
readonly provisioningState?: string;
/**
* Gets or sets the source.
*/
readonly source?: outputs.automation.ContentSourceResponse;
/**
* Gets or sets the state of the configuration.
*/
readonly state?: string;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource.
*/
readonly type: string;
}
/**
* 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getDscConfigurationOutput(args: GetDscConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDscConfigurationResult>;
export interface GetDscConfigurationOutputArgs {
/**
* The name of the automation account.
*/
automationAccountName: pulumi.Input<string>;
/**
* The configuration name.
*/
configurationName: pulumi.Input<string>;
/**
* Name of an Azure Resource group.
*/
resourceGroupName: pulumi.Input<string>;
}