Class PortalDelegationSettingsInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.apimanagement.fluent.models.PortalDelegationSettingsInner
-
public final class PortalDelegationSettingsInner extends com.azure.core.management.ProxyResource
Delegation settings for a developer portal.
-
-
Constructor Summary
Constructors Constructor Description PortalDelegationSettingsInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionsDelegationSettingsProperties
subscriptions()
Get the subscriptions property: Subscriptions delegation settings.String
url()
Get the url property: A delegation Url.RegistrationDelegationSettingsProperties
userRegistration()
Get the userRegistration property: User registration delegation settings.void
validate()
Validates the instance.String
validationKey()
Get the validationKey property: A base64-encoded validation key to validate, that a request is coming from Azure API Management.PortalDelegationSettingsInner
withSubscriptions(SubscriptionsDelegationSettingsProperties subscriptions)
Set the subscriptions property: Subscriptions delegation settings.PortalDelegationSettingsInner
withUrl(String url)
Set the url property: A delegation Url.PortalDelegationSettingsInner
withUserRegistration(RegistrationDelegationSettingsProperties userRegistration)
Set the userRegistration property: User registration delegation settings.PortalDelegationSettingsInner
withValidationKey(String validationKey)
Set the validationKey property: A base64-encoded validation key to validate, that a request is coming from Azure API Management.
-
-
-
Method Detail
-
url
public String url()
Get the url property: A delegation Url.- Returns:
- the url value.
-
withUrl
public PortalDelegationSettingsInner withUrl(String url)
Set the url property: A delegation Url.- Parameters:
url
- the url value to set.- Returns:
- the PortalDelegationSettingsInner object itself.
-
validationKey
public String validationKey()
Get the validationKey property: A base64-encoded validation key to validate, that a request is coming from Azure API Management.- Returns:
- the validationKey value.
-
withValidationKey
public PortalDelegationSettingsInner withValidationKey(String validationKey)
Set the validationKey property: A base64-encoded validation key to validate, that a request is coming from Azure API Management.- Parameters:
validationKey
- the validationKey value to set.- Returns:
- the PortalDelegationSettingsInner object itself.
-
subscriptions
public SubscriptionsDelegationSettingsProperties subscriptions()
Get the subscriptions property: Subscriptions delegation settings.- Returns:
- the subscriptions value.
-
withSubscriptions
public PortalDelegationSettingsInner withSubscriptions(SubscriptionsDelegationSettingsProperties subscriptions)
Set the subscriptions property: Subscriptions delegation settings.- Parameters:
subscriptions
- the subscriptions value to set.- Returns:
- the PortalDelegationSettingsInner object itself.
-
userRegistration
public RegistrationDelegationSettingsProperties userRegistration()
Get the userRegistration property: User registration delegation settings.- Returns:
- the userRegistration value.
-
withUserRegistration
public PortalDelegationSettingsInner withUserRegistration(RegistrationDelegationSettingsProperties userRegistration)
Set the userRegistration property: User registration delegation settings.- Parameters:
userRegistration
- the userRegistration value to set.- Returns:
- the PortalDelegationSettingsInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-