Documentation ¶
Index ¶
- type Cache
- type CacheArgs
- type CacheArray
- type CacheArrayInput
- type CacheArrayOutput
- func (CacheArrayOutput) ElementType() reflect.Type
- func (o CacheArrayOutput) Index(i pulumi.IntInput) CacheOutput
- func (o CacheArrayOutput) ToCacheArrayOutput() CacheArrayOutput
- func (o CacheArrayOutput) ToCacheArrayOutputWithContext(ctx context.Context) CacheArrayOutput
- func (o CacheArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Cache]
- type CacheIdentity
- type CacheIdentityArgs
- func (CacheIdentityArgs) ElementType() reflect.Type
- func (i CacheIdentityArgs) ToCacheIdentityOutput() CacheIdentityOutput
- func (i CacheIdentityArgs) ToCacheIdentityOutputWithContext(ctx context.Context) CacheIdentityOutput
- func (i CacheIdentityArgs) ToCacheIdentityPtrOutput() CacheIdentityPtrOutput
- func (i CacheIdentityArgs) ToCacheIdentityPtrOutputWithContext(ctx context.Context) CacheIdentityPtrOutput
- func (i CacheIdentityArgs) ToOutput(ctx context.Context) pulumix.Output[CacheIdentity]
- type CacheIdentityInput
- type CacheIdentityOutput
- func (CacheIdentityOutput) ElementType() reflect.Type
- func (o CacheIdentityOutput) IdentityIds() pulumi.StringArrayOutput
- func (o CacheIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o CacheIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o CacheIdentityOutput) ToCacheIdentityOutput() CacheIdentityOutput
- func (o CacheIdentityOutput) ToCacheIdentityOutputWithContext(ctx context.Context) CacheIdentityOutput
- func (o CacheIdentityOutput) ToCacheIdentityPtrOutput() CacheIdentityPtrOutput
- func (o CacheIdentityOutput) ToCacheIdentityPtrOutputWithContext(ctx context.Context) CacheIdentityPtrOutput
- func (o CacheIdentityOutput) ToOutput(ctx context.Context) pulumix.Output[CacheIdentity]
- func (o CacheIdentityOutput) Type() pulumi.StringOutput
- type CacheIdentityPtrInput
- type CacheIdentityPtrOutput
- func (o CacheIdentityPtrOutput) Elem() CacheIdentityOutput
- func (CacheIdentityPtrOutput) ElementType() reflect.Type
- func (o CacheIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
- func (o CacheIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o CacheIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o CacheIdentityPtrOutput) ToCacheIdentityPtrOutput() CacheIdentityPtrOutput
- func (o CacheIdentityPtrOutput) ToCacheIdentityPtrOutputWithContext(ctx context.Context) CacheIdentityPtrOutput
- func (o CacheIdentityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CacheIdentity]
- func (o CacheIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type CacheInput
- type CacheMap
- type CacheMapInput
- type CacheMapOutput
- func (CacheMapOutput) ElementType() reflect.Type
- func (o CacheMapOutput) MapIndex(k pulumi.StringInput) CacheOutput
- func (o CacheMapOutput) ToCacheMapOutput() CacheMapOutput
- func (o CacheMapOutput) ToCacheMapOutputWithContext(ctx context.Context) CacheMapOutput
- func (o CacheMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Cache]
- type CacheOutput
- func (o CacheOutput) Capacity() pulumi.IntOutput
- func (CacheOutput) ElementType() reflect.Type
- func (o CacheOutput) EnableNonSslPort() pulumi.BoolPtrOutput
- func (o CacheOutput) Family() pulumi.StringOutput
- func (o CacheOutput) Hostname() pulumi.StringOutput
- func (o CacheOutput) Identity() CacheIdentityPtrOutput
- func (o CacheOutput) Location() pulumi.StringOutput
- func (o CacheOutput) MinimumTlsVersion() pulumi.StringPtrOutput
- func (o CacheOutput) Name() pulumi.StringOutput
- func (o CacheOutput) PatchSchedules() CachePatchScheduleArrayOutput
- func (o CacheOutput) Port() pulumi.IntOutput
- func (o CacheOutput) PrimaryAccessKey() pulumi.StringOutput
- func (o CacheOutput) PrimaryConnectionString() pulumi.StringOutput
- func (o CacheOutput) PrivateStaticIpAddress() pulumi.StringOutput
- func (o CacheOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput
- func (o CacheOutput) RedisConfiguration() CacheRedisConfigurationOutput
- func (o CacheOutput) RedisVersion() pulumi.StringOutput
- func (o CacheOutput) ReplicasPerMaster() pulumi.IntOutput
- func (o CacheOutput) ReplicasPerPrimary() pulumi.IntOutput
- func (o CacheOutput) ResourceGroupName() pulumi.StringOutput
- func (o CacheOutput) SecondaryAccessKey() pulumi.StringOutput
- func (o CacheOutput) SecondaryConnectionString() pulumi.StringOutput
- func (o CacheOutput) ShardCount() pulumi.IntPtrOutput
- func (o CacheOutput) SkuName() pulumi.StringOutput
- func (o CacheOutput) SslPort() pulumi.IntOutput
- func (o CacheOutput) SubnetId() pulumi.StringPtrOutput
- func (o CacheOutput) Tags() pulumi.StringMapOutput
- func (o CacheOutput) TenantSettings() pulumi.StringMapOutput
- func (o CacheOutput) ToCacheOutput() CacheOutput
- func (o CacheOutput) ToCacheOutputWithContext(ctx context.Context) CacheOutput
- func (o CacheOutput) ToOutput(ctx context.Context) pulumix.Output[*Cache]
- func (o CacheOutput) Zones() pulumi.StringArrayOutput
- type CachePatchSchedule
- type CachePatchScheduleArgs
- func (CachePatchScheduleArgs) ElementType() reflect.Type
- func (i CachePatchScheduleArgs) ToCachePatchScheduleOutput() CachePatchScheduleOutput
- func (i CachePatchScheduleArgs) ToCachePatchScheduleOutputWithContext(ctx context.Context) CachePatchScheduleOutput
- func (i CachePatchScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[CachePatchSchedule]
- type CachePatchScheduleArray
- func (CachePatchScheduleArray) ElementType() reflect.Type
- func (i CachePatchScheduleArray) ToCachePatchScheduleArrayOutput() CachePatchScheduleArrayOutput
- func (i CachePatchScheduleArray) ToCachePatchScheduleArrayOutputWithContext(ctx context.Context) CachePatchScheduleArrayOutput
- func (i CachePatchScheduleArray) ToOutput(ctx context.Context) pulumix.Output[[]CachePatchSchedule]
- type CachePatchScheduleArrayInput
- type CachePatchScheduleArrayOutput
- func (CachePatchScheduleArrayOutput) ElementType() reflect.Type
- func (o CachePatchScheduleArrayOutput) Index(i pulumi.IntInput) CachePatchScheduleOutput
- func (o CachePatchScheduleArrayOutput) ToCachePatchScheduleArrayOutput() CachePatchScheduleArrayOutput
- func (o CachePatchScheduleArrayOutput) ToCachePatchScheduleArrayOutputWithContext(ctx context.Context) CachePatchScheduleArrayOutput
- func (o CachePatchScheduleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CachePatchSchedule]
- type CachePatchScheduleInput
- type CachePatchScheduleOutput
- func (o CachePatchScheduleOutput) DayOfWeek() pulumi.StringOutput
- func (CachePatchScheduleOutput) ElementType() reflect.Type
- func (o CachePatchScheduleOutput) MaintenanceWindow() pulumi.StringPtrOutput
- func (o CachePatchScheduleOutput) StartHourUtc() pulumi.IntPtrOutput
- func (o CachePatchScheduleOutput) ToCachePatchScheduleOutput() CachePatchScheduleOutput
- func (o CachePatchScheduleOutput) ToCachePatchScheduleOutputWithContext(ctx context.Context) CachePatchScheduleOutput
- func (o CachePatchScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[CachePatchSchedule]
- type CacheRedisConfiguration
- type CacheRedisConfigurationArgs
- func (CacheRedisConfigurationArgs) ElementType() reflect.Type
- func (i CacheRedisConfigurationArgs) ToCacheRedisConfigurationOutput() CacheRedisConfigurationOutput
- func (i CacheRedisConfigurationArgs) ToCacheRedisConfigurationOutputWithContext(ctx context.Context) CacheRedisConfigurationOutput
- func (i CacheRedisConfigurationArgs) ToCacheRedisConfigurationPtrOutput() CacheRedisConfigurationPtrOutput
- func (i CacheRedisConfigurationArgs) ToCacheRedisConfigurationPtrOutputWithContext(ctx context.Context) CacheRedisConfigurationPtrOutput
- func (i CacheRedisConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[CacheRedisConfiguration]
- type CacheRedisConfigurationInput
- type CacheRedisConfigurationOutput
- func (o CacheRedisConfigurationOutput) AofBackupEnabled() pulumi.BoolPtrOutput
- func (o CacheRedisConfigurationOutput) AofStorageConnectionString0() pulumi.StringPtrOutput
- func (o CacheRedisConfigurationOutput) AofStorageConnectionString1() pulumi.StringPtrOutput
- func (CacheRedisConfigurationOutput) ElementType() reflect.Type
- func (o CacheRedisConfigurationOutput) EnableAuthentication() pulumi.BoolPtrOutput
- func (o CacheRedisConfigurationOutput) Maxclients() pulumi.IntPtrOutput
- func (o CacheRedisConfigurationOutput) MaxfragmentationmemoryReserved() pulumi.IntPtrOutput
- func (o CacheRedisConfigurationOutput) MaxmemoryDelta() pulumi.IntPtrOutput
- func (o CacheRedisConfigurationOutput) MaxmemoryPolicy() pulumi.StringPtrOutput
- func (o CacheRedisConfigurationOutput) MaxmemoryReserved() pulumi.IntPtrOutput
- func (o CacheRedisConfigurationOutput) NotifyKeyspaceEvents() pulumi.StringPtrOutput
- func (o CacheRedisConfigurationOutput) RdbBackupEnabled() pulumi.BoolPtrOutput
- func (o CacheRedisConfigurationOutput) RdbBackupFrequency() pulumi.IntPtrOutput
- func (o CacheRedisConfigurationOutput) RdbBackupMaxSnapshotCount() pulumi.IntPtrOutput
- func (o CacheRedisConfigurationOutput) RdbStorageConnectionString() pulumi.StringPtrOutput
- func (o CacheRedisConfigurationOutput) ToCacheRedisConfigurationOutput() CacheRedisConfigurationOutput
- func (o CacheRedisConfigurationOutput) ToCacheRedisConfigurationOutputWithContext(ctx context.Context) CacheRedisConfigurationOutput
- func (o CacheRedisConfigurationOutput) ToCacheRedisConfigurationPtrOutput() CacheRedisConfigurationPtrOutput
- func (o CacheRedisConfigurationOutput) ToCacheRedisConfigurationPtrOutputWithContext(ctx context.Context) CacheRedisConfigurationPtrOutput
- func (o CacheRedisConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[CacheRedisConfiguration]
- type CacheRedisConfigurationPtrInput
- type CacheRedisConfigurationPtrOutput
- func (o CacheRedisConfigurationPtrOutput) AofBackupEnabled() pulumi.BoolPtrOutput
- func (o CacheRedisConfigurationPtrOutput) AofStorageConnectionString0() pulumi.StringPtrOutput
- func (o CacheRedisConfigurationPtrOutput) AofStorageConnectionString1() pulumi.StringPtrOutput
- func (o CacheRedisConfigurationPtrOutput) Elem() CacheRedisConfigurationOutput
- func (CacheRedisConfigurationPtrOutput) ElementType() reflect.Type
- func (o CacheRedisConfigurationPtrOutput) EnableAuthentication() pulumi.BoolPtrOutput
- func (o CacheRedisConfigurationPtrOutput) Maxclients() pulumi.IntPtrOutput
- func (o CacheRedisConfigurationPtrOutput) MaxfragmentationmemoryReserved() pulumi.IntPtrOutput
- func (o CacheRedisConfigurationPtrOutput) MaxmemoryDelta() pulumi.IntPtrOutput
- func (o CacheRedisConfigurationPtrOutput) MaxmemoryPolicy() pulumi.StringPtrOutput
- func (o CacheRedisConfigurationPtrOutput) MaxmemoryReserved() pulumi.IntPtrOutput
- func (o CacheRedisConfigurationPtrOutput) NotifyKeyspaceEvents() pulumi.StringPtrOutput
- func (o CacheRedisConfigurationPtrOutput) RdbBackupEnabled() pulumi.BoolPtrOutput
- func (o CacheRedisConfigurationPtrOutput) RdbBackupFrequency() pulumi.IntPtrOutput
- func (o CacheRedisConfigurationPtrOutput) RdbBackupMaxSnapshotCount() pulumi.IntPtrOutput
- func (o CacheRedisConfigurationPtrOutput) RdbStorageConnectionString() pulumi.StringPtrOutput
- func (o CacheRedisConfigurationPtrOutput) ToCacheRedisConfigurationPtrOutput() CacheRedisConfigurationPtrOutput
- func (o CacheRedisConfigurationPtrOutput) ToCacheRedisConfigurationPtrOutputWithContext(ctx context.Context) CacheRedisConfigurationPtrOutput
- func (o CacheRedisConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CacheRedisConfiguration]
- type CacheState
- type EnterpriseCluster
- func (*EnterpriseCluster) ElementType() reflect.Type
- func (i *EnterpriseCluster) ToEnterpriseClusterOutput() EnterpriseClusterOutput
- func (i *EnterpriseCluster) ToEnterpriseClusterOutputWithContext(ctx context.Context) EnterpriseClusterOutput
- func (i *EnterpriseCluster) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCluster]
- type EnterpriseClusterArgs
- type EnterpriseClusterArray
- func (EnterpriseClusterArray) ElementType() reflect.Type
- func (i EnterpriseClusterArray) ToEnterpriseClusterArrayOutput() EnterpriseClusterArrayOutput
- func (i EnterpriseClusterArray) ToEnterpriseClusterArrayOutputWithContext(ctx context.Context) EnterpriseClusterArrayOutput
- func (i EnterpriseClusterArray) ToOutput(ctx context.Context) pulumix.Output[[]*EnterpriseCluster]
- type EnterpriseClusterArrayInput
- type EnterpriseClusterArrayOutput
- func (EnterpriseClusterArrayOutput) ElementType() reflect.Type
- func (o EnterpriseClusterArrayOutput) Index(i pulumi.IntInput) EnterpriseClusterOutput
- func (o EnterpriseClusterArrayOutput) ToEnterpriseClusterArrayOutput() EnterpriseClusterArrayOutput
- func (o EnterpriseClusterArrayOutput) ToEnterpriseClusterArrayOutputWithContext(ctx context.Context) EnterpriseClusterArrayOutput
- func (o EnterpriseClusterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*EnterpriseCluster]
- type EnterpriseClusterInput
- type EnterpriseClusterMap
- func (EnterpriseClusterMap) ElementType() reflect.Type
- func (i EnterpriseClusterMap) ToEnterpriseClusterMapOutput() EnterpriseClusterMapOutput
- func (i EnterpriseClusterMap) ToEnterpriseClusterMapOutputWithContext(ctx context.Context) EnterpriseClusterMapOutput
- func (i EnterpriseClusterMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*EnterpriseCluster]
- type EnterpriseClusterMapInput
- type EnterpriseClusterMapOutput
- func (EnterpriseClusterMapOutput) ElementType() reflect.Type
- func (o EnterpriseClusterMapOutput) MapIndex(k pulumi.StringInput) EnterpriseClusterOutput
- func (o EnterpriseClusterMapOutput) ToEnterpriseClusterMapOutput() EnterpriseClusterMapOutput
- func (o EnterpriseClusterMapOutput) ToEnterpriseClusterMapOutputWithContext(ctx context.Context) EnterpriseClusterMapOutput
- func (o EnterpriseClusterMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*EnterpriseCluster]
- type EnterpriseClusterOutput
- func (EnterpriseClusterOutput) ElementType() reflect.Type
- func (o EnterpriseClusterOutput) Hostname() pulumi.StringOutput
- func (o EnterpriseClusterOutput) Location() pulumi.StringOutput
- func (o EnterpriseClusterOutput) MinimumTlsVersion() pulumi.StringPtrOutput
- func (o EnterpriseClusterOutput) Name() pulumi.StringOutput
- func (o EnterpriseClusterOutput) ResourceGroupName() pulumi.StringOutput
- func (o EnterpriseClusterOutput) SkuName() pulumi.StringOutput
- func (o EnterpriseClusterOutput) Tags() pulumi.StringMapOutput
- func (o EnterpriseClusterOutput) ToEnterpriseClusterOutput() EnterpriseClusterOutput
- func (o EnterpriseClusterOutput) ToEnterpriseClusterOutputWithContext(ctx context.Context) EnterpriseClusterOutput
- func (o EnterpriseClusterOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCluster]
- func (o EnterpriseClusterOutput) Zones() pulumi.StringArrayOutput
- type EnterpriseClusterState
- type EnterpriseDatabase
- func (*EnterpriseDatabase) ElementType() reflect.Type
- func (i *EnterpriseDatabase) ToEnterpriseDatabaseOutput() EnterpriseDatabaseOutput
- func (i *EnterpriseDatabase) ToEnterpriseDatabaseOutputWithContext(ctx context.Context) EnterpriseDatabaseOutput
- func (i *EnterpriseDatabase) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseDatabase]
- type EnterpriseDatabaseArgs
- type EnterpriseDatabaseArray
- func (EnterpriseDatabaseArray) ElementType() reflect.Type
- func (i EnterpriseDatabaseArray) ToEnterpriseDatabaseArrayOutput() EnterpriseDatabaseArrayOutput
- func (i EnterpriseDatabaseArray) ToEnterpriseDatabaseArrayOutputWithContext(ctx context.Context) EnterpriseDatabaseArrayOutput
- func (i EnterpriseDatabaseArray) ToOutput(ctx context.Context) pulumix.Output[[]*EnterpriseDatabase]
- type EnterpriseDatabaseArrayInput
- type EnterpriseDatabaseArrayOutput
- func (EnterpriseDatabaseArrayOutput) ElementType() reflect.Type
- func (o EnterpriseDatabaseArrayOutput) Index(i pulumi.IntInput) EnterpriseDatabaseOutput
- func (o EnterpriseDatabaseArrayOutput) ToEnterpriseDatabaseArrayOutput() EnterpriseDatabaseArrayOutput
- func (o EnterpriseDatabaseArrayOutput) ToEnterpriseDatabaseArrayOutputWithContext(ctx context.Context) EnterpriseDatabaseArrayOutput
- func (o EnterpriseDatabaseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*EnterpriseDatabase]
- type EnterpriseDatabaseInput
- type EnterpriseDatabaseMap
- func (EnterpriseDatabaseMap) ElementType() reflect.Type
- func (i EnterpriseDatabaseMap) ToEnterpriseDatabaseMapOutput() EnterpriseDatabaseMapOutput
- func (i EnterpriseDatabaseMap) ToEnterpriseDatabaseMapOutputWithContext(ctx context.Context) EnterpriseDatabaseMapOutput
- func (i EnterpriseDatabaseMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*EnterpriseDatabase]
- type EnterpriseDatabaseMapInput
- type EnterpriseDatabaseMapOutput
- func (EnterpriseDatabaseMapOutput) ElementType() reflect.Type
- func (o EnterpriseDatabaseMapOutput) MapIndex(k pulumi.StringInput) EnterpriseDatabaseOutput
- func (o EnterpriseDatabaseMapOutput) ToEnterpriseDatabaseMapOutput() EnterpriseDatabaseMapOutput
- func (o EnterpriseDatabaseMapOutput) ToEnterpriseDatabaseMapOutputWithContext(ctx context.Context) EnterpriseDatabaseMapOutput
- func (o EnterpriseDatabaseMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*EnterpriseDatabase]
- type EnterpriseDatabaseModule
- type EnterpriseDatabaseModuleArgs
- func (EnterpriseDatabaseModuleArgs) ElementType() reflect.Type
- func (i EnterpriseDatabaseModuleArgs) ToEnterpriseDatabaseModuleOutput() EnterpriseDatabaseModuleOutput
- func (i EnterpriseDatabaseModuleArgs) ToEnterpriseDatabaseModuleOutputWithContext(ctx context.Context) EnterpriseDatabaseModuleOutput
- func (i EnterpriseDatabaseModuleArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseDatabaseModule]
- type EnterpriseDatabaseModuleArray
- func (EnterpriseDatabaseModuleArray) ElementType() reflect.Type
- func (i EnterpriseDatabaseModuleArray) ToEnterpriseDatabaseModuleArrayOutput() EnterpriseDatabaseModuleArrayOutput
- func (i EnterpriseDatabaseModuleArray) ToEnterpriseDatabaseModuleArrayOutputWithContext(ctx context.Context) EnterpriseDatabaseModuleArrayOutput
- func (i EnterpriseDatabaseModuleArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseDatabaseModule]
- type EnterpriseDatabaseModuleArrayInput
- type EnterpriseDatabaseModuleArrayOutput
- func (EnterpriseDatabaseModuleArrayOutput) ElementType() reflect.Type
- func (o EnterpriseDatabaseModuleArrayOutput) Index(i pulumi.IntInput) EnterpriseDatabaseModuleOutput
- func (o EnterpriseDatabaseModuleArrayOutput) ToEnterpriseDatabaseModuleArrayOutput() EnterpriseDatabaseModuleArrayOutput
- func (o EnterpriseDatabaseModuleArrayOutput) ToEnterpriseDatabaseModuleArrayOutputWithContext(ctx context.Context) EnterpriseDatabaseModuleArrayOutput
- func (o EnterpriseDatabaseModuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseDatabaseModule]
- type EnterpriseDatabaseModuleInput
- type EnterpriseDatabaseModuleOutput
- func (o EnterpriseDatabaseModuleOutput) Args() pulumi.StringPtrOutput
- func (EnterpriseDatabaseModuleOutput) ElementType() reflect.Type
- func (o EnterpriseDatabaseModuleOutput) Name() pulumi.StringOutput
- func (o EnterpriseDatabaseModuleOutput) ToEnterpriseDatabaseModuleOutput() EnterpriseDatabaseModuleOutput
- func (o EnterpriseDatabaseModuleOutput) ToEnterpriseDatabaseModuleOutputWithContext(ctx context.Context) EnterpriseDatabaseModuleOutput
- func (o EnterpriseDatabaseModuleOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseDatabaseModule]
- func (o EnterpriseDatabaseModuleOutput) Version() pulumi.StringPtrOutput
- type EnterpriseDatabaseOutput
- func (o EnterpriseDatabaseOutput) ClientProtocol() pulumi.StringPtrOutput
- func (o EnterpriseDatabaseOutput) ClusterId() pulumi.StringOutput
- func (o EnterpriseDatabaseOutput) ClusteringPolicy() pulumi.StringPtrOutput
- func (EnterpriseDatabaseOutput) ElementType() reflect.Type
- func (o EnterpriseDatabaseOutput) EvictionPolicy() pulumi.StringPtrOutput
- func (o EnterpriseDatabaseOutput) LinkedDatabaseGroupNickname() pulumi.StringPtrOutput
- func (o EnterpriseDatabaseOutput) LinkedDatabaseIds() pulumi.StringArrayOutput
- func (o EnterpriseDatabaseOutput) Modules() EnterpriseDatabaseModuleArrayOutput
- func (o EnterpriseDatabaseOutput) Name() pulumi.StringOutput
- func (o EnterpriseDatabaseOutput) Port() pulumi.IntPtrOutput
- func (o EnterpriseDatabaseOutput) PrimaryAccessKey() pulumi.StringOutput
- func (o EnterpriseDatabaseOutput) ResourceGroupName() pulumi.StringOutputdeprecated
- func (o EnterpriseDatabaseOutput) SecondaryAccessKey() pulumi.StringOutput
- func (o EnterpriseDatabaseOutput) ToEnterpriseDatabaseOutput() EnterpriseDatabaseOutput
- func (o EnterpriseDatabaseOutput) ToEnterpriseDatabaseOutputWithContext(ctx context.Context) EnterpriseDatabaseOutput
- func (o EnterpriseDatabaseOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseDatabase]
- type EnterpriseDatabaseState
- type FirewallRule
- type FirewallRuleArgs
- type FirewallRuleArray
- func (FirewallRuleArray) ElementType() reflect.Type
- func (i FirewallRuleArray) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
- func (i FirewallRuleArray) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
- func (i FirewallRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]*FirewallRule]
- type FirewallRuleArrayInput
- type FirewallRuleArrayOutput
- func (FirewallRuleArrayOutput) ElementType() reflect.Type
- func (o FirewallRuleArrayOutput) Index(i pulumi.IntInput) FirewallRuleOutput
- func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
- func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
- func (o FirewallRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*FirewallRule]
- type FirewallRuleInput
- type FirewallRuleMap
- func (FirewallRuleMap) ElementType() reflect.Type
- func (i FirewallRuleMap) ToFirewallRuleMapOutput() FirewallRuleMapOutput
- func (i FirewallRuleMap) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
- func (i FirewallRuleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*FirewallRule]
- type FirewallRuleMapInput
- type FirewallRuleMapOutput
- func (FirewallRuleMapOutput) ElementType() reflect.Type
- func (o FirewallRuleMapOutput) MapIndex(k pulumi.StringInput) FirewallRuleOutput
- func (o FirewallRuleMapOutput) ToFirewallRuleMapOutput() FirewallRuleMapOutput
- func (o FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
- func (o FirewallRuleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*FirewallRule]
- type FirewallRuleOutput
- func (FirewallRuleOutput) ElementType() reflect.Type
- func (o FirewallRuleOutput) EndIp() pulumi.StringOutput
- func (o FirewallRuleOutput) Name() pulumi.StringOutput
- func (o FirewallRuleOutput) RedisCacheName() pulumi.StringOutput
- func (o FirewallRuleOutput) ResourceGroupName() pulumi.StringOutput
- func (o FirewallRuleOutput) StartIp() pulumi.StringOutput
- func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput
- func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
- func (o FirewallRuleOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallRule]
- type FirewallRuleState
- type GetCachePatchSchedule
- type GetCachePatchScheduleArgs
- func (GetCachePatchScheduleArgs) ElementType() reflect.Type
- func (i GetCachePatchScheduleArgs) ToGetCachePatchScheduleOutput() GetCachePatchScheduleOutput
- func (i GetCachePatchScheduleArgs) ToGetCachePatchScheduleOutputWithContext(ctx context.Context) GetCachePatchScheduleOutput
- func (i GetCachePatchScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[GetCachePatchSchedule]
- type GetCachePatchScheduleArray
- func (GetCachePatchScheduleArray) ElementType() reflect.Type
- func (i GetCachePatchScheduleArray) ToGetCachePatchScheduleArrayOutput() GetCachePatchScheduleArrayOutput
- func (i GetCachePatchScheduleArray) ToGetCachePatchScheduleArrayOutputWithContext(ctx context.Context) GetCachePatchScheduleArrayOutput
- func (i GetCachePatchScheduleArray) ToOutput(ctx context.Context) pulumix.Output[[]GetCachePatchSchedule]
- type GetCachePatchScheduleArrayInput
- type GetCachePatchScheduleArrayOutput
- func (GetCachePatchScheduleArrayOutput) ElementType() reflect.Type
- func (o GetCachePatchScheduleArrayOutput) Index(i pulumi.IntInput) GetCachePatchScheduleOutput
- func (o GetCachePatchScheduleArrayOutput) ToGetCachePatchScheduleArrayOutput() GetCachePatchScheduleArrayOutput
- func (o GetCachePatchScheduleArrayOutput) ToGetCachePatchScheduleArrayOutputWithContext(ctx context.Context) GetCachePatchScheduleArrayOutput
- func (o GetCachePatchScheduleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetCachePatchSchedule]
- type GetCachePatchScheduleInput
- type GetCachePatchScheduleOutput
- func (o GetCachePatchScheduleOutput) DayOfWeek() pulumi.StringOutput
- func (GetCachePatchScheduleOutput) ElementType() reflect.Type
- func (o GetCachePatchScheduleOutput) MaintenanceWindow() pulumi.StringOutput
- func (o GetCachePatchScheduleOutput) StartHourUtc() pulumi.IntOutput
- func (o GetCachePatchScheduleOutput) ToGetCachePatchScheduleOutput() GetCachePatchScheduleOutput
- func (o GetCachePatchScheduleOutput) ToGetCachePatchScheduleOutputWithContext(ctx context.Context) GetCachePatchScheduleOutput
- func (o GetCachePatchScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[GetCachePatchSchedule]
- type GetCacheRedisConfiguration
- type GetCacheRedisConfigurationArgs
- func (GetCacheRedisConfigurationArgs) ElementType() reflect.Type
- func (i GetCacheRedisConfigurationArgs) ToGetCacheRedisConfigurationOutput() GetCacheRedisConfigurationOutput
- func (i GetCacheRedisConfigurationArgs) ToGetCacheRedisConfigurationOutputWithContext(ctx context.Context) GetCacheRedisConfigurationOutput
- func (i GetCacheRedisConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[GetCacheRedisConfiguration]
- type GetCacheRedisConfigurationArray
- func (GetCacheRedisConfigurationArray) ElementType() reflect.Type
- func (i GetCacheRedisConfigurationArray) ToGetCacheRedisConfigurationArrayOutput() GetCacheRedisConfigurationArrayOutput
- func (i GetCacheRedisConfigurationArray) ToGetCacheRedisConfigurationArrayOutputWithContext(ctx context.Context) GetCacheRedisConfigurationArrayOutput
- func (i GetCacheRedisConfigurationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetCacheRedisConfiguration]
- type GetCacheRedisConfigurationArrayInput
- type GetCacheRedisConfigurationArrayOutput
- func (GetCacheRedisConfigurationArrayOutput) ElementType() reflect.Type
- func (o GetCacheRedisConfigurationArrayOutput) Index(i pulumi.IntInput) GetCacheRedisConfigurationOutput
- func (o GetCacheRedisConfigurationArrayOutput) ToGetCacheRedisConfigurationArrayOutput() GetCacheRedisConfigurationArrayOutput
- func (o GetCacheRedisConfigurationArrayOutput) ToGetCacheRedisConfigurationArrayOutputWithContext(ctx context.Context) GetCacheRedisConfigurationArrayOutput
- func (o GetCacheRedisConfigurationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetCacheRedisConfiguration]
- type GetCacheRedisConfigurationInput
- type GetCacheRedisConfigurationOutput
- func (o GetCacheRedisConfigurationOutput) AofBackupEnabled() pulumi.BoolOutput
- func (o GetCacheRedisConfigurationOutput) AofStorageConnectionString0() pulumi.StringOutput
- func (o GetCacheRedisConfigurationOutput) AofStorageConnectionString1() pulumi.StringOutput
- func (GetCacheRedisConfigurationOutput) ElementType() reflect.Type
- func (o GetCacheRedisConfigurationOutput) EnableAuthentication() pulumi.BoolOutput
- func (o GetCacheRedisConfigurationOutput) Maxclients() pulumi.IntOutput
- func (o GetCacheRedisConfigurationOutput) MaxfragmentationmemoryReserved() pulumi.IntOutput
- func (o GetCacheRedisConfigurationOutput) MaxmemoryDelta() pulumi.IntOutput
- func (o GetCacheRedisConfigurationOutput) MaxmemoryPolicy() pulumi.StringOutput
- func (o GetCacheRedisConfigurationOutput) MaxmemoryReserved() pulumi.IntOutput
- func (o GetCacheRedisConfigurationOutput) NotifyKeyspaceEvents() pulumi.StringOutput
- func (o GetCacheRedisConfigurationOutput) RdbBackupEnabled() pulumi.BoolOutput
- func (o GetCacheRedisConfigurationOutput) RdbBackupFrequency() pulumi.IntOutput
- func (o GetCacheRedisConfigurationOutput) RdbBackupMaxSnapshotCount() pulumi.IntOutput
- func (o GetCacheRedisConfigurationOutput) RdbStorageConnectionString() pulumi.StringOutput
- func (o GetCacheRedisConfigurationOutput) ToGetCacheRedisConfigurationOutput() GetCacheRedisConfigurationOutput
- func (o GetCacheRedisConfigurationOutput) ToGetCacheRedisConfigurationOutputWithContext(ctx context.Context) GetCacheRedisConfigurationOutput
- func (o GetCacheRedisConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[GetCacheRedisConfiguration]
- type LinkedServer
- type LinkedServerArgs
- type LinkedServerArray
- func (LinkedServerArray) ElementType() reflect.Type
- func (i LinkedServerArray) ToLinkedServerArrayOutput() LinkedServerArrayOutput
- func (i LinkedServerArray) ToLinkedServerArrayOutputWithContext(ctx context.Context) LinkedServerArrayOutput
- func (i LinkedServerArray) ToOutput(ctx context.Context) pulumix.Output[[]*LinkedServer]
- type LinkedServerArrayInput
- type LinkedServerArrayOutput
- func (LinkedServerArrayOutput) ElementType() reflect.Type
- func (o LinkedServerArrayOutput) Index(i pulumi.IntInput) LinkedServerOutput
- func (o LinkedServerArrayOutput) ToLinkedServerArrayOutput() LinkedServerArrayOutput
- func (o LinkedServerArrayOutput) ToLinkedServerArrayOutputWithContext(ctx context.Context) LinkedServerArrayOutput
- func (o LinkedServerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*LinkedServer]
- type LinkedServerInput
- type LinkedServerMap
- func (LinkedServerMap) ElementType() reflect.Type
- func (i LinkedServerMap) ToLinkedServerMapOutput() LinkedServerMapOutput
- func (i LinkedServerMap) ToLinkedServerMapOutputWithContext(ctx context.Context) LinkedServerMapOutput
- func (i LinkedServerMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*LinkedServer]
- type LinkedServerMapInput
- type LinkedServerMapOutput
- func (LinkedServerMapOutput) ElementType() reflect.Type
- func (o LinkedServerMapOutput) MapIndex(k pulumi.StringInput) LinkedServerOutput
- func (o LinkedServerMapOutput) ToLinkedServerMapOutput() LinkedServerMapOutput
- func (o LinkedServerMapOutput) ToLinkedServerMapOutputWithContext(ctx context.Context) LinkedServerMapOutput
- func (o LinkedServerMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*LinkedServer]
- type LinkedServerOutput
- func (LinkedServerOutput) ElementType() reflect.Type
- func (o LinkedServerOutput) LinkedRedisCacheId() pulumi.StringOutput
- func (o LinkedServerOutput) LinkedRedisCacheLocation() pulumi.StringOutput
- func (o LinkedServerOutput) Name() pulumi.StringOutput
- func (o LinkedServerOutput) ResourceGroupName() pulumi.StringOutput
- func (o LinkedServerOutput) ServerRole() pulumi.StringOutput
- func (o LinkedServerOutput) TargetRedisCacheName() pulumi.StringOutput
- func (o LinkedServerOutput) ToLinkedServerOutput() LinkedServerOutput
- func (o LinkedServerOutput) ToLinkedServerOutputWithContext(ctx context.Context) LinkedServerOutput
- func (o LinkedServerOutput) ToOutput(ctx context.Context) pulumix.Output[*LinkedServer]
- type LinkedServerState
- type LookupCacheArgs
- type LookupCacheOutputArgs
- type LookupCacheResult
- type LookupCacheResultOutput
- func (o LookupCacheResultOutput) Capacity() pulumi.IntOutput
- func (LookupCacheResultOutput) ElementType() reflect.Type
- func (o LookupCacheResultOutput) EnableNonSslPort() pulumi.BoolOutput
- func (o LookupCacheResultOutput) Family() pulumi.StringOutput
- func (o LookupCacheResultOutput) Hostname() pulumi.StringOutput
- func (o LookupCacheResultOutput) Id() pulumi.StringOutput
- func (o LookupCacheResultOutput) Location() pulumi.StringOutput
- func (o LookupCacheResultOutput) MinimumTlsVersion() pulumi.StringOutput
- func (o LookupCacheResultOutput) Name() pulumi.StringOutput
- func (o LookupCacheResultOutput) PatchSchedules() GetCachePatchScheduleArrayOutput
- func (o LookupCacheResultOutput) Port() pulumi.IntOutput
- func (o LookupCacheResultOutput) PrimaryAccessKey() pulumi.StringOutput
- func (o LookupCacheResultOutput) PrimaryConnectionString() pulumi.StringOutput
- func (o LookupCacheResultOutput) PrivateStaticIpAddress() pulumi.StringOutput
- func (o LookupCacheResultOutput) RedisConfigurations() GetCacheRedisConfigurationArrayOutput
- func (o LookupCacheResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupCacheResultOutput) SecondaryAccessKey() pulumi.StringOutput
- func (o LookupCacheResultOutput) SecondaryConnectionString() pulumi.StringOutput
- func (o LookupCacheResultOutput) ShardCount() pulumi.IntOutput
- func (o LookupCacheResultOutput) SkuName() pulumi.StringOutput
- func (o LookupCacheResultOutput) SslPort() pulumi.IntOutput
- func (o LookupCacheResultOutput) SubnetId() pulumi.StringOutput
- func (o LookupCacheResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupCacheResultOutput) ToLookupCacheResultOutput() LookupCacheResultOutput
- func (o LookupCacheResultOutput) ToLookupCacheResultOutputWithContext(ctx context.Context) LookupCacheResultOutput
- func (o LookupCacheResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCacheResult]
- func (o LookupCacheResultOutput) Zones() pulumi.StringArrayOutput
- type LookupEnterpriseDatabaseArgs
- type LookupEnterpriseDatabaseOutputArgs
- type LookupEnterpriseDatabaseResult
- type LookupEnterpriseDatabaseResultOutput
- func (o LookupEnterpriseDatabaseResultOutput) ClusterId() pulumi.StringOutput
- func (LookupEnterpriseDatabaseResultOutput) ElementType() reflect.Type
- func (o LookupEnterpriseDatabaseResultOutput) Id() pulumi.StringOutput
- func (o LookupEnterpriseDatabaseResultOutput) LinkedDatabaseGroupNickname() pulumi.StringOutput
- func (o LookupEnterpriseDatabaseResultOutput) LinkedDatabaseIds() pulumi.StringArrayOutput
- func (o LookupEnterpriseDatabaseResultOutput) Name() pulumi.StringOutput
- func (o LookupEnterpriseDatabaseResultOutput) PrimaryAccessKey() pulumi.StringOutput
- func (o LookupEnterpriseDatabaseResultOutput) ResourceGroupName() pulumi.StringOutputdeprecated
- func (o LookupEnterpriseDatabaseResultOutput) SecondaryAccessKey() pulumi.StringOutput
- func (o LookupEnterpriseDatabaseResultOutput) ToLookupEnterpriseDatabaseResultOutput() LookupEnterpriseDatabaseResultOutput
- func (o LookupEnterpriseDatabaseResultOutput) ToLookupEnterpriseDatabaseResultOutputWithContext(ctx context.Context) LookupEnterpriseDatabaseResultOutput
- func (o LookupEnterpriseDatabaseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEnterpriseDatabaseResult]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct { pulumi.CustomResourceState // 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, 5`. Capacity pulumi.IntOutput `pulumi:"capacity"` // Enable the non-SSL port (6379) - disabled by default. EnableNonSslPort pulumi.BoolPtrOutput `pulumi:"enableNonSslPort"` // The SKU family/pricing group to use. Valid values are `C` (for Basic/Standard SKU family) and `P` (for `Premium`) Family pulumi.StringOutput `pulumi:"family"` // The Hostname of the Redis Instance Hostname pulumi.StringOutput `pulumi:"hostname"` // An `identity` block as defined below. Identity CacheIdentityPtrOutput `pulumi:"identity"` // The location of the resource group. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The minimum TLS version. Possible values are `1.0`, `1.1` and `1.2`. Defaults to `1.0`. MinimumTlsVersion pulumi.StringPtrOutput `pulumi:"minimumTlsVersion"` // The name of the Redis instance. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // A list of `patchSchedule` blocks as defined below. PatchSchedules CachePatchScheduleArrayOutput `pulumi:"patchSchedules"` // The non-SSL Port of the Redis Instance Port pulumi.IntOutput `pulumi:"port"` // The Primary Access Key for the Redis Instance PrimaryAccessKey pulumi.StringOutput `pulumi:"primaryAccessKey"` // The primary connection string of the Redis Instance. PrimaryConnectionString pulumi.StringOutput `pulumi:"primaryConnectionString"` // The Static IP Address to assign to the Redis Cache when hosted inside the Virtual Network. This argument implies the use of `subnetId`. Changing this forces a new resource to be created. PrivateStaticIpAddress pulumi.StringOutput `pulumi:"privateStaticIpAddress"` // Whether or not public network access is allowed for this Redis Cache. `true` means this resource could be accessed by both public and private endpoint. `false` means only private endpoint access is allowed. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"` // A `redisConfiguration` as defined below - with some limitations by SKU - defaults/details are shown below. RedisConfiguration CacheRedisConfigurationOutput `pulumi:"redisConfiguration"` // Redis version. Only major version needed. Valid values: `4`, `6`. RedisVersion pulumi.StringOutput `pulumi:"redisVersion"` // Amount of replicas to create per master for this Redis Cache. // // > **Note:** Configuring the number of replicas per master is only available when using the Premium SKU and cannot be used in conjunction with shards. ReplicasPerMaster pulumi.IntOutput `pulumi:"replicasPerMaster"` // Amount of replicas to create per primary for this Redis Cache. If both `replicasPerPrimary` and `replicasPerMaster` are set, they need to be equal. ReplicasPerPrimary pulumi.IntOutput `pulumi:"replicasPerPrimary"` // The name of the resource group in which to create the Redis instance. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The Secondary Access Key for the Redis Instance SecondaryAccessKey pulumi.StringOutput `pulumi:"secondaryAccessKey"` // The secondary connection string of the Redis Instance. SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"` // *Only available when using the Premium SKU* The number of Shards to create on the Redis Cluster. ShardCount pulumi.IntPtrOutput `pulumi:"shardCount"` // The SKU of Redis to use. Possible values are `Basic`, `Standard` and `Premium`. // // > **Note** Downgrading the SKU will force a new resource to be created. SkuName pulumi.StringOutput `pulumi:"skuName"` // The SSL Port of the Redis Instance SslPort pulumi.IntOutput `pulumi:"sslPort"` // *Only available when using the Premium SKU* The ID of the Subnet within which the Redis Cache should be deployed. This Subnet must only contain Azure Cache for Redis instances without any other type of resources. Changing this forces a new resource to be created. SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // A mapping of tenant settings to assign to the resource. TenantSettings pulumi.StringMapOutput `pulumi:"tenantSettings"` // Specifies a list of Availability Zones in which this Redis Cache should be located. Changing this forces a new Redis Cache to be created. // // > **Please Note**: Availability Zones are [in Preview and only supported in several regions at this time](https://docs.microsoft.com/azure/availability-zones/az-overview) - as such you must be opted into the Preview to use this functionality. You can [opt into the Availability Zones Preview in the Azure Portal](https://aka.ms/azenroll). Zones pulumi.StringArrayOutput `pulumi:"zones"` }
Manages a Redis Cache.
> **Note:** Redis version 4 is being retired and no longer supports creating new instances. Version 4 will be removed in a future release. [Redis Version 4 Retirement](https://learn.microsoft.com/azure/azure-cache-for-redis/cache-retired-features#important-upgrade-timelines)
## Example Usage
This example provisions a Standard Redis Cache.
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/redis" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = redis.NewCache(ctx, "exampleCache", &redis.CacheArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Capacity: pulumi.Int(2), Family: pulumi.String("C"), SkuName: pulumi.String("Standard"), EnableNonSslPort: pulumi.Bool(false), MinimumTlsVersion: pulumi.String("1.2"), RedisConfiguration: nil, }) if err != nil { return err } return nil }) }
``` ## Relevant Links
* [Azure Cache for Redis planning](https://docs.microsoft.com/azure/azure-cache-for-redis/cache-planning-faq) * [Redis: Available Configuration Settings](https://redis.io/topics/config)
## Import
Redis Cache's can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:redis/cache:Cache cache1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Cache/redis/cache1
```
func GetCache ¶
func GetCache(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CacheState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Cache, error)
NewCache registers a new resource with the given unique name, arguments, and options.
func (*Cache) ElementType ¶
func (*Cache) ToCacheOutput ¶
func (i *Cache) ToCacheOutput() CacheOutput
func (*Cache) ToCacheOutputWithContext ¶
func (i *Cache) ToCacheOutputWithContext(ctx context.Context) CacheOutput
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, 5`. Capacity pulumi.IntInput // Enable the non-SSL port (6379) - disabled by default. EnableNonSslPort pulumi.BoolPtrInput // The SKU family/pricing group to use. Valid values are `C` (for Basic/Standard SKU family) and `P` (for `Premium`) Family pulumi.StringInput // An `identity` block as defined below. Identity CacheIdentityPtrInput // The location of the resource group. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The minimum TLS version. Possible values are `1.0`, `1.1` and `1.2`. Defaults to `1.0`. MinimumTlsVersion pulumi.StringPtrInput // The name of the Redis instance. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A list of `patchSchedule` blocks as defined below. PatchSchedules CachePatchScheduleArrayInput // The Static IP Address to assign to the Redis Cache when hosted inside the Virtual Network. This argument implies the use of `subnetId`. Changing this forces a new resource to be created. PrivateStaticIpAddress pulumi.StringPtrInput // Whether or not public network access is allowed for this Redis Cache. `true` means this resource could be accessed by both public and private endpoint. `false` means only private endpoint access is allowed. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // A `redisConfiguration` as defined below - with some limitations by SKU - defaults/details are shown below. RedisConfiguration CacheRedisConfigurationPtrInput // Redis version. Only major version needed. Valid values: `4`, `6`. RedisVersion pulumi.StringPtrInput // Amount of replicas to create per master for this Redis Cache. // // > **Note:** Configuring the number of replicas per master is only available when using the Premium SKU and cannot be used in conjunction with shards. ReplicasPerMaster pulumi.IntPtrInput // Amount of replicas to create per primary for this Redis Cache. If both `replicasPerPrimary` and `replicasPerMaster` are set, they need to be equal. ReplicasPerPrimary pulumi.IntPtrInput // The name of the resource group in which to create the Redis instance. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // *Only available when using the Premium SKU* The number of Shards to create on the Redis Cluster. ShardCount pulumi.IntPtrInput // The SKU of Redis to use. Possible values are `Basic`, `Standard` and `Premium`. // // > **Note** Downgrading the SKU will force a new resource to be created. SkuName pulumi.StringInput // *Only available when using the Premium SKU* The ID of the Subnet within which the Redis Cache should be deployed. This Subnet must only contain Azure Cache for Redis instances without any other type of resources. Changing this forces a new resource to be created. SubnetId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // A mapping of tenant settings to assign to the resource. TenantSettings pulumi.StringMapInput // Specifies a list of Availability Zones in which this Redis Cache should be located. Changing this forces a new Redis Cache to be created. // // > **Please Note**: Availability Zones are [in Preview and only supported in several regions at this time](https://docs.microsoft.com/azure/availability-zones/az-overview) - as such you must be opted into the Preview to use this functionality. You can [opt into the Availability Zones Preview in the Azure Portal](https://aka.ms/azenroll). Zones pulumi.StringArrayInput }
The set of arguments for constructing a Cache resource.
func (CacheArgs) ElementType ¶
type CacheArray ¶
type CacheArray []CacheInput
func (CacheArray) ElementType ¶
func (CacheArray) ElementType() reflect.Type
func (CacheArray) ToCacheArrayOutput ¶
func (i CacheArray) ToCacheArrayOutput() CacheArrayOutput
func (CacheArray) ToCacheArrayOutputWithContext ¶
func (i CacheArray) ToCacheArrayOutputWithContext(ctx context.Context) CacheArrayOutput
type CacheArrayInput ¶
type CacheArrayInput interface { pulumi.Input ToCacheArrayOutput() CacheArrayOutput ToCacheArrayOutputWithContext(context.Context) CacheArrayOutput }
CacheArrayInput is an input type that accepts CacheArray and CacheArrayOutput values. You can construct a concrete instance of `CacheArrayInput` via:
CacheArray{ CacheArgs{...} }
type CacheArrayOutput ¶
type CacheArrayOutput struct{ *pulumi.OutputState }
func (CacheArrayOutput) ElementType ¶
func (CacheArrayOutput) ElementType() reflect.Type
func (CacheArrayOutput) Index ¶
func (o CacheArrayOutput) Index(i pulumi.IntInput) CacheOutput
func (CacheArrayOutput) ToCacheArrayOutput ¶
func (o CacheArrayOutput) ToCacheArrayOutput() CacheArrayOutput
func (CacheArrayOutput) ToCacheArrayOutputWithContext ¶
func (o CacheArrayOutput) ToCacheArrayOutputWithContext(ctx context.Context) CacheArrayOutput
type CacheIdentity ¶ added in v5.9.0
type CacheIdentity struct { // A list of User Assigned Managed Identity IDs to be assigned to this Redis Cluster. // // > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`. IdentityIds []string `pulumi:"identityIds"` PrincipalId *string `pulumi:"principalId"` TenantId *string `pulumi:"tenantId"` // Specifies the type of Managed Service Identity that should be configured on this Redis Cluster. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both). Type string `pulumi:"type"` }
type CacheIdentityArgs ¶ added in v5.9.0
type CacheIdentityArgs struct { // A list of User Assigned Managed Identity IDs to be assigned to this Redis Cluster. // // > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`. IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"` PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // Specifies the type of Managed Service Identity that should be configured on this Redis Cluster. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both). Type pulumi.StringInput `pulumi:"type"` }
func (CacheIdentityArgs) ElementType ¶ added in v5.9.0
func (CacheIdentityArgs) ElementType() reflect.Type
func (CacheIdentityArgs) ToCacheIdentityOutput ¶ added in v5.9.0
func (i CacheIdentityArgs) ToCacheIdentityOutput() CacheIdentityOutput
func (CacheIdentityArgs) ToCacheIdentityOutputWithContext ¶ added in v5.9.0
func (i CacheIdentityArgs) ToCacheIdentityOutputWithContext(ctx context.Context) CacheIdentityOutput
func (CacheIdentityArgs) ToCacheIdentityPtrOutput ¶ added in v5.9.0
func (i CacheIdentityArgs) ToCacheIdentityPtrOutput() CacheIdentityPtrOutput
func (CacheIdentityArgs) ToCacheIdentityPtrOutputWithContext ¶ added in v5.9.0
func (i CacheIdentityArgs) ToCacheIdentityPtrOutputWithContext(ctx context.Context) CacheIdentityPtrOutput
func (CacheIdentityArgs) ToOutput ¶ added in v5.52.0
func (i CacheIdentityArgs) ToOutput(ctx context.Context) pulumix.Output[CacheIdentity]
type CacheIdentityInput ¶ added in v5.9.0
type CacheIdentityInput interface { pulumi.Input ToCacheIdentityOutput() CacheIdentityOutput ToCacheIdentityOutputWithContext(context.Context) CacheIdentityOutput }
CacheIdentityInput is an input type that accepts CacheIdentityArgs and CacheIdentityOutput values. You can construct a concrete instance of `CacheIdentityInput` via:
CacheIdentityArgs{...}
type CacheIdentityOutput ¶ added in v5.9.0
type CacheIdentityOutput struct{ *pulumi.OutputState }
func (CacheIdentityOutput) ElementType ¶ added in v5.9.0
func (CacheIdentityOutput) ElementType() reflect.Type
func (CacheIdentityOutput) IdentityIds ¶ added in v5.9.0
func (o CacheIdentityOutput) IdentityIds() pulumi.StringArrayOutput
A list of User Assigned Managed Identity IDs to be assigned to this Redis Cluster.
> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
func (CacheIdentityOutput) PrincipalId ¶ added in v5.9.0
func (o CacheIdentityOutput) PrincipalId() pulumi.StringPtrOutput
func (CacheIdentityOutput) TenantId ¶ added in v5.9.0
func (o CacheIdentityOutput) TenantId() pulumi.StringPtrOutput
func (CacheIdentityOutput) ToCacheIdentityOutput ¶ added in v5.9.0
func (o CacheIdentityOutput) ToCacheIdentityOutput() CacheIdentityOutput
func (CacheIdentityOutput) ToCacheIdentityOutputWithContext ¶ added in v5.9.0
func (o CacheIdentityOutput) ToCacheIdentityOutputWithContext(ctx context.Context) CacheIdentityOutput
func (CacheIdentityOutput) ToCacheIdentityPtrOutput ¶ added in v5.9.0
func (o CacheIdentityOutput) ToCacheIdentityPtrOutput() CacheIdentityPtrOutput
func (CacheIdentityOutput) ToCacheIdentityPtrOutputWithContext ¶ added in v5.9.0
func (o CacheIdentityOutput) ToCacheIdentityPtrOutputWithContext(ctx context.Context) CacheIdentityPtrOutput
func (CacheIdentityOutput) ToOutput ¶ added in v5.52.0
func (o CacheIdentityOutput) ToOutput(ctx context.Context) pulumix.Output[CacheIdentity]
func (CacheIdentityOutput) Type ¶ added in v5.9.0
func (o CacheIdentityOutput) Type() pulumi.StringOutput
Specifies the type of Managed Service Identity that should be configured on this Redis Cluster. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
type CacheIdentityPtrInput ¶ added in v5.9.0
type CacheIdentityPtrInput interface { pulumi.Input ToCacheIdentityPtrOutput() CacheIdentityPtrOutput ToCacheIdentityPtrOutputWithContext(context.Context) CacheIdentityPtrOutput }
CacheIdentityPtrInput is an input type that accepts CacheIdentityArgs, CacheIdentityPtr and CacheIdentityPtrOutput values. You can construct a concrete instance of `CacheIdentityPtrInput` via:
CacheIdentityArgs{...} or: nil
func CacheIdentityPtr ¶ added in v5.9.0
func CacheIdentityPtr(v *CacheIdentityArgs) CacheIdentityPtrInput
type CacheIdentityPtrOutput ¶ added in v5.9.0
type CacheIdentityPtrOutput struct{ *pulumi.OutputState }
func (CacheIdentityPtrOutput) Elem ¶ added in v5.9.0
func (o CacheIdentityPtrOutput) Elem() CacheIdentityOutput
func (CacheIdentityPtrOutput) ElementType ¶ added in v5.9.0
func (CacheIdentityPtrOutput) ElementType() reflect.Type
func (CacheIdentityPtrOutput) IdentityIds ¶ added in v5.9.0
func (o CacheIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
A list of User Assigned Managed Identity IDs to be assigned to this Redis Cluster.
> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
func (CacheIdentityPtrOutput) PrincipalId ¶ added in v5.9.0
func (o CacheIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
func (CacheIdentityPtrOutput) TenantId ¶ added in v5.9.0
func (o CacheIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
func (CacheIdentityPtrOutput) ToCacheIdentityPtrOutput ¶ added in v5.9.0
func (o CacheIdentityPtrOutput) ToCacheIdentityPtrOutput() CacheIdentityPtrOutput
func (CacheIdentityPtrOutput) ToCacheIdentityPtrOutputWithContext ¶ added in v5.9.0
func (o CacheIdentityPtrOutput) ToCacheIdentityPtrOutputWithContext(ctx context.Context) CacheIdentityPtrOutput
func (CacheIdentityPtrOutput) ToOutput ¶ added in v5.52.0
func (o CacheIdentityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CacheIdentity]
func (CacheIdentityPtrOutput) Type ¶ added in v5.9.0
func (o CacheIdentityPtrOutput) Type() pulumi.StringPtrOutput
Specifies the type of Managed Service Identity that should be configured on this Redis Cluster. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
type CacheInput ¶
type CacheInput interface { pulumi.Input ToCacheOutput() CacheOutput ToCacheOutputWithContext(ctx context.Context) CacheOutput }
type CacheMap ¶
type CacheMap map[string]CacheInput
func (CacheMap) ElementType ¶
func (CacheMap) ToCacheMapOutput ¶
func (i CacheMap) ToCacheMapOutput() CacheMapOutput
func (CacheMap) ToCacheMapOutputWithContext ¶
func (i CacheMap) ToCacheMapOutputWithContext(ctx context.Context) CacheMapOutput
type CacheMapInput ¶
type CacheMapInput interface { pulumi.Input ToCacheMapOutput() CacheMapOutput ToCacheMapOutputWithContext(context.Context) CacheMapOutput }
CacheMapInput is an input type that accepts CacheMap and CacheMapOutput values. You can construct a concrete instance of `CacheMapInput` via:
CacheMap{ "key": CacheArgs{...} }
type CacheMapOutput ¶
type CacheMapOutput struct{ *pulumi.OutputState }
func (CacheMapOutput) ElementType ¶
func (CacheMapOutput) ElementType() reflect.Type
func (CacheMapOutput) MapIndex ¶
func (o CacheMapOutput) MapIndex(k pulumi.StringInput) CacheOutput
func (CacheMapOutput) ToCacheMapOutput ¶
func (o CacheMapOutput) ToCacheMapOutput() CacheMapOutput
func (CacheMapOutput) ToCacheMapOutputWithContext ¶
func (o CacheMapOutput) ToCacheMapOutputWithContext(ctx context.Context) CacheMapOutput
type CacheOutput ¶
type CacheOutput struct{ *pulumi.OutputState }
func (CacheOutput) Capacity ¶ added in v5.5.0
func (o CacheOutput) 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, 5`.
func (CacheOutput) ElementType ¶
func (CacheOutput) ElementType() reflect.Type
func (CacheOutput) EnableNonSslPort ¶ added in v5.5.0
func (o CacheOutput) EnableNonSslPort() pulumi.BoolPtrOutput
Enable the non-SSL port (6379) - disabled by default.
func (CacheOutput) Family ¶ added in v5.5.0
func (o CacheOutput) Family() pulumi.StringOutput
The SKU family/pricing group to use. Valid values are `C` (for Basic/Standard SKU family) and `P` (for `Premium`)
func (CacheOutput) Hostname ¶ added in v5.5.0
func (o CacheOutput) Hostname() pulumi.StringOutput
The Hostname of the Redis Instance
func (CacheOutput) Identity ¶ added in v5.9.0
func (o CacheOutput) Identity() CacheIdentityPtrOutput
An `identity` block as defined below.
func (CacheOutput) Location ¶ added in v5.5.0
func (o CacheOutput) Location() pulumi.StringOutput
The location of the resource group. Changing this forces a new resource to be created.
func (CacheOutput) MinimumTlsVersion ¶ added in v5.5.0
func (o CacheOutput) MinimumTlsVersion() pulumi.StringPtrOutput
The minimum TLS version. Possible values are `1.0`, `1.1` and `1.2`. Defaults to `1.0`.
func (CacheOutput) Name ¶ added in v5.5.0
func (o CacheOutput) Name() pulumi.StringOutput
The name of the Redis instance. Changing this forces a new resource to be created.
func (CacheOutput) PatchSchedules ¶ added in v5.5.0
func (o CacheOutput) PatchSchedules() CachePatchScheduleArrayOutput
A list of `patchSchedule` blocks as defined below.
func (CacheOutput) Port ¶ added in v5.5.0
func (o CacheOutput) Port() pulumi.IntOutput
The non-SSL Port of the Redis Instance
func (CacheOutput) PrimaryAccessKey ¶ added in v5.5.0
func (o CacheOutput) PrimaryAccessKey() pulumi.StringOutput
The Primary Access Key for the Redis Instance
func (CacheOutput) PrimaryConnectionString ¶ added in v5.5.0
func (o CacheOutput) PrimaryConnectionString() pulumi.StringOutput
The primary connection string of the Redis Instance.
func (CacheOutput) PrivateStaticIpAddress ¶ added in v5.5.0
func (o CacheOutput) PrivateStaticIpAddress() pulumi.StringOutput
The Static IP Address to assign to the Redis Cache when hosted inside the Virtual Network. This argument implies the use of `subnetId`. Changing this forces a new resource to be created.
func (CacheOutput) PublicNetworkAccessEnabled ¶ added in v5.5.0
func (o CacheOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput
Whether or not public network access is allowed for this Redis Cache. `true` means this resource could be accessed by both public and private endpoint. `false` means only private endpoint access is allowed. Defaults to `true`.
func (CacheOutput) RedisConfiguration ¶ added in v5.5.0
func (o CacheOutput) RedisConfiguration() CacheRedisConfigurationOutput
A `redisConfiguration` as defined below - with some limitations by SKU - defaults/details are shown below.
func (CacheOutput) RedisVersion ¶ added in v5.5.0
func (o CacheOutput) RedisVersion() pulumi.StringOutput
Redis version. Only major version needed. Valid values: `4`, `6`.
func (CacheOutput) ReplicasPerMaster ¶ added in v5.5.0
func (o CacheOutput) ReplicasPerMaster() pulumi.IntOutput
Amount of replicas to create per master for this Redis Cache.
> **Note:** Configuring the number of replicas per master is only available when using the Premium SKU and cannot be used in conjunction with shards.
func (CacheOutput) ReplicasPerPrimary ¶ added in v5.5.0
func (o CacheOutput) ReplicasPerPrimary() pulumi.IntOutput
Amount of replicas to create per primary for this Redis Cache. If both `replicasPerPrimary` and `replicasPerMaster` are set, they need to be equal.
func (CacheOutput) ResourceGroupName ¶ added in v5.5.0
func (o CacheOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group in which to create the Redis instance. Changing this forces a new resource to be created.
func (CacheOutput) SecondaryAccessKey ¶ added in v5.5.0
func (o CacheOutput) SecondaryAccessKey() pulumi.StringOutput
The Secondary Access Key for the Redis Instance
func (CacheOutput) SecondaryConnectionString ¶ added in v5.5.0
func (o CacheOutput) SecondaryConnectionString() pulumi.StringOutput
The secondary connection string of the Redis Instance.
func (CacheOutput) ShardCount ¶ added in v5.5.0
func (o CacheOutput) ShardCount() pulumi.IntPtrOutput
*Only available when using the Premium SKU* The number of Shards to create on the Redis Cluster.
func (CacheOutput) SkuName ¶ added in v5.5.0
func (o CacheOutput) SkuName() pulumi.StringOutput
The SKU of Redis to use. Possible values are `Basic`, `Standard` and `Premium`.
> **Note** Downgrading the SKU will force a new resource to be created.
func (CacheOutput) SslPort ¶ added in v5.5.0
func (o CacheOutput) SslPort() pulumi.IntOutput
The SSL Port of the Redis Instance
func (CacheOutput) SubnetId ¶ added in v5.5.0
func (o CacheOutput) SubnetId() pulumi.StringPtrOutput
*Only available when using the Premium SKU* The ID of the Subnet within which the Redis Cache should be deployed. This Subnet must only contain Azure Cache for Redis instances without any other type of resources. Changing this forces a new resource to be created.
func (CacheOutput) Tags ¶ added in v5.5.0
func (o CacheOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (CacheOutput) TenantSettings ¶ added in v5.5.0
func (o CacheOutput) TenantSettings() pulumi.StringMapOutput
A mapping of tenant settings to assign to the resource.
func (CacheOutput) ToCacheOutput ¶
func (o CacheOutput) ToCacheOutput() CacheOutput
func (CacheOutput) ToCacheOutputWithContext ¶
func (o CacheOutput) ToCacheOutputWithContext(ctx context.Context) CacheOutput
func (CacheOutput) Zones ¶ added in v5.5.0
func (o CacheOutput) Zones() pulumi.StringArrayOutput
Specifies a list of Availability Zones in which this Redis Cache should be located. Changing this forces a new Redis Cache to be created.
> **Please Note**: Availability Zones are [in Preview and only supported in several regions at this time](https://docs.microsoft.com/azure/availability-zones/az-overview) - as such you must be opted into the Preview to use this functionality. You can [opt into the Availability Zones Preview in the Azure Portal](https://aka.ms/azenroll).
type CachePatchSchedule ¶
type CachePatchSchedule struct { // the Weekday name - possible values include `Monday`, `Tuesday`, `Wednesday` etc. DayOfWeek string `pulumi:"dayOfWeek"` // The ISO 8601 timespan which specifies the amount of time the Redis Cache can be updated. Defaults to `PT5H`. MaintenanceWindow *string `pulumi:"maintenanceWindow"` // the Start Hour for maintenance in UTC - possible values range from `0 - 23`. // // > **Note:** The Patch Window lasts for `5` hours from the `startHourUtc`. StartHourUtc *int `pulumi:"startHourUtc"` }
type CachePatchScheduleArgs ¶
type CachePatchScheduleArgs struct { // the Weekday name - possible values include `Monday`, `Tuesday`, `Wednesday` etc. DayOfWeek pulumi.StringInput `pulumi:"dayOfWeek"` // The ISO 8601 timespan which specifies the amount of time the Redis Cache can be updated. Defaults to `PT5H`. MaintenanceWindow pulumi.StringPtrInput `pulumi:"maintenanceWindow"` // the Start Hour for maintenance in UTC - possible values range from `0 - 23`. // // > **Note:** The Patch Window lasts for `5` hours from the `startHourUtc`. StartHourUtc pulumi.IntPtrInput `pulumi:"startHourUtc"` }
func (CachePatchScheduleArgs) ElementType ¶
func (CachePatchScheduleArgs) ElementType() reflect.Type
func (CachePatchScheduleArgs) ToCachePatchScheduleOutput ¶
func (i CachePatchScheduleArgs) ToCachePatchScheduleOutput() CachePatchScheduleOutput
func (CachePatchScheduleArgs) ToCachePatchScheduleOutputWithContext ¶
func (i CachePatchScheduleArgs) ToCachePatchScheduleOutputWithContext(ctx context.Context) CachePatchScheduleOutput
func (CachePatchScheduleArgs) ToOutput ¶ added in v5.52.0
func (i CachePatchScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[CachePatchSchedule]
type CachePatchScheduleArray ¶
type CachePatchScheduleArray []CachePatchScheduleInput
func (CachePatchScheduleArray) ElementType ¶
func (CachePatchScheduleArray) ElementType() reflect.Type
func (CachePatchScheduleArray) ToCachePatchScheduleArrayOutput ¶
func (i CachePatchScheduleArray) ToCachePatchScheduleArrayOutput() CachePatchScheduleArrayOutput
func (CachePatchScheduleArray) ToCachePatchScheduleArrayOutputWithContext ¶
func (i CachePatchScheduleArray) ToCachePatchScheduleArrayOutputWithContext(ctx context.Context) CachePatchScheduleArrayOutput
func (CachePatchScheduleArray) ToOutput ¶ added in v5.52.0
func (i CachePatchScheduleArray) ToOutput(ctx context.Context) pulumix.Output[[]CachePatchSchedule]
type CachePatchScheduleArrayInput ¶
type CachePatchScheduleArrayInput interface { pulumi.Input ToCachePatchScheduleArrayOutput() CachePatchScheduleArrayOutput ToCachePatchScheduleArrayOutputWithContext(context.Context) CachePatchScheduleArrayOutput }
CachePatchScheduleArrayInput is an input type that accepts CachePatchScheduleArray and CachePatchScheduleArrayOutput values. You can construct a concrete instance of `CachePatchScheduleArrayInput` via:
CachePatchScheduleArray{ CachePatchScheduleArgs{...} }
type CachePatchScheduleArrayOutput ¶
type CachePatchScheduleArrayOutput struct{ *pulumi.OutputState }
func (CachePatchScheduleArrayOutput) ElementType ¶
func (CachePatchScheduleArrayOutput) ElementType() reflect.Type
func (CachePatchScheduleArrayOutput) Index ¶
func (o CachePatchScheduleArrayOutput) Index(i pulumi.IntInput) CachePatchScheduleOutput
func (CachePatchScheduleArrayOutput) ToCachePatchScheduleArrayOutput ¶
func (o CachePatchScheduleArrayOutput) ToCachePatchScheduleArrayOutput() CachePatchScheduleArrayOutput
func (CachePatchScheduleArrayOutput) ToCachePatchScheduleArrayOutputWithContext ¶
func (o CachePatchScheduleArrayOutput) ToCachePatchScheduleArrayOutputWithContext(ctx context.Context) CachePatchScheduleArrayOutput
func (CachePatchScheduleArrayOutput) ToOutput ¶ added in v5.52.0
func (o CachePatchScheduleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CachePatchSchedule]
type CachePatchScheduleInput ¶
type CachePatchScheduleInput interface { pulumi.Input ToCachePatchScheduleOutput() CachePatchScheduleOutput ToCachePatchScheduleOutputWithContext(context.Context) CachePatchScheduleOutput }
CachePatchScheduleInput is an input type that accepts CachePatchScheduleArgs and CachePatchScheduleOutput values. You can construct a concrete instance of `CachePatchScheduleInput` via:
CachePatchScheduleArgs{...}
type CachePatchScheduleOutput ¶
type CachePatchScheduleOutput struct{ *pulumi.OutputState }
func (CachePatchScheduleOutput) DayOfWeek ¶
func (o CachePatchScheduleOutput) DayOfWeek() pulumi.StringOutput
the Weekday name - possible values include `Monday`, `Tuesday`, `Wednesday` etc.
func (CachePatchScheduleOutput) ElementType ¶
func (CachePatchScheduleOutput) ElementType() reflect.Type
func (CachePatchScheduleOutput) MaintenanceWindow ¶
func (o CachePatchScheduleOutput) MaintenanceWindow() pulumi.StringPtrOutput
The ISO 8601 timespan which specifies the amount of time the Redis Cache can be updated. Defaults to `PT5H`.
func (CachePatchScheduleOutput) StartHourUtc ¶
func (o CachePatchScheduleOutput) StartHourUtc() pulumi.IntPtrOutput
the Start Hour for maintenance in UTC - possible values range from `0 - 23`.
> **Note:** The Patch Window lasts for `5` hours from the `startHourUtc`.
func (CachePatchScheduleOutput) ToCachePatchScheduleOutput ¶
func (o CachePatchScheduleOutput) ToCachePatchScheduleOutput() CachePatchScheduleOutput
func (CachePatchScheduleOutput) ToCachePatchScheduleOutputWithContext ¶
func (o CachePatchScheduleOutput) ToCachePatchScheduleOutputWithContext(ctx context.Context) CachePatchScheduleOutput
func (CachePatchScheduleOutput) ToOutput ¶ added in v5.52.0
func (o CachePatchScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[CachePatchSchedule]
type CacheRedisConfiguration ¶
type CacheRedisConfiguration struct { // Enable or disable AOF persistence for this Redis Cache. Defaults to `false`. // // > **NOTE:** `aofBackupEnabled` can only be set when SKU is `Premium`. AofBackupEnabled *bool `pulumi:"aofBackupEnabled"` // First Storage Account connection string for AOF persistence. AofStorageConnectionString0 *string `pulumi:"aofStorageConnectionString0"` // Second Storage Account connection string for AOF persistence. // // Example usage: // // “`go // package main // // import ( // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // return nil // }) // } // “` AofStorageConnectionString1 *string `pulumi:"aofStorageConnectionString1"` // If set to `false`, the Redis instance will be accessible without authentication. Defaults to `true`. // // > **NOTE:** `enableAuthentication` can only be set to `false` if a `subnetId` is specified; and only works if there aren't existing instances within the subnet with `enableAuthentication` set to `true`. EnableAuthentication *bool `pulumi:"enableAuthentication"` // Returns the max number of connected clients at the same time. Maxclients *int `pulumi:"maxclients"` // Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below. MaxfragmentationmemoryReserved *int `pulumi:"maxfragmentationmemoryReserved"` // The max-memory delta for this Redis instance. Defaults are shown below. MaxmemoryDelta *int `pulumi:"maxmemoryDelta"` // How Redis will select what to remove when `maxmemory` is reached. Defaults are shown below. Defaults to `volatile-lru`. MaxmemoryPolicy *string `pulumi:"maxmemoryPolicy"` // Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below. MaxmemoryReserved *int `pulumi:"maxmemoryReserved"` // Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. [Reference](https://redis.io/topics/notifications#configuration) // // “`go // package main // // import ( // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // return nil // }) // } // “` NotifyKeyspaceEvents *string `pulumi:"notifyKeyspaceEvents"` // Is Backup Enabled? Only supported on Premium SKUs. Defaults to `false`. // // > **NOTE:** If `rdbBackupEnabled` set to `true`, `rdbStorageConnectionString` must also be set. RdbBackupEnabled *bool `pulumi:"rdbBackupEnabled"` // The Backup Frequency in Minutes. Only supported on Premium SKUs. Possible values are: `15`, `30`, `60`, `360`, `720` and `1440`. RdbBackupFrequency *int `pulumi:"rdbBackupFrequency"` // The maximum number of snapshots to create as a backup. Only supported for Premium SKUs. RdbBackupMaxSnapshotCount *int `pulumi:"rdbBackupMaxSnapshotCount"` // The Connection String to the Storage Account. Only supported for Premium SKUs. In the format: `DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.example.primary_blob_endpoint};AccountName=${azurerm_storage_account.example.name};AccountKey=${azurerm_storage_account.example.primary_access_key}`. // // > **NOTE:** There's a bug in the Redis API where the original storage connection string isn't being returned, which [is being tracked in this issue](https://github.com/Azure/azure-rest-api-specs/issues/3037). In the interim you can use [the `ignoreChanges` attribute to ignore changes to this field](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) e.g.: RdbStorageConnectionString *string `pulumi:"rdbStorageConnectionString"` }
type CacheRedisConfigurationArgs ¶
type CacheRedisConfigurationArgs struct { // Enable or disable AOF persistence for this Redis Cache. Defaults to `false`. // // > **NOTE:** `aofBackupEnabled` can only be set when SKU is `Premium`. AofBackupEnabled pulumi.BoolPtrInput `pulumi:"aofBackupEnabled"` // First Storage Account connection string for AOF persistence. AofStorageConnectionString0 pulumi.StringPtrInput `pulumi:"aofStorageConnectionString0"` // Second Storage Account connection string for AOF persistence. // // Example usage: // // “`go // package main // // import ( // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // return nil // }) // } // “` AofStorageConnectionString1 pulumi.StringPtrInput `pulumi:"aofStorageConnectionString1"` // If set to `false`, the Redis instance will be accessible without authentication. Defaults to `true`. // // > **NOTE:** `enableAuthentication` can only be set to `false` if a `subnetId` is specified; and only works if there aren't existing instances within the subnet with `enableAuthentication` set to `true`. EnableAuthentication pulumi.BoolPtrInput `pulumi:"enableAuthentication"` // Returns the max number of connected clients at the same time. Maxclients pulumi.IntPtrInput `pulumi:"maxclients"` // Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below. MaxfragmentationmemoryReserved pulumi.IntPtrInput `pulumi:"maxfragmentationmemoryReserved"` // The max-memory delta for this Redis instance. Defaults are shown below. MaxmemoryDelta pulumi.IntPtrInput `pulumi:"maxmemoryDelta"` // How Redis will select what to remove when `maxmemory` is reached. Defaults are shown below. Defaults to `volatile-lru`. MaxmemoryPolicy pulumi.StringPtrInput `pulumi:"maxmemoryPolicy"` // Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below. MaxmemoryReserved pulumi.IntPtrInput `pulumi:"maxmemoryReserved"` // Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. [Reference](https://redis.io/topics/notifications#configuration) // // “`go // package main // // import ( // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // return nil // }) // } // “` NotifyKeyspaceEvents pulumi.StringPtrInput `pulumi:"notifyKeyspaceEvents"` // Is Backup Enabled? Only supported on Premium SKUs. Defaults to `false`. // // > **NOTE:** If `rdbBackupEnabled` set to `true`, `rdbStorageConnectionString` must also be set. RdbBackupEnabled pulumi.BoolPtrInput `pulumi:"rdbBackupEnabled"` // The Backup Frequency in Minutes. Only supported on Premium SKUs. Possible values are: `15`, `30`, `60`, `360`, `720` and `1440`. RdbBackupFrequency pulumi.IntPtrInput `pulumi:"rdbBackupFrequency"` // The maximum number of snapshots to create as a backup. Only supported for Premium SKUs. RdbBackupMaxSnapshotCount pulumi.IntPtrInput `pulumi:"rdbBackupMaxSnapshotCount"` // The Connection String to the Storage Account. Only supported for Premium SKUs. In the format: `DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.example.primary_blob_endpoint};AccountName=${azurerm_storage_account.example.name};AccountKey=${azurerm_storage_account.example.primary_access_key}`. // // > **NOTE:** There's a bug in the Redis API where the original storage connection string isn't being returned, which [is being tracked in this issue](https://github.com/Azure/azure-rest-api-specs/issues/3037). In the interim you can use [the `ignoreChanges` attribute to ignore changes to this field](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) e.g.: RdbStorageConnectionString pulumi.StringPtrInput `pulumi:"rdbStorageConnectionString"` }
func (CacheRedisConfigurationArgs) ElementType ¶
func (CacheRedisConfigurationArgs) ElementType() reflect.Type
func (CacheRedisConfigurationArgs) ToCacheRedisConfigurationOutput ¶
func (i CacheRedisConfigurationArgs) ToCacheRedisConfigurationOutput() CacheRedisConfigurationOutput
func (CacheRedisConfigurationArgs) ToCacheRedisConfigurationOutputWithContext ¶
func (i CacheRedisConfigurationArgs) ToCacheRedisConfigurationOutputWithContext(ctx context.Context) CacheRedisConfigurationOutput
func (CacheRedisConfigurationArgs) ToCacheRedisConfigurationPtrOutput ¶
func (i CacheRedisConfigurationArgs) ToCacheRedisConfigurationPtrOutput() CacheRedisConfigurationPtrOutput
func (CacheRedisConfigurationArgs) ToCacheRedisConfigurationPtrOutputWithContext ¶
func (i CacheRedisConfigurationArgs) ToCacheRedisConfigurationPtrOutputWithContext(ctx context.Context) CacheRedisConfigurationPtrOutput
func (CacheRedisConfigurationArgs) ToOutput ¶ added in v5.52.0
func (i CacheRedisConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[CacheRedisConfiguration]
type CacheRedisConfigurationInput ¶
type CacheRedisConfigurationInput interface { pulumi.Input ToCacheRedisConfigurationOutput() CacheRedisConfigurationOutput ToCacheRedisConfigurationOutputWithContext(context.Context) CacheRedisConfigurationOutput }
CacheRedisConfigurationInput is an input type that accepts CacheRedisConfigurationArgs and CacheRedisConfigurationOutput values. You can construct a concrete instance of `CacheRedisConfigurationInput` via:
CacheRedisConfigurationArgs{...}
type CacheRedisConfigurationOutput ¶
type CacheRedisConfigurationOutput struct{ *pulumi.OutputState }
func (CacheRedisConfigurationOutput) AofBackupEnabled ¶
func (o CacheRedisConfigurationOutput) AofBackupEnabled() pulumi.BoolPtrOutput
Enable or disable AOF persistence for this Redis Cache. Defaults to `false`.
> **NOTE:** `aofBackupEnabled` can only be set when SKU is `Premium`.
func (CacheRedisConfigurationOutput) AofStorageConnectionString0 ¶
func (o CacheRedisConfigurationOutput) AofStorageConnectionString0() pulumi.StringPtrOutput
First Storage Account connection string for AOF persistence.
func (CacheRedisConfigurationOutput) AofStorageConnectionString1 ¶
func (o CacheRedisConfigurationOutput) AofStorageConnectionString1() pulumi.StringPtrOutput
Second Storage Account connection string for AOF persistence.
Example usage:
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
```
func (CacheRedisConfigurationOutput) ElementType ¶
func (CacheRedisConfigurationOutput) ElementType() reflect.Type
func (CacheRedisConfigurationOutput) EnableAuthentication ¶
func (o CacheRedisConfigurationOutput) EnableAuthentication() pulumi.BoolPtrOutput
If set to `false`, the Redis instance will be accessible without authentication. Defaults to `true`.
> **NOTE:** `enableAuthentication` can only be set to `false` if a `subnetId` is specified; and only works if there aren't existing instances within the subnet with `enableAuthentication` set to `true`.
func (CacheRedisConfigurationOutput) Maxclients ¶
func (o CacheRedisConfigurationOutput) Maxclients() pulumi.IntPtrOutput
Returns the max number of connected clients at the same time.
func (CacheRedisConfigurationOutput) MaxfragmentationmemoryReserved ¶
func (o CacheRedisConfigurationOutput) MaxfragmentationmemoryReserved() pulumi.IntPtrOutput
Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.
func (CacheRedisConfigurationOutput) MaxmemoryDelta ¶
func (o CacheRedisConfigurationOutput) MaxmemoryDelta() pulumi.IntPtrOutput
The max-memory delta for this Redis instance. Defaults are shown below.
func (CacheRedisConfigurationOutput) MaxmemoryPolicy ¶
func (o CacheRedisConfigurationOutput) MaxmemoryPolicy() pulumi.StringPtrOutput
How Redis will select what to remove when `maxmemory` is reached. Defaults are shown below. Defaults to `volatile-lru`.
func (CacheRedisConfigurationOutput) MaxmemoryReserved ¶
func (o CacheRedisConfigurationOutput) MaxmemoryReserved() pulumi.IntPtrOutput
Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.
func (CacheRedisConfigurationOutput) NotifyKeyspaceEvents ¶
func (o CacheRedisConfigurationOutput) NotifyKeyspaceEvents() pulumi.StringPtrOutput
Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. [Reference](https://redis.io/topics/notifications#configuration)
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
```
func (CacheRedisConfigurationOutput) RdbBackupEnabled ¶
func (o CacheRedisConfigurationOutput) RdbBackupEnabled() pulumi.BoolPtrOutput
Is Backup Enabled? Only supported on Premium SKUs. Defaults to `false`.
> **NOTE:** If `rdbBackupEnabled` set to `true`, `rdbStorageConnectionString` must also be set.
func (CacheRedisConfigurationOutput) RdbBackupFrequency ¶
func (o CacheRedisConfigurationOutput) RdbBackupFrequency() pulumi.IntPtrOutput
The Backup Frequency in Minutes. Only supported on Premium SKUs. Possible values are: `15`, `30`, `60`, `360`, `720` and `1440`.
func (CacheRedisConfigurationOutput) RdbBackupMaxSnapshotCount ¶
func (o CacheRedisConfigurationOutput) RdbBackupMaxSnapshotCount() pulumi.IntPtrOutput
The maximum number of snapshots to create as a backup. Only supported for Premium SKUs.
func (CacheRedisConfigurationOutput) RdbStorageConnectionString ¶
func (o CacheRedisConfigurationOutput) RdbStorageConnectionString() pulumi.StringPtrOutput
The Connection String to the Storage Account. Only supported for Premium SKUs. In the format: `DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.example.primary_blob_endpoint};AccountName=${azurerm_storage_account.example.name};AccountKey=${azurerm_storage_account.example.primary_access_key}`.
> **NOTE:** There's a bug in the Redis API where the original storage connection string isn't being returned, which [is being tracked in this issue](https://github.com/Azure/azure-rest-api-specs/issues/3037). In the interim you can use [the `ignoreChanges` attribute to ignore changes to this field](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) e.g.:
func (CacheRedisConfigurationOutput) ToCacheRedisConfigurationOutput ¶
func (o CacheRedisConfigurationOutput) ToCacheRedisConfigurationOutput() CacheRedisConfigurationOutput
func (CacheRedisConfigurationOutput) ToCacheRedisConfigurationOutputWithContext ¶
func (o CacheRedisConfigurationOutput) ToCacheRedisConfigurationOutputWithContext(ctx context.Context) CacheRedisConfigurationOutput
func (CacheRedisConfigurationOutput) ToCacheRedisConfigurationPtrOutput ¶
func (o CacheRedisConfigurationOutput) ToCacheRedisConfigurationPtrOutput() CacheRedisConfigurationPtrOutput
func (CacheRedisConfigurationOutput) ToCacheRedisConfigurationPtrOutputWithContext ¶
func (o CacheRedisConfigurationOutput) ToCacheRedisConfigurationPtrOutputWithContext(ctx context.Context) CacheRedisConfigurationPtrOutput
func (CacheRedisConfigurationOutput) ToOutput ¶ added in v5.52.0
func (o CacheRedisConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[CacheRedisConfiguration]
type CacheRedisConfigurationPtrInput ¶
type CacheRedisConfigurationPtrInput interface { pulumi.Input ToCacheRedisConfigurationPtrOutput() CacheRedisConfigurationPtrOutput ToCacheRedisConfigurationPtrOutputWithContext(context.Context) CacheRedisConfigurationPtrOutput }
CacheRedisConfigurationPtrInput is an input type that accepts CacheRedisConfigurationArgs, CacheRedisConfigurationPtr and CacheRedisConfigurationPtrOutput values. You can construct a concrete instance of `CacheRedisConfigurationPtrInput` via:
CacheRedisConfigurationArgs{...} or: nil
func CacheRedisConfigurationPtr ¶
func CacheRedisConfigurationPtr(v *CacheRedisConfigurationArgs) CacheRedisConfigurationPtrInput
type CacheRedisConfigurationPtrOutput ¶
type CacheRedisConfigurationPtrOutput struct{ *pulumi.OutputState }
func (CacheRedisConfigurationPtrOutput) AofBackupEnabled ¶
func (o CacheRedisConfigurationPtrOutput) AofBackupEnabled() pulumi.BoolPtrOutput
Enable or disable AOF persistence for this Redis Cache. Defaults to `false`.
> **NOTE:** `aofBackupEnabled` can only be set when SKU is `Premium`.
func (CacheRedisConfigurationPtrOutput) AofStorageConnectionString0 ¶
func (o CacheRedisConfigurationPtrOutput) AofStorageConnectionString0() pulumi.StringPtrOutput
First Storage Account connection string for AOF persistence.
func (CacheRedisConfigurationPtrOutput) AofStorageConnectionString1 ¶
func (o CacheRedisConfigurationPtrOutput) AofStorageConnectionString1() pulumi.StringPtrOutput
Second Storage Account connection string for AOF persistence.
Example usage:
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
```
func (CacheRedisConfigurationPtrOutput) Elem ¶
func (o CacheRedisConfigurationPtrOutput) Elem() CacheRedisConfigurationOutput
func (CacheRedisConfigurationPtrOutput) ElementType ¶
func (CacheRedisConfigurationPtrOutput) ElementType() reflect.Type
func (CacheRedisConfigurationPtrOutput) EnableAuthentication ¶
func (o CacheRedisConfigurationPtrOutput) EnableAuthentication() pulumi.BoolPtrOutput
If set to `false`, the Redis instance will be accessible without authentication. Defaults to `true`.
> **NOTE:** `enableAuthentication` can only be set to `false` if a `subnetId` is specified; and only works if there aren't existing instances within the subnet with `enableAuthentication` set to `true`.
func (CacheRedisConfigurationPtrOutput) Maxclients ¶
func (o CacheRedisConfigurationPtrOutput) Maxclients() pulumi.IntPtrOutput
Returns the max number of connected clients at the same time.
func (CacheRedisConfigurationPtrOutput) MaxfragmentationmemoryReserved ¶
func (o CacheRedisConfigurationPtrOutput) MaxfragmentationmemoryReserved() pulumi.IntPtrOutput
Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.
func (CacheRedisConfigurationPtrOutput) MaxmemoryDelta ¶
func (o CacheRedisConfigurationPtrOutput) MaxmemoryDelta() pulumi.IntPtrOutput
The max-memory delta for this Redis instance. Defaults are shown below.
func (CacheRedisConfigurationPtrOutput) MaxmemoryPolicy ¶
func (o CacheRedisConfigurationPtrOutput) MaxmemoryPolicy() pulumi.StringPtrOutput
How Redis will select what to remove when `maxmemory` is reached. Defaults are shown below. Defaults to `volatile-lru`.
func (CacheRedisConfigurationPtrOutput) MaxmemoryReserved ¶
func (o CacheRedisConfigurationPtrOutput) MaxmemoryReserved() pulumi.IntPtrOutput
Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.
func (CacheRedisConfigurationPtrOutput) NotifyKeyspaceEvents ¶
func (o CacheRedisConfigurationPtrOutput) NotifyKeyspaceEvents() pulumi.StringPtrOutput
Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. [Reference](https://redis.io/topics/notifications#configuration)
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
```
func (CacheRedisConfigurationPtrOutput) RdbBackupEnabled ¶
func (o CacheRedisConfigurationPtrOutput) RdbBackupEnabled() pulumi.BoolPtrOutput
Is Backup Enabled? Only supported on Premium SKUs. Defaults to `false`.
> **NOTE:** If `rdbBackupEnabled` set to `true`, `rdbStorageConnectionString` must also be set.
func (CacheRedisConfigurationPtrOutput) RdbBackupFrequency ¶
func (o CacheRedisConfigurationPtrOutput) RdbBackupFrequency() pulumi.IntPtrOutput
The Backup Frequency in Minutes. Only supported on Premium SKUs. Possible values are: `15`, `30`, `60`, `360`, `720` and `1440`.
func (CacheRedisConfigurationPtrOutput) RdbBackupMaxSnapshotCount ¶
func (o CacheRedisConfigurationPtrOutput) RdbBackupMaxSnapshotCount() pulumi.IntPtrOutput
The maximum number of snapshots to create as a backup. Only supported for Premium SKUs.
func (CacheRedisConfigurationPtrOutput) RdbStorageConnectionString ¶
func (o CacheRedisConfigurationPtrOutput) RdbStorageConnectionString() pulumi.StringPtrOutput
The Connection String to the Storage Account. Only supported for Premium SKUs. In the format: `DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.example.primary_blob_endpoint};AccountName=${azurerm_storage_account.example.name};AccountKey=${azurerm_storage_account.example.primary_access_key}`.
> **NOTE:** There's a bug in the Redis API where the original storage connection string isn't being returned, which [is being tracked in this issue](https://github.com/Azure/azure-rest-api-specs/issues/3037). In the interim you can use [the `ignoreChanges` attribute to ignore changes to this field](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) e.g.:
func (CacheRedisConfigurationPtrOutput) ToCacheRedisConfigurationPtrOutput ¶
func (o CacheRedisConfigurationPtrOutput) ToCacheRedisConfigurationPtrOutput() CacheRedisConfigurationPtrOutput
func (CacheRedisConfigurationPtrOutput) ToCacheRedisConfigurationPtrOutputWithContext ¶
func (o CacheRedisConfigurationPtrOutput) ToCacheRedisConfigurationPtrOutputWithContext(ctx context.Context) CacheRedisConfigurationPtrOutput
func (CacheRedisConfigurationPtrOutput) ToOutput ¶ added in v5.52.0
func (o CacheRedisConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CacheRedisConfiguration]
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, 5`. Capacity pulumi.IntPtrInput // Enable the non-SSL port (6379) - disabled by default. EnableNonSslPort pulumi.BoolPtrInput // The SKU family/pricing group to use. Valid values are `C` (for Basic/Standard SKU family) and `P` (for `Premium`) Family pulumi.StringPtrInput // The Hostname of the Redis Instance Hostname pulumi.StringPtrInput // An `identity` block as defined below. Identity CacheIdentityPtrInput // The location of the resource group. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The minimum TLS version. Possible values are `1.0`, `1.1` and `1.2`. Defaults to `1.0`. MinimumTlsVersion pulumi.StringPtrInput // The name of the Redis instance. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A list of `patchSchedule` blocks as defined below. PatchSchedules CachePatchScheduleArrayInput // The non-SSL Port of the Redis Instance Port pulumi.IntPtrInput // The Primary Access Key for the Redis Instance PrimaryAccessKey pulumi.StringPtrInput // The primary connection string of the Redis Instance. PrimaryConnectionString pulumi.StringPtrInput // The Static IP Address to assign to the Redis Cache when hosted inside the Virtual Network. This argument implies the use of `subnetId`. Changing this forces a new resource to be created. PrivateStaticIpAddress pulumi.StringPtrInput // Whether or not public network access is allowed for this Redis Cache. `true` means this resource could be accessed by both public and private endpoint. `false` means only private endpoint access is allowed. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // A `redisConfiguration` as defined below - with some limitations by SKU - defaults/details are shown below. RedisConfiguration CacheRedisConfigurationPtrInput // Redis version. Only major version needed. Valid values: `4`, `6`. RedisVersion pulumi.StringPtrInput // Amount of replicas to create per master for this Redis Cache. // // > **Note:** Configuring the number of replicas per master is only available when using the Premium SKU and cannot be used in conjunction with shards. ReplicasPerMaster pulumi.IntPtrInput // Amount of replicas to create per primary for this Redis Cache. If both `replicasPerPrimary` and `replicasPerMaster` are set, they need to be equal. ReplicasPerPrimary pulumi.IntPtrInput // The name of the resource group in which to create the Redis instance. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The Secondary Access Key for the Redis Instance SecondaryAccessKey pulumi.StringPtrInput // The secondary connection string of the Redis Instance. SecondaryConnectionString pulumi.StringPtrInput // *Only available when using the Premium SKU* The number of Shards to create on the Redis Cluster. ShardCount pulumi.IntPtrInput // The SKU of Redis to use. Possible values are `Basic`, `Standard` and `Premium`. // // > **Note** Downgrading the SKU will force a new resource to be created. SkuName pulumi.StringPtrInput // The SSL Port of the Redis Instance SslPort pulumi.IntPtrInput // *Only available when using the Premium SKU* The ID of the Subnet within which the Redis Cache should be deployed. This Subnet must only contain Azure Cache for Redis instances without any other type of resources. Changing this forces a new resource to be created. SubnetId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // A mapping of tenant settings to assign to the resource. TenantSettings pulumi.StringMapInput // Specifies a list of Availability Zones in which this Redis Cache should be located. Changing this forces a new Redis Cache to be created. // // > **Please Note**: Availability Zones are [in Preview and only supported in several regions at this time](https://docs.microsoft.com/azure/availability-zones/az-overview) - as such you must be opted into the Preview to use this functionality. You can [opt into the Availability Zones Preview in the Azure Portal](https://aka.ms/azenroll). Zones pulumi.StringArrayInput }
func (CacheState) ElementType ¶
func (CacheState) ElementType() reflect.Type
type EnterpriseCluster ¶
type EnterpriseCluster struct { pulumi.CustomResourceState // DNS name of the cluster endpoint. Hostname pulumi.StringOutput `pulumi:"hostname"` // The Azure Region where the Redis Enterprise Cluster should exist. Changing this forces a new Redis Enterprise Cluster to be created. Location pulumi.StringOutput `pulumi:"location"` // The minimum TLS version. Possible values are `1.0`, `1.1` and `1.2`. Defaults to `1.2`. Changing this forces a new Redis Enterprise Cluster to be created. MinimumTlsVersion pulumi.StringPtrOutput `pulumi:"minimumTlsVersion"` // The name which should be used for this Redis Enterprise Cluster. Changing this forces a new Redis Enterprise Cluster to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the Resource Group where the Redis Enterprise Cluster should exist. Changing this forces a new Redis Enterprise Cluster to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The `skuName` is comprised of two segments separated by a hyphen (e.g. `Enterprise_E10-2`). The first segment of the `skuName` defines the `name` of the SKU, possible values are `Enterprise_E5`, `Enterprise_E10`, `Enterprise_E20"`, `Enterprise_E50`, `Enterprise_E100`, `Enterprise_E200`, `Enterprise_E400`, `EnterpriseFlash_F300`, `EnterpriseFlash_F700` or `EnterpriseFlash_F1500`. The second segment defines the `capacity` of the `skuName`, possible values for `Enteprise` SKUs are (`2`, `4`, `6`, ...). Possible values for `EnterpriseFlash` SKUs are (`3`, `9`, `15`, ...). Changing this forces a new Redis Enterprise Cluster to be created. SkuName pulumi.StringOutput `pulumi:"skuName"` // A mapping of tags which should be assigned to the Redis Enterprise Cluster. Tags pulumi.StringMapOutput `pulumi:"tags"` // Specifies a list of Availability Zones in which this Redis Enterprise Cluster should be located. Changing this forces a new Redis Enterprise Cluster to be created. Zones pulumi.StringArrayOutput `pulumi:"zones"` }
Manages a Redis Enterprise Cluster.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/redis" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = redis.NewEnterpriseCluster(ctx, "exampleEnterpriseCluster", &redis.EnterpriseClusterArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, SkuName: pulumi.String("EnterpriseFlash_F300-3"), }) if err != nil { return err } return nil }) }
```
## Import
Redis Enterprise Clusters can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:redis/enterpriseCluster:EnterpriseCluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Cache/redisEnterprise/cluster1
```
func GetEnterpriseCluster ¶
func GetEnterpriseCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EnterpriseClusterState, opts ...pulumi.ResourceOption) (*EnterpriseCluster, error)
GetEnterpriseCluster gets an existing EnterpriseCluster 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 NewEnterpriseCluster ¶
func NewEnterpriseCluster(ctx *pulumi.Context, name string, args *EnterpriseClusterArgs, opts ...pulumi.ResourceOption) (*EnterpriseCluster, error)
NewEnterpriseCluster registers a new resource with the given unique name, arguments, and options.
func (*EnterpriseCluster) ElementType ¶
func (*EnterpriseCluster) ElementType() reflect.Type
func (*EnterpriseCluster) ToEnterpriseClusterOutput ¶
func (i *EnterpriseCluster) ToEnterpriseClusterOutput() EnterpriseClusterOutput
func (*EnterpriseCluster) ToEnterpriseClusterOutputWithContext ¶
func (i *EnterpriseCluster) ToEnterpriseClusterOutputWithContext(ctx context.Context) EnterpriseClusterOutput
func (*EnterpriseCluster) ToOutput ¶ added in v5.52.0
func (i *EnterpriseCluster) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCluster]
type EnterpriseClusterArgs ¶
type EnterpriseClusterArgs struct { // The Azure Region where the Redis Enterprise Cluster should exist. Changing this forces a new Redis Enterprise Cluster to be created. Location pulumi.StringPtrInput // The minimum TLS version. Possible values are `1.0`, `1.1` and `1.2`. Defaults to `1.2`. Changing this forces a new Redis Enterprise Cluster to be created. MinimumTlsVersion pulumi.StringPtrInput // The name which should be used for this Redis Enterprise Cluster. Changing this forces a new Redis Enterprise Cluster to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Redis Enterprise Cluster should exist. Changing this forces a new Redis Enterprise Cluster to be created. ResourceGroupName pulumi.StringInput // The `skuName` is comprised of two segments separated by a hyphen (e.g. `Enterprise_E10-2`). The first segment of the `skuName` defines the `name` of the SKU, possible values are `Enterprise_E5`, `Enterprise_E10`, `Enterprise_E20"`, `Enterprise_E50`, `Enterprise_E100`, `Enterprise_E200`, `Enterprise_E400`, `EnterpriseFlash_F300`, `EnterpriseFlash_F700` or `EnterpriseFlash_F1500`. The second segment defines the `capacity` of the `skuName`, possible values for `Enteprise` SKUs are (`2`, `4`, `6`, ...). Possible values for `EnterpriseFlash` SKUs are (`3`, `9`, `15`, ...). Changing this forces a new Redis Enterprise Cluster to be created. SkuName pulumi.StringInput // A mapping of tags which should be assigned to the Redis Enterprise Cluster. Tags pulumi.StringMapInput // Specifies a list of Availability Zones in which this Redis Enterprise Cluster should be located. Changing this forces a new Redis Enterprise Cluster to be created. Zones pulumi.StringArrayInput }
The set of arguments for constructing a EnterpriseCluster resource.
func (EnterpriseClusterArgs) ElementType ¶
func (EnterpriseClusterArgs) ElementType() reflect.Type
type EnterpriseClusterArray ¶
type EnterpriseClusterArray []EnterpriseClusterInput
func (EnterpriseClusterArray) ElementType ¶
func (EnterpriseClusterArray) ElementType() reflect.Type
func (EnterpriseClusterArray) ToEnterpriseClusterArrayOutput ¶
func (i EnterpriseClusterArray) ToEnterpriseClusterArrayOutput() EnterpriseClusterArrayOutput
func (EnterpriseClusterArray) ToEnterpriseClusterArrayOutputWithContext ¶
func (i EnterpriseClusterArray) ToEnterpriseClusterArrayOutputWithContext(ctx context.Context) EnterpriseClusterArrayOutput
func (EnterpriseClusterArray) ToOutput ¶ added in v5.52.0
func (i EnterpriseClusterArray) ToOutput(ctx context.Context) pulumix.Output[[]*EnterpriseCluster]
type EnterpriseClusterArrayInput ¶
type EnterpriseClusterArrayInput interface { pulumi.Input ToEnterpriseClusterArrayOutput() EnterpriseClusterArrayOutput ToEnterpriseClusterArrayOutputWithContext(context.Context) EnterpriseClusterArrayOutput }
EnterpriseClusterArrayInput is an input type that accepts EnterpriseClusterArray and EnterpriseClusterArrayOutput values. You can construct a concrete instance of `EnterpriseClusterArrayInput` via:
EnterpriseClusterArray{ EnterpriseClusterArgs{...} }
type EnterpriseClusterArrayOutput ¶
type EnterpriseClusterArrayOutput struct{ *pulumi.OutputState }
func (EnterpriseClusterArrayOutput) ElementType ¶
func (EnterpriseClusterArrayOutput) ElementType() reflect.Type
func (EnterpriseClusterArrayOutput) Index ¶
func (o EnterpriseClusterArrayOutput) Index(i pulumi.IntInput) EnterpriseClusterOutput
func (EnterpriseClusterArrayOutput) ToEnterpriseClusterArrayOutput ¶
func (o EnterpriseClusterArrayOutput) ToEnterpriseClusterArrayOutput() EnterpriseClusterArrayOutput
func (EnterpriseClusterArrayOutput) ToEnterpriseClusterArrayOutputWithContext ¶
func (o EnterpriseClusterArrayOutput) ToEnterpriseClusterArrayOutputWithContext(ctx context.Context) EnterpriseClusterArrayOutput
func (EnterpriseClusterArrayOutput) ToOutput ¶ added in v5.52.0
func (o EnterpriseClusterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*EnterpriseCluster]
type EnterpriseClusterInput ¶
type EnterpriseClusterInput interface { pulumi.Input ToEnterpriseClusterOutput() EnterpriseClusterOutput ToEnterpriseClusterOutputWithContext(ctx context.Context) EnterpriseClusterOutput }
type EnterpriseClusterMap ¶
type EnterpriseClusterMap map[string]EnterpriseClusterInput
func (EnterpriseClusterMap) ElementType ¶
func (EnterpriseClusterMap) ElementType() reflect.Type
func (EnterpriseClusterMap) ToEnterpriseClusterMapOutput ¶
func (i EnterpriseClusterMap) ToEnterpriseClusterMapOutput() EnterpriseClusterMapOutput
func (EnterpriseClusterMap) ToEnterpriseClusterMapOutputWithContext ¶
func (i EnterpriseClusterMap) ToEnterpriseClusterMapOutputWithContext(ctx context.Context) EnterpriseClusterMapOutput
func (EnterpriseClusterMap) ToOutput ¶ added in v5.52.0
func (i EnterpriseClusterMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*EnterpriseCluster]
type EnterpriseClusterMapInput ¶
type EnterpriseClusterMapInput interface { pulumi.Input ToEnterpriseClusterMapOutput() EnterpriseClusterMapOutput ToEnterpriseClusterMapOutputWithContext(context.Context) EnterpriseClusterMapOutput }
EnterpriseClusterMapInput is an input type that accepts EnterpriseClusterMap and EnterpriseClusterMapOutput values. You can construct a concrete instance of `EnterpriseClusterMapInput` via:
EnterpriseClusterMap{ "key": EnterpriseClusterArgs{...} }
type EnterpriseClusterMapOutput ¶
type EnterpriseClusterMapOutput struct{ *pulumi.OutputState }
func (EnterpriseClusterMapOutput) ElementType ¶
func (EnterpriseClusterMapOutput) ElementType() reflect.Type
func (EnterpriseClusterMapOutput) MapIndex ¶
func (o EnterpriseClusterMapOutput) MapIndex(k pulumi.StringInput) EnterpriseClusterOutput
func (EnterpriseClusterMapOutput) ToEnterpriseClusterMapOutput ¶
func (o EnterpriseClusterMapOutput) ToEnterpriseClusterMapOutput() EnterpriseClusterMapOutput
func (EnterpriseClusterMapOutput) ToEnterpriseClusterMapOutputWithContext ¶
func (o EnterpriseClusterMapOutput) ToEnterpriseClusterMapOutputWithContext(ctx context.Context) EnterpriseClusterMapOutput
func (EnterpriseClusterMapOutput) ToOutput ¶ added in v5.52.0
func (o EnterpriseClusterMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*EnterpriseCluster]
type EnterpriseClusterOutput ¶
type EnterpriseClusterOutput struct{ *pulumi.OutputState }
func (EnterpriseClusterOutput) ElementType ¶
func (EnterpriseClusterOutput) ElementType() reflect.Type
func (EnterpriseClusterOutput) Hostname ¶ added in v5.5.0
func (o EnterpriseClusterOutput) Hostname() pulumi.StringOutput
DNS name of the cluster endpoint.
func (EnterpriseClusterOutput) Location ¶ added in v5.5.0
func (o EnterpriseClusterOutput) Location() pulumi.StringOutput
The Azure Region where the Redis Enterprise Cluster should exist. Changing this forces a new Redis Enterprise Cluster to be created.
func (EnterpriseClusterOutput) MinimumTlsVersion ¶ added in v5.5.0
func (o EnterpriseClusterOutput) MinimumTlsVersion() pulumi.StringPtrOutput
The minimum TLS version. Possible values are `1.0`, `1.1` and `1.2`. Defaults to `1.2`. Changing this forces a new Redis Enterprise Cluster to be created.
func (EnterpriseClusterOutput) Name ¶ added in v5.5.0
func (o EnterpriseClusterOutput) Name() pulumi.StringOutput
The name which should be used for this Redis Enterprise Cluster. Changing this forces a new Redis Enterprise Cluster to be created.
func (EnterpriseClusterOutput) ResourceGroupName ¶ added in v5.5.0
func (o EnterpriseClusterOutput) ResourceGroupName() pulumi.StringOutput
The name of the Resource Group where the Redis Enterprise Cluster should exist. Changing this forces a new Redis Enterprise Cluster to be created.
func (EnterpriseClusterOutput) SkuName ¶ added in v5.5.0
func (o EnterpriseClusterOutput) SkuName() pulumi.StringOutput
The `skuName` is comprised of two segments separated by a hyphen (e.g. `Enterprise_E10-2`). The first segment of the `skuName` defines the `name` of the SKU, possible values are `Enterprise_E5`, `Enterprise_E10`, `Enterprise_E20"`, `Enterprise_E50`, `Enterprise_E100`, `Enterprise_E200`, `Enterprise_E400`, `EnterpriseFlash_F300`, `EnterpriseFlash_F700` or `EnterpriseFlash_F1500`. The second segment defines the `capacity` of the `skuName`, possible values for `Enteprise` SKUs are (`2`, `4`, `6`, ...). Possible values for `EnterpriseFlash` SKUs are (`3`, `9`, `15`, ...). Changing this forces a new Redis Enterprise Cluster to be created.
func (EnterpriseClusterOutput) Tags ¶ added in v5.5.0
func (o EnterpriseClusterOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Redis Enterprise Cluster.
func (EnterpriseClusterOutput) ToEnterpriseClusterOutput ¶
func (o EnterpriseClusterOutput) ToEnterpriseClusterOutput() EnterpriseClusterOutput
func (EnterpriseClusterOutput) ToEnterpriseClusterOutputWithContext ¶
func (o EnterpriseClusterOutput) ToEnterpriseClusterOutputWithContext(ctx context.Context) EnterpriseClusterOutput
func (EnterpriseClusterOutput) ToOutput ¶ added in v5.52.0
func (o EnterpriseClusterOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCluster]
func (EnterpriseClusterOutput) Zones ¶ added in v5.5.0
func (o EnterpriseClusterOutput) Zones() pulumi.StringArrayOutput
Specifies a list of Availability Zones in which this Redis Enterprise Cluster should be located. Changing this forces a new Redis Enterprise Cluster to be created.
type EnterpriseClusterState ¶
type EnterpriseClusterState struct { // DNS name of the cluster endpoint. Hostname pulumi.StringPtrInput // The Azure Region where the Redis Enterprise Cluster should exist. Changing this forces a new Redis Enterprise Cluster to be created. Location pulumi.StringPtrInput // The minimum TLS version. Possible values are `1.0`, `1.1` and `1.2`. Defaults to `1.2`. Changing this forces a new Redis Enterprise Cluster to be created. MinimumTlsVersion pulumi.StringPtrInput // The name which should be used for this Redis Enterprise Cluster. Changing this forces a new Redis Enterprise Cluster to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Redis Enterprise Cluster should exist. Changing this forces a new Redis Enterprise Cluster to be created. ResourceGroupName pulumi.StringPtrInput // The `skuName` is comprised of two segments separated by a hyphen (e.g. `Enterprise_E10-2`). The first segment of the `skuName` defines the `name` of the SKU, possible values are `Enterprise_E5`, `Enterprise_E10`, `Enterprise_E20"`, `Enterprise_E50`, `Enterprise_E100`, `Enterprise_E200`, `Enterprise_E400`, `EnterpriseFlash_F300`, `EnterpriseFlash_F700` or `EnterpriseFlash_F1500`. The second segment defines the `capacity` of the `skuName`, possible values for `Enteprise` SKUs are (`2`, `4`, `6`, ...). Possible values for `EnterpriseFlash` SKUs are (`3`, `9`, `15`, ...). Changing this forces a new Redis Enterprise Cluster to be created. SkuName pulumi.StringPtrInput // A mapping of tags which should be assigned to the Redis Enterprise Cluster. Tags pulumi.StringMapInput // Specifies a list of Availability Zones in which this Redis Enterprise Cluster should be located. Changing this forces a new Redis Enterprise Cluster to be created. Zones pulumi.StringArrayInput }
func (EnterpriseClusterState) ElementType ¶
func (EnterpriseClusterState) ElementType() reflect.Type
type EnterpriseDatabase ¶
type EnterpriseDatabase struct { pulumi.CustomResourceState // Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values are `Encrypted` and `Plaintext`. Defaults to `Encrypted`. Changing this forces a new Redis Enterprise Database to be created. ClientProtocol pulumi.StringPtrOutput `pulumi:"clientProtocol"` // The resource id of the Redis Enterprise Cluster to deploy this Redis Enterprise Database. Changing this forces a new Redis Enterprise Database to be created. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // Clustering policy - default is OSSCluster. Specified at create time. Possible values are `EnterpriseCluster` and `OSSCluster`. Defaults to `OSSCluster`. Changing this forces a new Redis Enterprise Database to be created. ClusteringPolicy pulumi.StringPtrOutput `pulumi:"clusteringPolicy"` // Redis eviction policy - default is `VolatileLRU`. Possible values are `AllKeysLFU`, `AllKeysLRU`, `AllKeysRandom`, `VolatileLRU`, `VolatileLFU`, `VolatileTTL`, `VolatileRandom` and `NoEviction`. Changing this forces a new Redis Enterprise Database to be created. EvictionPolicy pulumi.StringPtrOutput `pulumi:"evictionPolicy"` // Nickname of the group of linked databases. Changing this force a new Redis Enterprise Geo Database to be created. LinkedDatabaseGroupNickname pulumi.StringPtrOutput `pulumi:"linkedDatabaseGroupNickname"` // A list of database resources to link with this database with a maximum of 5. // // > **NOTE:** Only the newly created databases can be added to an existing geo-replication group. Existing regular databases or recreated databases cannot be added to the existing geo-replication group. Any linked database be removed from the list will be forcefully unlinked.The only recommended operation is to delete after force-unlink and the recommended scenario of force-unlink is region outrage. The database cannot be linked again after force-unlink. LinkedDatabaseIds pulumi.StringArrayOutput `pulumi:"linkedDatabaseIds"` // A `module` block as defined below. Changing this forces a new resource to be created. // // > **NOTE:** Only `RediSearch` and `RedisJSON` modules are allowed with geo-replication Modules EnterpriseDatabaseModuleArrayOutput `pulumi:"modules"` // The name which should be used for this Redis Enterprise Database. Currently the acceptable value for this argument is `default`. Defaults to `default`. Changing this forces a new Redis Enterprise Database to be created. Name pulumi.StringOutput `pulumi:"name"` // TCP port of the database endpoint. Specified at create time. Defaults to an available port. Changing this forces a new Redis Enterprise Database to be created. Defaults to `10000`. Port pulumi.IntPtrOutput `pulumi:"port"` // The Primary Access Key for the Redis Enterprise Database Instance. PrimaryAccessKey pulumi.StringOutput `pulumi:"primaryAccessKey"` // The name of the Resource Group where the Redis Enterprise Database should exist. Changing this forces a new Redis Enterprise Database to be created. // // Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The Secondary Access Key for the Redis Enterprise Database Instance. SecondaryAccessKey pulumi.StringOutput `pulumi:"secondaryAccessKey"` }
Manages a Redis Enterprise Database.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/redis" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleEnterpriseCluster, err := redis.NewEnterpriseCluster(ctx, "exampleEnterpriseCluster", &redis.EnterpriseClusterArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, SkuName: pulumi.String("Enterprise_E20-4"), }) if err != nil { return err } example1, err := redis.NewEnterpriseCluster(ctx, "example1", &redis.EnterpriseClusterArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, SkuName: pulumi.String("Enterprise_E20-4"), }) if err != nil { return err } _, err = redis.NewEnterpriseDatabase(ctx, "exampleEnterpriseDatabase", &redis.EnterpriseDatabaseArgs{ ResourceGroupName: exampleResourceGroup.Name, ClusterId: exampleEnterpriseCluster.ID(), ClientProtocol: pulumi.String("Encrypted"), ClusteringPolicy: pulumi.String("EnterpriseCluster"), EvictionPolicy: pulumi.String("NoEviction"), Port: pulumi.Int(10000), LinkedDatabaseIds: pulumi.StringArray{ exampleEnterpriseCluster.ID().ApplyT(func(id string) (string, error) { return fmt.Sprintf("%v/databases/default", id), nil }).(pulumi.StringOutput), example1.ID().ApplyT(func(id string) (string, error) { return fmt.Sprintf("%v/databases/default", id), nil }).(pulumi.StringOutput), }, LinkedDatabaseGroupNickname: pulumi.String("tftestGeoGroup"), }) if err != nil { return err } return nil }) }
```
## Import
Redis Enterprise Databases can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:redis/enterpriseDatabase:EnterpriseDatabase example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Cache/redisEnterprise/cluster1/databases/database1
```
func GetEnterpriseDatabase ¶
func GetEnterpriseDatabase(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EnterpriseDatabaseState, opts ...pulumi.ResourceOption) (*EnterpriseDatabase, error)
GetEnterpriseDatabase gets an existing EnterpriseDatabase 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 NewEnterpriseDatabase ¶
func NewEnterpriseDatabase(ctx *pulumi.Context, name string, args *EnterpriseDatabaseArgs, opts ...pulumi.ResourceOption) (*EnterpriseDatabase, error)
NewEnterpriseDatabase registers a new resource with the given unique name, arguments, and options.
func (*EnterpriseDatabase) ElementType ¶
func (*EnterpriseDatabase) ElementType() reflect.Type
func (*EnterpriseDatabase) ToEnterpriseDatabaseOutput ¶
func (i *EnterpriseDatabase) ToEnterpriseDatabaseOutput() EnterpriseDatabaseOutput
func (*EnterpriseDatabase) ToEnterpriseDatabaseOutputWithContext ¶
func (i *EnterpriseDatabase) ToEnterpriseDatabaseOutputWithContext(ctx context.Context) EnterpriseDatabaseOutput
func (*EnterpriseDatabase) ToOutput ¶ added in v5.52.0
func (i *EnterpriseDatabase) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseDatabase]
type EnterpriseDatabaseArgs ¶
type EnterpriseDatabaseArgs struct { // Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values are `Encrypted` and `Plaintext`. Defaults to `Encrypted`. Changing this forces a new Redis Enterprise Database to be created. ClientProtocol pulumi.StringPtrInput // The resource id of the Redis Enterprise Cluster to deploy this Redis Enterprise Database. Changing this forces a new Redis Enterprise Database to be created. ClusterId pulumi.StringInput // Clustering policy - default is OSSCluster. Specified at create time. Possible values are `EnterpriseCluster` and `OSSCluster`. Defaults to `OSSCluster`. Changing this forces a new Redis Enterprise Database to be created. ClusteringPolicy pulumi.StringPtrInput // Redis eviction policy - default is `VolatileLRU`. Possible values are `AllKeysLFU`, `AllKeysLRU`, `AllKeysRandom`, `VolatileLRU`, `VolatileLFU`, `VolatileTTL`, `VolatileRandom` and `NoEviction`. Changing this forces a new Redis Enterprise Database to be created. EvictionPolicy pulumi.StringPtrInput // Nickname of the group of linked databases. Changing this force a new Redis Enterprise Geo Database to be created. LinkedDatabaseGroupNickname pulumi.StringPtrInput // A list of database resources to link with this database with a maximum of 5. // // > **NOTE:** Only the newly created databases can be added to an existing geo-replication group. Existing regular databases or recreated databases cannot be added to the existing geo-replication group. Any linked database be removed from the list will be forcefully unlinked.The only recommended operation is to delete after force-unlink and the recommended scenario of force-unlink is region outrage. The database cannot be linked again after force-unlink. LinkedDatabaseIds pulumi.StringArrayInput // A `module` block as defined below. Changing this forces a new resource to be created. // // > **NOTE:** Only `RediSearch` and `RedisJSON` modules are allowed with geo-replication Modules EnterpriseDatabaseModuleArrayInput // The name which should be used for this Redis Enterprise Database. Currently the acceptable value for this argument is `default`. Defaults to `default`. Changing this forces a new Redis Enterprise Database to be created. Name pulumi.StringPtrInput // TCP port of the database endpoint. Specified at create time. Defaults to an available port. Changing this forces a new Redis Enterprise Database to be created. Defaults to `10000`. Port pulumi.IntPtrInput // The name of the Resource Group where the Redis Enterprise Database should exist. Changing this forces a new Redis Enterprise Database to be created. // // Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider ResourceGroupName pulumi.StringPtrInput }
The set of arguments for constructing a EnterpriseDatabase resource.
func (EnterpriseDatabaseArgs) ElementType ¶
func (EnterpriseDatabaseArgs) ElementType() reflect.Type
type EnterpriseDatabaseArray ¶
type EnterpriseDatabaseArray []EnterpriseDatabaseInput
func (EnterpriseDatabaseArray) ElementType ¶
func (EnterpriseDatabaseArray) ElementType() reflect.Type
func (EnterpriseDatabaseArray) ToEnterpriseDatabaseArrayOutput ¶
func (i EnterpriseDatabaseArray) ToEnterpriseDatabaseArrayOutput() EnterpriseDatabaseArrayOutput
func (EnterpriseDatabaseArray) ToEnterpriseDatabaseArrayOutputWithContext ¶
func (i EnterpriseDatabaseArray) ToEnterpriseDatabaseArrayOutputWithContext(ctx context.Context) EnterpriseDatabaseArrayOutput
func (EnterpriseDatabaseArray) ToOutput ¶ added in v5.52.0
func (i EnterpriseDatabaseArray) ToOutput(ctx context.Context) pulumix.Output[[]*EnterpriseDatabase]
type EnterpriseDatabaseArrayInput ¶
type EnterpriseDatabaseArrayInput interface { pulumi.Input ToEnterpriseDatabaseArrayOutput() EnterpriseDatabaseArrayOutput ToEnterpriseDatabaseArrayOutputWithContext(context.Context) EnterpriseDatabaseArrayOutput }
EnterpriseDatabaseArrayInput is an input type that accepts EnterpriseDatabaseArray and EnterpriseDatabaseArrayOutput values. You can construct a concrete instance of `EnterpriseDatabaseArrayInput` via:
EnterpriseDatabaseArray{ EnterpriseDatabaseArgs{...} }
type EnterpriseDatabaseArrayOutput ¶
type EnterpriseDatabaseArrayOutput struct{ *pulumi.OutputState }
func (EnterpriseDatabaseArrayOutput) ElementType ¶
func (EnterpriseDatabaseArrayOutput) ElementType() reflect.Type
func (EnterpriseDatabaseArrayOutput) Index ¶
func (o EnterpriseDatabaseArrayOutput) Index(i pulumi.IntInput) EnterpriseDatabaseOutput
func (EnterpriseDatabaseArrayOutput) ToEnterpriseDatabaseArrayOutput ¶
func (o EnterpriseDatabaseArrayOutput) ToEnterpriseDatabaseArrayOutput() EnterpriseDatabaseArrayOutput
func (EnterpriseDatabaseArrayOutput) ToEnterpriseDatabaseArrayOutputWithContext ¶
func (o EnterpriseDatabaseArrayOutput) ToEnterpriseDatabaseArrayOutputWithContext(ctx context.Context) EnterpriseDatabaseArrayOutput
func (EnterpriseDatabaseArrayOutput) ToOutput ¶ added in v5.52.0
func (o EnterpriseDatabaseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*EnterpriseDatabase]
type EnterpriseDatabaseInput ¶
type EnterpriseDatabaseInput interface { pulumi.Input ToEnterpriseDatabaseOutput() EnterpriseDatabaseOutput ToEnterpriseDatabaseOutputWithContext(ctx context.Context) EnterpriseDatabaseOutput }
type EnterpriseDatabaseMap ¶
type EnterpriseDatabaseMap map[string]EnterpriseDatabaseInput
func (EnterpriseDatabaseMap) ElementType ¶
func (EnterpriseDatabaseMap) ElementType() reflect.Type
func (EnterpriseDatabaseMap) ToEnterpriseDatabaseMapOutput ¶
func (i EnterpriseDatabaseMap) ToEnterpriseDatabaseMapOutput() EnterpriseDatabaseMapOutput
func (EnterpriseDatabaseMap) ToEnterpriseDatabaseMapOutputWithContext ¶
func (i EnterpriseDatabaseMap) ToEnterpriseDatabaseMapOutputWithContext(ctx context.Context) EnterpriseDatabaseMapOutput
func (EnterpriseDatabaseMap) ToOutput ¶ added in v5.52.0
func (i EnterpriseDatabaseMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*EnterpriseDatabase]
type EnterpriseDatabaseMapInput ¶
type EnterpriseDatabaseMapInput interface { pulumi.Input ToEnterpriseDatabaseMapOutput() EnterpriseDatabaseMapOutput ToEnterpriseDatabaseMapOutputWithContext(context.Context) EnterpriseDatabaseMapOutput }
EnterpriseDatabaseMapInput is an input type that accepts EnterpriseDatabaseMap and EnterpriseDatabaseMapOutput values. You can construct a concrete instance of `EnterpriseDatabaseMapInput` via:
EnterpriseDatabaseMap{ "key": EnterpriseDatabaseArgs{...} }
type EnterpriseDatabaseMapOutput ¶
type EnterpriseDatabaseMapOutput struct{ *pulumi.OutputState }
func (EnterpriseDatabaseMapOutput) ElementType ¶
func (EnterpriseDatabaseMapOutput) ElementType() reflect.Type
func (EnterpriseDatabaseMapOutput) MapIndex ¶
func (o EnterpriseDatabaseMapOutput) MapIndex(k pulumi.StringInput) EnterpriseDatabaseOutput
func (EnterpriseDatabaseMapOutput) ToEnterpriseDatabaseMapOutput ¶
func (o EnterpriseDatabaseMapOutput) ToEnterpriseDatabaseMapOutput() EnterpriseDatabaseMapOutput
func (EnterpriseDatabaseMapOutput) ToEnterpriseDatabaseMapOutputWithContext ¶
func (o EnterpriseDatabaseMapOutput) ToEnterpriseDatabaseMapOutputWithContext(ctx context.Context) EnterpriseDatabaseMapOutput
func (EnterpriseDatabaseMapOutput) ToOutput ¶ added in v5.52.0
func (o EnterpriseDatabaseMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*EnterpriseDatabase]
type EnterpriseDatabaseModule ¶
type EnterpriseDatabaseModule struct { // Configuration options for the module (e.g. `ERROR_RATE 0.00 INITIAL_SIZE 400`). Changing this forces a new resource to be created. Defaults to `""`. Args *string `pulumi:"args"` // The name which should be used for this module. Possible values are `RedisBloom`, `RedisTimeSeries`, `RediSearch` and `RedisJSON`. Changing this forces a new Redis Enterprise Database to be created. Name string `pulumi:"name"` Version *string `pulumi:"version"` }
type EnterpriseDatabaseModuleArgs ¶
type EnterpriseDatabaseModuleArgs struct { // Configuration options for the module (e.g. `ERROR_RATE 0.00 INITIAL_SIZE 400`). Changing this forces a new resource to be created. Defaults to `""`. Args pulumi.StringPtrInput `pulumi:"args"` // The name which should be used for this module. Possible values are `RedisBloom`, `RedisTimeSeries`, `RediSearch` and `RedisJSON`. Changing this forces a new Redis Enterprise Database to be created. Name pulumi.StringInput `pulumi:"name"` Version pulumi.StringPtrInput `pulumi:"version"` }
func (EnterpriseDatabaseModuleArgs) ElementType ¶
func (EnterpriseDatabaseModuleArgs) ElementType() reflect.Type
func (EnterpriseDatabaseModuleArgs) ToEnterpriseDatabaseModuleOutput ¶
func (i EnterpriseDatabaseModuleArgs) ToEnterpriseDatabaseModuleOutput() EnterpriseDatabaseModuleOutput
func (EnterpriseDatabaseModuleArgs) ToEnterpriseDatabaseModuleOutputWithContext ¶
func (i EnterpriseDatabaseModuleArgs) ToEnterpriseDatabaseModuleOutputWithContext(ctx context.Context) EnterpriseDatabaseModuleOutput
func (EnterpriseDatabaseModuleArgs) ToOutput ¶ added in v5.52.0
func (i EnterpriseDatabaseModuleArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseDatabaseModule]
type EnterpriseDatabaseModuleArray ¶
type EnterpriseDatabaseModuleArray []EnterpriseDatabaseModuleInput
func (EnterpriseDatabaseModuleArray) ElementType ¶
func (EnterpriseDatabaseModuleArray) ElementType() reflect.Type
func (EnterpriseDatabaseModuleArray) ToEnterpriseDatabaseModuleArrayOutput ¶
func (i EnterpriseDatabaseModuleArray) ToEnterpriseDatabaseModuleArrayOutput() EnterpriseDatabaseModuleArrayOutput
func (EnterpriseDatabaseModuleArray) ToEnterpriseDatabaseModuleArrayOutputWithContext ¶
func (i EnterpriseDatabaseModuleArray) ToEnterpriseDatabaseModuleArrayOutputWithContext(ctx context.Context) EnterpriseDatabaseModuleArrayOutput
func (EnterpriseDatabaseModuleArray) ToOutput ¶ added in v5.52.0
func (i EnterpriseDatabaseModuleArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseDatabaseModule]
type EnterpriseDatabaseModuleArrayInput ¶
type EnterpriseDatabaseModuleArrayInput interface { pulumi.Input ToEnterpriseDatabaseModuleArrayOutput() EnterpriseDatabaseModuleArrayOutput ToEnterpriseDatabaseModuleArrayOutputWithContext(context.Context) EnterpriseDatabaseModuleArrayOutput }
EnterpriseDatabaseModuleArrayInput is an input type that accepts EnterpriseDatabaseModuleArray and EnterpriseDatabaseModuleArrayOutput values. You can construct a concrete instance of `EnterpriseDatabaseModuleArrayInput` via:
EnterpriseDatabaseModuleArray{ EnterpriseDatabaseModuleArgs{...} }
type EnterpriseDatabaseModuleArrayOutput ¶
type EnterpriseDatabaseModuleArrayOutput struct{ *pulumi.OutputState }
func (EnterpriseDatabaseModuleArrayOutput) ElementType ¶
func (EnterpriseDatabaseModuleArrayOutput) ElementType() reflect.Type
func (EnterpriseDatabaseModuleArrayOutput) Index ¶
func (o EnterpriseDatabaseModuleArrayOutput) Index(i pulumi.IntInput) EnterpriseDatabaseModuleOutput
func (EnterpriseDatabaseModuleArrayOutput) ToEnterpriseDatabaseModuleArrayOutput ¶
func (o EnterpriseDatabaseModuleArrayOutput) ToEnterpriseDatabaseModuleArrayOutput() EnterpriseDatabaseModuleArrayOutput
func (EnterpriseDatabaseModuleArrayOutput) ToEnterpriseDatabaseModuleArrayOutputWithContext ¶
func (o EnterpriseDatabaseModuleArrayOutput) ToEnterpriseDatabaseModuleArrayOutputWithContext(ctx context.Context) EnterpriseDatabaseModuleArrayOutput
func (EnterpriseDatabaseModuleArrayOutput) ToOutput ¶ added in v5.52.0
func (o EnterpriseDatabaseModuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseDatabaseModule]
type EnterpriseDatabaseModuleInput ¶
type EnterpriseDatabaseModuleInput interface { pulumi.Input ToEnterpriseDatabaseModuleOutput() EnterpriseDatabaseModuleOutput ToEnterpriseDatabaseModuleOutputWithContext(context.Context) EnterpriseDatabaseModuleOutput }
EnterpriseDatabaseModuleInput is an input type that accepts EnterpriseDatabaseModuleArgs and EnterpriseDatabaseModuleOutput values. You can construct a concrete instance of `EnterpriseDatabaseModuleInput` via:
EnterpriseDatabaseModuleArgs{...}
type EnterpriseDatabaseModuleOutput ¶
type EnterpriseDatabaseModuleOutput struct{ *pulumi.OutputState }
func (EnterpriseDatabaseModuleOutput) Args ¶
func (o EnterpriseDatabaseModuleOutput) Args() pulumi.StringPtrOutput
Configuration options for the module (e.g. `ERROR_RATE 0.00 INITIAL_SIZE 400`). Changing this forces a new resource to be created. Defaults to `""`.
func (EnterpriseDatabaseModuleOutput) ElementType ¶
func (EnterpriseDatabaseModuleOutput) ElementType() reflect.Type
func (EnterpriseDatabaseModuleOutput) Name ¶
func (o EnterpriseDatabaseModuleOutput) Name() pulumi.StringOutput
The name which should be used for this module. Possible values are `RedisBloom`, `RedisTimeSeries`, `RediSearch` and `RedisJSON`. Changing this forces a new Redis Enterprise Database to be created.
func (EnterpriseDatabaseModuleOutput) ToEnterpriseDatabaseModuleOutput ¶
func (o EnterpriseDatabaseModuleOutput) ToEnterpriseDatabaseModuleOutput() EnterpriseDatabaseModuleOutput
func (EnterpriseDatabaseModuleOutput) ToEnterpriseDatabaseModuleOutputWithContext ¶
func (o EnterpriseDatabaseModuleOutput) ToEnterpriseDatabaseModuleOutputWithContext(ctx context.Context) EnterpriseDatabaseModuleOutput
func (EnterpriseDatabaseModuleOutput) ToOutput ¶ added in v5.52.0
func (o EnterpriseDatabaseModuleOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseDatabaseModule]
func (EnterpriseDatabaseModuleOutput) Version ¶
func (o EnterpriseDatabaseModuleOutput) Version() pulumi.StringPtrOutput
type EnterpriseDatabaseOutput ¶
type EnterpriseDatabaseOutput struct{ *pulumi.OutputState }
func (EnterpriseDatabaseOutput) ClientProtocol ¶ added in v5.5.0
func (o EnterpriseDatabaseOutput) ClientProtocol() pulumi.StringPtrOutput
Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values are `Encrypted` and `Plaintext`. Defaults to `Encrypted`. Changing this forces a new Redis Enterprise Database to be created.
func (EnterpriseDatabaseOutput) ClusterId ¶ added in v5.5.0
func (o EnterpriseDatabaseOutput) ClusterId() pulumi.StringOutput
The resource id of the Redis Enterprise Cluster to deploy this Redis Enterprise Database. Changing this forces a new Redis Enterprise Database to be created.
func (EnterpriseDatabaseOutput) ClusteringPolicy ¶ added in v5.5.0
func (o EnterpriseDatabaseOutput) ClusteringPolicy() pulumi.StringPtrOutput
Clustering policy - default is OSSCluster. Specified at create time. Possible values are `EnterpriseCluster` and `OSSCluster`. Defaults to `OSSCluster`. Changing this forces a new Redis Enterprise Database to be created.
func (EnterpriseDatabaseOutput) ElementType ¶
func (EnterpriseDatabaseOutput) ElementType() reflect.Type
func (EnterpriseDatabaseOutput) EvictionPolicy ¶ added in v5.5.0
func (o EnterpriseDatabaseOutput) EvictionPolicy() pulumi.StringPtrOutput
Redis eviction policy - default is `VolatileLRU`. Possible values are `AllKeysLFU`, `AllKeysLRU`, `AllKeysRandom`, `VolatileLRU`, `VolatileLFU`, `VolatileTTL`, `VolatileRandom` and `NoEviction`. Changing this forces a new Redis Enterprise Database to be created.
func (EnterpriseDatabaseOutput) LinkedDatabaseGroupNickname ¶ added in v5.5.0
func (o EnterpriseDatabaseOutput) LinkedDatabaseGroupNickname() pulumi.StringPtrOutput
Nickname of the group of linked databases. Changing this force a new Redis Enterprise Geo Database to be created.
func (EnterpriseDatabaseOutput) LinkedDatabaseIds ¶ added in v5.5.0
func (o EnterpriseDatabaseOutput) LinkedDatabaseIds() pulumi.StringArrayOutput
A list of database resources to link with this database with a maximum of 5.
> **NOTE:** Only the newly created databases can be added to an existing geo-replication group. Existing regular databases or recreated databases cannot be added to the existing geo-replication group. Any linked database be removed from the list will be forcefully unlinked.The only recommended operation is to delete after force-unlink and the recommended scenario of force-unlink is region outrage. The database cannot be linked again after force-unlink.
func (EnterpriseDatabaseOutput) Modules ¶ added in v5.5.0
func (o EnterpriseDatabaseOutput) Modules() EnterpriseDatabaseModuleArrayOutput
A `module` block as defined below. Changing this forces a new resource to be created.
> **NOTE:** Only `RediSearch` and `RedisJSON` modules are allowed with geo-replication
func (EnterpriseDatabaseOutput) Name ¶ added in v5.5.0
func (o EnterpriseDatabaseOutput) Name() pulumi.StringOutput
The name which should be used for this Redis Enterprise Database. Currently the acceptable value for this argument is `default`. Defaults to `default`. Changing this forces a new Redis Enterprise Database to be created.
func (EnterpriseDatabaseOutput) Port ¶ added in v5.5.0
func (o EnterpriseDatabaseOutput) Port() pulumi.IntPtrOutput
TCP port of the database endpoint. Specified at create time. Defaults to an available port. Changing this forces a new Redis Enterprise Database to be created. Defaults to `10000`.
func (EnterpriseDatabaseOutput) PrimaryAccessKey ¶ added in v5.5.0
func (o EnterpriseDatabaseOutput) PrimaryAccessKey() pulumi.StringOutput
The Primary Access Key for the Redis Enterprise Database Instance.
func (EnterpriseDatabaseOutput) ResourceGroupName
deprecated
added in
v5.5.0
func (o EnterpriseDatabaseOutput) ResourceGroupName() pulumi.StringOutput
The name of the Resource Group where the Redis Enterprise Database should exist. Changing this forces a new Redis Enterprise Database to be created.
Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider
func (EnterpriseDatabaseOutput) SecondaryAccessKey ¶ added in v5.5.0
func (o EnterpriseDatabaseOutput) SecondaryAccessKey() pulumi.StringOutput
The Secondary Access Key for the Redis Enterprise Database Instance.
func (EnterpriseDatabaseOutput) ToEnterpriseDatabaseOutput ¶
func (o EnterpriseDatabaseOutput) ToEnterpriseDatabaseOutput() EnterpriseDatabaseOutput
func (EnterpriseDatabaseOutput) ToEnterpriseDatabaseOutputWithContext ¶
func (o EnterpriseDatabaseOutput) ToEnterpriseDatabaseOutputWithContext(ctx context.Context) EnterpriseDatabaseOutput
func (EnterpriseDatabaseOutput) ToOutput ¶ added in v5.52.0
func (o EnterpriseDatabaseOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseDatabase]
type EnterpriseDatabaseState ¶
type EnterpriseDatabaseState struct { // Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values are `Encrypted` and `Plaintext`. Defaults to `Encrypted`. Changing this forces a new Redis Enterprise Database to be created. ClientProtocol pulumi.StringPtrInput // The resource id of the Redis Enterprise Cluster to deploy this Redis Enterprise Database. Changing this forces a new Redis Enterprise Database to be created. ClusterId pulumi.StringPtrInput // Clustering policy - default is OSSCluster. Specified at create time. Possible values are `EnterpriseCluster` and `OSSCluster`. Defaults to `OSSCluster`. Changing this forces a new Redis Enterprise Database to be created. ClusteringPolicy pulumi.StringPtrInput // Redis eviction policy - default is `VolatileLRU`. Possible values are `AllKeysLFU`, `AllKeysLRU`, `AllKeysRandom`, `VolatileLRU`, `VolatileLFU`, `VolatileTTL`, `VolatileRandom` and `NoEviction`. Changing this forces a new Redis Enterprise Database to be created. EvictionPolicy pulumi.StringPtrInput // Nickname of the group of linked databases. Changing this force a new Redis Enterprise Geo Database to be created. LinkedDatabaseGroupNickname pulumi.StringPtrInput // A list of database resources to link with this database with a maximum of 5. // // > **NOTE:** Only the newly created databases can be added to an existing geo-replication group. Existing regular databases or recreated databases cannot be added to the existing geo-replication group. Any linked database be removed from the list will be forcefully unlinked.The only recommended operation is to delete after force-unlink and the recommended scenario of force-unlink is region outrage. The database cannot be linked again after force-unlink. LinkedDatabaseIds pulumi.StringArrayInput // A `module` block as defined below. Changing this forces a new resource to be created. // // > **NOTE:** Only `RediSearch` and `RedisJSON` modules are allowed with geo-replication Modules EnterpriseDatabaseModuleArrayInput // The name which should be used for this Redis Enterprise Database. Currently the acceptable value for this argument is `default`. Defaults to `default`. Changing this forces a new Redis Enterprise Database to be created. Name pulumi.StringPtrInput // TCP port of the database endpoint. Specified at create time. Defaults to an available port. Changing this forces a new Redis Enterprise Database to be created. Defaults to `10000`. Port pulumi.IntPtrInput // The Primary Access Key for the Redis Enterprise Database Instance. PrimaryAccessKey pulumi.StringPtrInput // The name of the Resource Group where the Redis Enterprise Database should exist. Changing this forces a new Redis Enterprise Database to be created. // // Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider ResourceGroupName pulumi.StringPtrInput // The Secondary Access Key for the Redis Enterprise Database Instance. SecondaryAccessKey pulumi.StringPtrInput }
func (EnterpriseDatabaseState) ElementType ¶
func (EnterpriseDatabaseState) ElementType() reflect.Type
type FirewallRule ¶
type FirewallRule struct { pulumi.CustomResourceState // The highest IP address included in the range. EndIp pulumi.StringOutput `pulumi:"endIp"` // The name of the Firewall Rule. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the Redis Cache. Changing this forces a new resource to be created. RedisCacheName pulumi.StringOutput `pulumi:"redisCacheName"` // The name of the resource group in which this Redis Cache exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The lowest IP address included in the range StartIp pulumi.StringOutput `pulumi:"startIp"` }
Manages a Firewall Rule associated with a Redis Cache.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/redis" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := random.NewRandomId(ctx, "server", &random.RandomIdArgs{ Keepers: pulumi.Map{ "azi_id": pulumi.Any(1), }, ByteLength: pulumi.Int(8), }) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleCache, err := redis.NewCache(ctx, "exampleCache", &redis.CacheArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Capacity: pulumi.Int(1), Family: pulumi.String("P"), SkuName: pulumi.String("Premium"), EnableNonSslPort: pulumi.Bool(false), RedisConfiguration: &redis.CacheRedisConfigurationArgs{ MaxmemoryReserved: pulumi.Int(2), MaxmemoryDelta: pulumi.Int(2), MaxmemoryPolicy: pulumi.String("allkeys-lru"), }, }) if err != nil { return err } _, err = redis.NewFirewallRule(ctx, "exampleFirewallRule", &redis.FirewallRuleArgs{ RedisCacheName: exampleCache.Name, ResourceGroupName: exampleResourceGroup.Name, StartIp: pulumi.String("1.2.3.4"), EndIp: pulumi.String("2.3.4.5"), }) if err != nil { return err } return nil }) }
```
## Import
Redis Firewall Rules can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:redis/firewallRule:FirewallRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Cache/redis/cache1/firewallRules/rule1
```
func GetFirewallRule ¶
func GetFirewallRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FirewallRuleState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*FirewallRule, error)
NewFirewallRule registers a new resource with the given unique name, arguments, and options.
func (*FirewallRule) ElementType ¶
func (*FirewallRule) ElementType() reflect.Type
func (*FirewallRule) ToFirewallRuleOutput ¶
func (i *FirewallRule) ToFirewallRuleOutput() FirewallRuleOutput
func (*FirewallRule) ToFirewallRuleOutputWithContext ¶
func (i *FirewallRule) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
func (*FirewallRule) ToOutput ¶ added in v5.52.0
func (i *FirewallRule) ToOutput(ctx context.Context) pulumix.Output[*FirewallRule]
type FirewallRuleArgs ¶
type FirewallRuleArgs struct { // The highest IP address included in the range. EndIp pulumi.StringInput // The name of the Firewall Rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the Redis Cache. Changing this forces a new resource to be created. RedisCacheName pulumi.StringInput // The name of the resource group in which this Redis Cache exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The lowest IP address included in the range StartIp pulumi.StringInput }
The set of arguments for constructing a FirewallRule resource.
func (FirewallRuleArgs) ElementType ¶
func (FirewallRuleArgs) ElementType() reflect.Type
type FirewallRuleArray ¶
type FirewallRuleArray []FirewallRuleInput
func (FirewallRuleArray) ElementType ¶
func (FirewallRuleArray) ElementType() reflect.Type
func (FirewallRuleArray) ToFirewallRuleArrayOutput ¶
func (i FirewallRuleArray) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
func (FirewallRuleArray) ToFirewallRuleArrayOutputWithContext ¶
func (i FirewallRuleArray) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
func (FirewallRuleArray) ToOutput ¶ added in v5.52.0
func (i FirewallRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]*FirewallRule]
type FirewallRuleArrayInput ¶
type FirewallRuleArrayInput interface { pulumi.Input ToFirewallRuleArrayOutput() FirewallRuleArrayOutput ToFirewallRuleArrayOutputWithContext(context.Context) FirewallRuleArrayOutput }
FirewallRuleArrayInput is an input type that accepts FirewallRuleArray and FirewallRuleArrayOutput values. You can construct a concrete instance of `FirewallRuleArrayInput` via:
FirewallRuleArray{ FirewallRuleArgs{...} }
type FirewallRuleArrayOutput ¶
type FirewallRuleArrayOutput struct{ *pulumi.OutputState }
func (FirewallRuleArrayOutput) ElementType ¶
func (FirewallRuleArrayOutput) ElementType() reflect.Type
func (FirewallRuleArrayOutput) Index ¶
func (o FirewallRuleArrayOutput) Index(i pulumi.IntInput) FirewallRuleOutput
func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutput ¶
func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext ¶
func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
func (FirewallRuleArrayOutput) ToOutput ¶ added in v5.52.0
func (o FirewallRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*FirewallRule]
type FirewallRuleInput ¶
type FirewallRuleInput interface { pulumi.Input ToFirewallRuleOutput() FirewallRuleOutput ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput }
type FirewallRuleMap ¶
type FirewallRuleMap map[string]FirewallRuleInput
func (FirewallRuleMap) ElementType ¶
func (FirewallRuleMap) ElementType() reflect.Type
func (FirewallRuleMap) ToFirewallRuleMapOutput ¶
func (i FirewallRuleMap) ToFirewallRuleMapOutput() FirewallRuleMapOutput
func (FirewallRuleMap) ToFirewallRuleMapOutputWithContext ¶
func (i FirewallRuleMap) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
func (FirewallRuleMap) ToOutput ¶ added in v5.52.0
func (i FirewallRuleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*FirewallRule]
type FirewallRuleMapInput ¶
type FirewallRuleMapInput interface { pulumi.Input ToFirewallRuleMapOutput() FirewallRuleMapOutput ToFirewallRuleMapOutputWithContext(context.Context) FirewallRuleMapOutput }
FirewallRuleMapInput is an input type that accepts FirewallRuleMap and FirewallRuleMapOutput values. You can construct a concrete instance of `FirewallRuleMapInput` via:
FirewallRuleMap{ "key": FirewallRuleArgs{...} }
type FirewallRuleMapOutput ¶
type FirewallRuleMapOutput struct{ *pulumi.OutputState }
func (FirewallRuleMapOutput) ElementType ¶
func (FirewallRuleMapOutput) ElementType() reflect.Type
func (FirewallRuleMapOutput) MapIndex ¶
func (o FirewallRuleMapOutput) MapIndex(k pulumi.StringInput) FirewallRuleOutput
func (FirewallRuleMapOutput) ToFirewallRuleMapOutput ¶
func (o FirewallRuleMapOutput) ToFirewallRuleMapOutput() FirewallRuleMapOutput
func (FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext ¶
func (o FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
func (FirewallRuleMapOutput) ToOutput ¶ added in v5.52.0
func (o FirewallRuleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*FirewallRule]
type FirewallRuleOutput ¶
type FirewallRuleOutput struct{ *pulumi.OutputState }
func (FirewallRuleOutput) ElementType ¶
func (FirewallRuleOutput) ElementType() reflect.Type
func (FirewallRuleOutput) EndIp ¶ added in v5.5.0
func (o FirewallRuleOutput) EndIp() pulumi.StringOutput
The highest IP address included in the range.
func (FirewallRuleOutput) Name ¶ added in v5.5.0
func (o FirewallRuleOutput) Name() pulumi.StringOutput
The name of the Firewall Rule. Changing this forces a new resource to be created.
func (FirewallRuleOutput) RedisCacheName ¶ added in v5.5.0
func (o FirewallRuleOutput) RedisCacheName() pulumi.StringOutput
The name of the Redis Cache. Changing this forces a new resource to be created.
func (FirewallRuleOutput) ResourceGroupName ¶ added in v5.5.0
func (o FirewallRuleOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group in which this Redis Cache exists. Changing this forces a new resource to be created.
func (FirewallRuleOutput) StartIp ¶ added in v5.5.0
func (o FirewallRuleOutput) StartIp() pulumi.StringOutput
The lowest IP address included in the range
func (FirewallRuleOutput) ToFirewallRuleOutput ¶
func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput
func (FirewallRuleOutput) ToFirewallRuleOutputWithContext ¶
func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
func (FirewallRuleOutput) ToOutput ¶ added in v5.52.0
func (o FirewallRuleOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallRule]
type FirewallRuleState ¶
type FirewallRuleState struct { // The highest IP address included in the range. EndIp pulumi.StringPtrInput // The name of the Firewall Rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the Redis Cache. Changing this forces a new resource to be created. RedisCacheName pulumi.StringPtrInput // The name of the resource group in which this Redis Cache exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The lowest IP address included in the range StartIp pulumi.StringPtrInput }
func (FirewallRuleState) ElementType ¶
func (FirewallRuleState) ElementType() reflect.Type
type GetCachePatchSchedule ¶
type GetCachePatchSchedule struct { // the Weekday name for the patch item DayOfWeek string `pulumi:"dayOfWeek"` // The ISO 8601 timespan which specifies the amount of time the Redis Cache can be updated. MaintenanceWindow string `pulumi:"maintenanceWindow"` // The Start Hour for maintenance in UTC StartHourUtc int `pulumi:"startHourUtc"` }
type GetCachePatchScheduleArgs ¶
type GetCachePatchScheduleArgs struct { // the Weekday name for the patch item DayOfWeek pulumi.StringInput `pulumi:"dayOfWeek"` // The ISO 8601 timespan which specifies the amount of time the Redis Cache can be updated. MaintenanceWindow pulumi.StringInput `pulumi:"maintenanceWindow"` // The Start Hour for maintenance in UTC StartHourUtc pulumi.IntInput `pulumi:"startHourUtc"` }
func (GetCachePatchScheduleArgs) ElementType ¶
func (GetCachePatchScheduleArgs) ElementType() reflect.Type
func (GetCachePatchScheduleArgs) ToGetCachePatchScheduleOutput ¶
func (i GetCachePatchScheduleArgs) ToGetCachePatchScheduleOutput() GetCachePatchScheduleOutput
func (GetCachePatchScheduleArgs) ToGetCachePatchScheduleOutputWithContext ¶
func (i GetCachePatchScheduleArgs) ToGetCachePatchScheduleOutputWithContext(ctx context.Context) GetCachePatchScheduleOutput
func (GetCachePatchScheduleArgs) ToOutput ¶ added in v5.52.0
func (i GetCachePatchScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[GetCachePatchSchedule]
type GetCachePatchScheduleArray ¶
type GetCachePatchScheduleArray []GetCachePatchScheduleInput
func (GetCachePatchScheduleArray) ElementType ¶
func (GetCachePatchScheduleArray) ElementType() reflect.Type
func (GetCachePatchScheduleArray) ToGetCachePatchScheduleArrayOutput ¶
func (i GetCachePatchScheduleArray) ToGetCachePatchScheduleArrayOutput() GetCachePatchScheduleArrayOutput
func (GetCachePatchScheduleArray) ToGetCachePatchScheduleArrayOutputWithContext ¶
func (i GetCachePatchScheduleArray) ToGetCachePatchScheduleArrayOutputWithContext(ctx context.Context) GetCachePatchScheduleArrayOutput
func (GetCachePatchScheduleArray) ToOutput ¶ added in v5.52.0
func (i GetCachePatchScheduleArray) ToOutput(ctx context.Context) pulumix.Output[[]GetCachePatchSchedule]
type GetCachePatchScheduleArrayInput ¶
type GetCachePatchScheduleArrayInput interface { pulumi.Input ToGetCachePatchScheduleArrayOutput() GetCachePatchScheduleArrayOutput ToGetCachePatchScheduleArrayOutputWithContext(context.Context) GetCachePatchScheduleArrayOutput }
GetCachePatchScheduleArrayInput is an input type that accepts GetCachePatchScheduleArray and GetCachePatchScheduleArrayOutput values. You can construct a concrete instance of `GetCachePatchScheduleArrayInput` via:
GetCachePatchScheduleArray{ GetCachePatchScheduleArgs{...} }
type GetCachePatchScheduleArrayOutput ¶
type GetCachePatchScheduleArrayOutput struct{ *pulumi.OutputState }
func (GetCachePatchScheduleArrayOutput) ElementType ¶
func (GetCachePatchScheduleArrayOutput) ElementType() reflect.Type
func (GetCachePatchScheduleArrayOutput) Index ¶
func (o GetCachePatchScheduleArrayOutput) Index(i pulumi.IntInput) GetCachePatchScheduleOutput
func (GetCachePatchScheduleArrayOutput) ToGetCachePatchScheduleArrayOutput ¶
func (o GetCachePatchScheduleArrayOutput) ToGetCachePatchScheduleArrayOutput() GetCachePatchScheduleArrayOutput
func (GetCachePatchScheduleArrayOutput) ToGetCachePatchScheduleArrayOutputWithContext ¶
func (o GetCachePatchScheduleArrayOutput) ToGetCachePatchScheduleArrayOutputWithContext(ctx context.Context) GetCachePatchScheduleArrayOutput
func (GetCachePatchScheduleArrayOutput) ToOutput ¶ added in v5.52.0
func (o GetCachePatchScheduleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetCachePatchSchedule]
type GetCachePatchScheduleInput ¶
type GetCachePatchScheduleInput interface { pulumi.Input ToGetCachePatchScheduleOutput() GetCachePatchScheduleOutput ToGetCachePatchScheduleOutputWithContext(context.Context) GetCachePatchScheduleOutput }
GetCachePatchScheduleInput is an input type that accepts GetCachePatchScheduleArgs and GetCachePatchScheduleOutput values. You can construct a concrete instance of `GetCachePatchScheduleInput` via:
GetCachePatchScheduleArgs{...}
type GetCachePatchScheduleOutput ¶
type GetCachePatchScheduleOutput struct{ *pulumi.OutputState }
func (GetCachePatchScheduleOutput) DayOfWeek ¶
func (o GetCachePatchScheduleOutput) DayOfWeek() pulumi.StringOutput
the Weekday name for the patch item
func (GetCachePatchScheduleOutput) ElementType ¶
func (GetCachePatchScheduleOutput) ElementType() reflect.Type
func (GetCachePatchScheduleOutput) MaintenanceWindow ¶
func (o GetCachePatchScheduleOutput) MaintenanceWindow() pulumi.StringOutput
The ISO 8601 timespan which specifies the amount of time the Redis Cache can be updated.
func (GetCachePatchScheduleOutput) StartHourUtc ¶
func (o GetCachePatchScheduleOutput) StartHourUtc() pulumi.IntOutput
The Start Hour for maintenance in UTC
func (GetCachePatchScheduleOutput) ToGetCachePatchScheduleOutput ¶
func (o GetCachePatchScheduleOutput) ToGetCachePatchScheduleOutput() GetCachePatchScheduleOutput
func (GetCachePatchScheduleOutput) ToGetCachePatchScheduleOutputWithContext ¶
func (o GetCachePatchScheduleOutput) ToGetCachePatchScheduleOutputWithContext(ctx context.Context) GetCachePatchScheduleOutput
func (GetCachePatchScheduleOutput) ToOutput ¶ added in v5.52.0
func (o GetCachePatchScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[GetCachePatchSchedule]
type GetCacheRedisConfiguration ¶
type GetCacheRedisConfiguration struct { AofBackupEnabled bool `pulumi:"aofBackupEnabled"` AofStorageConnectionString0 string `pulumi:"aofStorageConnectionString0"` AofStorageConnectionString1 string `pulumi:"aofStorageConnectionString1"` // Specifies if authentication is enabled EnableAuthentication bool `pulumi:"enableAuthentication"` Maxclients int `pulumi:"maxclients"` // Value in megabytes reserved to accommodate for memory fragmentation. MaxfragmentationmemoryReserved int `pulumi:"maxfragmentationmemoryReserved"` // The max-memory delta for this Redis instance. MaxmemoryDelta int `pulumi:"maxmemoryDelta"` // How Redis will select what to remove when `maxmemory` is reached. MaxmemoryPolicy string `pulumi:"maxmemoryPolicy"` // The value in megabytes reserved for non-cache usage e.g. failover MaxmemoryReserved int `pulumi:"maxmemoryReserved"` NotifyKeyspaceEvents string `pulumi:"notifyKeyspaceEvents"` // Is Backup Enabled? Only supported on Premium SKUs. RdbBackupEnabled bool `pulumi:"rdbBackupEnabled"` // The Backup Frequency in Minutes. Only supported on Premium SKUs. RdbBackupFrequency int `pulumi:"rdbBackupFrequency"` // The maximum number of snapshots that can be created as a backup. RdbBackupMaxSnapshotCount int `pulumi:"rdbBackupMaxSnapshotCount"` // The Connection String to the Storage Account. Only supported for Premium SKUs. RdbStorageConnectionString string `pulumi:"rdbStorageConnectionString"` }
type GetCacheRedisConfigurationArgs ¶
type GetCacheRedisConfigurationArgs struct { AofBackupEnabled pulumi.BoolInput `pulumi:"aofBackupEnabled"` AofStorageConnectionString0 pulumi.StringInput `pulumi:"aofStorageConnectionString0"` AofStorageConnectionString1 pulumi.StringInput `pulumi:"aofStorageConnectionString1"` // Specifies if authentication is enabled EnableAuthentication pulumi.BoolInput `pulumi:"enableAuthentication"` Maxclients pulumi.IntInput `pulumi:"maxclients"` // Value in megabytes reserved to accommodate for memory fragmentation. MaxfragmentationmemoryReserved pulumi.IntInput `pulumi:"maxfragmentationmemoryReserved"` // The max-memory delta for this Redis instance. MaxmemoryDelta pulumi.IntInput `pulumi:"maxmemoryDelta"` // How Redis will select what to remove when `maxmemory` is reached. MaxmemoryPolicy pulumi.StringInput `pulumi:"maxmemoryPolicy"` // The value in megabytes reserved for non-cache usage e.g. failover MaxmemoryReserved pulumi.IntInput `pulumi:"maxmemoryReserved"` NotifyKeyspaceEvents pulumi.StringInput `pulumi:"notifyKeyspaceEvents"` // Is Backup Enabled? Only supported on Premium SKUs. RdbBackupEnabled pulumi.BoolInput `pulumi:"rdbBackupEnabled"` // The Backup Frequency in Minutes. Only supported on Premium SKUs. RdbBackupFrequency pulumi.IntInput `pulumi:"rdbBackupFrequency"` // The maximum number of snapshots that can be created as a backup. RdbBackupMaxSnapshotCount pulumi.IntInput `pulumi:"rdbBackupMaxSnapshotCount"` // The Connection String to the Storage Account. Only supported for Premium SKUs. RdbStorageConnectionString pulumi.StringInput `pulumi:"rdbStorageConnectionString"` }
func (GetCacheRedisConfigurationArgs) ElementType ¶
func (GetCacheRedisConfigurationArgs) ElementType() reflect.Type
func (GetCacheRedisConfigurationArgs) ToGetCacheRedisConfigurationOutput ¶
func (i GetCacheRedisConfigurationArgs) ToGetCacheRedisConfigurationOutput() GetCacheRedisConfigurationOutput
func (GetCacheRedisConfigurationArgs) ToGetCacheRedisConfigurationOutputWithContext ¶
func (i GetCacheRedisConfigurationArgs) ToGetCacheRedisConfigurationOutputWithContext(ctx context.Context) GetCacheRedisConfigurationOutput
func (GetCacheRedisConfigurationArgs) ToOutput ¶ added in v5.52.0
func (i GetCacheRedisConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[GetCacheRedisConfiguration]
type GetCacheRedisConfigurationArray ¶
type GetCacheRedisConfigurationArray []GetCacheRedisConfigurationInput
func (GetCacheRedisConfigurationArray) ElementType ¶
func (GetCacheRedisConfigurationArray) ElementType() reflect.Type
func (GetCacheRedisConfigurationArray) ToGetCacheRedisConfigurationArrayOutput ¶
func (i GetCacheRedisConfigurationArray) ToGetCacheRedisConfigurationArrayOutput() GetCacheRedisConfigurationArrayOutput
func (GetCacheRedisConfigurationArray) ToGetCacheRedisConfigurationArrayOutputWithContext ¶
func (i GetCacheRedisConfigurationArray) ToGetCacheRedisConfigurationArrayOutputWithContext(ctx context.Context) GetCacheRedisConfigurationArrayOutput
func (GetCacheRedisConfigurationArray) ToOutput ¶ added in v5.52.0
func (i GetCacheRedisConfigurationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetCacheRedisConfiguration]
type GetCacheRedisConfigurationArrayInput ¶
type GetCacheRedisConfigurationArrayInput interface { pulumi.Input ToGetCacheRedisConfigurationArrayOutput() GetCacheRedisConfigurationArrayOutput ToGetCacheRedisConfigurationArrayOutputWithContext(context.Context) GetCacheRedisConfigurationArrayOutput }
GetCacheRedisConfigurationArrayInput is an input type that accepts GetCacheRedisConfigurationArray and GetCacheRedisConfigurationArrayOutput values. You can construct a concrete instance of `GetCacheRedisConfigurationArrayInput` via:
GetCacheRedisConfigurationArray{ GetCacheRedisConfigurationArgs{...} }
type GetCacheRedisConfigurationArrayOutput ¶
type GetCacheRedisConfigurationArrayOutput struct{ *pulumi.OutputState }
func (GetCacheRedisConfigurationArrayOutput) ElementType ¶
func (GetCacheRedisConfigurationArrayOutput) ElementType() reflect.Type
func (GetCacheRedisConfigurationArrayOutput) Index ¶
func (o GetCacheRedisConfigurationArrayOutput) Index(i pulumi.IntInput) GetCacheRedisConfigurationOutput
func (GetCacheRedisConfigurationArrayOutput) ToGetCacheRedisConfigurationArrayOutput ¶
func (o GetCacheRedisConfigurationArrayOutput) ToGetCacheRedisConfigurationArrayOutput() GetCacheRedisConfigurationArrayOutput
func (GetCacheRedisConfigurationArrayOutput) ToGetCacheRedisConfigurationArrayOutputWithContext ¶
func (o GetCacheRedisConfigurationArrayOutput) ToGetCacheRedisConfigurationArrayOutputWithContext(ctx context.Context) GetCacheRedisConfigurationArrayOutput
func (GetCacheRedisConfigurationArrayOutput) ToOutput ¶ added in v5.52.0
func (o GetCacheRedisConfigurationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetCacheRedisConfiguration]
type GetCacheRedisConfigurationInput ¶
type GetCacheRedisConfigurationInput interface { pulumi.Input ToGetCacheRedisConfigurationOutput() GetCacheRedisConfigurationOutput ToGetCacheRedisConfigurationOutputWithContext(context.Context) GetCacheRedisConfigurationOutput }
GetCacheRedisConfigurationInput is an input type that accepts GetCacheRedisConfigurationArgs and GetCacheRedisConfigurationOutput values. You can construct a concrete instance of `GetCacheRedisConfigurationInput` via:
GetCacheRedisConfigurationArgs{...}
type GetCacheRedisConfigurationOutput ¶
type GetCacheRedisConfigurationOutput struct{ *pulumi.OutputState }
func (GetCacheRedisConfigurationOutput) AofBackupEnabled ¶
func (o GetCacheRedisConfigurationOutput) AofBackupEnabled() pulumi.BoolOutput
func (GetCacheRedisConfigurationOutput) AofStorageConnectionString0 ¶
func (o GetCacheRedisConfigurationOutput) AofStorageConnectionString0() pulumi.StringOutput
func (GetCacheRedisConfigurationOutput) AofStorageConnectionString1 ¶
func (o GetCacheRedisConfigurationOutput) AofStorageConnectionString1() pulumi.StringOutput
func (GetCacheRedisConfigurationOutput) ElementType ¶
func (GetCacheRedisConfigurationOutput) ElementType() reflect.Type
func (GetCacheRedisConfigurationOutput) EnableAuthentication ¶
func (o GetCacheRedisConfigurationOutput) EnableAuthentication() pulumi.BoolOutput
Specifies if authentication is enabled
func (GetCacheRedisConfigurationOutput) Maxclients ¶
func (o GetCacheRedisConfigurationOutput) Maxclients() pulumi.IntOutput
func (GetCacheRedisConfigurationOutput) MaxfragmentationmemoryReserved ¶
func (o GetCacheRedisConfigurationOutput) MaxfragmentationmemoryReserved() pulumi.IntOutput
Value in megabytes reserved to accommodate for memory fragmentation.
func (GetCacheRedisConfigurationOutput) MaxmemoryDelta ¶
func (o GetCacheRedisConfigurationOutput) MaxmemoryDelta() pulumi.IntOutput
The max-memory delta for this Redis instance.
func (GetCacheRedisConfigurationOutput) MaxmemoryPolicy ¶
func (o GetCacheRedisConfigurationOutput) MaxmemoryPolicy() pulumi.StringOutput
How Redis will select what to remove when `maxmemory` is reached.
func (GetCacheRedisConfigurationOutput) MaxmemoryReserved ¶
func (o GetCacheRedisConfigurationOutput) MaxmemoryReserved() pulumi.IntOutput
The value in megabytes reserved for non-cache usage e.g. failover
func (GetCacheRedisConfigurationOutput) NotifyKeyspaceEvents ¶
func (o GetCacheRedisConfigurationOutput) NotifyKeyspaceEvents() pulumi.StringOutput
func (GetCacheRedisConfigurationOutput) RdbBackupEnabled ¶
func (o GetCacheRedisConfigurationOutput) RdbBackupEnabled() pulumi.BoolOutput
Is Backup Enabled? Only supported on Premium SKUs.
func (GetCacheRedisConfigurationOutput) RdbBackupFrequency ¶
func (o GetCacheRedisConfigurationOutput) RdbBackupFrequency() pulumi.IntOutput
The Backup Frequency in Minutes. Only supported on Premium SKUs.
func (GetCacheRedisConfigurationOutput) RdbBackupMaxSnapshotCount ¶
func (o GetCacheRedisConfigurationOutput) RdbBackupMaxSnapshotCount() pulumi.IntOutput
The maximum number of snapshots that can be created as a backup.
func (GetCacheRedisConfigurationOutput) RdbStorageConnectionString ¶
func (o GetCacheRedisConfigurationOutput) RdbStorageConnectionString() pulumi.StringOutput
The Connection String to the Storage Account. Only supported for Premium SKUs.
func (GetCacheRedisConfigurationOutput) ToGetCacheRedisConfigurationOutput ¶
func (o GetCacheRedisConfigurationOutput) ToGetCacheRedisConfigurationOutput() GetCacheRedisConfigurationOutput
func (GetCacheRedisConfigurationOutput) ToGetCacheRedisConfigurationOutputWithContext ¶
func (o GetCacheRedisConfigurationOutput) ToGetCacheRedisConfigurationOutputWithContext(ctx context.Context) GetCacheRedisConfigurationOutput
func (GetCacheRedisConfigurationOutput) ToOutput ¶ added in v5.52.0
func (o GetCacheRedisConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[GetCacheRedisConfiguration]
type LinkedServer ¶
type LinkedServer struct { pulumi.CustomResourceState // The ID of the linked Redis cache. Changing this forces a new Redis to be created. LinkedRedisCacheId pulumi.StringOutput `pulumi:"linkedRedisCacheId"` // The location of the linked Redis cache. Changing this forces a new Redis to be created. LinkedRedisCacheLocation pulumi.StringOutput `pulumi:"linkedRedisCacheLocation"` // The name of the linked server. Name pulumi.StringOutput `pulumi:"name"` // The name of the Resource Group where the Redis caches exists. Changing this forces a new Redis to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The role of the linked Redis cache (eg "Secondary"). Changing this forces a new Redis to be created. Possible values are `Primary` and `Secondary`. ServerRole pulumi.StringOutput `pulumi:"serverRole"` // The name of Redis cache to link with. Changing this forces a new Redis to be created. (eg The primary role) TargetRedisCacheName pulumi.StringOutput `pulumi:"targetRedisCacheName"` }
Manages a Redis Linked Server (ie Geo Location)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/redis" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := core.NewResourceGroup(ctx, "example-primaryResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("East US"), }) if err != nil { return err } _, err = redis.NewCache(ctx, "example-primaryCache", &redis.CacheArgs{ Location: example_primaryResourceGroup.Location, ResourceGroupName: example_primaryResourceGroup.Name, Capacity: pulumi.Int(1), Family: pulumi.String("P"), SkuName: pulumi.String("Premium"), EnableNonSslPort: pulumi.Bool(false), RedisConfiguration: &redis.CacheRedisConfigurationArgs{ MaxmemoryReserved: pulumi.Int(2), MaxmemoryDelta: pulumi.Int(2), MaxmemoryPolicy: pulumi.String("allkeys-lru"), }, }) if err != nil { return err } _, err = core.NewResourceGroup(ctx, "example-secondaryResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West US"), }) if err != nil { return err } _, err = redis.NewCache(ctx, "example-secondaryCache", &redis.CacheArgs{ Location: example_secondaryResourceGroup.Location, ResourceGroupName: example_secondaryResourceGroup.Name, Capacity: pulumi.Int(1), Family: pulumi.String("P"), SkuName: pulumi.String("Premium"), EnableNonSslPort: pulumi.Bool(false), RedisConfiguration: &redis.CacheRedisConfigurationArgs{ MaxmemoryReserved: pulumi.Int(2), MaxmemoryDelta: pulumi.Int(2), MaxmemoryPolicy: pulumi.String("allkeys-lru"), }, }) if err != nil { return err } _, err = redis.NewLinkedServer(ctx, "example-link", &redis.LinkedServerArgs{ TargetRedisCacheName: example_primaryCache.Name, ResourceGroupName: example_primaryCache.ResourceGroupName, LinkedRedisCacheId: example_secondaryCache.ID(), LinkedRedisCacheLocation: example_secondaryCache.Location, ServerRole: pulumi.String("Secondary"), }) if err != nil { return err } return nil }) }
```
## Import
Redis can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:redis/linkedServer:LinkedServer example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Cache/redis/cache1/linkedServers/cache2
```
func GetLinkedServer ¶
func GetLinkedServer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LinkedServerState, opts ...pulumi.ResourceOption) (*LinkedServer, error)
GetLinkedServer gets an existing LinkedServer 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 NewLinkedServer ¶
func NewLinkedServer(ctx *pulumi.Context, name string, args *LinkedServerArgs, opts ...pulumi.ResourceOption) (*LinkedServer, error)
NewLinkedServer registers a new resource with the given unique name, arguments, and options.
func (*LinkedServer) ElementType ¶
func (*LinkedServer) ElementType() reflect.Type
func (*LinkedServer) ToLinkedServerOutput ¶
func (i *LinkedServer) ToLinkedServerOutput() LinkedServerOutput
func (*LinkedServer) ToLinkedServerOutputWithContext ¶
func (i *LinkedServer) ToLinkedServerOutputWithContext(ctx context.Context) LinkedServerOutput
func (*LinkedServer) ToOutput ¶ added in v5.52.0
func (i *LinkedServer) ToOutput(ctx context.Context) pulumix.Output[*LinkedServer]
type LinkedServerArgs ¶
type LinkedServerArgs struct { // The ID of the linked Redis cache. Changing this forces a new Redis to be created. LinkedRedisCacheId pulumi.StringInput // The location of the linked Redis cache. Changing this forces a new Redis to be created. LinkedRedisCacheLocation pulumi.StringInput // The name of the Resource Group where the Redis caches exists. Changing this forces a new Redis to be created. ResourceGroupName pulumi.StringInput // The role of the linked Redis cache (eg "Secondary"). Changing this forces a new Redis to be created. Possible values are `Primary` and `Secondary`. ServerRole pulumi.StringInput // The name of Redis cache to link with. Changing this forces a new Redis to be created. (eg The primary role) TargetRedisCacheName pulumi.StringInput }
The set of arguments for constructing a LinkedServer resource.
func (LinkedServerArgs) ElementType ¶
func (LinkedServerArgs) ElementType() reflect.Type
type LinkedServerArray ¶
type LinkedServerArray []LinkedServerInput
func (LinkedServerArray) ElementType ¶
func (LinkedServerArray) ElementType() reflect.Type
func (LinkedServerArray) ToLinkedServerArrayOutput ¶
func (i LinkedServerArray) ToLinkedServerArrayOutput() LinkedServerArrayOutput
func (LinkedServerArray) ToLinkedServerArrayOutputWithContext ¶
func (i LinkedServerArray) ToLinkedServerArrayOutputWithContext(ctx context.Context) LinkedServerArrayOutput
func (LinkedServerArray) ToOutput ¶ added in v5.52.0
func (i LinkedServerArray) ToOutput(ctx context.Context) pulumix.Output[[]*LinkedServer]
type LinkedServerArrayInput ¶
type LinkedServerArrayInput interface { pulumi.Input ToLinkedServerArrayOutput() LinkedServerArrayOutput ToLinkedServerArrayOutputWithContext(context.Context) LinkedServerArrayOutput }
LinkedServerArrayInput is an input type that accepts LinkedServerArray and LinkedServerArrayOutput values. You can construct a concrete instance of `LinkedServerArrayInput` via:
LinkedServerArray{ LinkedServerArgs{...} }
type LinkedServerArrayOutput ¶
type LinkedServerArrayOutput struct{ *pulumi.OutputState }
func (LinkedServerArrayOutput) ElementType ¶
func (LinkedServerArrayOutput) ElementType() reflect.Type
func (LinkedServerArrayOutput) Index ¶
func (o LinkedServerArrayOutput) Index(i pulumi.IntInput) LinkedServerOutput
func (LinkedServerArrayOutput) ToLinkedServerArrayOutput ¶
func (o LinkedServerArrayOutput) ToLinkedServerArrayOutput() LinkedServerArrayOutput
func (LinkedServerArrayOutput) ToLinkedServerArrayOutputWithContext ¶
func (o LinkedServerArrayOutput) ToLinkedServerArrayOutputWithContext(ctx context.Context) LinkedServerArrayOutput
func (LinkedServerArrayOutput) ToOutput ¶ added in v5.52.0
func (o LinkedServerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*LinkedServer]
type LinkedServerInput ¶
type LinkedServerInput interface { pulumi.Input ToLinkedServerOutput() LinkedServerOutput ToLinkedServerOutputWithContext(ctx context.Context) LinkedServerOutput }
type LinkedServerMap ¶
type LinkedServerMap map[string]LinkedServerInput
func (LinkedServerMap) ElementType ¶
func (LinkedServerMap) ElementType() reflect.Type
func (LinkedServerMap) ToLinkedServerMapOutput ¶
func (i LinkedServerMap) ToLinkedServerMapOutput() LinkedServerMapOutput
func (LinkedServerMap) ToLinkedServerMapOutputWithContext ¶
func (i LinkedServerMap) ToLinkedServerMapOutputWithContext(ctx context.Context) LinkedServerMapOutput
func (LinkedServerMap) ToOutput ¶ added in v5.52.0
func (i LinkedServerMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*LinkedServer]
type LinkedServerMapInput ¶
type LinkedServerMapInput interface { pulumi.Input ToLinkedServerMapOutput() LinkedServerMapOutput ToLinkedServerMapOutputWithContext(context.Context) LinkedServerMapOutput }
LinkedServerMapInput is an input type that accepts LinkedServerMap and LinkedServerMapOutput values. You can construct a concrete instance of `LinkedServerMapInput` via:
LinkedServerMap{ "key": LinkedServerArgs{...} }
type LinkedServerMapOutput ¶
type LinkedServerMapOutput struct{ *pulumi.OutputState }
func (LinkedServerMapOutput) ElementType ¶
func (LinkedServerMapOutput) ElementType() reflect.Type
func (LinkedServerMapOutput) MapIndex ¶
func (o LinkedServerMapOutput) MapIndex(k pulumi.StringInput) LinkedServerOutput
func (LinkedServerMapOutput) ToLinkedServerMapOutput ¶
func (o LinkedServerMapOutput) ToLinkedServerMapOutput() LinkedServerMapOutput
func (LinkedServerMapOutput) ToLinkedServerMapOutputWithContext ¶
func (o LinkedServerMapOutput) ToLinkedServerMapOutputWithContext(ctx context.Context) LinkedServerMapOutput
func (LinkedServerMapOutput) ToOutput ¶ added in v5.52.0
func (o LinkedServerMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*LinkedServer]
type LinkedServerOutput ¶
type LinkedServerOutput struct{ *pulumi.OutputState }
func (LinkedServerOutput) ElementType ¶
func (LinkedServerOutput) ElementType() reflect.Type
func (LinkedServerOutput) LinkedRedisCacheId ¶ added in v5.5.0
func (o LinkedServerOutput) LinkedRedisCacheId() pulumi.StringOutput
The ID of the linked Redis cache. Changing this forces a new Redis to be created.
func (LinkedServerOutput) LinkedRedisCacheLocation ¶ added in v5.5.0
func (o LinkedServerOutput) LinkedRedisCacheLocation() pulumi.StringOutput
The location of the linked Redis cache. Changing this forces a new Redis to be created.
func (LinkedServerOutput) Name ¶ added in v5.5.0
func (o LinkedServerOutput) Name() pulumi.StringOutput
The name of the linked server.
func (LinkedServerOutput) ResourceGroupName ¶ added in v5.5.0
func (o LinkedServerOutput) ResourceGroupName() pulumi.StringOutput
The name of the Resource Group where the Redis caches exists. Changing this forces a new Redis to be created.
func (LinkedServerOutput) ServerRole ¶ added in v5.5.0
func (o LinkedServerOutput) ServerRole() pulumi.StringOutput
The role of the linked Redis cache (eg "Secondary"). Changing this forces a new Redis to be created. Possible values are `Primary` and `Secondary`.
func (LinkedServerOutput) TargetRedisCacheName ¶ added in v5.5.0
func (o LinkedServerOutput) TargetRedisCacheName() pulumi.StringOutput
The name of Redis cache to link with. Changing this forces a new Redis to be created. (eg The primary role)
func (LinkedServerOutput) ToLinkedServerOutput ¶
func (o LinkedServerOutput) ToLinkedServerOutput() LinkedServerOutput
func (LinkedServerOutput) ToLinkedServerOutputWithContext ¶
func (o LinkedServerOutput) ToLinkedServerOutputWithContext(ctx context.Context) LinkedServerOutput
func (LinkedServerOutput) ToOutput ¶ added in v5.52.0
func (o LinkedServerOutput) ToOutput(ctx context.Context) pulumix.Output[*LinkedServer]
type LinkedServerState ¶
type LinkedServerState struct { // The ID of the linked Redis cache. Changing this forces a new Redis to be created. LinkedRedisCacheId pulumi.StringPtrInput // The location of the linked Redis cache. Changing this forces a new Redis to be created. LinkedRedisCacheLocation pulumi.StringPtrInput // The name of the linked server. Name pulumi.StringPtrInput // The name of the Resource Group where the Redis caches exists. Changing this forces a new Redis to be created. ResourceGroupName pulumi.StringPtrInput // The role of the linked Redis cache (eg "Secondary"). Changing this forces a new Redis to be created. Possible values are `Primary` and `Secondary`. ServerRole pulumi.StringPtrInput // The name of Redis cache to link with. Changing this forces a new Redis to be created. (eg The primary role) TargetRedisCacheName pulumi.StringPtrInput }
func (LinkedServerState) ElementType ¶
func (LinkedServerState) ElementType() reflect.Type
type LookupCacheArgs ¶
type LookupCacheArgs struct { // The name of the Redis cache Name string `pulumi:"name"` // The name of the resource group the Redis cache instance is located in. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getCache.
type LookupCacheOutputArgs ¶
type LookupCacheOutputArgs struct { // The name of the Redis cache Name pulumi.StringInput `pulumi:"name"` // The name of the resource group the Redis cache instance is located in. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getCache.
func (LookupCacheOutputArgs) ElementType ¶
func (LookupCacheOutputArgs) ElementType() reflect.Type
type LookupCacheResult ¶
type LookupCacheResult struct { // The size of the Redis Cache deployed. Capacity int `pulumi:"capacity"` // Whether the SSL port is enabled. EnableNonSslPort bool `pulumi:"enableNonSslPort"` // The SKU family/pricing group used. Possible values are `C` (for Basic/Standard SKU family) and `P` (for `Premium`) Family string `pulumi:"family"` // The Hostname of the Redis Instance Hostname string `pulumi:"hostname"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The location of the Redis Cache. Location string `pulumi:"location"` // The minimum TLS version. MinimumTlsVersion string `pulumi:"minimumTlsVersion"` Name string `pulumi:"name"` // A list of `patchSchedule` blocks as defined below. PatchSchedules []GetCachePatchSchedule `pulumi:"patchSchedules"` // The non-SSL Port of the Redis Instance Port int `pulumi:"port"` // The Primary Access Key for the Redis Instance PrimaryAccessKey string `pulumi:"primaryAccessKey"` // The primary connection string of the Redis Instance. PrimaryConnectionString string `pulumi:"primaryConnectionString"` // The Static IP Address assigned to the Redis Cache when hosted inside the Virtual Network. PrivateStaticIpAddress string `pulumi:"privateStaticIpAddress"` // A `redisConfiguration` block as defined below. RedisConfigurations []GetCacheRedisConfiguration `pulumi:"redisConfigurations"` ResourceGroupName string `pulumi:"resourceGroupName"` // The Secondary Access Key for the Redis Instance SecondaryAccessKey string `pulumi:"secondaryAccessKey"` // The secondary connection string of the Redis Instance. SecondaryConnectionString string `pulumi:"secondaryConnectionString"` ShardCount int `pulumi:"shardCount"` // The SKU of Redis used. Possible values are `Basic`, `Standard` and `Premium`. SkuName string `pulumi:"skuName"` // The SSL Port of the Redis Instance SslPort int `pulumi:"sslPort"` SubnetId string `pulumi:"subnetId"` Tags map[string]string `pulumi:"tags"` // A list of Availability Zones in which this Redis Cache is located. Zones []string `pulumi:"zones"` }
A collection of values returned by getCache.
func LookupCache ¶
func LookupCache(ctx *pulumi.Context, args *LookupCacheArgs, opts ...pulumi.InvokeOption) (*LookupCacheResult, error)
Use this data source to access information about an existing Redis Cache
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/redis" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := redis.LookupCache(ctx, &redis.LookupCacheArgs{ Name: "myrediscache", ResourceGroupName: "redis-cache", }, nil) if err != nil { return err } ctx.Export("primaryAccessKey", example.PrimaryAccessKey) ctx.Export("hostname", example.Hostname) return nil }) }
```
type LookupCacheResultOutput ¶
type LookupCacheResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCache.
func LookupCacheOutput ¶
func LookupCacheOutput(ctx *pulumi.Context, args LookupCacheOutputArgs, opts ...pulumi.InvokeOption) LookupCacheResultOutput
func (LookupCacheResultOutput) Capacity ¶
func (o LookupCacheResultOutput) Capacity() pulumi.IntOutput
The size of the Redis Cache deployed.
func (LookupCacheResultOutput) ElementType ¶
func (LookupCacheResultOutput) ElementType() reflect.Type
func (LookupCacheResultOutput) EnableNonSslPort ¶
func (o LookupCacheResultOutput) EnableNonSslPort() pulumi.BoolOutput
Whether the SSL port is enabled.
func (LookupCacheResultOutput) Family ¶
func (o LookupCacheResultOutput) Family() pulumi.StringOutput
The SKU family/pricing group used. Possible values are `C` (for Basic/Standard SKU family) and `P` (for `Premium`)
func (LookupCacheResultOutput) Hostname ¶
func (o LookupCacheResultOutput) Hostname() pulumi.StringOutput
The Hostname of the Redis Instance
func (LookupCacheResultOutput) Id ¶
func (o LookupCacheResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupCacheResultOutput) Location ¶
func (o LookupCacheResultOutput) Location() pulumi.StringOutput
The location of the Redis Cache.
func (LookupCacheResultOutput) MinimumTlsVersion ¶
func (o LookupCacheResultOutput) MinimumTlsVersion() pulumi.StringOutput
The minimum TLS version.
func (LookupCacheResultOutput) Name ¶
func (o LookupCacheResultOutput) Name() pulumi.StringOutput
func (LookupCacheResultOutput) PatchSchedules ¶
func (o LookupCacheResultOutput) PatchSchedules() GetCachePatchScheduleArrayOutput
A list of `patchSchedule` blocks as defined below.
func (LookupCacheResultOutput) Port ¶
func (o LookupCacheResultOutput) Port() pulumi.IntOutput
The non-SSL Port of the Redis Instance
func (LookupCacheResultOutput) PrimaryAccessKey ¶
func (o LookupCacheResultOutput) PrimaryAccessKey() pulumi.StringOutput
The Primary Access Key for the Redis Instance
func (LookupCacheResultOutput) PrimaryConnectionString ¶
func (o LookupCacheResultOutput) PrimaryConnectionString() pulumi.StringOutput
The primary connection string of the Redis Instance.
func (LookupCacheResultOutput) PrivateStaticIpAddress ¶
func (o LookupCacheResultOutput) PrivateStaticIpAddress() pulumi.StringOutput
The Static IP Address assigned to the Redis Cache when hosted inside the Virtual Network.
func (LookupCacheResultOutput) RedisConfigurations ¶
func (o LookupCacheResultOutput) RedisConfigurations() GetCacheRedisConfigurationArrayOutput
A `redisConfiguration` block as defined below.
func (LookupCacheResultOutput) ResourceGroupName ¶
func (o LookupCacheResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupCacheResultOutput) SecondaryAccessKey ¶
func (o LookupCacheResultOutput) SecondaryAccessKey() pulumi.StringOutput
The Secondary Access Key for the Redis Instance
func (LookupCacheResultOutput) SecondaryConnectionString ¶
func (o LookupCacheResultOutput) SecondaryConnectionString() pulumi.StringOutput
The secondary connection string of the Redis Instance.
func (LookupCacheResultOutput) ShardCount ¶
func (o LookupCacheResultOutput) ShardCount() pulumi.IntOutput
func (LookupCacheResultOutput) SkuName ¶
func (o LookupCacheResultOutput) SkuName() pulumi.StringOutput
The SKU of Redis used. Possible values are `Basic`, `Standard` and `Premium`.
func (LookupCacheResultOutput) SslPort ¶
func (o LookupCacheResultOutput) SslPort() pulumi.IntOutput
The SSL Port of the Redis Instance
func (LookupCacheResultOutput) SubnetId ¶
func (o LookupCacheResultOutput) SubnetId() pulumi.StringOutput
func (LookupCacheResultOutput) Tags ¶
func (o LookupCacheResultOutput) Tags() pulumi.StringMapOutput
func (LookupCacheResultOutput) ToLookupCacheResultOutput ¶
func (o LookupCacheResultOutput) ToLookupCacheResultOutput() LookupCacheResultOutput
func (LookupCacheResultOutput) ToLookupCacheResultOutputWithContext ¶
func (o LookupCacheResultOutput) ToLookupCacheResultOutputWithContext(ctx context.Context) LookupCacheResultOutput
func (LookupCacheResultOutput) ToOutput ¶ added in v5.52.0
func (o LookupCacheResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCacheResult]
func (LookupCacheResultOutput) Zones ¶
func (o LookupCacheResultOutput) Zones() pulumi.StringArrayOutput
A list of Availability Zones in which this Redis Cache is located.
type LookupEnterpriseDatabaseArgs ¶
type LookupEnterpriseDatabaseArgs struct { // The resource ID of Redis Enterprise Cluster which hosts the Redis Enterprise Database instance. ClusterId string `pulumi:"clusterId"` // The name of the Redis Enterprise Database. Name string `pulumi:"name"` // The name of the resource group the Redis Enterprise Database instance is located in. // // Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider ResourceGroupName *string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getEnterpriseDatabase.
type LookupEnterpriseDatabaseOutputArgs ¶
type LookupEnterpriseDatabaseOutputArgs struct { // The resource ID of Redis Enterprise Cluster which hosts the Redis Enterprise Database instance. ClusterId pulumi.StringInput `pulumi:"clusterId"` // The name of the Redis Enterprise Database. Name pulumi.StringInput `pulumi:"name"` // The name of the resource group the Redis Enterprise Database instance is located in. // // Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider ResourceGroupName pulumi.StringPtrInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getEnterpriseDatabase.
func (LookupEnterpriseDatabaseOutputArgs) ElementType ¶
func (LookupEnterpriseDatabaseOutputArgs) ElementType() reflect.Type
type LookupEnterpriseDatabaseResult ¶
type LookupEnterpriseDatabaseResult struct { // The Redis Enterprise Cluster ID that is hosting the Redis Enterprise Database. ClusterId string `pulumi:"clusterId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Linked Database Group Nickname for the Redis Enterprise Database instance. LinkedDatabaseGroupNickname string `pulumi:"linkedDatabaseGroupNickname"` // The Linked Database list for the Redis Enterprise Database instance. LinkedDatabaseIds []string `pulumi:"linkedDatabaseIds"` // The Redis Enterprise Database name. Name string `pulumi:"name"` // The Primary Access Key for the Redis Enterprise Database instance. PrimaryAccessKey string `pulumi:"primaryAccessKey"` // Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider ResourceGroupName string `pulumi:"resourceGroupName"` // The Secondary Access Key for the Redis Enterprise Database instance. SecondaryAccessKey string `pulumi:"secondaryAccessKey"` }
A collection of values returned by getEnterpriseDatabase.
func LookupEnterpriseDatabase ¶
func LookupEnterpriseDatabase(ctx *pulumi.Context, args *LookupEnterpriseDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupEnterpriseDatabaseResult, error)
Use this data source to access information about an existing Redis Enterprise Database
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/redis" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := redis.LookupEnterpriseDatabase(ctx, &redis.LookupEnterpriseDatabaseArgs{ Name: "default", ResourceGroupName: pulumi.StringRef(azurerm_resource_group.Example.Name), ClusterId: azurerm_redis_enterprise_cluster.Example.Id, }, nil) if err != nil { return err } ctx.Export("redisEnterpriseDatabasePrimaryKey", example.PrimaryAccessKey) ctx.Export("redisEnterpriseDatabaseSecondaryKey", example.SecondaryAccessKey) return nil }) }
```
type LookupEnterpriseDatabaseResultOutput ¶
type LookupEnterpriseDatabaseResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEnterpriseDatabase.
func LookupEnterpriseDatabaseOutput ¶
func LookupEnterpriseDatabaseOutput(ctx *pulumi.Context, args LookupEnterpriseDatabaseOutputArgs, opts ...pulumi.InvokeOption) LookupEnterpriseDatabaseResultOutput
func (LookupEnterpriseDatabaseResultOutput) ClusterId ¶
func (o LookupEnterpriseDatabaseResultOutput) ClusterId() pulumi.StringOutput
The Redis Enterprise Cluster ID that is hosting the Redis Enterprise Database.
func (LookupEnterpriseDatabaseResultOutput) ElementType ¶
func (LookupEnterpriseDatabaseResultOutput) ElementType() reflect.Type
func (LookupEnterpriseDatabaseResultOutput) Id ¶
func (o LookupEnterpriseDatabaseResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupEnterpriseDatabaseResultOutput) LinkedDatabaseGroupNickname ¶ added in v5.3.0
func (o LookupEnterpriseDatabaseResultOutput) LinkedDatabaseGroupNickname() pulumi.StringOutput
The Linked Database Group Nickname for the Redis Enterprise Database instance.
func (LookupEnterpriseDatabaseResultOutput) LinkedDatabaseIds ¶ added in v5.3.0
func (o LookupEnterpriseDatabaseResultOutput) LinkedDatabaseIds() pulumi.StringArrayOutput
The Linked Database list for the Redis Enterprise Database instance.
func (LookupEnterpriseDatabaseResultOutput) Name ¶
func (o LookupEnterpriseDatabaseResultOutput) Name() pulumi.StringOutput
The Redis Enterprise Database name.
func (LookupEnterpriseDatabaseResultOutput) PrimaryAccessKey ¶
func (o LookupEnterpriseDatabaseResultOutput) PrimaryAccessKey() pulumi.StringOutput
The Primary Access Key for the Redis Enterprise Database instance.
func (LookupEnterpriseDatabaseResultOutput) ResourceGroupName
deprecated
func (o LookupEnterpriseDatabaseResultOutput) ResourceGroupName() pulumi.StringOutput
Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider
func (LookupEnterpriseDatabaseResultOutput) SecondaryAccessKey ¶
func (o LookupEnterpriseDatabaseResultOutput) SecondaryAccessKey() pulumi.StringOutput
The Secondary Access Key for the Redis Enterprise Database instance.
func (LookupEnterpriseDatabaseResultOutput) ToLookupEnterpriseDatabaseResultOutput ¶
func (o LookupEnterpriseDatabaseResultOutput) ToLookupEnterpriseDatabaseResultOutput() LookupEnterpriseDatabaseResultOutput
func (LookupEnterpriseDatabaseResultOutput) ToLookupEnterpriseDatabaseResultOutputWithContext ¶
func (o LookupEnterpriseDatabaseResultOutput) ToLookupEnterpriseDatabaseResultOutputWithContext(ctx context.Context) LookupEnterpriseDatabaseResultOutput
func (LookupEnterpriseDatabaseResultOutput) ToOutput ¶ added in v5.52.0
func (o LookupEnterpriseDatabaseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEnterpriseDatabaseResult]