BillingRoleAssignmentProperties Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. BillingRoleAssignmentProperties
- com.
Implements
public final class BillingRoleAssignmentProperties
implements JsonSerializable<BillingRoleAssignmentProperties>
The properties of the billing role assignment.
Constructor Summary
| Constructor | Description |
|---|---|
| BillingRoleAssignmentProperties() |
Creates an instance of Billing |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
billingAccountDisplayName()
Get the billing |
| String |
billingAccountId()
Get the billing |
| String |
billingProfileDisplayName()
Get the billing |
| String |
billingProfileId()
Get the billing |
| String |
billingRequestId()
Get the billing |
| String |
createdByPrincipalId()
Get the created |
| String |
createdByPrincipalPuid()
Get the created |
| String |
createdByPrincipalTenantId()
Get the created |
| String |
createdByUserEmailAddress()
Get the created |
|
Offset |
createdOn()
Get the created |
| String |
customerDisplayName()
Get the customer |
| String |
customerId()
Get the customer |
|
static
Billing |
fromJson(JsonReader jsonReader)
Reads an instance of Billing |
| String |
invoiceSectionDisplayName()
Get the invoice |
| String |
invoiceSectionId()
Get the invoice |
| String |
modifiedByPrincipalId()
Get the modified |
| String |
modifiedByPrincipalPuid()
Get the modified |
| String |
modifiedByPrincipalTenantId()
Get the modified |
| String |
modifiedByUserEmailAddress()
Get the modified |
|
Offset |
modifiedOn()
Get the modified |
| String |
principalDisplayName()
Get the principal |
| String |
principalId()
Get the principal |
| String |
principalPuid()
Get the principal |
| String |
principalTenantId()
Get the principal |
| String |
principalTenantName()
Get the principal |
|
Principal |
principalType()
Get the principal |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
roleDefinitionId()
Get the role |
| String |
scope()
Get the scope property: The scope at which the role was assigned. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
userAuthenticationType()
Get the user |
| String |
userEmailAddress()
Get the user |
| void |
validate()
Validates the instance. |
|
Billing |
withPrincipalId(String principalId)
Set the principal |
|
Billing |
withPrincipalPuid(String principalPuid)
Set the principal |
|
Billing |
withPrincipalTenantId(String principalTenantId)
Set the principal |
|
Billing |
withRoleDefinitionId(String roleDefinitionId)
Set the role |
|
Billing |
withScope(String scope)
Set the scope property: The scope at which the role was assigned. |
|
Billing |
withUserAuthenticationType(String userAuthenticationType)
Set the user |
|
Billing |
withUserEmailAddress(String userEmailAddress)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
BillingRoleAssignmentProperties
public BillingRoleAssignmentProperties()
Creates an instance of BillingRoleAssignmentProperties class.
Method Details
billingAccountDisplayName
public String billingAccountDisplayName()
Get the billingAccountDisplayName property: The name of the billing account.
Returns:
billingAccountId
public String billingAccountId()
Get the billingAccountId property: The fully qualified ID that uniquely identifies a billing account.
Returns:
billingProfileDisplayName
public String billingProfileDisplayName()
Get the billingProfileDisplayName property: The name of the billing profile.
Returns:
billingProfileId
public String billingProfileId()
Get the billingProfileId property: The fully qualified ID that uniquely identifies a billing profile.
Returns:
billingRequestId
public String billingRequestId()
Get the billingRequestId property: 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.
Returns:
createdByPrincipalId
public String createdByPrincipalId()
Get the createdByPrincipalId property: The object ID of the user who created the role assignment.
Returns:
createdByPrincipalPuid
public String createdByPrincipalPuid()
Get the createdByPrincipalPuid property: The principal PUID of the user who created the role assignment.
Returns:
createdByPrincipalTenantId
public String createdByPrincipalTenantId()
Get the createdByPrincipalTenantId property: The tenant Id of the user who created the role assignment.
Returns:
createdByUserEmailAddress
public String createdByUserEmailAddress()
Get the createdByUserEmailAddress property: The email address of the user who created the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
Returns:
createdOn
public OffsetDateTime createdOn()
Get the createdOn property: The date the role assignment was created.
Returns:
customerDisplayName
public String customerDisplayName()
Get the customerDisplayName property: The name of the customer.
Returns:
customerId
public String customerId()
Get the customerId property: The fully qualified ID that uniquely identifies a customer.
Returns:
fromJson
public static BillingRoleAssignmentProperties fromJson(JsonReader jsonReader)
Reads an instance of BillingRoleAssignmentProperties from the JsonReader.
Parameters:
Returns:
Throws:
invoiceSectionDisplayName
public String invoiceSectionDisplayName()
Get the invoiceSectionDisplayName property: The name of the invoice section.
Returns:
invoiceSectionId
public String invoiceSectionId()
Get the invoiceSectionId property: The fully qualified ID that uniquely identifies an invoice section.
Returns:
modifiedByPrincipalId
public String modifiedByPrincipalId()
Get the modifiedByPrincipalId property: The principal PUID of the user who modified the role assignment.
Returns:
modifiedByPrincipalPuid
public String modifiedByPrincipalPuid()
Get the modifiedByPrincipalPuid property: The principal PUID of the user who modified the role assignment.
Returns:
modifiedByPrincipalTenantId
public String modifiedByPrincipalTenantId()
Get the modifiedByPrincipalTenantId property: The tenant Id of the user who modified the role assignment.
Returns:
modifiedByUserEmailAddress
public String modifiedByUserEmailAddress()
Get the modifiedByUserEmailAddress property: The email address of the user who modified the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.
Returns:
modifiedOn
public OffsetDateTime modifiedOn()
Get the modifiedOn property: The date the role assignment was modified.
Returns:
principalDisplayName
public String principalDisplayName()
Get the principalDisplayName property: The display name of the principal to whom the role was assigned.
Returns:
principalId
public String principalId()
Get the principalId property: The object id of the user to whom the role was assigned.
Returns:
principalPuid
public String principalPuid()
Get the principalPuid property: The principal PUID of the user to whom the role was assigned.
Returns:
principalTenantId
public String principalTenantId()
Get the principalTenantId property: The principal tenant id of the user to whom the role was assigned.
Returns:
principalTenantName
public String principalTenantName()
Get the principalTenantName property: 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.
Returns:
principalType
public PrincipalType principalType()
Get the principalType property: The type of a role Assignment.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource during a long-running operation.
Returns:
roleDefinitionId
public String roleDefinitionId()
Get the roleDefinitionId property: The ID of the role definition.
Returns:
scope
public String scope()
Get the scope property: The scope at which the role was assigned.
Returns:
toJson
userAuthenticationType
public String userAuthenticationType()
Get the userAuthenticationType property: 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.
Returns:
userEmailAddress
public String userEmailAddress()
Get the userEmailAddress property: The email address of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.
Returns:
validate
public void validate()
Validates the instance.
withPrincipalId
public BillingRoleAssignmentProperties withPrincipalId(String principalId)
Set the principalId property: The object id of the user to whom the role was assigned.
Parameters:
Returns:
withPrincipalPuid
public BillingRoleAssignmentProperties withPrincipalPuid(String principalPuid)
Set the principalPuid property: The principal PUID of the user to whom the role was assigned.
Parameters:
Returns:
withPrincipalTenantId
public BillingRoleAssignmentProperties withPrincipalTenantId(String principalTenantId)
Set the principalTenantId property: The principal tenant id of the user to whom the role was assigned.
Parameters:
Returns:
withRoleDefinitionId
public BillingRoleAssignmentProperties withRoleDefinitionId(String roleDefinitionId)
Set the roleDefinitionId property: The ID of the role definition.
Parameters:
Returns:
withScope
public BillingRoleAssignmentProperties withScope(String scope)
Set the scope property: The scope at which the role was assigned.
Parameters:
Returns:
withUserAuthenticationType
public BillingRoleAssignmentProperties withUserAuthenticationType(String userAuthenticationType)
Set the userAuthenticationType property: 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.
Parameters:
Returns:
withUserEmailAddress
public BillingRoleAssignmentProperties withUserEmailAddress(String userEmailAddress)
Set the userEmailAddress property: The email address of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.
Parameters:
Returns: