@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.36 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets an associated tenant by ID.
*
* Uses Azure REST API version 2024-04-01.
*/
export declare function getAssociatedTenant(args: GetAssociatedTenantArgs, opts?: pulumi.InvokeOptions): Promise<GetAssociatedTenantResult>;
export interface GetAssociatedTenantArgs {
/**
* The ID that uniquely identifies a tenant.
*/
associatedTenantName: string;
/**
* The ID that uniquely identifies a billing account.
*/
billingAccountName: string;
}
/**
* An associated tenant.
*/
export interface GetAssociatedTenantResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* An associated tenant.
*/
readonly properties: outputs.billing.AssociatedTenantPropertiesResponse;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.billing.SystemDataResponse;
/**
* Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Gets an associated tenant by ID.
*
* Uses Azure REST API version 2024-04-01.
*/
export declare function getAssociatedTenantOutput(args: GetAssociatedTenantOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAssociatedTenantResult>;
export interface GetAssociatedTenantOutputArgs {
/**
* The ID that uniquely identifies a tenant.
*/
associatedTenantName: pulumi.Input<string>;
/**
* The ID that uniquely identifies a billing account.
*/
billingAccountName: pulumi.Input<string>;
}