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

74 lines (73 loc) 2.24 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets an autoscale setting * * Uses Azure REST API version 2021-05-01-preview. */ export declare function getAutoscaleSetting(args: GetAutoscaleSettingArgs, opts?: pulumi.InvokeOptions): Promise<GetAutoscaleSettingResult>; export interface GetAutoscaleSettingArgs { /** * The autoscale setting name. */ autoscaleSettingName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * The autoscale setting resource. */ export interface GetAutoscaleSettingResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Azure resource Id */ readonly id: string; /** * Resource location */ readonly location: string; /** * Azure resource name */ readonly name: string; /** * The autoscale setting of the resource. */ readonly properties: outputs.monitor.AutoscaleSettingResponse; /** * The system metadata related to the response. */ readonly systemData: outputs.monitor.SystemDataResponse; /** * Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters. */ readonly tags?: { [key: string]: string; }; /** * Azure resource type */ readonly type: string; } /** * Gets an autoscale setting * * Uses Azure REST API version 2021-05-01-preview. */ export declare function getAutoscaleSettingOutput(args: GetAutoscaleSettingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAutoscaleSettingResult>; export interface GetAutoscaleSettingOutputArgs { /** * The autoscale setting name. */ autoscaleSettingName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }