Class PutAliasRequestProperties
java.lang.Object
com.azure.resourcemanager.subscription.models.PutAliasRequestProperties
Put subscription properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PutAliasRequestProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the billingScope property: Determines whether subscription is fieldLed, partnerLed or LegacyEA.Get the displayName property: The friendly name of the subscription.Get the resellerId property: Reseller ID, basically MPN Id.Get the subscriptionId property: This parameter can be used to create alias for existing subscription Id.void
validate()
Validates the instance.withBillingScope
(String billingScope) Set the billingScope property: Determines whether subscription is fieldLed, partnerLed or LegacyEA.withDisplayName
(String displayName) Set the displayName property: The friendly name of the subscription.withResellerId
(String resellerId) Set the resellerId property: Reseller ID, basically MPN Id.withSubscriptionId
(String subscriptionId) Set the subscriptionId property: This parameter can be used to create alias for existing subscription Id.withWorkload
(Workload workload) Set the workload property: The workload type of the subscription.workload()
Get the workload property: The workload type of the subscription.
-
Constructor Details
-
PutAliasRequestProperties
public PutAliasRequestProperties()Creates an instance of PutAliasRequestProperties class.
-
-
Method Details
-
displayName
Get the displayName property: The friendly name of the subscription.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The friendly name of the subscription.- Parameters:
displayName
- the displayName value to set.- Returns:
- the PutAliasRequestProperties object itself.
-
workload
Get the workload property: The workload type of the subscription. It can be either Production or DevTest.- Returns:
- the workload value.
-
withWorkload
Set the workload property: The workload type of the subscription. It can be either Production or DevTest.- Parameters:
workload
- the workload value to set.- Returns:
- the PutAliasRequestProperties object itself.
-
billingScope
Get the billingScope property: Determines whether subscription is fieldLed, partnerLed or LegacyEA.- Returns:
- the billingScope value.
-
withBillingScope
Set the billingScope property: Determines whether subscription is fieldLed, partnerLed or LegacyEA.- Parameters:
billingScope
- the billingScope value to set.- Returns:
- the PutAliasRequestProperties object itself.
-
subscriptionId
Get the subscriptionId property: This parameter can be used to create alias for existing subscription Id.- Returns:
- the subscriptionId value.
-
withSubscriptionId
Set the subscriptionId property: This parameter can be used to create alias for existing subscription Id.- Parameters:
subscriptionId
- the subscriptionId value to set.- Returns:
- the PutAliasRequestProperties object itself.
-
resellerId
Get the resellerId property: Reseller ID, basically MPN Id.- Returns:
- the resellerId value.
-
withResellerId
Set the resellerId property: Reseller ID, basically MPN Id.- Parameters:
resellerId
- the resellerId value to set.- Returns:
- the PutAliasRequestProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-