DSCResources/MSFT_AzureBillingAccountsRoleAssignment/MSFT_AzureBillingAccountsRoleAssignment.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("AzureBillingaccountsRoleAssignment")]
class MSFT_AzureBillingaccountsRoleAssignment : OMI_BaseResource
{
    [Key, Description("Name of the principal associated to the role assignment.")] String PrincipalName;
    [Key, Description("Name of the role assigned to the principal.")] String RoleDefinition;
    [Write, Description("Principal type. Can be User, Group or ServicePrincipal.")] String PrincipalType;
    [Write, Description("Name of the billing account.")] String BillingAccount;
    [Write, Description("The principal tenant id of the user to whom the role was assigned.")] String PrincipalTenantId;
 
    [Write, Description("Present ensures the instance exists, absent ensures it is removed."), ValueMap{"Absent","Present"}, Values{"Absent","Present"}] string Ensure;
    [Write, Description("Credentials of the workload's Admin"), EmbeddedInstance("MSFT_Credential")] string Credential;
    [Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId;
    [Write, Description("Id of the Azure Active Directory tenant used for authentication.")] String TenantId;
    [Write, Description("Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication.")] String CertificateThumbprint;
    [Write, Description("Managed ID being used for authentication.")] Boolean ManagedIdentity;
    [Write, Description("Access token used for authentication.")] String AccessTokens[];
};