UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

116 lines (115 loc) 3.84 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets information about a configuration of server. * * Uses Azure REST API version 2023-12-30. * * Other available API versions: 2022-01-01, 2023-06-01-preview, 2023-06-30, 2024-12-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native dbformysql [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ 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; /** * Current value of the configuration. */ readonly currentValue?: string; /** * Data type of the configuration. */ readonly dataType: string; /** * Default value of the configuration. */ readonly defaultValue: string; /** * Description of the configuration. */ readonly description: string; /** * The link used to get the document from community or Azure site. */ readonly documentationLink: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * If is the configuration pending restart or not. */ readonly isConfigPendingRestart: string; /** * If is the configuration dynamic. */ readonly isDynamicConfig: string; /** * If is the configuration read only. */ readonly isReadOnly: string; /** * The name of the resource */ readonly name: string; /** * Source of the configuration. */ readonly source?: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.dbformysql.SystemDataResponse; /** * 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 2023-12-30. * * Other available API versions: 2022-01-01, 2023-06-01-preview, 2023-06-30, 2024-12-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native dbformysql [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ 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>; }