@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.78 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a Guest Usages resource for the Microsoft.AzureActiveDirectory resource provider
*
* Uses Azure REST API version 2023-05-17-preview.
*
* Other available API versions: 2021-04-01, 2023-01-18-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azureactivedirectory [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getGuestUsage(args: GetGuestUsageArgs, opts?: pulumi.InvokeOptions): Promise<GetGuestUsageResult>;
export interface GetGuestUsageArgs {
/**
* The name of the resource group.
*/
resourceGroupName: string;
/**
* The initial domain name of the Azure AD B2C tenant.
*/
resourceName: string;
}
/**
* Guest Usages Resource
*/
export interface GetGuestUsageResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* An identifier that represents the Guest Usages resource.
*/
readonly id: string;
/**
* Location of the Guest Usages resource.
*/
readonly location?: string;
/**
* The name of the Guest Usages resource.
*/
readonly name: string;
/**
* Metadata pertaining to creation and last modification of the resource.
*/
readonly systemData: outputs.azureactivedirectory.SystemDataResponse;
/**
* Key-value pairs of additional resource provisioning properties.
*/
readonly tags?: {
[key: string]: string;
};
/**
* An identifier for the tenant for which the resource is being created
*/
readonly tenantId?: string;
/**
* The type of the Guest Usages resource.
*/
readonly type: string;
}
/**
* Gets a Guest Usages resource for the Microsoft.AzureActiveDirectory resource provider
*
* Uses Azure REST API version 2023-05-17-preview.
*
* Other available API versions: 2021-04-01, 2023-01-18-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azureactivedirectory [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getGuestUsageOutput(args: GetGuestUsageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGuestUsageResult>;
export interface GetGuestUsageOutputArgs {
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The initial domain name of the Azure AD B2C tenant.
*/
resourceName: pulumi.Input<string>;
}