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

84 строки
6.1 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.containerregistry.TrustPolicy"
fullName: "com.microsoft.azure.management.containerregistry.TrustPolicy"
name: "TrustPolicy"
nameWithType: "TrustPolicy"
summary: "An object that represents content trust policy for a container registry."
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 **TrustPolicy**"
constructors:
- uid: "com.microsoft.azure.management.containerregistry.TrustPolicy.TrustPolicy()"
fullName: "com.microsoft.azure.management.containerregistry.TrustPolicy.TrustPolicy()"
name: "TrustPolicy()"
nameWithType: "TrustPolicy.TrustPolicy()"
syntax: "public TrustPolicy()"
methods:
- uid: "com.microsoft.azure.management.containerregistry.TrustPolicy.status()"
fullName: "com.microsoft.azure.management.containerregistry.TrustPolicy.status()"
name: "status()"
nameWithType: "TrustPolicy.status()"
summary: "Get the value that indicates whether the policy is enabled or not."
syntax: "public PolicyStatus status()"
desc: "Get the value that indicates whether the policy is enabled or not. Possible values include: 'enabled', 'disabled'."
returns:
description: "the status value"
type: "<xref href=\"com.microsoft.azure.management.containerregistry.PolicyStatus?alt=com.microsoft.azure.management.containerregistry.PolicyStatus&text=PolicyStatus\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerregistry.TrustPolicy.type()"
fullName: "com.microsoft.azure.management.containerregistry.TrustPolicy.type()"
name: "type()"
nameWithType: "TrustPolicy.type()"
summary: "Get the type of trust policy."
syntax: "public TrustPolicyType type()"
desc: "Get the type of trust policy. Possible values include: 'Notary'."
returns:
description: "the type value"
type: "<xref href=\"com.microsoft.azure.management.containerregistry.TrustPolicyType?alt=com.microsoft.azure.management.containerregistry.TrustPolicyType&text=TrustPolicyType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerregistry.TrustPolicy.withStatus(com.microsoft.azure.management.containerregistry.PolicyStatus)"
fullName: "com.microsoft.azure.management.containerregistry.TrustPolicy.withStatus(PolicyStatus status)"
name: "withStatus(PolicyStatus status)"
nameWithType: "TrustPolicy.withStatus(PolicyStatus status)"
summary: "Set the value that indicates whether the policy is enabled or not."
parameters:
- description: "the status value to set"
name: "status"
type: "<xref href=\"com.microsoft.azure.management.containerregistry.PolicyStatus?alt=com.microsoft.azure.management.containerregistry.PolicyStatus&text=PolicyStatus\" data-throw-if-not-resolved=\"False\" />"
syntax: "public TrustPolicy withStatus(PolicyStatus status)"
desc: "Set the value that indicates whether the policy is enabled or not. Possible values include: 'enabled', 'disabled'."
returns:
description: "the TrustPolicy object itself."
type: "<xref href=\"com.microsoft.azure.management.containerregistry.TrustPolicy?alt=com.microsoft.azure.management.containerregistry.TrustPolicy&text=TrustPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.containerregistry.TrustPolicy.withType(com.microsoft.azure.management.containerregistry.TrustPolicyType)"
fullName: "com.microsoft.azure.management.containerregistry.TrustPolicy.withType(TrustPolicyType type)"
name: "withType(TrustPolicyType type)"
nameWithType: "TrustPolicy.withType(TrustPolicyType type)"
summary: "Set the type of trust policy."
parameters:
- description: "the type value to set"
name: "type"
type: "<xref href=\"com.microsoft.azure.management.containerregistry.TrustPolicyType?alt=com.microsoft.azure.management.containerregistry.TrustPolicyType&text=TrustPolicyType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public TrustPolicy withType(TrustPolicyType type)"
desc: "Set the type of trust policy. Possible values include: 'Notary'."
returns:
description: "the TrustPolicy object itself."
type: "<xref href=\"com.microsoft.azure.management.containerregistry.TrustPolicy?alt=com.microsoft.azure.management.containerregistry.TrustPolicy&text=TrustPolicy\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "An object that represents content trust policy for a container registry."
metadata: {}
package: "com.microsoft.azure.management.containerregistry"
artifact: com.microsoft.azure:azure-mgmt-containerregistry:1.41.4