# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::RecoveryServices::Mgmt::V2016_06_01 module Models # # Properties of the vault. # class VaultProperties include MsRestAzure # @return [String] Provisioning State. attr_accessor :provisioning_state # @return [UpgradeDetails] attr_accessor :upgrade_details # @return [Array] List of # private endpoint connection. attr_accessor :private_endpoint_connections # @return [VaultPrivateEndpointState] Private endpoint state for backup. # Possible values include: 'None', 'Enabled' attr_accessor :private_endpoint_state_for_backup # @return [VaultPrivateEndpointState] Private endpoint state for site # recovery. Possible values include: 'None', 'Enabled' attr_accessor :private_endpoint_state_for_site_recovery # # Mapper for VaultProperties class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VaultProperties', type: { name: 'Composite', class_name: 'VaultProperties', model_properties: { provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'provisioningState', type: { name: 'String' } }, upgrade_details: { client_side_validation: true, required: false, serialized_name: 'upgradeDetails', type: { name: 'Composite', class_name: 'UpgradeDetails' } }, private_endpoint_connections: { client_side_validation: true, required: false, read_only: true, serialized_name: 'privateEndpointConnections', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'PrivateEndpointConnectionVaultPropertiesElementType', type: { name: 'Composite', class_name: 'PrivateEndpointConnectionVaultProperties' } } } }, private_endpoint_state_for_backup: { client_side_validation: true, required: false, read_only: true, serialized_name: 'privateEndpointStateForBackup', type: { name: 'String' } }, private_endpoint_state_for_site_recovery: { client_side_validation: true, required: false, read_only: true, serialized_name: 'privateEndpointStateForSiteRecovery', type: { name: 'String' } } } } } end end end end