redis

package
v0.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

Manages a Redis Cache.

func GetCache

func GetCache(ctx *pulumi.Context,
	name string, id pulumi.ID, state *CacheState, opts ...pulumi.ResourceOpt) (*Cache, error)

GetCache gets an existing Cache resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCache

func NewCache(ctx *pulumi.Context,
	name string, args *CacheArgs, opts ...pulumi.ResourceOpt) (*Cache, error)

NewCache registers a new resource with the given unique name, arguments, and options.

func (*Cache) Capacity

func (r *Cache) Capacity() *pulumi.IntOutput

The size of the Redis cache to deploy. Valid values for a SKU `family` of C (Basic/Standard) are `0, 1, 2, 3, 4, 5, 6`, and for P (Premium) `family` are `1, 2, 3, 4`.

func (*Cache) EnableNonSslPort

func (r *Cache) EnableNonSslPort() *pulumi.BoolOutput

Enable the non-SSL port (6789) - disabled by default.

func (*Cache) Family

func (r *Cache) Family() *pulumi.StringOutput

The SKU family to use. Valid values are `C` and `P`, where C = Basic/Standard, P = Premium.

func (*Cache) Hostname

func (r *Cache) Hostname() *pulumi.StringOutput

The Hostname of the Redis Instance

func (*Cache) ID

func (r *Cache) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Cache) Location

func (r *Cache) Location() *pulumi.StringOutput

The location of the resource group.

func (*Cache) Name

func (r *Cache) Name() *pulumi.StringOutput

The name of the Redis instance. Changing this forces a new resource to be created.

func (*Cache) PatchSchedules

func (r *Cache) PatchSchedules() *pulumi.ArrayOutput

A list of `patch_schedule` blocks as defined below - only available for Premium SKU's.

func (*Cache) Port

func (r *Cache) Port() *pulumi.IntOutput

The non-SSL Port of the Redis Instance

func (*Cache) PrimaryAccessKey

func (r *Cache) PrimaryAccessKey() *pulumi.StringOutput

The Primary Access Key for the Redis Instance

func (*Cache) PrivateStaticIpAddress

func (r *Cache) PrivateStaticIpAddress() *pulumi.StringOutput

The Static IP Address to assign to the Redis Cache when hosted inside the Virtual Network. Changing this forces a new resource to be created.

func (*Cache) RedisConfiguration

func (r *Cache) RedisConfiguration() *pulumi.Output

A `redis_configuration` as defined below - with some limitations by SKU - defaults/details are shown below.

func (*Cache) ResourceGroupName

func (r *Cache) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which to create the Redis instance.

func (*Cache) SecondaryAccessKey

func (r *Cache) SecondaryAccessKey() *pulumi.StringOutput

The Secondary Access Key for the Redis Instance

func (*Cache) ShardCount

func (r *Cache) ShardCount() *pulumi.IntOutput

*Only available when using the Premium SKU* The number of Shards to create on the Redis Cluster.

func (*Cache) SkuName

func (r *Cache) SkuName() *pulumi.StringOutput

The SKU of Redis to use - can be either Basic, Standard or Premium.

func (*Cache) SslPort

func (r *Cache) SslPort() *pulumi.IntOutput

The SSL Port of the Redis Instance

func (*Cache) SubnetId

func (r *Cache) SubnetId() *pulumi.StringOutput

The ID of the Subnet within which the Redis Cache should be deployed. Changing this forces a new resource to be created.

func (*Cache) Tags

func (r *Cache) Tags() *pulumi.MapOutput

func (*Cache) URN

func (r *Cache) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type CacheArgs

type CacheArgs struct {
	// The size of the Redis cache to deploy. Valid values for a SKU `family` of C (Basic/Standard) are `0, 1, 2, 3, 4, 5, 6`, and for P (Premium) `family` are `1, 2, 3, 4`.
	Capacity interface{}
	// Enable the non-SSL port (6789) - disabled by default.
	EnableNonSslPort interface{}
	// The SKU family to use. Valid values are `C` and `P`, where C = Basic/Standard, P = Premium.
	Family interface{}
	// The location of the resource group.
	Location interface{}
	// The name of the Redis instance. Changing this forces a
	// new resource to be created.
	Name interface{}
	// A list of `patch_schedule` blocks as defined below - only available for Premium SKU's.
	PatchSchedules interface{}
	// The Static IP Address to assign to the Redis Cache when hosted inside the Virtual Network. Changing this forces a new resource to be created.
	PrivateStaticIpAddress interface{}
	// A `redis_configuration` as defined below - with some limitations by SKU - defaults/details are shown below.
	RedisConfiguration interface{}
	// The name of the resource group in which to
	// create the Redis instance.
	ResourceGroupName interface{}
	// *Only available when using the Premium SKU* The number of Shards to create on the Redis Cluster.
	ShardCount interface{}
	// The SKU of Redis to use - can be either Basic, Standard or Premium.
	SkuName interface{}
	// The ID of the Subnet within which the Redis Cache should be deployed. Changing this forces a new resource to be created.
	SubnetId interface{}
	Tags     interface{}
}

