PutAliasRequestProperties Class
- java.
lang. Object - com.
azure. resourcemanager. subscription. models. PutAliasRequestProperties
- com.
Implements
public final class PutAliasRequestProperties
implements JsonSerializable<PutAliasRequestProperties>
Put subscription properties.
Constructor Summary
| Constructor | Description |
|---|---|
| PutAliasRequestProperties() |
Creates an instance of Put |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
billingScope()
Get the billing |
| String |
displayName()
Get the display |
|
static
Put |
fromJson(JsonReader jsonReader)
Reads an instance of Put |
| String |
resellerId()
Get the reseller |
| String |
subscriptionId()
Get the subscription |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Put |
withBillingScope(String billingScope)
Set the billing |
|
Put |
withDisplayName(String displayName)
Set the display |
|
Put |
withResellerId(String resellerId)
Set the reseller |
|
Put |
withSubscriptionId(String subscriptionId)
Set the subscription |
|
Put |
withWorkload(Workload workload)
Set the workload property: The workload type of the subscription. |
| Workload |
workload()
Get the workload property: The workload type of the subscription. |
Methods inherited from java.lang.Object
Constructor Details
PutAliasRequestProperties
public PutAliasRequestProperties()
Creates an instance of PutAliasRequestProperties class.
Method Details
billingScope
public String billingScope()
Get the billingScope property: Determines whether subscription is fieldLed, partnerLed or LegacyEA.
Returns:
displayName
public String displayName()
Get the displayName property: The friendly name of the subscription.
Returns:
fromJson
public static PutAliasRequestProperties fromJson(JsonReader jsonReader)
Reads an instance of PutAliasRequestProperties from the JsonReader.
Parameters:
Returns:
Throws:
resellerId
public String resellerId()
Get the resellerId property: Reseller ID, basically MPN Id.
Returns:
subscriptionId
public String subscriptionId()
Get the subscriptionId property: This parameter can be used to create alias for existing subscription Id.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBillingScope
public PutAliasRequestProperties withBillingScope(String billingScope)
Set the billingScope property: Determines whether subscription is fieldLed, partnerLed or LegacyEA.
Parameters:
Returns:
withDisplayName
public PutAliasRequestProperties withDisplayName(String displayName)
Set the displayName property: The friendly name of the subscription.
Parameters:
Returns:
withResellerId
public PutAliasRequestProperties withResellerId(String resellerId)
Set the resellerId property: Reseller ID, basically MPN Id.
Parameters:
Returns:
withSubscriptionId
public PutAliasRequestProperties withSubscriptionId(String subscriptionId)
Set the subscriptionId property: This parameter can be used to create alias for existing subscription Id.
Parameters:
Returns:
withWorkload
public PutAliasRequestProperties withWorkload(Workload workload)
Set the workload property: The workload type of the subscription. It can be either Production or DevTest.
Parameters:
Returns:
workload
public Workload workload()
Get the workload property: The workload type of the subscription. It can be either Production or DevTest.
Returns: