@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.41 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets information about a configuration of server.
*
* Uses Azure REST API version 2018-06-01.
*/
export declare function getConfiguration(args: GetConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigurationResult>;
export interface GetConfigurationArgs {
/**
* The name of the server configuration.
*/
configurationName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the server.
*/
serverName: string;
}
/**
* Represents a Configuration.
*/
export interface GetConfigurationResult {
/**
* Allowed values of the configuration.
*/
readonly allowedValues: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Data type of the configuration.
*/
readonly dataType: string;
/**
* Default value of the configuration.
*/
readonly defaultValue: string;
/**
* Description of the configuration.
*/
readonly description: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Source of the configuration.
*/
readonly source?: string;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* Value of the configuration.
*/
readonly value?: string;
}
/**
* Gets information about a configuration of server.
*
* Uses Azure REST API version 2018-06-01.
*/
export declare function getConfigurationOutput(args: GetConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConfigurationResult>;
export interface GetConfigurationOutputArgs {
/**
* The name of the server configuration.
*/
configurationName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the server.
*/
serverName: pulumi.Input<string>;
}