AssociatedTenantProperties Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. AssociatedTenantProperties
- com.
Implements
public final class AssociatedTenantProperties
implements JsonSerializable<AssociatedTenantProperties>
An associated tenant.
Constructor Summary
| Constructor | Description |
|---|---|
| AssociatedTenantProperties() |
Creates an instance of Associated |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Billing |
billingManagementState()
Get the billing |
| String |
displayName()
Get the display |
|
static
Associated |
fromJson(JsonReader jsonReader)
Reads an instance of Associated |
| String |
provisioningBillingRequestId()
Get the provisioning |
|
Provisioning |
provisioningManagementState()
Get the provisioning |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Associated |
withBillingManagementState(BillingManagementTenantState billingManagementState)
Set the billing |
|
Associated |
withDisplayName(String displayName)
Set the display |
|
Associated |
withProvisioningManagementState(ProvisioningTenantState provisioningManagementState)
Set the provisioning |
|
Associated |
withTenantId(String tenantId)
Set the tenant |
Methods inherited from java.lang.Object
Constructor Details
AssociatedTenantProperties
public AssociatedTenantProperties()
Creates an instance of AssociatedTenantProperties class.
Method Details
billingManagementState
public BillingManagementTenantState billingManagementState()
Get the billingManagementState property: The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
Returns:
displayName
public String displayName()
Get the displayName property: The name of the associated tenant.
Returns:
fromJson
public static AssociatedTenantProperties fromJson(JsonReader jsonReader)
Reads an instance of AssociatedTenantProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningBillingRequestId
public String provisioningBillingRequestId()
Get the provisioningBillingRequestId property: The unique identifier for the billing request that is created when enabling provisioning for an associated tenant.
Returns:
provisioningManagementState
public ProvisioningTenantState provisioningManagementState()
Get the provisioningManagementState property: The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource during a long-running operation.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The ID that uniquely identifies a tenant.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBillingManagementState
public AssociatedTenantProperties withBillingManagementState(BillingManagementTenantState billingManagementState)
Set the billingManagementState property: The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
Parameters:
Returns:
withDisplayName
public AssociatedTenantProperties withDisplayName(String displayName)
Set the displayName property: The name of the associated tenant.
Parameters:
Returns:
withProvisioningManagementState
public AssociatedTenantProperties withProvisioningManagementState(ProvisioningTenantState provisioningManagementState)
Set the provisioningManagementState property: The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
Parameters:
Returns:
withTenantId
public AssociatedTenantProperties withTenantId(String tenantId)
Set the tenantId property: The ID that uniquely identifies a tenant.
Parameters:
Returns: