@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.89 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Returns whether or not the canonical support plan of type {type} is enabled for the subscription.
*
* Uses Azure REST API version 2018-03-01.
*/
export declare function getSupportPlanType(args: GetSupportPlanTypeArgs, opts?: pulumi.InvokeOptions): Promise<GetSupportPlanTypeResult>;
export interface GetSupportPlanTypeArgs {
/**
* The Canonical support plan type.
*/
planTypeName: string;
/**
* The support plan type. For now the only valid type is "canonical".
*/
providerName: string;
}
/**
* The status of the Canonical support plan.
*/
export interface GetSupportPlanTypeResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The id of the ARM resource, e.g. "/subscriptions/{id}/providers/Microsoft.Addons/supportProvider/{supportProviderName}/supportPlanTypes/{planTypeName}".
*/
readonly id: string;
/**
* The name of the Canonical support plan, i.e. "essential", "standard" or "advanced".
*/
readonly name: string;
/**
* The provisioning state of the resource.
*/
readonly provisioningState?: string;
/**
* Microsoft.Addons/supportProvider
*/
readonly type: string;
}
/**
* Returns whether or not the canonical support plan of type {type} is enabled for the subscription.
*
* Uses Azure REST API version 2018-03-01.
*/
export declare function getSupportPlanTypeOutput(args: GetSupportPlanTypeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSupportPlanTypeResult>;
export interface GetSupportPlanTypeOutputArgs {
/**
* The Canonical support plan type.
*/
planTypeName: pulumi.Input<string>;
/**
* The support plan type. For now the only valid type is "canonical".
*/
providerName: pulumi.Input<string>;
}