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

198 строки
13 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.appcontainers.models.ScaleRule"
fullName: "com.azure.resourcemanager.appcontainers.models.ScaleRule"
name: "ScaleRule"
nameWithType: "ScaleRule"
summary: "Container App container 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 **ScaleRule**</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.ScaleRule?alt=com.azure.resourcemanager.appcontainers.models.ScaleRule&text=ScaleRule\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.appcontainers.models.ScaleRule.ScaleRule()"
fullName: "com.azure.resourcemanager.appcontainers.models.ScaleRule.ScaleRule()"
name: "ScaleRule()"
nameWithType: "ScaleRule.ScaleRule()"
summary: "Creates an instance of Scale<wbr>Rule class."
syntax: "public ScaleRule()"
desc: "Creates an instance of ScaleRule class."
methods:
- uid: "com.azure.resourcemanager.appcontainers.models.ScaleRule.azureQueue()"
fullName: "com.azure.resourcemanager.appcontainers.models.ScaleRule.azureQueue()"
name: "azureQueue()"
nameWithType: "ScaleRule.azureQueue()"
summary: "Get the azure<wbr>Queue property: Azure Queue based scaling."
syntax: "public QueueScaleRule azureQueue()"
desc: "Get the azureQueue property: Azure Queue based scaling."
returns:
description: "the azureQueue value."
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.ScaleRule.custom()"
fullName: "com.azure.resourcemanager.appcontainers.models.ScaleRule.custom()"
name: "custom()"
nameWithType: "ScaleRule.custom()"
summary: "Get the custom property: Custom scale rule."
syntax: "public CustomScaleRule custom()"
desc: "Get the custom property: Custom scale rule."
returns:
description: "the custom value."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.CustomScaleRule?alt=com.azure.resourcemanager.appcontainers.models.CustomScaleRule&text=CustomScaleRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.ScaleRule.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.appcontainers.models.ScaleRule.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "ScaleRule.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of 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 ScaleRule fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the ScaleRule."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of ScaleRule from the JsonReader."
returns:
description: "An instance of ScaleRule if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.ScaleRule?alt=com.azure.resourcemanager.appcontainers.models.ScaleRule&text=ScaleRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.ScaleRule.http()"
fullName: "com.azure.resourcemanager.appcontainers.models.ScaleRule.http()"
name: "http()"
nameWithType: "ScaleRule.http()"
summary: "Get the http property: HTTP requests based scaling."
syntax: "public HttpScaleRule http()"
desc: "Get the http property: HTTP requests based scaling."
returns:
description: "the http value."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.HttpScaleRule?alt=com.azure.resourcemanager.appcontainers.models.HttpScaleRule&text=HttpScaleRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.ScaleRule.name()"
fullName: "com.azure.resourcemanager.appcontainers.models.ScaleRule.name()"
name: "name()"
nameWithType: "ScaleRule.name()"
summary: "Get the name property: Scale Rule Name."
syntax: "public String name()"
desc: "Get the name property: Scale Rule Name."
returns:
description: "the name value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.appcontainers.models.ScaleRule.tcp()"
fullName: "com.azure.resourcemanager.appcontainers.models.ScaleRule.tcp()"
name: "tcp()"
nameWithType: "ScaleRule.tcp()"
summary: "Get the tcp property: Tcp requests based scaling."
syntax: "public TcpScaleRule tcp()"
desc: "Get the tcp property: Tcp requests based scaling."
returns:
description: "the tcp value."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.TcpScaleRule?alt=com.azure.resourcemanager.appcontainers.models.TcpScaleRule&text=TcpScaleRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.ScaleRule.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.appcontainers.models.ScaleRule.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "ScaleRule.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.ScaleRule.validate()"
fullName: "com.azure.resourcemanager.appcontainers.models.ScaleRule.validate()"
name: "validate()"
nameWithType: "ScaleRule.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.appcontainers.models.ScaleRule.withAzureQueue(com.azure.resourcemanager.appcontainers.models.QueueScaleRule)"
fullName: "com.azure.resourcemanager.appcontainers.models.ScaleRule.withAzureQueue(QueueScaleRule azureQueue)"
name: "withAzureQueue(QueueScaleRule azureQueue)"
nameWithType: "ScaleRule.withAzureQueue(QueueScaleRule azureQueue)"
summary: "Set the azure<wbr>Queue property: Azure Queue based scaling."
parameters:
- description: "the azureQueue value to set."
name: "azureQueue"
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.QueueScaleRule?alt=com.azure.resourcemanager.appcontainers.models.QueueScaleRule&text=QueueScaleRule\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ScaleRule withAzureQueue(QueueScaleRule azureQueue)"
desc: "Set the azureQueue property: Azure Queue based scaling."
returns:
description: "the ScaleRule object itself."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.ScaleRule?alt=com.azure.resourcemanager.appcontainers.models.ScaleRule&text=ScaleRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.ScaleRule.withCustom(com.azure.resourcemanager.appcontainers.models.CustomScaleRule)"
fullName: "com.azure.resourcemanager.appcontainers.models.ScaleRule.withCustom(CustomScaleRule custom)"
name: "withCustom(CustomScaleRule custom)"
nameWithType: "ScaleRule.withCustom(CustomScaleRule custom)"
summary: "Set the custom property: Custom scale rule."
parameters:
- description: "the custom value to set."
name: "custom"
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.CustomScaleRule?alt=com.azure.resourcemanager.appcontainers.models.CustomScaleRule&text=CustomScaleRule\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ScaleRule withCustom(CustomScaleRule custom)"
desc: "Set the custom property: Custom scale rule."
returns:
description: "the ScaleRule object itself."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.ScaleRule?alt=com.azure.resourcemanager.appcontainers.models.ScaleRule&text=ScaleRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.ScaleRule.withHttp(com.azure.resourcemanager.appcontainers.models.HttpScaleRule)"
fullName: "com.azure.resourcemanager.appcontainers.models.ScaleRule.withHttp(HttpScaleRule http)"
name: "withHttp(HttpScaleRule http)"
nameWithType: "ScaleRule.withHttp(HttpScaleRule http)"
summary: "Set the http property: HTTP requests based scaling."
parameters:
- description: "the http value to set."
name: "http"
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.HttpScaleRule?alt=com.azure.resourcemanager.appcontainers.models.HttpScaleRule&text=HttpScaleRule\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ScaleRule withHttp(HttpScaleRule http)"
desc: "Set the http property: HTTP requests based scaling."
returns:
description: "the ScaleRule object itself."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.ScaleRule?alt=com.azure.resourcemanager.appcontainers.models.ScaleRule&text=ScaleRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.ScaleRule.withName(java.lang.String)"
fullName: "com.azure.resourcemanager.appcontainers.models.ScaleRule.withName(String name)"
name: "withName(String name)"
nameWithType: "ScaleRule.withName(String name)"
summary: "Set the name property: Scale Rule Name."
parameters:
- description: "the name value to set."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ScaleRule withName(String name)"
desc: "Set the name property: Scale Rule Name."
returns:
description: "the ScaleRule object itself."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.ScaleRule?alt=com.azure.resourcemanager.appcontainers.models.ScaleRule&text=ScaleRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.ScaleRule.withTcp(com.azure.resourcemanager.appcontainers.models.TcpScaleRule)"
fullName: "com.azure.resourcemanager.appcontainers.models.ScaleRule.withTcp(TcpScaleRule tcp)"
name: "withTcp(TcpScaleRule tcp)"
nameWithType: "ScaleRule.withTcp(TcpScaleRule tcp)"
summary: "Set the tcp property: Tcp requests based scaling."
parameters:
- description: "the tcp value to set."
name: "tcp"
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.TcpScaleRule?alt=com.azure.resourcemanager.appcontainers.models.TcpScaleRule&text=TcpScaleRule\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ScaleRule withTcp(TcpScaleRule tcp)"
desc: "Set the tcp property: Tcp requests based scaling."
returns:
description: "the ScaleRule object itself."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.ScaleRule?alt=com.azure.resourcemanager.appcontainers.models.ScaleRule&text=ScaleRule\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Container App container 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.ScaleRule?alt=com.azure.resourcemanager.appcontainers.models.ScaleRule&text=ScaleRule\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.appcontainers.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-appcontainers:1.0.0