class Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicy
An object that represents content trust policy for a container registry.
Attributes
status[RW]
@return [PolicyStatus] The value that indicates whether the policy is enabled or not. Possible values include: 'enabled', 'disabled'
type[RW]
@return [TrustPolicyType] The type of trust policy. Possible values include: 'Notary'
Public Class Methods
mapper()
click to toggle source
Mapper for TrustPolicy
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-10-01/generated/azure_mgmt_container_registry/models/trust_policy.rb, line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TrustPolicy', type: { name: 'Composite', class_name: 'TrustPolicy', model_properties: { type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } }, status: { client_side_validation: true, required: false, serialized_name: 'status', type: { name: 'String' } } } } } end