class Azure::StorageCache::Mgmt::V2020_10_01::Models::Cache

A Cache instance. Follows Azure Resource Manager standards: github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md

Attributes

cache_size_gb[RW]

@return [Integer] The size of this Cache, in GB.

directory_services_settings[RW]

@return [CacheDirectorySettings] Specifies Directory Services settings of the cache.

encryption_settings[RW]

@return [CacheEncryptionSettings] Specifies encryption settings of the cache.

health[RW]

@return [CacheHealth] Health of the Cache.

id[RW]

@return [String] Resource ID of the Cache.

identity[RW]

@return [CacheIdentity] The identity of the cache, if configured.

location[RW]

@return [String] Region name string.

mount_addresses[RW]

@return [Array<String>] Array of IP addresses that can be used by clients mounting this Cache.

name[RW]

@return [String] Name of Cache.

network_settings[RW]

@return [CacheNetworkSettings] Specifies network settings of the cache.

provisioning_state[RW]

@return [ProvisioningStateType] ARM provisioning state, see github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property. Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Creating', 'Deleting', 'Updating'

security_settings[RW]

@return [CacheSecuritySettings] Specifies security settings of the cache.

sku[RW]

@return [CacheSku] SKU for the Cache.

subnet[RW]

@return [String] Subnet used for the Cache.

system_data[RW]

@return [SystemData] The system meta data relating to this resource.

tags[RW]

@return ARM tags as name/value pairs.

type[RW]

@return [String] Type of the Cache; Microsoft.StorageCache/Cache

upgrade_status[RW]

@return [CacheUpgradeStatus] Upgrade status of the Cache.

Private Class Methods

mapper() click to toggle source

Mapper for Cache class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache.rb, line 82
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Cache',
    type: {
      name: 'Composite',
      class_name: 'Cache',
      model_properties: {
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Object'
          }
        },
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        identity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'identity',
          type: {
            name: 'Composite',
            class_name: 'CacheIdentity'
          }
        },
        system_data: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'systemData',
          type: {
            name: 'Composite',
            class_name: 'SystemData'
          }
        },
        cache_size_gb: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.cacheSizeGB',
          type: {
            name: 'Number'
          }
        },
        health: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.health',
          type: {
            name: 'Composite',
            class_name: 'CacheHealth'
          }
        },
        mount_addresses: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.mountAddresses',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        subnet: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.subnet',
          type: {
            name: 'String'
          }
        },
        upgrade_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.upgradeStatus',
          type: {
            name: 'Composite',
            class_name: 'CacheUpgradeStatus'
          }
        },
        network_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.networkSettings',
          type: {
            name: 'Composite',
            class_name: 'CacheNetworkSettings'
          }
        },
        encryption_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.encryptionSettings',
          type: {
            name: 'Composite',
            class_name: 'CacheEncryptionSettings'
          }
        },
        security_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.securitySettings',
          type: {
            name: 'Composite',
            class_name: 'CacheSecuritySettings'
          }
        },
        directory_services_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.directoryServicesSettings',
          type: {
            name: 'Composite',
            class_name: 'CacheDirectorySettings'
          }
        },
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'CacheSku'
          }
        }
      }
    }
  }
end