CustomerProperties Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. CustomerProperties
- com.
Implements
public final class CustomerProperties
implements JsonSerializable<CustomerProperties>
A partner's customer.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomerProperties() |
Creates an instance of Customer |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
billingProfileDisplayName()
Get the billing |
| String |
billingProfileId()
Get the billing |
| String |
displayName()
Get the display |
|
List<Azure |
enabledAzurePlans()
Get the enabled |
|
static
Customer |
fromJson(JsonReader jsonReader)
Reads an instance of Customer |
| List<Reseller> |
resellers()
Get the resellers property: The list of resellers for which an Azure plan is enabled for the customer. |
|
Customer |
status()
Get the status property: Identifies the status of an customer. |
| String |
systemId()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Dictionary of metadata associated with the resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Customer |
withEnabledAzurePlans(List<AzurePlan> enabledAzurePlans)
Set the enabled |
|
Customer |
withResellers(List<Reseller> resellers)
Set the resellers property: The list of resellers for which an Azure plan is enabled for the customer. |
|
Customer |
withTags(Map<String,String> tags)
Set the tags property: Dictionary of metadata associated with the resource. |
Methods inherited from java.lang.Object
Constructor Details
CustomerProperties
public CustomerProperties()
Creates an instance of CustomerProperties class.
Method Details
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:
displayName
public String displayName()
Get the displayName property: The name of the customer.
Returns:
enabledAzurePlans
public List<AzurePlan> enabledAzurePlans()
Get the enabledAzurePlans property: Azure plans enabled for the customer.
Returns:
fromJson
public static CustomerProperties fromJson(JsonReader jsonReader)
Reads an instance of CustomerProperties from the JsonReader.
Parameters:
Returns:
Throws:
resellers
public List<Reseller> resellers()
Get the resellers property: The list of resellers for which an Azure plan is enabled for the customer.
Returns:
status
public CustomerStatus status()
Get the status property: Identifies the status of an customer. This is an upcoming property that will be populated in the future.
Returns:
systemId
public String systemId()
Get the systemId property: The system generated unique identifier for a customer.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnabledAzurePlans
public CustomerProperties withEnabledAzurePlans(List<AzurePlan> enabledAzurePlans)
Set the enabledAzurePlans property: Azure plans enabled for the customer.
Parameters:
Returns:
withResellers
public CustomerProperties withResellers(List<Reseller> resellers)
Set the resellers property: The list of resellers for which an Azure plan is enabled for the customer.
Parameters:
Returns:
withTags
public CustomerProperties withTags(Map<String,String> tags)
Set the tags property: Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /.
Parameters:
Returns: