Delen via


IDefinition Interface

Definition

Container interface for all the definitions that need to be implemented.

public interface IDefinition : Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IBlank, Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithGroup, Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithPremiumSkuCreate, Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithSku, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithSku>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithSku>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithSku>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithSku>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Redis.Fluent.IRedisCache>
type IDefinition = interface
    interface IBlank
    interface IDefinitionWithRegion<IWithGroup>
    interface IWithGroup
    interface IWithGroup<IWithSku>
    interface IWithExistingResourceGroup<IWithSku>
    interface IWithNewResourceGroup<IWithSku>
    interface IWithCreatableResourceGroup<IWithSku>
    interface IWithSku
    interface IWithCreate
    interface ICreatable<IRedisCache>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate>
    interface IWithCreateBeta
    interface IBeta
    interface IWithPremiumSkuCreate
    interface IWithPremiumSkuCreateBeta
Public Interface IDefinition
Implements IBeta, IBlank, ICreatable(Of IRedisCache), IDefinitionWithRegion(Of IWithGroup), IDefinitionWithTags(Of IWithCreate), IWithCreatableResourceGroup(Of IWithSku), IWithExistingResourceGroup(Of IWithSku), IWithGroup, IWithGroup(Of IWithSku), IWithNewResourceGroup(Of IWithSku), IWithPremiumSkuCreate, IWithSku
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
WithBasicSku()

Specifies the Basic sku of the Redis Cache.

(Inherited from IWithSku)
WithBasicSku(Int32)

Specifies the Basic sku of the Redis Cache.

(Inherited from IWithSku)
WithExistingResourceGroup(IResourceGroup)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithExistingResourceGroup(String)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithFirewallRule(IRedisFirewallRule)

Creates Redis cache firewall rule with range of IP addresses permitted to connect to the cache.

(Inherited from IWithCreateBeta)
WithFirewallRule(String, String, String)

Creates Redis cache firewall rule with range of IP addresses permitted to connect to the cache.

(Inherited from IWithCreateBeta)
WithMinimumTlsVersion(TlsVersion)

Requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2').

(Inherited from IWithCreateBeta)
WithNewResourceGroup() (Inherited from IWithNewResourceGroup<T>)
WithNewResourceGroup(ICreatable<IResourceGroup>)

Creates a new resource group to put the resource in, based on the definition specified.

(Inherited from IWithCreatableResourceGroup<T>)
WithNewResourceGroup(String) (Inherited from IWithNewResourceGroup<T>)
WithNonSslPort()

Enables non-ssl Redis server port (6379).

(Inherited from IWithCreate)
WithPatchSchedule(DayOfWeek, Int32, TimeSpan)

Patch schedule on a Premium Cluster Cache.

(Inherited from IWithCreate)
WithPatchSchedule(DayOfWeek, Int32)

Patch schedule on a Premium Cluster Cache.

(Inherited from IWithCreate)
WithPatchSchedule(IList<ScheduleEntry>)

Patch schedule on a Premium Cluster Cache.

(Inherited from IWithCreate)
WithPatchSchedule(ScheduleEntry)

Patch schedule on a Premium Cluster Cache.

(Inherited from IWithCreate)
WithPremiumSku()

Specifies the Premium sku of the Redis Cache.

(Inherited from IWithSku)
WithPremiumSku(Int32)

Specifies the Premium sku of the Redis Cache.

(Inherited from IWithSku)
WithRedisConfiguration(IDictionary<String,String>)

All Redis Settings. Few possible keys: 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.

(Inherited from IWithCreate)
WithRedisConfiguration(String, String)

Specifies Redis Setting. 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.

(Inherited from IWithCreate)
WithRegion(Region)

Specifies the region for the resource.

(Inherited from IDefinitionWithRegion<T>)
WithRegion(String)

Specifies the region for the resource by name.

(Inherited from IDefinitionWithRegion<T>)
WithShardCount(Int32)

The number of shards to be created on a Premium Cluster Cache.

(Inherited from IWithPremiumSkuCreate)
WithStandardSku()

Specifies the Standard Sku of the Redis Cache.

(Inherited from IWithSku)
WithStandardSku(Int32)

Specifies the Standard sku of the Redis Cache.

(Inherited from IWithSku)
WithStaticIP(String)

Sets Redis Cache static IP. Required when deploying a Redis Cache inside an existing Azure Virtual Network.

(Inherited from IWithPremiumSkuCreateBeta)
WithSubnet(IHasId, String)

Assigns the specified subnet to this instance of Redis Cache.

(Inherited from IWithPremiumSkuCreateBeta)
WithSubnet(String)

Assigns the specified subnet to this instance of Redis Cache.

(Inherited from IWithPremiumSkuCreateBeta)
WithTag(String, String)

Adds a tag to the resource.

(Inherited from IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

Specifies tags for the resource as a {@link Map}.

(Inherited from IDefinitionWithTags<T>)

Applies to