Uses of Class
com.azure.resourcemanager.containerregistry.models.TrustPolicy
Packages that use TrustPolicy
Package
Description
Package containing the data models for ContainerRegistryManagementClient.
-
Uses of TrustPolicy in com.azure.resourcemanager.containerregistry.models
Methods in com.azure.resourcemanager.containerregistry.models that return TrustPolicyModifier and TypeMethodDescriptionstatic TrustPolicyTrustPolicy.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TrustPolicy from the JsonReader.Policies.trustPolicy()Get the trustPolicy property: The content trust policy for a container registry.TrustPolicy.withStatus(PolicyStatus status) Set the status property: The value that indicates whether the policy is enabled or not.TrustPolicy.withType(TrustPolicyType type) Set the type property: The type of trust policy.Methods in com.azure.resourcemanager.containerregistry.models with parameters of type TrustPolicyModifier and TypeMethodDescriptionPolicies.withTrustPolicy(TrustPolicy trustPolicy) Set the trustPolicy property: The content trust policy for a container registry.