This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.billing.getAssociatedTenant
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Gets an associated tenant by ID. Azure REST API version: 2024-04-01.
Using getAssociatedTenant
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAssociatedTenant(args: GetAssociatedTenantArgs, opts?: InvokeOptions): Promise<GetAssociatedTenantResult>
function getAssociatedTenantOutput(args: GetAssociatedTenantOutputArgs, opts?: InvokeOptions): Output<GetAssociatedTenantResult>
def get_associated_tenant(associated_tenant_name: Optional[str] = None,
billing_account_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAssociatedTenantResult
def get_associated_tenant_output(associated_tenant_name: Optional[pulumi.Input[str]] = None,
billing_account_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAssociatedTenantResult]
func LookupAssociatedTenant(ctx *Context, args *LookupAssociatedTenantArgs, opts ...InvokeOption) (*LookupAssociatedTenantResult, error)
func LookupAssociatedTenantOutput(ctx *Context, args *LookupAssociatedTenantOutputArgs, opts ...InvokeOption) LookupAssociatedTenantResultOutput
> Note: This function is named LookupAssociatedTenant
in the Go SDK.
public static class GetAssociatedTenant
{
public static Task<GetAssociatedTenantResult> InvokeAsync(GetAssociatedTenantArgs args, InvokeOptions? opts = null)
public static Output<GetAssociatedTenantResult> Invoke(GetAssociatedTenantInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAssociatedTenantResult> getAssociatedTenant(GetAssociatedTenantArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:billing:getAssociatedTenant
arguments:
# arguments dictionary
The following arguments are supported:
- Associated
Tenant stringName - The ID that uniquely identifies a tenant.
- Billing
Account stringName - The ID that uniquely identifies a billing account.
- Associated
Tenant stringName - The ID that uniquely identifies a tenant.
- Billing
Account stringName - The ID that uniquely identifies a billing account.
- associated
Tenant StringName - The ID that uniquely identifies a tenant.
- billing
Account StringName - The ID that uniquely identifies a billing account.
- associated
Tenant stringName - The ID that uniquely identifies a tenant.
- billing
Account stringName - The ID that uniquely identifies a billing account.
- associated_
tenant_ strname - The ID that uniquely identifies a tenant.
- billing_
account_ strname - The ID that uniquely identifies a billing account.
- associated
Tenant StringName - The ID that uniquely identifies a tenant.
- billing
Account StringName - The ID that uniquely identifies a billing account.
getAssociatedTenant Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Properties
Pulumi.
Azure Native. Billing. Outputs. Associated Tenant Properties Response - An associated tenant.
- System
Data Pulumi.Azure Native. Billing. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Dictionary<string, string>
- 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 < > % & \ ? /
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Properties
Associated
Tenant Properties Response - An associated tenant.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- map[string]string
- 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 < > % & \ ? /
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- properties
Associated
Tenant Properties Response - An associated tenant.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Map<String,String>
- 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 < > % & \ ? /
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- properties
Associated
Tenant Properties Response - An associated tenant.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- {[key: string]: string}
- 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 < > % & \ ? /
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name str
- The name of the resource
- properties
Associated
Tenant Properties Response - An associated tenant.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Mapping[str, str]
- 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 < > % & \ ? /
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- properties Property Map
- An associated tenant.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Map<String>
- 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 < > % & \ ? /
Supporting Types
AssociatedTenantPropertiesResponse
- Provisioning
Billing stringRequest Id - The unique identifier for the billing request that is created when enabling provisioning for an associated tenant.
- Provisioning
State string - The provisioning state of the resource during a long-running operation.
- Billing
Management stringState - The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
- Display
Name string - The name of the associated tenant.
- Provisioning
Management stringState - The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
- Tenant
Id string - The ID that uniquely identifies a tenant.
- Provisioning
Billing stringRequest Id - The unique identifier for the billing request that is created when enabling provisioning for an associated tenant.
- Provisioning
State string - The provisioning state of the resource during a long-running operation.
- Billing
Management stringState - The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
- Display
Name string - The name of the associated tenant.
- Provisioning
Management stringState - The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
- Tenant
Id string - The ID that uniquely identifies a tenant.
- provisioning
Billing StringRequest Id - The unique identifier for the billing request that is created when enabling provisioning for an associated tenant.
- provisioning
State String - The provisioning state of the resource during a long-running operation.
- billing
Management StringState - The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
- display
Name String - The name of the associated tenant.
- provisioning
Management StringState - The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
- tenant
Id String - The ID that uniquely identifies a tenant.
- provisioning
Billing stringRequest Id - The unique identifier for the billing request that is created when enabling provisioning for an associated tenant.
- provisioning
State string - The provisioning state of the resource during a long-running operation.
- billing
Management stringState - The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
- display
Name string - The name of the associated tenant.
- provisioning
Management stringState - The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
- tenant
Id string - The ID that uniquely identifies a tenant.
- provisioning_
billing_ strrequest_ id - The unique identifier for the billing request that is created when enabling provisioning for an associated tenant.
- provisioning_
state str - The provisioning state of the resource during a long-running operation.
- billing_
management_ strstate - The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
- display_
name str - The name of the associated tenant.
- provisioning_
management_ strstate - The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
- tenant_
id str - The ID that uniquely identifies a tenant.
- provisioning
Billing StringRequest Id - The unique identifier for the billing request that is created when enabling provisioning for an associated tenant.
- provisioning
State String - The provisioning state of the resource during a long-running operation.
- billing
Management StringState - The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
- display
Name String - The name of the associated tenant.
- provisioning
Management StringState - The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
- tenant
Id String - The ID that uniquely identifies a tenant.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi