ScaleRuleAuth Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ScaleRuleAuth
- com.
Implements
public final class ScaleRuleAuth
implements JsonSerializable<ScaleRuleAuth>
Auth Secrets for Container App Scale Rule.
Constructor Summary
Constructor | Description |
---|---|
ScaleRuleAuth() |
Creates an instance of Scale |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Scale |
fromJson(JsonReader jsonReader)
Reads an instance of Scale |
String |
secretRef()
Get the secret |
Json |
toJson(JsonWriter jsonWriter) |
String |
triggerParameter()
Get the trigger |
void |
validate()
Validates the instance. |
Scale |
withSecretRef(String secretRef)
Set the secret |
Scale |
withTriggerParameter(String triggerParameter)
Set the trigger |
Methods inherited from java.lang.Object
Constructor Details
ScaleRuleAuth
public ScaleRuleAuth()
Creates an instance of ScaleRuleAuth class.
Method Details
fromJson
public static ScaleRuleAuth fromJson(JsonReader jsonReader)
Reads an instance of ScaleRuleAuth from the JsonReader.
Parameters:
Returns:
Throws:
secretRef
public String secretRef()
Get the secretRef property: Name of the Container App secret from which to pull the auth params.
Returns:
toJson
triggerParameter
public String triggerParameter()
Get the triggerParameter property: Trigger Parameter that uses the secret.
Returns:
validate
public void validate()
Validates the instance.
withSecretRef
public ScaleRuleAuth withSecretRef(String secretRef)
Set the secretRef property: Name of the Container App secret from which to pull the auth params.
Parameters:
Returns:
withTriggerParameter
public ScaleRuleAuth withTriggerParameter(String triggerParameter)
Set the triggerParameter property: Trigger Parameter that uses the secret.
Parameters:
Returns:
Applies to
Azure SDK for Java