Class AuthPlatform
java.lang.Object
com.azure.resourcemanager.appcontainers.models.AuthPlatform
The configuration settings of the platform of ContainerApp Service Authentication/Authorization.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionenabled()
Get the enabled property: <code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>.Get the runtimeVersion property: The RuntimeVersion of the Authentication / Authorization feature in use for the current app.void
validate()
Validates the instance.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>.withRuntimeVersion
(String runtimeVersion) Set the runtimeVersion property: The RuntimeVersion of the Authentication / Authorization feature in use for the current app.
-
Constructor Details
-
AuthPlatform
public AuthPlatform()Creates an instance of AuthPlatform class.
-
-
Method Details
-
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
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
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
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-