Class AuthPlatform
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.AuthPlatform
-
public final class AuthPlatform extends Object
The configuration settings of the platform of App Service Authentication/Authorization.
-
-
Constructor Summary
Constructors Constructor Description AuthPlatform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringconfigFilePath()Get the configFilePath property: The path of the config file containing auth settings if they come from a file.Booleanenabled()Get the enabled property: <code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>.StringruntimeVersion()Get the runtimeVersion property: The RuntimeVersion of the Authentication / Authorization feature in use for the current app.voidvalidate()Validates the instance.AuthPlatformwithConfigFilePath(String configFilePath)Set the configFilePath property: The path of the config file containing auth settings if they come from a file.AuthPlatformwithEnabled(Boolean enabled)Set the enabled property: <code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>.AuthPlatformwithRuntimeVersion(String runtimeVersion)Set the runtimeVersion property: The RuntimeVersion of the Authentication / Authorization feature in use for the current app.
-
-
-
Method Detail
-
enabled
public Boolean enabled()
Get the enabled property: <code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>.- Returns:
- the enabled value.
-
withEnabled
public AuthPlatform withEnabled(Boolean enabled)
Set the enabled property: <code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>.- Parameters:
enabled- the enabled value to set.- Returns:
- the AuthPlatform object itself.
-
runtimeVersion
public String runtimeVersion()
Get the runtimeVersion property: The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.- Returns:
- the runtimeVersion value.
-
withRuntimeVersion
public AuthPlatform withRuntimeVersion(String runtimeVersion)
Set the runtimeVersion property: The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.- Parameters:
runtimeVersion- the runtimeVersion value to set.- Returns:
- the AuthPlatform object itself.
-
configFilePath
public String configFilePath()
Get the configFilePath property: The path of the config file containing auth settings if they come from a file. If the path is relative, base will the site's root directory.- Returns:
- the configFilePath value.
-
withConfigFilePath
public AuthPlatform withConfigFilePath(String configFilePath)
Set the configFilePath property: The path of the config file containing auth settings if they come from a file. If the path is relative, base will the site's root directory.- Parameters:
configFilePath- the configFilePath value to set.- Returns:
- the AuthPlatform object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-