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

126 строки
9.4 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.appcontainers.models.TcpScaleRule"
fullName: "com.azure.resourcemanager.appcontainers.models.TcpScaleRule"
name: "TcpScaleRule"
nameWithType: "TcpScaleRule"
summary: "Container App container Tcp 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 **TcpScaleRule**</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.TcpScaleRule?alt=com.azure.resourcemanager.appcontainers.models.TcpScaleRule&text=TcpScaleRule\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.appcontainers.models.TcpScaleRule.TcpScaleRule()"
fullName: "com.azure.resourcemanager.appcontainers.models.TcpScaleRule.TcpScaleRule()"
name: "TcpScaleRule()"
nameWithType: "TcpScaleRule.TcpScaleRule()"
summary: "Creates an instance of Tcp<wbr>Scale<wbr>Rule class."
syntax: "public TcpScaleRule()"
desc: "Creates an instance of TcpScaleRule class."
methods:
- uid: "com.azure.resourcemanager.appcontainers.models.TcpScaleRule.auth()"
fullName: "com.azure.resourcemanager.appcontainers.models.TcpScaleRule.auth()"
name: "auth()"
nameWithType: "TcpScaleRule.auth()"
summary: "Get the auth property: Authentication secrets for the tcp scale rule."
syntax: "public List<ScaleRuleAuth> auth()"
desc: "Get the auth property: Authentication secrets for the tcp 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.TcpScaleRule.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.appcontainers.models.TcpScaleRule.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "TcpScaleRule.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Tcp<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 TcpScaleRule fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the TcpScaleRule."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of TcpScaleRule from the JsonReader."
returns:
description: "An instance of TcpScaleRule 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.TcpScaleRule?alt=com.azure.resourcemanager.appcontainers.models.TcpScaleRule&text=TcpScaleRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appcontainers.models.TcpScaleRule.metadata()"
fullName: "com.azure.resourcemanager.appcontainers.models.TcpScaleRule.metadata()"
name: "metadata()"
nameWithType: "TcpScaleRule.metadata()"
summary: "Get the metadata property: Metadata properties to describe tcp scale rule."
syntax: "public Map<String,String> metadata()"
desc: "Get the metadata property: Metadata properties to describe tcp scale rule."
returns:
description: "the metadata value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.appcontainers.models.TcpScaleRule.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.appcontainers.models.TcpScaleRule.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "TcpScaleRule.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.TcpScaleRule.validate()"
fullName: "com.azure.resourcemanager.appcontainers.models.TcpScaleRule.validate()"
name: "validate()"
nameWithType: "TcpScaleRule.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.appcontainers.models.TcpScaleRule.withAuth(java.util.List<com.azure.resourcemanager.appcontainers.models.ScaleRuleAuth>)"
fullName: "com.azure.resourcemanager.appcontainers.models.TcpScaleRule.withAuth(List<ScaleRuleAuth> auth)"
name: "withAuth(List<ScaleRuleAuth> auth)"
nameWithType: "TcpScaleRule.withAuth(List<ScaleRuleAuth> auth)"
summary: "Set the auth property: Authentication secrets for the tcp 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 TcpScaleRule withAuth(List<ScaleRuleAuth> auth)"
desc: "Set the auth property: Authentication secrets for the tcp scale rule."
returns:
description: "the TcpScaleRule object itself."
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.TcpScaleRule.withMetadata(java.util.Map<java.lang.String,java.lang.String>)"
fullName: "com.azure.resourcemanager.appcontainers.models.TcpScaleRule.withMetadata(Map<String,String> metadata)"
name: "withMetadata(Map<String,String> metadata)"
nameWithType: "TcpScaleRule.withMetadata(Map<String,String> metadata)"
summary: "Set the metadata property: Metadata properties to describe tcp scale rule."
parameters:
- description: "the metadata value to set."
name: "metadata"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public TcpScaleRule withMetadata(Map<String,String> metadata)"
desc: "Set the metadata property: Metadata properties to describe tcp scale rule."
returns:
description: "the TcpScaleRule object itself."
type: "<xref href=\"com.azure.resourcemanager.appcontainers.models.TcpScaleRule?alt=com.azure.resourcemanager.appcontainers.models.TcpScaleRule&text=TcpScaleRule\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Container App container Tcp 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.TcpScaleRule?alt=com.azure.resourcemanager.appcontainers.models.TcpScaleRule&text=TcpScaleRule\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.appcontainers.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-appcontainers:1.0.0