azure-docs-sdk-java/legacy/docs-ref-autogen/com.azure.resourcemanager.m...

87 строки
5.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.machinelearningservices.models.Restriction"
fullName: "com.azure.resourcemanager.machinelearningservices.models.Restriction"
name: "Restriction"
nameWithType: "Restriction"
summary: "The restriction because of which SKU cannot be used."
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 **Restriction**"
constructors:
- uid: "com.azure.resourcemanager.machinelearningservices.models.Restriction.Restriction()"
fullName: "com.azure.resourcemanager.machinelearningservices.models.Restriction.Restriction()"
name: "Restriction()"
nameWithType: "Restriction.Restriction()"
syntax: "public Restriction()"
methods:
- uid: "com.azure.resourcemanager.machinelearningservices.models.Restriction.reasonCode()"
fullName: "com.azure.resourcemanager.machinelearningservices.models.Restriction.reasonCode()"
name: "reasonCode()"
nameWithType: "Restriction.reasonCode()"
summary: "Get the reason<wbr>Code property: The reason for the restriction."
syntax: "public ReasonCode reasonCode()"
desc: "Get the reasonCode property: The reason for the restriction."
returns:
description: "the reasonCode value."
type: "<xref href=\"com.azure.resourcemanager.machinelearningservices.models.ReasonCode?alt=com.azure.resourcemanager.machinelearningservices.models.ReasonCode&text=ReasonCode\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.machinelearningservices.models.Restriction.type()"
fullName: "com.azure.resourcemanager.machinelearningservices.models.Restriction.type()"
name: "type()"
nameWithType: "Restriction.type()"
summary: "Get the type property: The type of restrictions."
syntax: "public String type()"
desc: "Get the type property: The type of restrictions. As of now only possible value for this is location."
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.machinelearningservices.models.Restriction.validate()"
fullName: "com.azure.resourcemanager.machinelearningservices.models.Restriction.validate()"
name: "validate()"
nameWithType: "Restriction.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.machinelearningservices.models.Restriction.values()"
fullName: "com.azure.resourcemanager.machinelearningservices.models.Restriction.values()"
name: "values()"
nameWithType: "Restriction.values()"
summary: "Get the values property: The value of restrictions."
syntax: "public List<String> values()"
desc: "Get the values property: The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted."
returns:
description: "the values value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.machinelearningservices.models.Restriction.withReasonCode(com.azure.resourcemanager.machinelearningservices.models.ReasonCode)"
fullName: "com.azure.resourcemanager.machinelearningservices.models.Restriction.withReasonCode(ReasonCode reasonCode)"
name: "withReasonCode(ReasonCode reasonCode)"
nameWithType: "Restriction.withReasonCode(ReasonCode reasonCode)"
summary: "Set the reason<wbr>Code property: The reason for the restriction."
parameters:
- description: "the reasonCode value to set."
name: "reasonCode"
type: "<xref href=\"com.azure.resourcemanager.machinelearningservices.models.ReasonCode?alt=com.azure.resourcemanager.machinelearningservices.models.ReasonCode&text=ReasonCode\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Restriction withReasonCode(ReasonCode reasonCode)"
desc: "Set the reasonCode property: The reason for the restriction."
returns:
description: "the Restriction object itself."
type: "<xref href=\"com.azure.resourcemanager.machinelearningservices.models.Restriction?alt=com.azure.resourcemanager.machinelearningservices.models.Restriction&text=Restriction\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The restriction because of which SKU cannot be used."
metadata: {}
package: "com.azure.resourcemanager.machinelearningservices.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-machinelearningservices:1.0.0-beta.1