150 строки
11 KiB
YAML
150 строки
11 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.appservice.models.CustomScaleRule"
|
|
fullName: "com.azure.resourcemanager.appservice.models.CustomScaleRule"
|
|
name: "CustomScaleRule"
|
|
nameWithType: "CustomScaleRule"
|
|
summary: "Container App container Custom 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 **CustomScaleRule**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.appservice.models.CustomScaleRule?alt=com.azure.resourcemanager.appservice.models.CustomScaleRule&text=CustomScaleRule\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.appservice.models.CustomScaleRule.CustomScaleRule()"
|
|
fullName: "com.azure.resourcemanager.appservice.models.CustomScaleRule.CustomScaleRule()"
|
|
name: "CustomScaleRule()"
|
|
nameWithType: "CustomScaleRule.CustomScaleRule()"
|
|
summary: "Creates an instance of Custom<wbr>Scale<wbr>Rule class."
|
|
syntax: "public CustomScaleRule()"
|
|
desc: "Creates an instance of CustomScaleRule class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.appservice.models.CustomScaleRule.auth()"
|
|
fullName: "com.azure.resourcemanager.appservice.models.CustomScaleRule.auth()"
|
|
name: "auth()"
|
|
nameWithType: "CustomScaleRule.auth()"
|
|
summary: "Get the auth property: Authentication secrets for the custom scale rule."
|
|
syntax: "public List<ScaleRuleAuth> auth()"
|
|
desc: "Get the auth property: Authentication secrets for the custom scale rule."
|
|
returns:
|
|
description: "the auth value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.appservice.models.ScaleRuleAuth?alt=com.azure.resourcemanager.appservice.models.ScaleRuleAuth&text=ScaleRuleAuth\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.resourcemanager.appservice.models.CustomScaleRule.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.appservice.models.CustomScaleRule.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "CustomScaleRule.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Custom<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 CustomScaleRule fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the CustomScaleRule."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of CustomScaleRule from the JsonReader."
|
|
returns:
|
|
description: "An instance of CustomScaleRule 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.appservice.models.CustomScaleRule?alt=com.azure.resourcemanager.appservice.models.CustomScaleRule&text=CustomScaleRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appservice.models.CustomScaleRule.metadata()"
|
|
fullName: "com.azure.resourcemanager.appservice.models.CustomScaleRule.metadata()"
|
|
name: "metadata()"
|
|
nameWithType: "CustomScaleRule.metadata()"
|
|
summary: "Get the metadata property: Metadata properties to describe custom scale rule."
|
|
syntax: "public Map<String,String> metadata()"
|
|
desc: "Get the metadata property: Metadata properties to describe custom scale rule."
|
|
returns:
|
|
description: "the metadata value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<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>>"
|
|
- uid: "com.azure.resourcemanager.appservice.models.CustomScaleRule.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.appservice.models.CustomScaleRule.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "CustomScaleRule.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.appservice.models.CustomScaleRule.type()"
|
|
fullName: "com.azure.resourcemanager.appservice.models.CustomScaleRule.type()"
|
|
name: "type()"
|
|
nameWithType: "CustomScaleRule.type()"
|
|
summary: "Get the type property: Type of the custom scale rule eg: azure-servicebus, redis etc."
|
|
syntax: "public String type()"
|
|
desc: "Get the type property: Type of the custom scale rule eg: azure-servicebus, redis etc."
|
|
returns:
|
|
description: "the type value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.appservice.models.CustomScaleRule.validate()"
|
|
fullName: "com.azure.resourcemanager.appservice.models.CustomScaleRule.validate()"
|
|
name: "validate()"
|
|
nameWithType: "CustomScaleRule.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.appservice.models.CustomScaleRule.withAuth(java.util.List<com.azure.resourcemanager.appservice.models.ScaleRuleAuth>)"
|
|
fullName: "com.azure.resourcemanager.appservice.models.CustomScaleRule.withAuth(List<ScaleRuleAuth> auth)"
|
|
name: "withAuth(List<ScaleRuleAuth> auth)"
|
|
nameWithType: "CustomScaleRule.withAuth(List<ScaleRuleAuth> auth)"
|
|
summary: "Set the auth property: Authentication secrets for the custom 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><<xref href=\"com.azure.resourcemanager.appservice.models.ScaleRuleAuth?alt=com.azure.resourcemanager.appservice.models.ScaleRuleAuth&text=ScaleRuleAuth\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public CustomScaleRule withAuth(List<ScaleRuleAuth> auth)"
|
|
desc: "Set the auth property: Authentication secrets for the custom scale rule."
|
|
returns:
|
|
description: "the CustomScaleRule object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.appservice.models.CustomScaleRule?alt=com.azure.resourcemanager.appservice.models.CustomScaleRule&text=CustomScaleRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appservice.models.CustomScaleRule.withMetadata(java.util.Map<java.lang.String,java.lang.String>)"
|
|
fullName: "com.azure.resourcemanager.appservice.models.CustomScaleRule.withMetadata(Map<String,String> metadata)"
|
|
name: "withMetadata(Map<String,String> metadata)"
|
|
nameWithType: "CustomScaleRule.withMetadata(Map<String,String> metadata)"
|
|
summary: "Set the metadata property: Metadata properties to describe custom 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><<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>>"
|
|
syntax: "public CustomScaleRule withMetadata(Map<String,String> metadata)"
|
|
desc: "Set the metadata property: Metadata properties to describe custom scale rule."
|
|
returns:
|
|
description: "the CustomScaleRule object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.appservice.models.CustomScaleRule?alt=com.azure.resourcemanager.appservice.models.CustomScaleRule&text=CustomScaleRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.appservice.models.CustomScaleRule.withType(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.appservice.models.CustomScaleRule.withType(String type)"
|
|
name: "withType(String type)"
|
|
nameWithType: "CustomScaleRule.withType(String type)"
|
|
summary: "Set the type property: Type of the custom scale rule eg: azure-servicebus, redis etc."
|
|
parameters:
|
|
- description: "the type value to set."
|
|
name: "type"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public CustomScaleRule withType(String type)"
|
|
desc: "Set the type property: Type of the custom scale rule eg: azure-servicebus, redis etc."
|
|
returns:
|
|
description: "the CustomScaleRule object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.appservice.models.CustomScaleRule?alt=com.azure.resourcemanager.appservice.models.CustomScaleRule&text=CustomScaleRule\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Container App container Custom scaling rule."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.appservice.models.CustomScaleRule?alt=com.azure.resourcemanager.appservice.models.CustomScaleRule&text=CustomScaleRule\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.appservice.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-appservice:2.44.0
|