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.69.0 published on Monday, Oct 28, 2024 by Pulumi
azure-native.billing.getBillingRoleAssignmentByBillingAccount
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.69.0 published on Monday, Oct 28, 2024 by Pulumi
Gets a role assignment for the caller on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement. Azure REST API version: 2019-10-01-preview.
Other available API versions: 2024-04-01.
Using getBillingRoleAssignmentByBillingAccount
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 getBillingRoleAssignmentByBillingAccount(args: GetBillingRoleAssignmentByBillingAccountArgs, opts?: InvokeOptions): Promise<GetBillingRoleAssignmentByBillingAccountResult>
function getBillingRoleAssignmentByBillingAccountOutput(args: GetBillingRoleAssignmentByBillingAccountOutputArgs, opts?: InvokeOptions): Output<GetBillingRoleAssignmentByBillingAccountResult>
def get_billing_role_assignment_by_billing_account(billing_account_name: Optional[str] = None,
billing_role_assignment_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBillingRoleAssignmentByBillingAccountResult
def get_billing_role_assignment_by_billing_account_output(billing_account_name: Optional[pulumi.Input[str]] = None,
billing_role_assignment_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBillingRoleAssignmentByBillingAccountResult]
func LookupBillingRoleAssignmentByBillingAccount(ctx *Context, args *LookupBillingRoleAssignmentByBillingAccountArgs, opts ...InvokeOption) (*LookupBillingRoleAssignmentByBillingAccountResult, error)
func LookupBillingRoleAssignmentByBillingAccountOutput(ctx *Context, args *LookupBillingRoleAssignmentByBillingAccountOutputArgs, opts ...InvokeOption) LookupBillingRoleAssignmentByBillingAccountResultOutput
> Note: This function is named LookupBillingRoleAssignmentByBillingAccount
in the Go SDK.
public static class GetBillingRoleAssignmentByBillingAccount
{
public static Task<GetBillingRoleAssignmentByBillingAccountResult> InvokeAsync(GetBillingRoleAssignmentByBillingAccountArgs args, InvokeOptions? opts = null)
public static Output<GetBillingRoleAssignmentByBillingAccountResult> Invoke(GetBillingRoleAssignmentByBillingAccountInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBillingRoleAssignmentByBillingAccountResult> getBillingRoleAssignmentByBillingAccount(GetBillingRoleAssignmentByBillingAccountArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:billing:getBillingRoleAssignmentByBillingAccount
arguments:
# arguments dictionary
The following arguments are supported:
- Billing
Account stringName - The ID that uniquely identifies a billing account.
- Billing
Role stringAssignment Name - The ID that uniquely identifies a role assignment.
- Billing
Account stringName - The ID that uniquely identifies a billing account.
- Billing
Role stringAssignment Name - The ID that uniquely identifies a role assignment.
- billing
Account StringName - The ID that uniquely identifies a billing account.
- billing
Role StringAssignment Name - The ID that uniquely identifies a role assignment.
- billing
Account stringName - The ID that uniquely identifies a billing account.
- billing
Role stringAssignment Name - The ID that uniquely identifies a role assignment.
- billing_
account_ strname - The ID that uniquely identifies a billing account.
- billing_
role_ strassignment_ name - The ID that uniquely identifies a role assignment.
- billing
Account StringName - The ID that uniquely identifies a billing account.
- billing
Role StringAssignment Name - The ID that uniquely identifies a role assignment.
getBillingRoleAssignmentByBillingAccount Result
The following output properties are available:
- Created
By stringPrincipal Id - The principal Id of the user who created the role assignment.
- Created
By stringPrincipal Tenant Id - The tenant Id of the user who created the role assignment.
- Created
By stringUser Email Address - The email address of the user who created the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
- Created
On string - The date the role assignment was created.
- Id string
- Resource Id.
- Name string
- Resource name.
- Scope string
- The scope at which the role was assigned.
- Type string
- Resource type.
- Principal
Id string - The principal id of the user to whom the role was assigned.
- Principal
Tenant stringId - The principal tenant id of the user to whom the role was assigned.
- Role
Definition stringId - The ID of the role definition.
- User
Authentication stringType - The authentication type of the user, whether Organization or MSA, of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.
- User
Email stringAddress - The email address of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.
- Created
By stringPrincipal Id - The principal Id of the user who created the role assignment.
- Created
By stringPrincipal Tenant Id - The tenant Id of the user who created the role assignment.
- Created
By stringUser Email Address - The email address of the user who created the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
- Created
On string - The date the role assignment was created.
- Id string
- Resource Id.
- Name string
- Resource name.
- Scope string
- The scope at which the role was assigned.
- Type string
- Resource type.
- Principal
Id string - The principal id of the user to whom the role was assigned.
- Principal
Tenant stringId - The principal tenant id of the user to whom the role was assigned.
- Role
Definition stringId - The ID of the role definition.
- User
Authentication stringType - The authentication type of the user, whether Organization or MSA, of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.
- User
Email stringAddress - The email address of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.
- created
By StringPrincipal Id - The principal Id of the user who created the role assignment.
- created
By StringPrincipal Tenant Id - The tenant Id of the user who created the role assignment.
- created
By StringUser Email Address - The email address of the user who created the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
- created
On String - The date the role assignment was created.
- id String
- Resource Id.
- name String
- Resource name.
- scope String
- The scope at which the role was assigned.
- type String
- Resource type.
- principal
Id String - The principal id of the user to whom the role was assigned.
- principal
Tenant StringId - The principal tenant id of the user to whom the role was assigned.
- role
Definition StringId - The ID of the role definition.
- user
Authentication StringType - The authentication type of the user, whether Organization or MSA, of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.
- user
Email StringAddress - The email address of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.
- created
By stringPrincipal Id - The principal Id of the user who created the role assignment.
- created
By stringPrincipal Tenant Id - The tenant Id of the user who created the role assignment.
- created
By stringUser Email Address - The email address of the user who created the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
- created
On string - The date the role assignment was created.
- id string
- Resource Id.
- name string
- Resource name.
- scope string
- The scope at which the role was assigned.
- type string
- Resource type.
- principal
Id string - The principal id of the user to whom the role was assigned.
- principal
Tenant stringId - The principal tenant id of the user to whom the role was assigned.
- role
Definition stringId - The ID of the role definition.
- user
Authentication stringType - The authentication type of the user, whether Organization or MSA, of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.
- user
Email stringAddress - The email address of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.
- created_
by_ strprincipal_ id - The principal Id of the user who created the role assignment.
- created_
by_ strprincipal_ tenant_ id - The tenant Id of the user who created the role assignment.
- created_
by_ struser_ email_ address - The email address of the user who created the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
- created_
on str - The date the role assignment was created.
- id str
- Resource Id.
- name str
- Resource name.
- scope str
- The scope at which the role was assigned.
- type str
- Resource type.
- principal_
id str - The principal id of the user to whom the role was assigned.
- principal_
tenant_ strid - The principal tenant id of the user to whom the role was assigned.
- role_
definition_ strid - The ID of the role definition.
- user_
authentication_ strtype - The authentication type of the user, whether Organization or MSA, of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.
- user_
email_ straddress - The email address of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.
- created
By StringPrincipal Id - The principal Id of the user who created the role assignment.
- created
By StringPrincipal Tenant Id - The tenant Id of the user who created the role assignment.
- created
By StringUser Email Address - The email address of the user who created the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
- created
On String - The date the role assignment was created.
- id String
- Resource Id.
- name String
- Resource name.
- scope String
- The scope at which the role was assigned.
- type String
- Resource type.
- principal
Id String - The principal id of the user to whom the role was assigned.
- principal
Tenant StringId - The principal tenant id of the user to whom the role was assigned.
- role
Definition StringId - The ID of the role definition.
- user
Authentication StringType - The authentication type of the user, whether Organization or MSA, of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.
- user
Email StringAddress - The email address of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.
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.69.0 published on Monday, Oct 28, 2024 by Pulumi