Class BillingRoleAssignmentProperties
The properties of the billing role assignment.
Inheritance
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Billing.dll
Syntax
public class BillingRoleAssignmentProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Billing.Models.BillingRoleAssignmentProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Billing.Models.BillingRoleAssignmentProperties>
Constructors
BillingRoleAssignmentProperties(ResourceIdentifier)
Initializes a new instance of BillingRoleAssignmentProperties.
Declaration
public BillingRoleAssignmentProperties (Azure.Core.ResourceIdentifier roleDefinitionId);
Parameters
Azure.Core.ResourceIdentifier
roleDefinitionId
The ID of the role definition. |
Exceptions
System.ArgumentNullException
|
Properties
BillingAccountDisplayName
The name of the billing account.
Declaration
public string BillingAccountDisplayName { get; }
Property Value
System.String
|
BillingAccountId
The fully qualified ID that uniquely identifies a billing account.
Declaration
public Azure.Core.ResourceIdentifier BillingAccountId { get; }
Property Value
Azure.Core.ResourceIdentifier
|
BillingProfileDisplayName
The name of the billing profile.
Declaration
public string BillingProfileDisplayName { get; }
Property Value
System.String
|
BillingProfileId
The fully qualified ID that uniquely identifies a billing profile.
Declaration
public Azure.Core.ResourceIdentifier BillingProfileId { get; }
Property Value
Azure.Core.ResourceIdentifier
|
BillingRequestId
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.
Declaration
public Azure.Core.ResourceIdentifier BillingRequestId { get; }
Property Value
Azure.Core.ResourceIdentifier
|
CreatedByPrincipalId
The object ID of the user who created the role assignment.
Declaration
public string CreatedByPrincipalId { get; }
Property Value
System.String
|
CreatedByPrincipalPuid
The principal PUID of the user who created the role assignment.
Declaration
public string CreatedByPrincipalPuid { get; }
Property Value
System.String
|
CreatedByPrincipalTenantId
The tenant Id of the user who created the role assignment.
Declaration
public Nullable<Guid> CreatedByPrincipalTenantId { get; }
Property Value
System.Nullable<System.Guid>
|
CreatedByUserEmailAddress
The email address of the user who created the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
Declaration
public string CreatedByUserEmailAddress { get; }
Property Value
System.String
|
CreatedOn
The date the role assignment was created.
Declaration
public Nullable<DateTimeOffset> CreatedOn { get; }
Property Value
System.Nullable<System.DateTimeOffset>
|
CustomerDisplayName
The name of the customer.
Declaration
public string CustomerDisplayName { get; }
Property Value
System.String
|
CustomerId
The fully qualified ID that uniquely identifies a customer.
Declaration
public Azure.Core.ResourceIdentifier CustomerId { get; }
Property Value
Azure.Core.ResourceIdentifier
|
InvoiceSectionDisplayName
The name of the invoice section.
Declaration
public string InvoiceSectionDisplayName { get; }
Property Value
System.String
|
InvoiceSectionId
The fully qualified ID that uniquely identifies an invoice section.
Declaration
public Azure.Core.ResourceIdentifier InvoiceSectionId { get; }
Property Value
Azure.Core.ResourceIdentifier
|
ModifiedByPrincipalId
The principal PUID of the user who modified the role assignment.
Declaration
public string ModifiedByPrincipalId { get; }
Property Value
System.String
|
ModifiedByPrincipalPuid
The principal PUID of the user who modified the role assignment.
Declaration
public string ModifiedByPrincipalPuid { get; }
Property Value
System.String
|
ModifiedByPrincipalTenantId
The tenant Id of the user who modified the role assignment.
Declaration
public Nullable<Guid> ModifiedByPrincipalTenantId { get; }
Property Value
System.Nullable<System.Guid>
|
ModifiedByUserEmailAddress
The email address of the user who modified the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
Declaration
public string ModifiedByUserEmailAddress { get; }
Property Value
System.String
|
ModifiedOn
The date the role assignment was modified.
Declaration
public Nullable<DateTimeOffset> ModifiedOn { get; }
Property Value
System.Nullable<System.DateTimeOffset>
|
PrincipalDisplayName
The display name of the principal to whom the role was assigned.
Declaration
public string PrincipalDisplayName { get; }
Property Value
System.String
|
PrincipalId
The object id of the user to whom the role was assigned.
Declaration
public string PrincipalId { get; set; }
Property Value
System.String
|
PrincipalPuid
The principal PUID of the user to whom the role was assigned.
Declaration
public string PrincipalPuid { get; set; }
Property Value
System.String
|
PrincipalTenantId
The principal tenant id of the user to whom the role was assigned.
Declaration
public Nullable<Guid> PrincipalTenantId { get; set; }
Property Value
System.Nullable<System.Guid>
|
PrincipalTenantName
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.
Declaration
public string PrincipalTenantName { get; }
Property Value
System.String
|
PrincipalType
The type of a role Assignment.
Declaration
public Nullable<Azure.ResourceManager.Billing.Models.BillingPrincipalType> PrincipalType { get; }
Property Value
System.Nullable<BillingPrincipalType>
|
ProvisioningState
The provisioning state of the resource during a long-running operation.
Declaration
public Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> ProvisioningState { get; }
Property Value
System.Nullable<BillingProvisioningState>
|
RoleDefinitionId
The ID of the role definition.
Declaration
public Azure.Core.ResourceIdentifier RoleDefinitionId { get; set; }
Property Value
Azure.Core.ResourceIdentifier
|
Scope
The scope at which the role was assigned.
Declaration
public string Scope { get; set; }
Property Value
System.String
|
UserAuthenticationType
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.
Declaration
public string UserAuthenticationType { get; set; }
Property Value
System.String
|
UserEmailAddress
The email address of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.
Declaration
public string UserEmailAddress { get; set; }
Property Value
System.String
|
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
Declaration
protected virtual void JsonModelWriteCore (System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.Text.Json.Utf8JsonWriter
writer
The JSON writer. |
System.ClientModel.Primitives.ModelReaderWriterOptions
options
The client options for reading and writing models. |
Explicit Interface Implementations
IJsonModel<BillingRoleAssignmentProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.
Declaration
Azure.ResourceManager.Billing.Models.BillingRoleAssignmentProperties IJsonModel<BillingRoleAssignmentProperties>.Create (ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.Text.Json.Utf8JsonReader
reader
The System.Text.Json.Utf8JsonReader to read. |
System.ClientModel.Primitives.ModelReaderWriterOptions
options
The System.ClientModel.Primitives.ModelReaderWriterOptions to use. |
Returns
BillingRoleAssignmentProperties
A |
Exceptions
System.FormatException
If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format. |
IJsonModel<BillingRoleAssignmentProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
Writes the model to the provided System.Text.Json.Utf8JsonWriter.
Declaration
void IJsonModel<BillingRoleAssignmentProperties>.Write (System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.Text.Json.Utf8JsonWriter
writer
The System.Text.Json.Utf8JsonWriter to write into. |
System.ClientModel.Primitives.ModelReaderWriterOptions
options
The System.ClientModel.Primitives.ModelReaderWriterOptions to use. |
Exceptions
System.FormatException
If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format. |
IPersistableModel<BillingRoleAssignmentProperties>.Create(BinaryData, ModelReaderWriterOptions)
Converts the provided System.BinaryData into a model.
Declaration
Azure.ResourceManager.Billing.Models.BillingRoleAssignmentProperties IPersistableModel<BillingRoleAssignmentProperties>.Create (BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.BinaryData
data
The System.BinaryData to parse. |
System.ClientModel.Primitives.ModelReaderWriterOptions
options
The System.ClientModel.Primitives.ModelReaderWriterOptions to use. |
Returns
BillingRoleAssignmentProperties
A |
Exceptions
System.FormatException
If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format. |
IPersistableModel<BillingRoleAssignmentProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.
Declaration
string IPersistableModel<BillingRoleAssignmentProperties>.GetFormatFromOptions (System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.ClientModel.Primitives.ModelReaderWriterOptions
options
The System.ClientModel.Primitives.ModelReaderWriterOptions to consider when serializing and deserializing the model. |
Returns
System.String
The format that the model uses when communicating with the serivce. |
IPersistableModel<BillingRoleAssignmentProperties>.Write(ModelReaderWriterOptions)
Writes the model into a System.BinaryData.
Declaration
BinaryData IPersistableModel<BillingRoleAssignmentProperties>.Write (System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.ClientModel.Primitives.ModelReaderWriterOptions
options
The System.ClientModel.Primitives.ModelReaderWriterOptions to use. |
Returns
System.BinaryData
A binary representation of the written model. |
Exceptions
System.FormatException
If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format. |