azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

80 строки
5.8 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.storage.Restriction"
fullName: "com.microsoft.azure.management.storage.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: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **Restriction**"
constructors:
- uid: "com.microsoft.azure.management.storage.Restriction.Restriction()"
fullName: "com.microsoft.azure.management.storage.Restriction.Restriction()"
name: "Restriction()"
nameWithType: "Restriction.Restriction()"
syntax: "public Restriction()"
methods:
- uid: "com.microsoft.azure.management.storage.Restriction.reasonCode()"
fullName: "com.microsoft.azure.management.storage.Restriction.reasonCode()"
name: "reasonCode()"
nameWithType: "Restriction.reasonCode()"
summary: "Get the reason for the restriction."
syntax: "public ReasonCode reasonCode()"
desc: "Get the reason for the restriction. As of now this can be \"QuotaId\" or \"NotAvailableForSubscription\". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The \"NotAvailableForSubscription\" is related to capacity at DC. Possible values include: 'QuotaId', 'NotAvailableForSubscription'."
returns:
description: "the reasonCode value"
type: "<xref href=\"com.microsoft.azure.management.storage.ReasonCode?alt=com.microsoft.azure.management.storage.ReasonCode&text=ReasonCode\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.storage.Restriction.type()"
fullName: "com.microsoft.azure.management.storage.Restriction.type()"
name: "type()"
nameWithType: "Restriction.type()"
summary: "Get the type of restrictions."
syntax: "public String type()"
desc: "Get the type of restrictions. As of now only possible value for this is location."
returns:
description: "the type value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.storage.Restriction.values()"
fullName: "com.microsoft.azure.management.storage.Restriction.values()"
name: "values()"
nameWithType: "Restriction.values()"
summary: "Get the value of restrictions."
syntax: "public List<String> values()"
desc: "Get 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: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.storage.Restriction.withReasonCode(com.microsoft.azure.management.storage.ReasonCode)"
fullName: "com.microsoft.azure.management.storage.Restriction.withReasonCode(ReasonCode reasonCode)"
name: "withReasonCode(ReasonCode reasonCode)"
nameWithType: "Restriction.withReasonCode(ReasonCode reasonCode)"
summary: "Set the reason for the restriction."
parameters:
- description: "the reasonCode value to set"
name: "reasonCode"
type: "<xref href=\"com.microsoft.azure.management.storage.ReasonCode?alt=com.microsoft.azure.management.storage.ReasonCode&text=ReasonCode\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Restriction withReasonCode(ReasonCode reasonCode)"
desc: "Set the reason for the restriction. As of now this can be \"QuotaId\" or \"NotAvailableForSubscription\". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The \"NotAvailableForSubscription\" is related to capacity at DC. Possible values include: 'QuotaId', 'NotAvailableForSubscription'."
returns:
description: "the Restriction object itself."
type: "<xref href=\"com.microsoft.azure.management.storage.Restriction?alt=com.microsoft.azure.management.storage.Restriction&text=Restriction\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The restriction because of which SKU cannot be used."
metadata: {}
package: "com.microsoft.azure.management.storage"
artifact: com.microsoft.azure:azure-mgmt-storage:1.41.4