azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.a...

150 строки
10 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule"
fullName: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule"
name: "QueueScaleRule"
nameWithType: "QueueScaleRule"
summary: "Container App container Azure Queue based scaling rule."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **QueueScaleRule**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.appcontainers.models.QueueScaleRule?alt=com.azure.resourcemanager.appcontainers.models.QueueScaleRule&text=QueueScaleRule\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.QueueScaleRule()"
fullName: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.QueueScaleRule()"
name: "QueueScaleRule()"
nameWithType: "QueueScaleRule.QueueScaleRule()"
summary: "Creates an instance of Queue<wbr>Scale<wbr>Rule class."
syntax: "public QueueScaleRule()"
desc: "Creates an instance of QueueScaleRule class."
methods:
- uid: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.auth()"
fullName: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.auth()"
name: "auth()"
nameWithType: "QueueScaleRule.auth()"
summary: "Get the auth property: Authentication secrets for the queue scale rule."
syntax: "public List<ScaleRuleAuth> auth()"
desc: "Get the auth property: Authentication secrets for the queue scale rule."
returns:
description: "the auth value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.appcontainers.models.ScaleRuleAuth?alt=com.azure.resourcemanager.appcontainers.models.ScaleRuleAuth&text=ScaleRuleAuth\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "QueueScaleRule.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Queue<wbr>Scale<wbr>Rule from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static QueueScaleRule fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the QueueScaleRule."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of QueueScaleRule from the JsonReader."
returns:
description: "An instance of QueueScaleRule if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.QueueScaleRule?alt=com.azure.resourcemanager.appcontainers.models.QueueScaleRule&text=QueueScaleRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.queueLength()"
fullName: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.queueLength()"
name: "queueLength()"
nameWithType: "QueueScaleRule.queueLength()"
summary: "Get the queue<wbr>Length property: Queue length."
syntax: "public Integer queueLength()"
desc: "Get the queueLength property: Queue length."
returns:
description: "the queueLength value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.queueName()"
fullName: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.queueName()"
name: "queueName()"
nameWithType: "QueueScaleRule.queueName()"
summary: "Get the queue<wbr>Name property: Queue name."
syntax: "public String queueName()"
desc: "Get the queueName property: Queue name."
returns:
description: "the queueName value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "QueueScaleRule.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.validate()"
fullName: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.validate()"
name: "validate()"
nameWithType: "QueueScaleRule.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.withAuth(java.util.List<com.azure.resourcemanager.appcontainers.models.ScaleRuleAuth>)"
fullName: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.withAuth(List<ScaleRuleAuth> auth)"
name: "withAuth(List<ScaleRuleAuth> auth)"
nameWithType: "QueueScaleRule.withAuth(List<ScaleRuleAuth> auth)"
summary: "Set the auth property: Authentication secrets for the queue scale rule."
parameters:
- description: "the auth value to set."
name: "auth"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.appcontainers.models.ScaleRuleAuth?alt=com.azure.resourcemanager.appcontainers.models.ScaleRuleAuth&text=ScaleRuleAuth\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public QueueScaleRule withAuth(List<ScaleRuleAuth> auth)"
desc: "Set the auth property: Authentication secrets for the queue scale rule."
returns:
description: "the QueueScaleRule object itself."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.QueueScaleRule?alt=com.azure.resourcemanager.appcontainers.models.QueueScaleRule&text=QueueScaleRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.withQueueLength(java.lang.Integer)"
fullName: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.withQueueLength(Integer queueLength)"
name: "withQueueLength(Integer queueLength)"
nameWithType: "QueueScaleRule.withQueueLength(Integer queueLength)"
summary: "Set the queue<wbr>Length property: Queue length."
parameters:
- description: "the queueLength value to set."
name: "queueLength"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public QueueScaleRule withQueueLength(Integer queueLength)"
desc: "Set the queueLength property: Queue length."
returns:
description: "the QueueScaleRule object itself."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.QueueScaleRule?alt=com.azure.resourcemanager.appcontainers.models.QueueScaleRule&text=QueueScaleRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.withQueueName(java.lang.String)"
fullName: "com.azure.resourcemanager.appcontainers.models.QueueScaleRule.withQueueName(String queueName)"
name: "withQueueName(String queueName)"
nameWithType: "QueueScaleRule.withQueueName(String queueName)"
summary: "Set the queue<wbr>Name property: Queue name."
parameters:
- description: "the queueName value to set."
name: "queueName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public QueueScaleRule withQueueName(String queueName)"
desc: "Set the queueName property: Queue name."
returns:
description: "the QueueScaleRule object itself."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.QueueScaleRule?alt=com.azure.resourcemanager.appcontainers.models.QueueScaleRule&text=QueueScaleRule\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Container App container Azure Queue based scaling rule."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.appcontainers.models.QueueScaleRule?alt=com.azure.resourcemanager.appcontainers.models.QueueScaleRule&text=QueueScaleRule\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.appcontainers.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-appcontainers:1.0.0