@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.83 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets details from a list of feature names.
*
* Uses Azure REST API version 2024-04-01-preview.
*
* Other available API versions: 2021-12-01, 2023-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native purview [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listFeatureSubscription(args: ListFeatureSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise<ListFeatureSubscriptionResult>;
export interface ListFeatureSubscriptionArgs {
/**
* Set of features
*/
features?: string[];
/**
* Location of feature.
*/
locations: string;
}
/**
* List of features with enabled status
*/
export interface ListFeatureSubscriptionResult {
/**
* Features with enabled status
*/
readonly features: {
[key: string]: boolean;
};
}
/**
* Gets details from a list of feature names.
*
* Uses Azure REST API version 2024-04-01-preview.
*
* Other available API versions: 2021-12-01, 2023-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native purview [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listFeatureSubscriptionOutput(args: ListFeatureSubscriptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListFeatureSubscriptionResult>;
export interface ListFeatureSubscriptionOutputArgs {
/**
* Set of features
*/
features?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Location of feature.
*/
locations: pulumi.Input<string>;
}