Class ScaleRuleAuth
java.lang.Object
com.azure.resourcemanager.appservice.models.ScaleRuleAuth
Auth Secrets for Container App Scale Rule.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the secretRef property: Name of the Container App secret from which to pull the auth params.Get the triggerParameter property: Trigger Parameter that uses the secret.void
validate()
Validates the instance.withSecretRef
(String secretRef) Set the secretRef property: Name of the Container App secret from which to pull the auth params.withTriggerParameter
(String triggerParameter) Set the triggerParameter property: Trigger Parameter that uses the secret.
-
Constructor Details
-
ScaleRuleAuth
public ScaleRuleAuth()
-
-
Method Details
-
secretRef
Get the secretRef property: Name of the Container App secret from which to pull the auth params.- Returns:
- the secretRef value.
-
withSecretRef
Set the secretRef property: Name of the Container App secret from which to pull the auth params.- Parameters:
secretRef
- the secretRef value to set.- Returns:
- the ScaleRuleAuth object itself.
-
triggerParameter
Get the triggerParameter property: Trigger Parameter that uses the secret.- Returns:
- the triggerParameter value.
-
withTriggerParameter
Set the triggerParameter property: Trigger Parameter that uses the secret.- Parameters:
triggerParameter
- the triggerParameter value to set.- Returns:
- the ScaleRuleAuth object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-