azure-native.billing.BillingRoleAssignmentByEnrollmentAccount
Explore with Pulumi AI
The properties of the billing role assignment.
Uses Azure REST API version 2024-04-01. In version 2.x of the Azure Native provider, it used API version 2019-10-01-preview.
Other available API versions: 2019-10-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native billing [ApiVersion]
. See the version guide for details.
Example Usage
BillingRoleAssignmentCreateOrUpdateByEnrollmentAccount
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var billingRoleAssignmentByEnrollmentAccount = new AzureNative.Billing.BillingRoleAssignmentByEnrollmentAccount("billingRoleAssignmentByEnrollmentAccount", new()
{
BillingAccountName = "7898901",
BillingRoleAssignmentName = "9dfd08c2-62a3-4d47-85bd-1cdba1408402",
EnrollmentAccountName = "123456",
Properties = new AzureNative.Billing.Inputs.BillingRoleAssignmentPropertiesArgs
{
PrincipalId = "00000000-0000-0000-0000-000000000000",
PrincipalTenantId = "076915e7-de10-4323-bb34-a58c904068bb",
RoleDefinitionId = "/providers/Microsoft.Billing/billingAccounts/7898901/enrollmentAccounts/123456/billingRoleDefinitions/9f1983cb-2574-400c-87e9-34cf8e2280db",
UserEmailAddress = "john@contoso.com",
},
});
});
package main
import (
billing "github.com/pulumi/pulumi-azure-native-sdk/billing/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := billing.NewBillingRoleAssignmentByEnrollmentAccount(ctx, "billingRoleAssignmentByEnrollmentAccount", &billing.BillingRoleAssignmentByEnrollmentAccountArgs{
BillingAccountName: pulumi.String("7898901"),
BillingRoleAssignmentName: pulumi.String("9dfd08c2-62a3-4d47-85bd-1cdba1408402"),
EnrollmentAccountName: pulumi.String("123456"),
Properties: &billing.BillingRoleAssignmentPropertiesArgs{
PrincipalId: pulumi.String("00000000-0000-0000-0000-000000000000"),
PrincipalTenantId: pulumi.String("076915e7-de10-4323-bb34-a58c904068bb"),
RoleDefinitionId: pulumi.String("/providers/Microsoft.Billing/billingAccounts/7898901/enrollmentAccounts/123456/billingRoleDefinitions/9f1983cb-2574-400c-87e9-34cf8e2280db"),
UserEmailAddress: pulumi.String("john@contoso.com"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.billing.BillingRoleAssignmentByEnrollmentAccount;
import com.pulumi.azurenative.billing.BillingRoleAssignmentByEnrollmentAccountArgs;
import com.pulumi.azurenative.billing.inputs.BillingRoleAssignmentPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var billingRoleAssignmentByEnrollmentAccount = new BillingRoleAssignmentByEnrollmentAccount("billingRoleAssignmentByEnrollmentAccount", BillingRoleAssignmentByEnrollmentAccountArgs.builder()
.billingAccountName("7898901")
.billingRoleAssignmentName("9dfd08c2-62a3-4d47-85bd-1cdba1408402")
.enrollmentAccountName("123456")
.properties(BillingRoleAssignmentPropertiesArgs.builder()
.principalId("00000000-0000-0000-0000-000000000000")
.principalTenantId("076915e7-de10-4323-bb34-a58c904068bb")
.roleDefinitionId("/providers/Microsoft.Billing/billingAccounts/7898901/enrollmentAccounts/123456/billingRoleDefinitions/9f1983cb-2574-400c-87e9-34cf8e2280db")
.userEmailAddress("john@contoso.com")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const billingRoleAssignmentByEnrollmentAccount = new azure_native.billing.BillingRoleAssignmentByEnrollmentAccount("billingRoleAssignmentByEnrollmentAccount", {
billingAccountName: "7898901",
billingRoleAssignmentName: "9dfd08c2-62a3-4d47-85bd-1cdba1408402",
enrollmentAccountName: "123456",
properties: {
principalId: "00000000-0000-0000-0000-000000000000",
principalTenantId: "076915e7-de10-4323-bb34-a58c904068bb",
roleDefinitionId: "/providers/Microsoft.Billing/billingAccounts/7898901/enrollmentAccounts/123456/billingRoleDefinitions/9f1983cb-2574-400c-87e9-34cf8e2280db",
userEmailAddress: "john@contoso.com",
},
});
import pulumi
import pulumi_azure_native as azure_native
billing_role_assignment_by_enrollment_account = azure_native.billing.BillingRoleAssignmentByEnrollmentAccount("billingRoleAssignmentByEnrollmentAccount",
billing_account_name="7898901",
billing_role_assignment_name="9dfd08c2-62a3-4d47-85bd-1cdba1408402",
enrollment_account_name="123456",
properties={
"principal_id": "00000000-0000-0000-0000-000000000000",
"principal_tenant_id": "076915e7-de10-4323-bb34-a58c904068bb",
"role_definition_id": "/providers/Microsoft.Billing/billingAccounts/7898901/enrollmentAccounts/123456/billingRoleDefinitions/9f1983cb-2574-400c-87e9-34cf8e2280db",
"user_email_address": "john@contoso.com",
})
resources:
billingRoleAssignmentByEnrollmentAccount:
type: azure-native:billing:BillingRoleAssignmentByEnrollmentAccount
properties:
billingAccountName: '7898901'
billingRoleAssignmentName: 9dfd08c2-62a3-4d47-85bd-1cdba1408402
enrollmentAccountName: '123456'
properties:
principalId: 00000000-0000-0000-0000-000000000000
principalTenantId: 076915e7-de10-4323-bb34-a58c904068bb
roleDefinitionId: /providers/Microsoft.Billing/billingAccounts/7898901/enrollmentAccounts/123456/billingRoleDefinitions/9f1983cb-2574-400c-87e9-34cf8e2280db
userEmailAddress: john@contoso.com
Create BillingRoleAssignmentByEnrollmentAccount Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BillingRoleAssignmentByEnrollmentAccount(name: string, args: BillingRoleAssignmentByEnrollmentAccountArgs, opts?: CustomResourceOptions);
@overload
def BillingRoleAssignmentByEnrollmentAccount(resource_name: str,
args: BillingRoleAssignmentByEnrollmentAccountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BillingRoleAssignmentByEnrollmentAccount(resource_name: str,
opts: Optional[ResourceOptions] = None,
billing_account_name: Optional[str] = None,
enrollment_account_name: Optional[str] = None,
billing_role_assignment_name: Optional[str] = None,
properties: Optional[BillingRoleAssignmentPropertiesArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewBillingRoleAssignmentByEnrollmentAccount(ctx *Context, name string, args BillingRoleAssignmentByEnrollmentAccountArgs, opts ...ResourceOption) (*BillingRoleAssignmentByEnrollmentAccount, error)
public BillingRoleAssignmentByEnrollmentAccount(string name, BillingRoleAssignmentByEnrollmentAccountArgs args, CustomResourceOptions? opts = null)
public BillingRoleAssignmentByEnrollmentAccount(String name, BillingRoleAssignmentByEnrollmentAccountArgs args)
public BillingRoleAssignmentByEnrollmentAccount(String name, BillingRoleAssignmentByEnrollmentAccountArgs args, CustomResourceOptions options)
type: azure-native:billing:BillingRoleAssignmentByEnrollmentAccount
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BillingRoleAssignmentByEnrollmentAccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BillingRoleAssignmentByEnrollmentAccountArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BillingRoleAssignmentByEnrollmentAccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BillingRoleAssignmentByEnrollmentAccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BillingRoleAssignmentByEnrollmentAccountArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var billingRoleAssignmentByEnrollmentAccountResource = new AzureNative.Billing.BillingRoleAssignmentByEnrollmentAccount("billingRoleAssignmentByEnrollmentAccountResource", new()
{
BillingAccountName = "string",
EnrollmentAccountName = "string",
BillingRoleAssignmentName = "string",
Properties = new AzureNative.Billing.Inputs.BillingRoleAssignmentPropertiesArgs
{
RoleDefinitionId = "string",
PrincipalId = "string",
PrincipalPuid = "string",
PrincipalTenantId = "string",
Scope = "string",
UserAuthenticationType = "string",
UserEmailAddress = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := billing.NewBillingRoleAssignmentByEnrollmentAccount(ctx, "billingRoleAssignmentByEnrollmentAccountResource", &billing.BillingRoleAssignmentByEnrollmentAccountArgs{
BillingAccountName: pulumi.String("string"),
EnrollmentAccountName: pulumi.String("string"),
BillingRoleAssignmentName: pulumi.String("string"),
Properties: &billing.BillingRoleAssignmentPropertiesArgs{
RoleDefinitionId: pulumi.String("string"),
PrincipalId: pulumi.String("string"),
PrincipalPuid: pulumi.String("string"),
PrincipalTenantId: pulumi.String("string"),
Scope: pulumi.String("string"),
UserAuthenticationType: pulumi.String("string"),
UserEmailAddress: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var billingRoleAssignmentByEnrollmentAccountResource = new BillingRoleAssignmentByEnrollmentAccount("billingRoleAssignmentByEnrollmentAccountResource", BillingRoleAssignmentByEnrollmentAccountArgs.builder()
.billingAccountName("string")
.enrollmentAccountName("string")
.billingRoleAssignmentName("string")
.properties(BillingRoleAssignmentPropertiesArgs.builder()
.roleDefinitionId("string")
.principalId("string")
.principalPuid("string")
.principalTenantId("string")
.scope("string")
.userAuthenticationType("string")
.userEmailAddress("string")
.build())
.tags(Map.of("string", "string"))
.build());
billing_role_assignment_by_enrollment_account_resource = azure_native.billing.BillingRoleAssignmentByEnrollmentAccount("billingRoleAssignmentByEnrollmentAccountResource",
billing_account_name="string",
enrollment_account_name="string",
billing_role_assignment_name="string",
properties={
"role_definition_id": "string",
"principal_id": "string",
"principal_puid": "string",
"principal_tenant_id": "string",
"scope": "string",
"user_authentication_type": "string",
"user_email_address": "string",
},
tags={
"string": "string",
})
const billingRoleAssignmentByEnrollmentAccountResource = new azure_native.billing.BillingRoleAssignmentByEnrollmentAccount("billingRoleAssignmentByEnrollmentAccountResource", {
billingAccountName: "string",
enrollmentAccountName: "string",
billingRoleAssignmentName: "string",
properties: {
roleDefinitionId: "string",
principalId: "string",
principalPuid: "string",
principalTenantId: "string",
scope: "string",
userAuthenticationType: "string",
userEmailAddress: "string",
},
tags: {
string: "string",
},
});
type: azure-native:billing:BillingRoleAssignmentByEnrollmentAccount
properties:
billingAccountName: string
billingRoleAssignmentName: string
enrollmentAccountName: string
properties:
principalId: string
principalPuid: string
principalTenantId: string
roleDefinitionId: string
scope: string
userAuthenticationType: string
userEmailAddress: string
tags:
string: string
BillingRoleAssignmentByEnrollmentAccount Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BillingRoleAssignmentByEnrollmentAccount resource accepts the following input properties:
- Billing
Account stringName - The ID that uniquely identifies a billing account.
- Enrollment
Account stringName - The name of the enrollment account.
- Billing
Role stringAssignment Name - The ID that uniquely identifies a role assignment.
- Properties
Pulumi.
Azure Native. Billing. Inputs. Billing Role Assignment Properties - The properties of the billing role assignment.
- 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 < > % & \ ? /
- Billing
Account stringName - The ID that uniquely identifies a billing account.
- Enrollment
Account stringName - The name of the enrollment account.
- Billing
Role stringAssignment Name - The ID that uniquely identifies a role assignment.
- Properties
Billing
Role Assignment Properties Args - The properties of the billing role assignment.
- 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 < > % & \ ? /
- billing
Account StringName - The ID that uniquely identifies a billing account.
- enrollment
Account StringName - The name of the enrollment account.
- billing
Role StringAssignment Name - The ID that uniquely identifies a role assignment.
- properties
Billing
Role Assignment Properties - The properties of the billing role assignment.
- 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 < > % & \ ? /
- billing
Account stringName - The ID that uniquely identifies a billing account.
- enrollment
Account stringName - The name of the enrollment account.
- billing
Role stringAssignment Name - The ID that uniquely identifies a role assignment.
- properties
Billing
Role Assignment Properties - The properties of the billing role assignment.
- {[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 < > % & \ ? /
- billing_
account_ strname - The ID that uniquely identifies a billing account.
- enrollment_
account_ strname - The name of the enrollment account.
- billing_
role_ strassignment_ name - The ID that uniquely identifies a role assignment.
- properties
Billing
Role Assignment Properties Args - The properties of the billing role assignment.
- 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 < > % & \ ? /
- billing
Account StringName - The ID that uniquely identifies a billing account.
- enrollment
Account StringName - The name of the enrollment account.
- billing
Role StringAssignment Name - The ID that uniquely identifies a role assignment.
- properties Property Map
- The properties of the billing role assignment.
- 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 < > % & \ ? /
Outputs
All input properties are implicitly available as output properties. Additionally, the BillingRoleAssignmentByEnrollmentAccount resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- 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"
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- 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"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- 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"
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- 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"
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- 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"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- 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"
Supporting Types
BillingRoleAssignmentProperties, BillingRoleAssignmentPropertiesArgs
- Role
Definition stringId - The ID of the role definition.
- Principal
Id string - The object id of the user to whom the role was assigned.
- Principal
Puid string - The principal PUID 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.
- Scope string
- The scope at which the role was assigned.
- 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.
- Role
Definition stringId - The ID of the role definition.
- Principal
Id string - The object id of the user to whom the role was assigned.
- Principal
Puid string - The principal PUID 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.
- Scope string
- The scope at which the role was assigned.
- 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.
- role
Definition StringId - The ID of the role definition.
- principal
Id String - The object id of the user to whom the role was assigned.
- principal
Puid String - The principal PUID 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.
- scope String
- The scope at which the role was assigned.
- 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.
- role
Definition stringId - The ID of the role definition.
- principal
Id string - The object id of the user to whom the role was assigned.
- principal
Puid string - The principal PUID 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.
- scope string
- The scope at which the role was assigned.
- 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.
- role_
definition_ strid - The ID of the role definition.
- principal_
id str - The object id of the user to whom the role was assigned.
- principal_
puid str - The principal PUID 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.
- scope str
- The scope at which the role was assigned.
- 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.
- role
Definition StringId - The ID of the role definition.
- principal
Id String - The object id of the user to whom the role was assigned.
- principal
Puid String - The principal PUID 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.
- scope String
- The scope at which the role was assigned.
- 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.
BillingRoleAssignmentPropertiesResponse, BillingRoleAssignmentPropertiesResponseArgs
- Billing
Account stringDisplay Name - The name of the billing account.
- Billing
Account stringId - The fully qualified ID that uniquely identifies a billing account.
- Billing
Profile stringDisplay Name - The name of the billing profile.
- Billing
Profile stringId - The fully qualified ID that uniquely identifies a billing profile.
- Billing
Request stringId - The ID of the billing request that was created for the role assignment. This is only applicable to cross tenant role assignments or role assignments created through the billing request.
- Created
By stringPrincipal Id - The object ID of the user who created the role assignment.
- Created
By stringPrincipal Puid - The principal PUID 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.
- Customer
Display stringName - The name of the customer.
- Customer
Id string - The fully qualified ID that uniquely identifies a customer.
- Invoice
Section stringDisplay Name - The name of the invoice section.
- Invoice
Section stringId - The fully qualified ID that uniquely identifies an invoice section.
- Modified
By stringPrincipal Id - The principal PUID of the user who modified the role assignment.
- Modified
By stringPrincipal Puid - The principal PUID of the user who modified the role assignment.
- Modified
By stringPrincipal Tenant Id - The tenant Id of the user who modified the role assignment.
- Modified
By stringUser Email Address - The email address of the user who modified the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
- Modified
On string - The date the role assignment was modified.
- Principal
Display stringName - The display name of the principal to whom the role was assigned.
- Principal
Tenant stringName - The friendly name of the tenant of the user to whom the role was assigned. This will be 'Primary Tenant' for the primary tenant of the billing account.
- Principal
Type string - The type of a role Assignment.
- Provisioning
State string - The provisioning state of the resource during a long-running operation.
- Role
Definition stringId - The ID of the role definition.
- Principal
Id string - The object id of the user to whom the role was assigned.
- Principal
Puid string - The principal PUID 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.
- Scope string
- The scope at which the role was assigned.
- 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.
- Billing
Account stringDisplay Name - The name of the billing account.
- Billing
Account stringId - The fully qualified ID that uniquely identifies a billing account.
- Billing
Profile stringDisplay Name - The name of the billing profile.
- Billing
Profile stringId - The fully qualified ID that uniquely identifies a billing profile.
- Billing
Request stringId - The ID of the billing request that was created for the role assignment. This is only applicable to cross tenant role assignments or role assignments created through the billing request.
- Created
By stringPrincipal Id - The object ID of the user who created the role assignment.
- Created
By stringPrincipal Puid - The principal PUID 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.
- Customer
Display stringName - The name of the customer.
- Customer
Id string - The fully qualified ID that uniquely identifies a customer.
- Invoice
Section stringDisplay Name - The name of the invoice section.
- Invoice
Section stringId - The fully qualified ID that uniquely identifies an invoice section.
- Modified
By stringPrincipal Id - The principal PUID of the user who modified the role assignment.
- Modified
By stringPrincipal Puid - The principal PUID of the user who modified the role assignment.
- Modified
By stringPrincipal Tenant Id - The tenant Id of the user who modified the role assignment.
- Modified
By stringUser Email Address - The email address of the user who modified the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
- Modified
On string - The date the role assignment was modified.
- Principal
Display stringName - The display name of the principal to whom the role was assigned.
- Principal
Tenant stringName - The friendly name of the tenant of the user to whom the role was assigned. This will be 'Primary Tenant' for the primary tenant of the billing account.
- Principal
Type string - The type of a role Assignment.
- Provisioning
State string - The provisioning state of the resource during a long-running operation.
- Role
Definition stringId - The ID of the role definition.
- Principal
Id string - The object id of the user to whom the role was assigned.
- Principal
Puid string - The principal PUID 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.
- Scope string
- The scope at which the role was assigned.
- 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.
- billing
Account StringDisplay Name - The name of the billing account.
- billing
Account StringId - The fully qualified ID that uniquely identifies a billing account.
- billing
Profile StringDisplay Name - The name of the billing profile.
- billing
Profile StringId - The fully qualified ID that uniquely identifies a billing profile.
- billing
Request StringId - The ID of the billing request that was created for the role assignment. This is only applicable to cross tenant role assignments or role assignments created through the billing request.
- created
By StringPrincipal Id - The object ID of the user who created the role assignment.
- created
By StringPrincipal Puid - The principal PUID 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.
- customer
Display StringName - The name of the customer.
- customer
Id String - The fully qualified ID that uniquely identifies a customer.
- invoice
Section StringDisplay Name - The name of the invoice section.
- invoice
Section StringId - The fully qualified ID that uniquely identifies an invoice section.
- modified
By StringPrincipal Id - The principal PUID of the user who modified the role assignment.
- modified
By StringPrincipal Puid - The principal PUID of the user who modified the role assignment.
- modified
By StringPrincipal Tenant Id - The tenant Id of the user who modified the role assignment.
- modified
By StringUser Email Address - The email address of the user who modified the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
- modified
On String - The date the role assignment was modified.
- principal
Display StringName - The display name of the principal to whom the role was assigned.
- principal
Tenant StringName - The friendly name of the tenant of the user to whom the role was assigned. This will be 'Primary Tenant' for the primary tenant of the billing account.
- principal
Type String - The type of a role Assignment.
- provisioning
State String - The provisioning state of the resource during a long-running operation.
- role
Definition StringId - The ID of the role definition.
- principal
Id String - The object id of the user to whom the role was assigned.
- principal
Puid String - The principal PUID 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.
- scope String
- The scope at which the role was assigned.
- 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.
- billing
Account stringDisplay Name - The name of the billing account.
- billing
Account stringId - The fully qualified ID that uniquely identifies a billing account.
- billing
Profile stringDisplay Name - The name of the billing profile.
- billing
Profile stringId - The fully qualified ID that uniquely identifies a billing profile.
- billing
Request stringId - The ID of the billing request that was created for the role assignment. This is only applicable to cross tenant role assignments or role assignments created through the billing request.
- created
By stringPrincipal Id - The object ID of the user who created the role assignment.
- created
By stringPrincipal Puid - The principal PUID 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.
- customer
Display stringName - The name of the customer.
- customer
Id string - The fully qualified ID that uniquely identifies a customer.
- invoice
Section stringDisplay Name - The name of the invoice section.
- invoice
Section stringId - The fully qualified ID that uniquely identifies an invoice section.
- modified
By stringPrincipal Id - The principal PUID of the user who modified the role assignment.
- modified
By stringPrincipal Puid - The principal PUID of the user who modified the role assignment.
- modified
By stringPrincipal Tenant Id - The tenant Id of the user who modified the role assignment.
- modified
By stringUser Email Address - The email address of the user who modified the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
- modified
On string - The date the role assignment was modified.
- principal
Display stringName - The display name of the principal to whom the role was assigned.
- principal
Tenant stringName - The friendly name of the tenant of the user to whom the role was assigned. This will be 'Primary Tenant' for the primary tenant of the billing account.
- principal
Type string - The type of a role Assignment.
- provisioning
State string - The provisioning state of the resource during a long-running operation.
- role
Definition stringId - The ID of the role definition.
- principal
Id string - The object id of the user to whom the role was assigned.
- principal
Puid string - The principal PUID 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.
- scope string
- The scope at which the role was assigned.
- 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.
- billing_
account_ strdisplay_ name - The name of the billing account.
- billing_
account_ strid - The fully qualified ID that uniquely identifies a billing account.
- billing_
profile_ strdisplay_ name - The name of the billing profile.
- billing_
profile_ strid - The fully qualified ID that uniquely identifies a billing profile.
- billing_
request_ strid - The ID of the billing request that was created for the role assignment. This is only applicable to cross tenant role assignments or role assignments created through the billing request.
- created_
by_ strprincipal_ id - The object ID of the user who created the role assignment.
- created_
by_ strprincipal_ puid - The principal PUID 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.
- customer_
display_ strname - The name of the customer.
- customer_
id str - The fully qualified ID that uniquely identifies a customer.
- invoice_
section_ strdisplay_ name - The name of the invoice section.
- invoice_
section_ strid - The fully qualified ID that uniquely identifies an invoice section.
- modified_
by_ strprincipal_ id - The principal PUID of the user who modified the role assignment.
- modified_
by_ strprincipal_ puid - The principal PUID of the user who modified the role assignment.
- modified_
by_ strprincipal_ tenant_ id - The tenant Id of the user who modified the role assignment.
- modified_
by_ struser_ email_ address - The email address of the user who modified the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
- modified_
on str - The date the role assignment was modified.
- principal_
display_ strname - The display name of the principal to whom the role was assigned.
- principal_
tenant_ strname - The friendly name of the tenant of the user to whom the role was assigned. This will be 'Primary Tenant' for the primary tenant of the billing account.
- principal_
type str - The type of a role Assignment.
- provisioning_
state str - The provisioning state of the resource during a long-running operation.
- role_
definition_ strid - The ID of the role definition.
- principal_
id str - The object id of the user to whom the role was assigned.
- principal_
puid str - The principal PUID 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.
- scope str
- The scope at which the role was assigned.
- 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.
- billing
Account StringDisplay Name - The name of the billing account.
- billing
Account StringId - The fully qualified ID that uniquely identifies a billing account.
- billing
Profile StringDisplay Name - The name of the billing profile.
- billing
Profile StringId - The fully qualified ID that uniquely identifies a billing profile.
- billing
Request StringId - The ID of the billing request that was created for the role assignment. This is only applicable to cross tenant role assignments or role assignments created through the billing request.
- created
By StringPrincipal Id - The object ID of the user who created the role assignment.
- created
By StringPrincipal Puid - The principal PUID 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.
- customer
Display StringName - The name of the customer.
- customer
Id String - The fully qualified ID that uniquely identifies a customer.
- invoice
Section StringDisplay Name - The name of the invoice section.
- invoice
Section StringId - The fully qualified ID that uniquely identifies an invoice section.
- modified
By StringPrincipal Id - The principal PUID of the user who modified the role assignment.
- modified
By StringPrincipal Puid - The principal PUID of the user who modified the role assignment.
- modified
By StringPrincipal Tenant Id - The tenant Id of the user who modified the role assignment.
- modified
By StringUser Email Address - The email address of the user who modified the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
- modified
On String - The date the role assignment was modified.
- principal
Display StringName - The display name of the principal to whom the role was assigned.
- principal
Tenant StringName - The friendly name of the tenant of the user to whom the role was assigned. This will be 'Primary Tenant' for the primary tenant of the billing account.
- principal
Type String - The type of a role Assignment.
- provisioning
State String - The provisioning state of the resource during a long-running operation.
- role
Definition StringId - The ID of the role definition.
- principal
Id String - The object id of the user to whom the role was assigned.
- principal
Puid String - The principal PUID 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.
- scope String
- The scope at which the role was assigned.
- 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.
SystemDataResponse, SystemDataResponseArgs
- 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:billing:BillingRoleAssignmentByEnrollmentAccount 9dfd08c2-62a3-4d47-85bd-1cdba1408402 /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0