Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::CacheParameters.
Cache Parameters for the volume.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cache_config
def cache_config() -> ::Google::Cloud::NetApp::V1::CacheConfig
Returns
- (::Google::Cloud::NetApp::V1::CacheConfig) — Optional. Configuration of the cache volume.
#cache_config=
def cache_config=(value) -> ::Google::Cloud::NetApp::V1::CacheConfig
Parameter
- value (::Google::Cloud::NetApp::V1::CacheConfig) — Optional. Configuration of the cache volume.
Returns
- (::Google::Cloud::NetApp::V1::CacheConfig) — Optional. Configuration of the cache volume.
#cache_state
def cache_state() -> ::Google::Cloud::NetApp::V1::CacheParameters::CacheState
Returns
- (::Google::Cloud::NetApp::V1::CacheParameters::CacheState) — Output only. State of the cache volume indicating the peering status.
#command
def command() -> ::String
Returns
- (::String) — Output only. Copy-paste-able commands to be used on user's ONTAP to accept peering requests.
#enable_global_file_lock
def enable_global_file_lock() -> ::Boolean
Returns
- (::Boolean) — Optional. Indicates whether the cache volume has global file lock enabled.
#enable_global_file_lock=
def enable_global_file_lock=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Indicates whether the cache volume has global file lock enabled.
Returns
- (::Boolean) — Optional. Indicates whether the cache volume has global file lock enabled.
#passphrase
def passphrase() -> ::String
Returns
- (::String) — Output only. Temporary passphrase generated to accept cluster peering command.
#peer_cluster_name
def peer_cluster_name() -> ::String
Returns
- (::String) — Required. Name of the origin volume's ONTAP cluster.
#peer_cluster_name=
def peer_cluster_name=(value) -> ::String
Parameter
- value (::String) — Required. Name of the origin volume's ONTAP cluster.
Returns
- (::String) — Required. Name of the origin volume's ONTAP cluster.
#peer_ip_addresses
def peer_ip_addresses() -> ::Array<::String>
Returns
- (::Array<::String>) — Required. List of IC LIF addresses of the origin volume's ONTAP cluster.
#peer_ip_addresses=
def peer_ip_addresses=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Required. List of IC LIF addresses of the origin volume's ONTAP cluster.
Returns
- (::Array<::String>) — Required. List of IC LIF addresses of the origin volume's ONTAP cluster.
#peer_svm_name
def peer_svm_name() -> ::String
Returns
- (::String) — Required. Name of the origin volume's SVM.
#peer_svm_name=
def peer_svm_name=(value) -> ::String
Parameter
- value (::String) — Required. Name of the origin volume's SVM.
Returns
- (::String) — Required. Name of the origin volume's SVM.
#peer_volume_name
def peer_volume_name() -> ::String
Returns
- (::String) — Required. Name of the origin volume for the cache volume.
#peer_volume_name=
def peer_volume_name=(value) -> ::String
Parameter
- value (::String) — Required. Name of the origin volume for the cache volume.
Returns
- (::String) — Required. Name of the origin volume for the cache volume.
#peering_command_expiry_time
def peering_command_expiry_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. Expiration time for the peering command to be executed on user's ONTAP.
#peering_command_expiry_time=
def peering_command_expiry_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. Expiration time for the peering command to be executed on user's ONTAP.
Returns
- (::Google::Protobuf::Timestamp) — Optional. Expiration time for the peering command to be executed on user's ONTAP.
#state_details
def state_details() -> ::String
Returns
- (::String) — Output only. Detailed description of the current cache state.