Class: Azure::Redis::Mgmt::V2017_02_01::Models::RedisUpdateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-02-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb

Overview

Parameters supplied to the Update Redis operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#enable_non_ssl_portBoolean

(6379) is enabled.

Returns:

  • (Boolean)

    Specifies whether the non-ssl Redis server port



22
23
24
# File 'lib/2017-02-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb', line 22

def enable_non_ssl_port
  @enable_non_ssl_port
end

#redis_configurationHash{String => String}

rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc.

Returns:

  • (Hash{String => String})

    All Redis Settings. Few possible keys:



18
19
20
# File 'lib/2017-02-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb', line 18

def redis_configuration
  @redis_configuration
end

#shard_countInteger

Cluster Cache.

Returns:

  • (Integer)

    The number of shards to be created on a Premium



29
30
31
# File 'lib/2017-02-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb', line 29

def shard_count
  @shard_count
end

#skuSku

Returns The SKU of the Redis cache to deploy.

Returns:

  • (Sku)

    The SKU of the Redis cache to deploy.



41
42
43
# File 'lib/2017-02-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb', line 41

def sku
  @sku
end

#static_ipString

cache inside an existing Azure Virtual Network.

Returns:

  • (String)

    Static IP address. Required when deploying a Redis



38
39
40
# File 'lib/2017-02-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb', line 38

def static_ip
  @static_ip
end

#subnet_idString

to deploy the Redis cache in. Example format: /subscriptions/subid/resourceGroups/resourceGroupName/Microsoft.Network|ClassicNetwork/VirtualNetworks/vnet1/subnets/subnet1

Returns:

  • (String)

    The full resource ID of a subnet in a virtual network



34
35
36
# File 'lib/2017-02-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb', line 34

def subnet_id
  @subnet_id
end

#tagsHash{String => String}

Returns Resource tags.

Returns:

  • (Hash{String => String})

    Resource tags.



44
45
46
# File 'lib/2017-02-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb', line 44

def tags
  @tags
end

#tenant_settingsHash{String => String}

Returns tenantSettings.

Returns:

  • (Hash{String => String})

    tenantSettings



25
26
27
# File 'lib/2017-02-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb', line 25

def tenant_settings
  @tenant_settings
end

Class Method Details

.mapperObject

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



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# File 'lib/2017-02-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb', line 51

def self.mapper()
  {
    required: false,
    serialized_name: 'RedisUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'RedisUpdateParameters',
      model_properties: {
        redis_configuration: {
          required: false,
          serialized_name: 'properties.redisConfiguration',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        enable_non_ssl_port: {
          required: false,
          serialized_name: 'properties.enableNonSslPort',
          type: {
            name: 'Boolean'
          }
        },
        tenant_settings: {
          required: false,
          serialized_name: 'properties.tenantSettings',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        shard_count: {
          required: false,
          serialized_name: 'properties.shardCount',
          type: {
            name: 'Number'
          }
        },
        subnet_id: {
          required: false,
          serialized_name: 'properties.subnetId',
          constraints: {
            Pattern: '^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$'
          },
          type: {
            name: 'String'
          }
        },
        static_ip: {
          required: false,
          serialized_name: 'properties.staticIP',
          constraints: {
            Pattern: '^\d+\.\d+\.\d+\.\d+$'
          },
          type: {
            name: 'String'
          }
        },
        sku: {
          required: false,
          serialized_name: 'properties.sku',
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        },
        tags: {
          required: false,
          serialized_name: 'properties.tags',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end