The set of arguments for constructing a Cache resource.

type CacheState

type CacheState struct {
	// The size of the Redis cache to deploy. Valid values for a SKU `family` of C (Basic/Standard) are `0, 1, 2, 3, 4, 5, 6`, and for P (Premium) `family` are `1, 2, 3, 4`.
	Capacity interface{}
	// Enable the non-SSL port (6789) - disabled by default.
	EnableNonSslPort interface{}
	// The SKU family to use. Valid values are `C` and `P`, where C = Basic/Standard, P = Premium.
	Family interface{}
	// The Hostname of the Redis Instance
	Hostname interface{}
	// The location of the resource group.
	Location interface{}
	// The name of the Redis instance. Changing this forces a
	// new resource to be created.
	Name interface{}
	// A list of `patch_schedule` blocks as defined below - only available for Premium SKU's.
	PatchSchedules interface{}
	// The non-SSL Port of the Redis Instance
	Port interface{}
	// The Primary Access Key for the Redis Instance
	PrimaryAccessKey interface{}
	// The Static IP Address to assign to the Redis Cache when hosted inside the Virtual Network. Changing this forces a new resource to be created.
	PrivateStaticIpAddress interface{}
	// A `redis_configuration` as defined below - with some limitations by SKU - defaults/details are shown below.
	RedisConfiguration interface{}
	// The name of the resource group in which to
	// create the Redis instance.
	ResourceGroupName interface{}
	// The Secondary Access Key for the Redis Instance
	SecondaryAccessKey interface{}
	// *Only available when using the Premium SKU* The number of Shards to create on the Redis Cluster.
	ShardCount interface{}
	// The SKU of Redis to use - can be either Basic, Standard or Premium.
	SkuName interface{}
	// The SSL Port of the Redis Instance
	SslPort interface{}
	// The ID of the Subnet within which the Redis Cache should be deployed. Changing this forces a new resource to be created.
	SubnetId interface{}
	Tags     interface{}
}

Input properties used for looking up and filtering Cache resources.

type FirewallRule

type FirewallRule struct {
	// contains filtered or unexported fields
}

Manages a Firewall Rule associated with a Premium Redis Cache.

~> **Note:** Redis Firewall Rules can only be assigned to a Redis Cache with a `Premium` SKU.

func GetFirewallRule

func GetFirewallRule(ctx *pulumi.Context,
	name string, id pulumi.ID, state *FirewallRuleState, opts ...pulumi.ResourceOpt) (*FirewallRule, error)

GetFirewallRule gets an existing FirewallRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFirewallRule

func NewFirewallRule(ctx *pulumi.Context,
	name string, args *FirewallRuleArgs, opts ...pulumi.ResourceOpt) (*FirewallRule, error)

NewFirewallRule registers a new resource with the given unique name, arguments, and options.

func (*FirewallRule) EndIp

func (r *FirewallRule) EndIp() *pulumi.StringOutput

The highest IP address included in the range.

func (*FirewallRule) ID

func (r *FirewallRule) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*FirewallRule) Name

func (r *FirewallRule) Name() *pulumi.StringOutput

The name of the Firewall Rule. Changing this forces a new resource to be created.

func (*FirewallRule) RedisCacheName

func (r *FirewallRule) RedisCacheName() *pulumi.StringOutput

The name of the Redis Cache. Changing this forces a new resource to be created.

func (*FirewallRule) ResourceGroupName

func (r *FirewallRule) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which this Redis Cache exists.

func (*FirewallRule) StartIp

func (r *FirewallRule) StartIp() *pulumi.StringOutput

The lowest IP address included in the range

func (*FirewallRule) URN

func (r *FirewallRule) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type FirewallRuleArgs

type FirewallRuleArgs struct {
	// The highest IP address included in the range.
	EndIp interface{}
	// The name of the Firewall Rule. Changing this forces a new resource to be created.
	Name interface{}
	// The name of the Redis Cache. Changing this forces a new resource to be created.
	RedisCacheName interface{}
	// The name of the resource group in which this Redis Cache exists.
	ResourceGroupName interface{}
	// The lowest IP address included in the range
	StartIp interface{}
}

The set of arguments for constructing a FirewallRule resource.

type FirewallRuleState

type FirewallRuleState struct {
	// The highest IP address included in the range.
	EndIp interface{}
	// The name of the Firewall Rule. Changing this forces a new resource to be created.
	Name interface{}
	// The name of the Redis Cache. Changing this forces a new resource to be created.
	RedisCacheName interface{}
	// The name of the resource group in which this Redis Cache exists.
	ResourceGroupName interface{}
	// The lowest IP address included in the range
	StartIp interface{}
}

Input properties used for looking up and filtering FirewallRule resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL