Documentation ¶
Index ¶
- type Account
- func (*Account) ElementType() reflect.Type
- func (i *Account) ToAccountOutput() AccountOutput
- func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput
- func (i *Account) ToAccountPtrOutput() AccountPtrOutput
- func (i *Account) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
- type AccountArgs
- type AccountArray
- type AccountArrayInput
- type AccountArrayOutput
- type AccountBackup
- type AccountBackupArgs
- func (AccountBackupArgs) ElementType() reflect.Type
- func (i AccountBackupArgs) ToAccountBackupOutput() AccountBackupOutput
- func (i AccountBackupArgs) ToAccountBackupOutputWithContext(ctx context.Context) AccountBackupOutput
- func (i AccountBackupArgs) ToAccountBackupPtrOutput() AccountBackupPtrOutput
- func (i AccountBackupArgs) ToAccountBackupPtrOutputWithContext(ctx context.Context) AccountBackupPtrOutput
- type AccountBackupInput
- type AccountBackupOutput
- func (AccountBackupOutput) ElementType() reflect.Type
- func (o AccountBackupOutput) IntervalInMinutes() pulumi.IntPtrOutput
- func (o AccountBackupOutput) RetentionInHours() pulumi.IntPtrOutput
- func (o AccountBackupOutput) ToAccountBackupOutput() AccountBackupOutput
- func (o AccountBackupOutput) ToAccountBackupOutputWithContext(ctx context.Context) AccountBackupOutput
- func (o AccountBackupOutput) ToAccountBackupPtrOutput() AccountBackupPtrOutput
- func (o AccountBackupOutput) ToAccountBackupPtrOutputWithContext(ctx context.Context) AccountBackupPtrOutput
- func (o AccountBackupOutput) Type() pulumi.StringOutput
- type AccountBackupPtrInput
- type AccountBackupPtrOutput
- func (o AccountBackupPtrOutput) Elem() AccountBackupOutput
- func (AccountBackupPtrOutput) ElementType() reflect.Type
- func (o AccountBackupPtrOutput) IntervalInMinutes() pulumi.IntPtrOutput
- func (o AccountBackupPtrOutput) RetentionInHours() pulumi.IntPtrOutput
- func (o AccountBackupPtrOutput) ToAccountBackupPtrOutput() AccountBackupPtrOutput
- func (o AccountBackupPtrOutput) ToAccountBackupPtrOutputWithContext(ctx context.Context) AccountBackupPtrOutput
- func (o AccountBackupPtrOutput) Type() pulumi.StringPtrOutput
- type AccountCapability
- type AccountCapabilityArgs
- type AccountCapabilityArray
- type AccountCapabilityArrayInput
- type AccountCapabilityArrayOutput
- func (AccountCapabilityArrayOutput) ElementType() reflect.Type
- func (o AccountCapabilityArrayOutput) Index(i pulumi.IntInput) AccountCapabilityOutput
- func (o AccountCapabilityArrayOutput) ToAccountCapabilityArrayOutput() AccountCapabilityArrayOutput
- func (o AccountCapabilityArrayOutput) ToAccountCapabilityArrayOutputWithContext(ctx context.Context) AccountCapabilityArrayOutput
- type AccountCapabilityInput
- type AccountCapabilityOutput
- func (AccountCapabilityOutput) ElementType() reflect.Type
- func (o AccountCapabilityOutput) Name() pulumi.StringOutput
- func (o AccountCapabilityOutput) ToAccountCapabilityOutput() AccountCapabilityOutput
- func (o AccountCapabilityOutput) ToAccountCapabilityOutputWithContext(ctx context.Context) AccountCapabilityOutput
- type AccountConsistencyPolicy
- type AccountConsistencyPolicyArgs
- func (AccountConsistencyPolicyArgs) ElementType() reflect.Type
- func (i AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyOutput() AccountConsistencyPolicyOutput
- func (i AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyOutputWithContext(ctx context.Context) AccountConsistencyPolicyOutput
- func (i AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyPtrOutput() AccountConsistencyPolicyPtrOutput
- func (i AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyPtrOutputWithContext(ctx context.Context) AccountConsistencyPolicyPtrOutput
- type AccountConsistencyPolicyInput
- type AccountConsistencyPolicyOutput
- func (o AccountConsistencyPolicyOutput) ConsistencyLevel() pulumi.StringOutput
- func (AccountConsistencyPolicyOutput) ElementType() reflect.Type
- func (o AccountConsistencyPolicyOutput) MaxIntervalInSeconds() pulumi.IntPtrOutput
- func (o AccountConsistencyPolicyOutput) MaxStalenessPrefix() pulumi.IntPtrOutput
- func (o AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyOutput() AccountConsistencyPolicyOutput
- func (o AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyOutputWithContext(ctx context.Context) AccountConsistencyPolicyOutput
- func (o AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyPtrOutput() AccountConsistencyPolicyPtrOutput
- func (o AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyPtrOutputWithContext(ctx context.Context) AccountConsistencyPolicyPtrOutput
- type AccountConsistencyPolicyPtrInput
- type AccountConsistencyPolicyPtrOutput
- func (o AccountConsistencyPolicyPtrOutput) ConsistencyLevel() pulumi.StringPtrOutput
- func (o AccountConsistencyPolicyPtrOutput) Elem() AccountConsistencyPolicyOutput
- func (AccountConsistencyPolicyPtrOutput) ElementType() reflect.Type
- func (o AccountConsistencyPolicyPtrOutput) MaxIntervalInSeconds() pulumi.IntPtrOutput
- func (o AccountConsistencyPolicyPtrOutput) MaxStalenessPrefix() pulumi.IntPtrOutput
- func (o AccountConsistencyPolicyPtrOutput) ToAccountConsistencyPolicyPtrOutput() AccountConsistencyPolicyPtrOutput
- func (o AccountConsistencyPolicyPtrOutput) ToAccountConsistencyPolicyPtrOutputWithContext(ctx context.Context) AccountConsistencyPolicyPtrOutput
- type AccountCorsRule
- type AccountCorsRuleArgs
- func (AccountCorsRuleArgs) ElementType() reflect.Type
- func (i AccountCorsRuleArgs) ToAccountCorsRuleOutput() AccountCorsRuleOutput
- func (i AccountCorsRuleArgs) ToAccountCorsRuleOutputWithContext(ctx context.Context) AccountCorsRuleOutput
- func (i AccountCorsRuleArgs) ToAccountCorsRulePtrOutput() AccountCorsRulePtrOutput
- func (i AccountCorsRuleArgs) ToAccountCorsRulePtrOutputWithContext(ctx context.Context) AccountCorsRulePtrOutput
- type AccountCorsRuleInput
- type AccountCorsRuleOutput
- func (o AccountCorsRuleOutput) AllowedHeaders() pulumi.StringArrayOutput
- func (o AccountCorsRuleOutput) AllowedMethods() pulumi.StringArrayOutput
- func (o AccountCorsRuleOutput) AllowedOrigins() pulumi.StringArrayOutput
- func (AccountCorsRuleOutput) ElementType() reflect.Type
- func (o AccountCorsRuleOutput) ExposedHeaders() pulumi.StringArrayOutput
- func (o AccountCorsRuleOutput) MaxAgeInSeconds() pulumi.IntOutput
- func (o AccountCorsRuleOutput) ToAccountCorsRuleOutput() AccountCorsRuleOutput
- func (o AccountCorsRuleOutput) ToAccountCorsRuleOutputWithContext(ctx context.Context) AccountCorsRuleOutput
- func (o AccountCorsRuleOutput) ToAccountCorsRulePtrOutput() AccountCorsRulePtrOutput
- func (o AccountCorsRuleOutput) ToAccountCorsRulePtrOutputWithContext(ctx context.Context) AccountCorsRulePtrOutput
- type AccountCorsRulePtrInput
- type AccountCorsRulePtrOutput
- func (o AccountCorsRulePtrOutput) AllowedHeaders() pulumi.StringArrayOutput
- func (o AccountCorsRulePtrOutput) AllowedMethods() pulumi.StringArrayOutput
- func (o AccountCorsRulePtrOutput) AllowedOrigins() pulumi.StringArrayOutput
- func (o AccountCorsRulePtrOutput) Elem() AccountCorsRuleOutput
- func (AccountCorsRulePtrOutput) ElementType() reflect.Type
- func (o AccountCorsRulePtrOutput) ExposedHeaders() pulumi.StringArrayOutput
- func (o AccountCorsRulePtrOutput) MaxAgeInSeconds() pulumi.IntPtrOutput
- func (o AccountCorsRulePtrOutput) ToAccountCorsRulePtrOutput() AccountCorsRulePtrOutput
- func (o AccountCorsRulePtrOutput) ToAccountCorsRulePtrOutputWithContext(ctx context.Context) AccountCorsRulePtrOutput
- type AccountGeoLocation
- type AccountGeoLocationArgs
- type AccountGeoLocationArray
- type AccountGeoLocationArrayInput
- type AccountGeoLocationArrayOutput
- func (AccountGeoLocationArrayOutput) ElementType() reflect.Type
- func (o AccountGeoLocationArrayOutput) Index(i pulumi.IntInput) AccountGeoLocationOutput
- func (o AccountGeoLocationArrayOutput) ToAccountGeoLocationArrayOutput() AccountGeoLocationArrayOutput
- func (o AccountGeoLocationArrayOutput) ToAccountGeoLocationArrayOutputWithContext(ctx context.Context) AccountGeoLocationArrayOutput
- type AccountGeoLocationInput
- type AccountGeoLocationOutput
- func (AccountGeoLocationOutput) ElementType() reflect.Type
- func (o AccountGeoLocationOutput) FailoverPriority() pulumi.IntOutput
- func (o AccountGeoLocationOutput) Id() pulumi.StringPtrOutput
- func (o AccountGeoLocationOutput) Location() pulumi.StringOutput
- func (o AccountGeoLocationOutput) Prefix() pulumi.StringPtrOutputdeprecated
- func (o AccountGeoLocationOutput) ToAccountGeoLocationOutput() AccountGeoLocationOutput
- func (o AccountGeoLocationOutput) ToAccountGeoLocationOutputWithContext(ctx context.Context) AccountGeoLocationOutput
- func (o AccountGeoLocationOutput) ZoneRedundant() pulumi.BoolPtrOutput
- type AccountIdentity
- type AccountIdentityArgs
- func (AccountIdentityArgs) ElementType() reflect.Type
- func (i AccountIdentityArgs) ToAccountIdentityOutput() AccountIdentityOutput
- func (i AccountIdentityArgs) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput
- func (i AccountIdentityArgs) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput
- func (i AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput
- type AccountIdentityInput
- type AccountIdentityOutput
- func (AccountIdentityOutput) ElementType() reflect.Type
- func (o AccountIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o AccountIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o AccountIdentityOutput) ToAccountIdentityOutput() AccountIdentityOutput
- func (o AccountIdentityOutput) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput
- func (o AccountIdentityOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput
- func (o AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput
- func (o AccountIdentityOutput) Type() pulumi.StringOutput
- type AccountIdentityPtrInput
- type AccountIdentityPtrOutput
- func (o AccountIdentityPtrOutput) Elem() AccountIdentityOutput
- func (AccountIdentityPtrOutput) ElementType() reflect.Type
- func (o AccountIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o AccountIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput
- func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput
- func (o AccountIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type AccountInput
- type AccountMap
- type AccountMapInput
- type AccountMapOutput
- type AccountOutput
- func (AccountOutput) ElementType() reflect.Type
- func (o AccountOutput) ToAccountOutput() AccountOutput
- func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput
- func (o AccountOutput) ToAccountPtrOutput() AccountPtrOutput
- func (o AccountOutput) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
- type AccountPtrInput
- type AccountPtrOutput
- type AccountState
- type AccountVirtualNetworkRule
- type AccountVirtualNetworkRuleArgs
- func (AccountVirtualNetworkRuleArgs) ElementType() reflect.Type
- func (i AccountVirtualNetworkRuleArgs) ToAccountVirtualNetworkRuleOutput() AccountVirtualNetworkRuleOutput
- func (i AccountVirtualNetworkRuleArgs) ToAccountVirtualNetworkRuleOutputWithContext(ctx context.Context) AccountVirtualNetworkRuleOutput
- type AccountVirtualNetworkRuleArray
- func (AccountVirtualNetworkRuleArray) ElementType() reflect.Type
- func (i AccountVirtualNetworkRuleArray) ToAccountVirtualNetworkRuleArrayOutput() AccountVirtualNetworkRuleArrayOutput
- func (i AccountVirtualNetworkRuleArray) ToAccountVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) AccountVirtualNetworkRuleArrayOutput
- type AccountVirtualNetworkRuleArrayInput
- type AccountVirtualNetworkRuleArrayOutput
- func (AccountVirtualNetworkRuleArrayOutput) ElementType() reflect.Type
- func (o AccountVirtualNetworkRuleArrayOutput) Index(i pulumi.IntInput) AccountVirtualNetworkRuleOutput
- func (o AccountVirtualNetworkRuleArrayOutput) ToAccountVirtualNetworkRuleArrayOutput() AccountVirtualNetworkRuleArrayOutput
- func (o AccountVirtualNetworkRuleArrayOutput) ToAccountVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) AccountVirtualNetworkRuleArrayOutput
- type AccountVirtualNetworkRuleInput
- type AccountVirtualNetworkRuleOutput
- func (AccountVirtualNetworkRuleOutput) ElementType() reflect.Type
- func (o AccountVirtualNetworkRuleOutput) Id() pulumi.StringOutput
- func (o AccountVirtualNetworkRuleOutput) IgnoreMissingVnetServiceEndpoint() pulumi.BoolPtrOutput
- func (o AccountVirtualNetworkRuleOutput) ToAccountVirtualNetworkRuleOutput() AccountVirtualNetworkRuleOutput
- func (o AccountVirtualNetworkRuleOutput) ToAccountVirtualNetworkRuleOutputWithContext(ctx context.Context) AccountVirtualNetworkRuleOutput
- type CassandraKeyspace
- func (*CassandraKeyspace) ElementType() reflect.Type
- func (i *CassandraKeyspace) ToCassandraKeyspaceOutput() CassandraKeyspaceOutput
- func (i *CassandraKeyspace) ToCassandraKeyspaceOutputWithContext(ctx context.Context) CassandraKeyspaceOutput
- func (i *CassandraKeyspace) ToCassandraKeyspacePtrOutput() CassandraKeyspacePtrOutput
- func (i *CassandraKeyspace) ToCassandraKeyspacePtrOutputWithContext(ctx context.Context) CassandraKeyspacePtrOutput
- type CassandraKeyspaceArgs
- type CassandraKeyspaceArray
- type CassandraKeyspaceArrayInput
- type CassandraKeyspaceArrayOutput
- func (CassandraKeyspaceArrayOutput) ElementType() reflect.Type
- func (o CassandraKeyspaceArrayOutput) Index(i pulumi.IntInput) CassandraKeyspaceOutput
- func (o CassandraKeyspaceArrayOutput) ToCassandraKeyspaceArrayOutput() CassandraKeyspaceArrayOutput
- func (o CassandraKeyspaceArrayOutput) ToCassandraKeyspaceArrayOutputWithContext(ctx context.Context) CassandraKeyspaceArrayOutput
- type CassandraKeyspaceAutoscaleSettings
- type CassandraKeyspaceAutoscaleSettingsArgs
- func (CassandraKeyspaceAutoscaleSettingsArgs) ElementType() reflect.Type
- func (i CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsOutput() CassandraKeyspaceAutoscaleSettingsOutput
- func (i CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsOutputWithContext(ctx context.Context) CassandraKeyspaceAutoscaleSettingsOutput
- func (i CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsPtrOutput() CassandraKeyspaceAutoscaleSettingsPtrOutput
- func (i CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraKeyspaceAutoscaleSettingsPtrOutput
- type CassandraKeyspaceAutoscaleSettingsInput
- type CassandraKeyspaceAutoscaleSettingsOutput
- func (CassandraKeyspaceAutoscaleSettingsOutput) ElementType() reflect.Type
- func (o CassandraKeyspaceAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsOutput() CassandraKeyspaceAutoscaleSettingsOutput
- func (o CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsOutputWithContext(ctx context.Context) CassandraKeyspaceAutoscaleSettingsOutput
- func (o CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutput() CassandraKeyspaceAutoscaleSettingsPtrOutput
- func (o CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraKeyspaceAutoscaleSettingsPtrOutput
- type CassandraKeyspaceAutoscaleSettingsPtrInput
- type CassandraKeyspaceAutoscaleSettingsPtrOutput
- func (o CassandraKeyspaceAutoscaleSettingsPtrOutput) Elem() CassandraKeyspaceAutoscaleSettingsOutput
- func (CassandraKeyspaceAutoscaleSettingsPtrOutput) ElementType() reflect.Type
- func (o CassandraKeyspaceAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o CassandraKeyspaceAutoscaleSettingsPtrOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutput() CassandraKeyspaceAutoscaleSettingsPtrOutput
- func (o CassandraKeyspaceAutoscaleSettingsPtrOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraKeyspaceAutoscaleSettingsPtrOutput
- type CassandraKeyspaceInput
- type CassandraKeyspaceMap
- type CassandraKeyspaceMapInput
- type CassandraKeyspaceMapOutput
- func (CassandraKeyspaceMapOutput) ElementType() reflect.Type
- func (o CassandraKeyspaceMapOutput) MapIndex(k pulumi.StringInput) CassandraKeyspaceOutput
- func (o CassandraKeyspaceMapOutput) ToCassandraKeyspaceMapOutput() CassandraKeyspaceMapOutput
- func (o CassandraKeyspaceMapOutput) ToCassandraKeyspaceMapOutputWithContext(ctx context.Context) CassandraKeyspaceMapOutput
- type CassandraKeyspaceOutput
- func (CassandraKeyspaceOutput) ElementType() reflect.Type
- func (o CassandraKeyspaceOutput) ToCassandraKeyspaceOutput() CassandraKeyspaceOutput
- func (o CassandraKeyspaceOutput) ToCassandraKeyspaceOutputWithContext(ctx context.Context) CassandraKeyspaceOutput
- func (o CassandraKeyspaceOutput) ToCassandraKeyspacePtrOutput() CassandraKeyspacePtrOutput
- func (o CassandraKeyspaceOutput) ToCassandraKeyspacePtrOutputWithContext(ctx context.Context) CassandraKeyspacePtrOutput
- type CassandraKeyspacePtrInput
- type CassandraKeyspacePtrOutput
- type CassandraKeyspaceState
- type CassandraTable
- func (*CassandraTable) ElementType() reflect.Type
- func (i *CassandraTable) ToCassandraTableOutput() CassandraTableOutput
- func (i *CassandraTable) ToCassandraTableOutputWithContext(ctx context.Context) CassandraTableOutput
- func (i *CassandraTable) ToCassandraTablePtrOutput() CassandraTablePtrOutput
- func (i *CassandraTable) ToCassandraTablePtrOutputWithContext(ctx context.Context) CassandraTablePtrOutput
- type CassandraTableArgs
- type CassandraTableArray
- type CassandraTableArrayInput
- type CassandraTableArrayOutput
- func (CassandraTableArrayOutput) ElementType() reflect.Type
- func (o CassandraTableArrayOutput) Index(i pulumi.IntInput) CassandraTableOutput
- func (o CassandraTableArrayOutput) ToCassandraTableArrayOutput() CassandraTableArrayOutput
- func (o CassandraTableArrayOutput) ToCassandraTableArrayOutputWithContext(ctx context.Context) CassandraTableArrayOutput
- type CassandraTableAutoscaleSettings
- type CassandraTableAutoscaleSettingsArgs
- func (CassandraTableAutoscaleSettingsArgs) ElementType() reflect.Type
- func (i CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsOutput() CassandraTableAutoscaleSettingsOutput
- func (i CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsOutputWithContext(ctx context.Context) CassandraTableAutoscaleSettingsOutput
- func (i CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsPtrOutput() CassandraTableAutoscaleSettingsPtrOutput
- func (i CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraTableAutoscaleSettingsPtrOutput
- type CassandraTableAutoscaleSettingsInput
- type CassandraTableAutoscaleSettingsOutput
- func (CassandraTableAutoscaleSettingsOutput) ElementType() reflect.Type
- func (o CassandraTableAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsOutput() CassandraTableAutoscaleSettingsOutput
- func (o CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsOutputWithContext(ctx context.Context) CassandraTableAutoscaleSettingsOutput
- func (o CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsPtrOutput() CassandraTableAutoscaleSettingsPtrOutput
- func (o CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraTableAutoscaleSettingsPtrOutput
- type CassandraTableAutoscaleSettingsPtrInput
- type CassandraTableAutoscaleSettingsPtrOutput
- func (o CassandraTableAutoscaleSettingsPtrOutput) Elem() CassandraTableAutoscaleSettingsOutput
- func (CassandraTableAutoscaleSettingsPtrOutput) ElementType() reflect.Type
- func (o CassandraTableAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o CassandraTableAutoscaleSettingsPtrOutput) ToCassandraTableAutoscaleSettingsPtrOutput() CassandraTableAutoscaleSettingsPtrOutput
- func (o CassandraTableAutoscaleSettingsPtrOutput) ToCassandraTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraTableAutoscaleSettingsPtrOutput
- type CassandraTableInput
- type CassandraTableMap
- type CassandraTableMapInput
- type CassandraTableMapOutput
- func (CassandraTableMapOutput) ElementType() reflect.Type
- func (o CassandraTableMapOutput) MapIndex(k pulumi.StringInput) CassandraTableOutput
- func (o CassandraTableMapOutput) ToCassandraTableMapOutput() CassandraTableMapOutput
- func (o CassandraTableMapOutput) ToCassandraTableMapOutputWithContext(ctx context.Context) CassandraTableMapOutput
- type CassandraTableOutput
- func (CassandraTableOutput) ElementType() reflect.Type
- func (o CassandraTableOutput) ToCassandraTableOutput() CassandraTableOutput
- func (o CassandraTableOutput) ToCassandraTableOutputWithContext(ctx context.Context) CassandraTableOutput
- func (o CassandraTableOutput) ToCassandraTablePtrOutput() CassandraTablePtrOutput
- func (o CassandraTableOutput) ToCassandraTablePtrOutputWithContext(ctx context.Context) CassandraTablePtrOutput
- type CassandraTablePtrInput
- type CassandraTablePtrOutput
- type CassandraTableSchema
- type CassandraTableSchemaArgs
- func (CassandraTableSchemaArgs) ElementType() reflect.Type
- func (i CassandraTableSchemaArgs) ToCassandraTableSchemaOutput() CassandraTableSchemaOutput
- func (i CassandraTableSchemaArgs) ToCassandraTableSchemaOutputWithContext(ctx context.Context) CassandraTableSchemaOutput
- func (i CassandraTableSchemaArgs) ToCassandraTableSchemaPtrOutput() CassandraTableSchemaPtrOutput
- func (i CassandraTableSchemaArgs) ToCassandraTableSchemaPtrOutputWithContext(ctx context.Context) CassandraTableSchemaPtrOutput
- type CassandraTableSchemaClusterKey
- type CassandraTableSchemaClusterKeyArgs
- func (CassandraTableSchemaClusterKeyArgs) ElementType() reflect.Type
- func (i CassandraTableSchemaClusterKeyArgs) ToCassandraTableSchemaClusterKeyOutput() CassandraTableSchemaClusterKeyOutput
- func (i CassandraTableSchemaClusterKeyArgs) ToCassandraTableSchemaClusterKeyOutputWithContext(ctx context.Context) CassandraTableSchemaClusterKeyOutput
- type CassandraTableSchemaClusterKeyArray
- func (CassandraTableSchemaClusterKeyArray) ElementType() reflect.Type
- func (i CassandraTableSchemaClusterKeyArray) ToCassandraTableSchemaClusterKeyArrayOutput() CassandraTableSchemaClusterKeyArrayOutput
- func (i CassandraTableSchemaClusterKeyArray) ToCassandraTableSchemaClusterKeyArrayOutputWithContext(ctx context.Context) CassandraTableSchemaClusterKeyArrayOutput
- type CassandraTableSchemaClusterKeyArrayInput
- type CassandraTableSchemaClusterKeyArrayOutput
- func (CassandraTableSchemaClusterKeyArrayOutput) ElementType() reflect.Type
- func (o CassandraTableSchemaClusterKeyArrayOutput) Index(i pulumi.IntInput) CassandraTableSchemaClusterKeyOutput
- func (o CassandraTableSchemaClusterKeyArrayOutput) ToCassandraTableSchemaClusterKeyArrayOutput() CassandraTableSchemaClusterKeyArrayOutput
- func (o CassandraTableSchemaClusterKeyArrayOutput) ToCassandraTableSchemaClusterKeyArrayOutputWithContext(ctx context.Context) CassandraTableSchemaClusterKeyArrayOutput
- type CassandraTableSchemaClusterKeyInput
- type CassandraTableSchemaClusterKeyOutput
- func (CassandraTableSchemaClusterKeyOutput) ElementType() reflect.Type
- func (o CassandraTableSchemaClusterKeyOutput) Name() pulumi.StringOutput
- func (o CassandraTableSchemaClusterKeyOutput) OrderBy() pulumi.StringOutput
- func (o CassandraTableSchemaClusterKeyOutput) ToCassandraTableSchemaClusterKeyOutput() CassandraTableSchemaClusterKeyOutput
- func (o CassandraTableSchemaClusterKeyOutput) ToCassandraTableSchemaClusterKeyOutputWithContext(ctx context.Context) CassandraTableSchemaClusterKeyOutput
- type CassandraTableSchemaColumn
- type CassandraTableSchemaColumnArgs
- func (CassandraTableSchemaColumnArgs) ElementType() reflect.Type
- func (i CassandraTableSchemaColumnArgs) ToCassandraTableSchemaColumnOutput() CassandraTableSchemaColumnOutput
- func (i CassandraTableSchemaColumnArgs) ToCassandraTableSchemaColumnOutputWithContext(ctx context.Context) CassandraTableSchemaColumnOutput
- type CassandraTableSchemaColumnArray
- func (CassandraTableSchemaColumnArray) ElementType() reflect.Type
- func (i CassandraTableSchemaColumnArray) ToCassandraTableSchemaColumnArrayOutput() CassandraTableSchemaColumnArrayOutput
- func (i CassandraTableSchemaColumnArray) ToCassandraTableSchemaColumnArrayOutputWithContext(ctx context.Context) CassandraTableSchemaColumnArrayOutput
- type CassandraTableSchemaColumnArrayInput
- type CassandraTableSchemaColumnArrayOutput
- func (CassandraTableSchemaColumnArrayOutput) ElementType() reflect.Type
- func (o CassandraTableSchemaColumnArrayOutput) Index(i pulumi.IntInput) CassandraTableSchemaColumnOutput
- func (o CassandraTableSchemaColumnArrayOutput) ToCassandraTableSchemaColumnArrayOutput() CassandraTableSchemaColumnArrayOutput
- func (o CassandraTableSchemaColumnArrayOutput) ToCassandraTableSchemaColumnArrayOutputWithContext(ctx context.Context) CassandraTableSchemaColumnArrayOutput
- type CassandraTableSchemaColumnInput
- type CassandraTableSchemaColumnOutput
- func (CassandraTableSchemaColumnOutput) ElementType() reflect.Type
- func (o CassandraTableSchemaColumnOutput) Name() pulumi.StringOutput
- func (o CassandraTableSchemaColumnOutput) ToCassandraTableSchemaColumnOutput() CassandraTableSchemaColumnOutput
- func (o CassandraTableSchemaColumnOutput) ToCassandraTableSchemaColumnOutputWithContext(ctx context.Context) CassandraTableSchemaColumnOutput
- func (o CassandraTableSchemaColumnOutput) Type() pulumi.StringOutput
- type CassandraTableSchemaInput
- type CassandraTableSchemaOutput
- func (o CassandraTableSchemaOutput) ClusterKeys() CassandraTableSchemaClusterKeyArrayOutput
- func (o CassandraTableSchemaOutput) Columns() CassandraTableSchemaColumnArrayOutput
- func (CassandraTableSchemaOutput) ElementType() reflect.Type
- func (o CassandraTableSchemaOutput) PartitionKeys() CassandraTableSchemaPartitionKeyArrayOutput
- func (o CassandraTableSchemaOutput) ToCassandraTableSchemaOutput() CassandraTableSchemaOutput
- func (o CassandraTableSchemaOutput) ToCassandraTableSchemaOutputWithContext(ctx context.Context) CassandraTableSchemaOutput
- func (o CassandraTableSchemaOutput) ToCassandraTableSchemaPtrOutput() CassandraTableSchemaPtrOutput
- func (o CassandraTableSchemaOutput) ToCassandraTableSchemaPtrOutputWithContext(ctx context.Context) CassandraTableSchemaPtrOutput
- type CassandraTableSchemaPartitionKey
- type CassandraTableSchemaPartitionKeyArgs
- func (CassandraTableSchemaPartitionKeyArgs) ElementType() reflect.Type
- func (i CassandraTableSchemaPartitionKeyArgs) ToCassandraTableSchemaPartitionKeyOutput() CassandraTableSchemaPartitionKeyOutput
- func (i CassandraTableSchemaPartitionKeyArgs) ToCassandraTableSchemaPartitionKeyOutputWithContext(ctx context.Context) CassandraTableSchemaPartitionKeyOutput
- type CassandraTableSchemaPartitionKeyArray
- func (CassandraTableSchemaPartitionKeyArray) ElementType() reflect.Type
- func (i CassandraTableSchemaPartitionKeyArray) ToCassandraTableSchemaPartitionKeyArrayOutput() CassandraTableSchemaPartitionKeyArrayOutput
- func (i CassandraTableSchemaPartitionKeyArray) ToCassandraTableSchemaPartitionKeyArrayOutputWithContext(ctx context.Context) CassandraTableSchemaPartitionKeyArrayOutput
- type CassandraTableSchemaPartitionKeyArrayInput
- type CassandraTableSchemaPartitionKeyArrayOutput
- func (CassandraTableSchemaPartitionKeyArrayOutput) ElementType() reflect.Type
- func (o CassandraTableSchemaPartitionKeyArrayOutput) Index(i pulumi.IntInput) CassandraTableSchemaPartitionKeyOutput
- func (o CassandraTableSchemaPartitionKeyArrayOutput) ToCassandraTableSchemaPartitionKeyArrayOutput() CassandraTableSchemaPartitionKeyArrayOutput
- func (o CassandraTableSchemaPartitionKeyArrayOutput) ToCassandraTableSchemaPartitionKeyArrayOutputWithContext(ctx context.Context) CassandraTableSchemaPartitionKeyArrayOutput
- type CassandraTableSchemaPartitionKeyInput
- type CassandraTableSchemaPartitionKeyOutput
- func (CassandraTableSchemaPartitionKeyOutput) ElementType() reflect.Type
- func (o CassandraTableSchemaPartitionKeyOutput) Name() pulumi.StringOutput
- func (o CassandraTableSchemaPartitionKeyOutput) ToCassandraTableSchemaPartitionKeyOutput() CassandraTableSchemaPartitionKeyOutput
- func (o CassandraTableSchemaPartitionKeyOutput) ToCassandraTableSchemaPartitionKeyOutputWithContext(ctx context.Context) CassandraTableSchemaPartitionKeyOutput
- type CassandraTableSchemaPtrInput
- type CassandraTableSchemaPtrOutput
- func (o CassandraTableSchemaPtrOutput) ClusterKeys() CassandraTableSchemaClusterKeyArrayOutput
- func (o CassandraTableSchemaPtrOutput) Columns() CassandraTableSchemaColumnArrayOutput
- func (o CassandraTableSchemaPtrOutput) Elem() CassandraTableSchemaOutput
- func (CassandraTableSchemaPtrOutput) ElementType() reflect.Type
- func (o CassandraTableSchemaPtrOutput) PartitionKeys() CassandraTableSchemaPartitionKeyArrayOutput
- func (o CassandraTableSchemaPtrOutput) ToCassandraTableSchemaPtrOutput() CassandraTableSchemaPtrOutput
- func (o CassandraTableSchemaPtrOutput) ToCassandraTableSchemaPtrOutputWithContext(ctx context.Context) CassandraTableSchemaPtrOutput
- type CassandraTableState
- type GetAccountCapability
- type GetAccountCapabilityArgs
- type GetAccountCapabilityArray
- type GetAccountCapabilityArrayInput
- type GetAccountCapabilityArrayOutput
- func (GetAccountCapabilityArrayOutput) ElementType() reflect.Type
- func (o GetAccountCapabilityArrayOutput) Index(i pulumi.IntInput) GetAccountCapabilityOutput
- func (o GetAccountCapabilityArrayOutput) ToGetAccountCapabilityArrayOutput() GetAccountCapabilityArrayOutput
- func (o GetAccountCapabilityArrayOutput) ToGetAccountCapabilityArrayOutputWithContext(ctx context.Context) GetAccountCapabilityArrayOutput
- type GetAccountCapabilityInput
- type GetAccountCapabilityOutput
- func (GetAccountCapabilityOutput) ElementType() reflect.Type
- func (o GetAccountCapabilityOutput) Name() pulumi.StringOutput
- func (o GetAccountCapabilityOutput) ToGetAccountCapabilityOutput() GetAccountCapabilityOutput
- func (o GetAccountCapabilityOutput) ToGetAccountCapabilityOutputWithContext(ctx context.Context) GetAccountCapabilityOutput
- type GetAccountConsistencyPolicy
- type GetAccountConsistencyPolicyArgs
- func (GetAccountConsistencyPolicyArgs) ElementType() reflect.Type
- func (i GetAccountConsistencyPolicyArgs) ToGetAccountConsistencyPolicyOutput() GetAccountConsistencyPolicyOutput
- func (i GetAccountConsistencyPolicyArgs) ToGetAccountConsistencyPolicyOutputWithContext(ctx context.Context) GetAccountConsistencyPolicyOutput
- type GetAccountConsistencyPolicyArray
- func (GetAccountConsistencyPolicyArray) ElementType() reflect.Type
- func (i GetAccountConsistencyPolicyArray) ToGetAccountConsistencyPolicyArrayOutput() GetAccountConsistencyPolicyArrayOutput
- func (i GetAccountConsistencyPolicyArray) ToGetAccountConsistencyPolicyArrayOutputWithContext(ctx context.Context) GetAccountConsistencyPolicyArrayOutput
- type GetAccountConsistencyPolicyArrayInput
- type GetAccountConsistencyPolicyArrayOutput
- func (GetAccountConsistencyPolicyArrayOutput) ElementType() reflect.Type
- func (o GetAccountConsistencyPolicyArrayOutput) Index(i pulumi.IntInput) GetAccountConsistencyPolicyOutput
- func (o GetAccountConsistencyPolicyArrayOutput) ToGetAccountConsistencyPolicyArrayOutput() GetAccountConsistencyPolicyArrayOutput
- func (o GetAccountConsistencyPolicyArrayOutput) ToGetAccountConsistencyPolicyArrayOutputWithContext(ctx context.Context) GetAccountConsistencyPolicyArrayOutput
- type GetAccountConsistencyPolicyInput
- type GetAccountConsistencyPolicyOutput
- func (o GetAccountConsistencyPolicyOutput) ConsistencyLevel() pulumi.StringOutput
- func (GetAccountConsistencyPolicyOutput) ElementType() reflect.Type
- func (o GetAccountConsistencyPolicyOutput) MaxIntervalInSeconds() pulumi.IntOutput
- func (o GetAccountConsistencyPolicyOutput) MaxStalenessPrefix() pulumi.IntOutput
- func (o GetAccountConsistencyPolicyOutput) ToGetAccountConsistencyPolicyOutput() GetAccountConsistencyPolicyOutput
- func (o GetAccountConsistencyPolicyOutput) ToGetAccountConsistencyPolicyOutputWithContext(ctx context.Context) GetAccountConsistencyPolicyOutput
- type GetAccountGeoLocation
- type GetAccountGeoLocationArgs
- type GetAccountGeoLocationArray
- func (GetAccountGeoLocationArray) ElementType() reflect.Type
- func (i GetAccountGeoLocationArray) ToGetAccountGeoLocationArrayOutput() GetAccountGeoLocationArrayOutput
- func (i GetAccountGeoLocationArray) ToGetAccountGeoLocationArrayOutputWithContext(ctx context.Context) GetAccountGeoLocationArrayOutput
- type GetAccountGeoLocationArrayInput
- type GetAccountGeoLocationArrayOutput
- func (GetAccountGeoLocationArrayOutput) ElementType() reflect.Type
- func (o GetAccountGeoLocationArrayOutput) Index(i pulumi.IntInput) GetAccountGeoLocationOutput
- func (o GetAccountGeoLocationArrayOutput) ToGetAccountGeoLocationArrayOutput() GetAccountGeoLocationArrayOutput
- func (o GetAccountGeoLocationArrayOutput) ToGetAccountGeoLocationArrayOutputWithContext(ctx context.Context) GetAccountGeoLocationArrayOutput
- type GetAccountGeoLocationInput
- type GetAccountGeoLocationOutput
- func (GetAccountGeoLocationOutput) ElementType() reflect.Type
- func (o GetAccountGeoLocationOutput) FailoverPriority() pulumi.IntOutput
- func (o GetAccountGeoLocationOutput) Id() pulumi.StringOutput
- func (o GetAccountGeoLocationOutput) Location() pulumi.StringOutput
- func (o GetAccountGeoLocationOutput) ToGetAccountGeoLocationOutput() GetAccountGeoLocationOutput
- func (o GetAccountGeoLocationOutput) ToGetAccountGeoLocationOutputWithContext(ctx context.Context) GetAccountGeoLocationOutput
- type GetAccountVirtualNetworkRule
- type GetAccountVirtualNetworkRuleArgs
- func (GetAccountVirtualNetworkRuleArgs) ElementType() reflect.Type
- func (i GetAccountVirtualNetworkRuleArgs) ToGetAccountVirtualNetworkRuleOutput() GetAccountVirtualNetworkRuleOutput
- func (i GetAccountVirtualNetworkRuleArgs) ToGetAccountVirtualNetworkRuleOutputWithContext(ctx context.Context) GetAccountVirtualNetworkRuleOutput
- type GetAccountVirtualNetworkRuleArray
- func (GetAccountVirtualNetworkRuleArray) ElementType() reflect.Type
- func (i GetAccountVirtualNetworkRuleArray) ToGetAccountVirtualNetworkRuleArrayOutput() GetAccountVirtualNetworkRuleArrayOutput
- func (i GetAccountVirtualNetworkRuleArray) ToGetAccountVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) GetAccountVirtualNetworkRuleArrayOutput
- type GetAccountVirtualNetworkRuleArrayInput
- type GetAccountVirtualNetworkRuleArrayOutput
- func (GetAccountVirtualNetworkRuleArrayOutput) ElementType() reflect.Type
- func (o GetAccountVirtualNetworkRuleArrayOutput) Index(i pulumi.IntInput) GetAccountVirtualNetworkRuleOutput
- func (o GetAccountVirtualNetworkRuleArrayOutput) ToGetAccountVirtualNetworkRuleArrayOutput() GetAccountVirtualNetworkRuleArrayOutput
- func (o GetAccountVirtualNetworkRuleArrayOutput) ToGetAccountVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) GetAccountVirtualNetworkRuleArrayOutput
- type GetAccountVirtualNetworkRuleInput
- type GetAccountVirtualNetworkRuleOutput
- func (GetAccountVirtualNetworkRuleOutput) ElementType() reflect.Type
- func (o GetAccountVirtualNetworkRuleOutput) Id() pulumi.StringOutput
- func (o GetAccountVirtualNetworkRuleOutput) ToGetAccountVirtualNetworkRuleOutput() GetAccountVirtualNetworkRuleOutput
- func (o GetAccountVirtualNetworkRuleOutput) ToGetAccountVirtualNetworkRuleOutputWithContext(ctx context.Context) GetAccountVirtualNetworkRuleOutput
- type GremlinDatabase
- func (*GremlinDatabase) ElementType() reflect.Type
- func (i *GremlinDatabase) ToGremlinDatabaseOutput() GremlinDatabaseOutput
- func (i *GremlinDatabase) ToGremlinDatabaseOutputWithContext(ctx context.Context) GremlinDatabaseOutput
- func (i *GremlinDatabase) ToGremlinDatabasePtrOutput() GremlinDatabasePtrOutput
- func (i *GremlinDatabase) ToGremlinDatabasePtrOutputWithContext(ctx context.Context) GremlinDatabasePtrOutput
- type GremlinDatabaseArgs
- type GremlinDatabaseArray
- type GremlinDatabaseArrayInput
- type GremlinDatabaseArrayOutput
- func (GremlinDatabaseArrayOutput) ElementType() reflect.Type
- func (o GremlinDatabaseArrayOutput) Index(i pulumi.IntInput) GremlinDatabaseOutput
- func (o GremlinDatabaseArrayOutput) ToGremlinDatabaseArrayOutput() GremlinDatabaseArrayOutput
- func (o GremlinDatabaseArrayOutput) ToGremlinDatabaseArrayOutputWithContext(ctx context.Context) GremlinDatabaseArrayOutput
- type GremlinDatabaseAutoscaleSettings
- type GremlinDatabaseAutoscaleSettingsArgs
- func (GremlinDatabaseAutoscaleSettingsArgs) ElementType() reflect.Type
- func (i GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsOutput() GremlinDatabaseAutoscaleSettingsOutput
- func (i GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) GremlinDatabaseAutoscaleSettingsOutput
- func (i GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsPtrOutput() GremlinDatabaseAutoscaleSettingsPtrOutput
- func (i GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinDatabaseAutoscaleSettingsPtrOutput
- type GremlinDatabaseAutoscaleSettingsInput
- type GremlinDatabaseAutoscaleSettingsOutput
- func (GremlinDatabaseAutoscaleSettingsOutput) ElementType() reflect.Type
- func (o GremlinDatabaseAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsOutput() GremlinDatabaseAutoscaleSettingsOutput
- func (o GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) GremlinDatabaseAutoscaleSettingsOutput
- func (o GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutput() GremlinDatabaseAutoscaleSettingsPtrOutput
- func (o GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinDatabaseAutoscaleSettingsPtrOutput
- type GremlinDatabaseAutoscaleSettingsPtrInput
- type GremlinDatabaseAutoscaleSettingsPtrOutput
- func (o GremlinDatabaseAutoscaleSettingsPtrOutput) Elem() GremlinDatabaseAutoscaleSettingsOutput
- func (GremlinDatabaseAutoscaleSettingsPtrOutput) ElementType() reflect.Type
- func (o GremlinDatabaseAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o GremlinDatabaseAutoscaleSettingsPtrOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutput() GremlinDatabaseAutoscaleSettingsPtrOutput
- func (o GremlinDatabaseAutoscaleSettingsPtrOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinDatabaseAutoscaleSettingsPtrOutput
- type GremlinDatabaseInput
- type GremlinDatabaseMap
- type GremlinDatabaseMapInput
- type GremlinDatabaseMapOutput
- func (GremlinDatabaseMapOutput) ElementType() reflect.Type
- func (o GremlinDatabaseMapOutput) MapIndex(k pulumi.StringInput) GremlinDatabaseOutput
- func (o GremlinDatabaseMapOutput) ToGremlinDatabaseMapOutput() GremlinDatabaseMapOutput
- func (o GremlinDatabaseMapOutput) ToGremlinDatabaseMapOutputWithContext(ctx context.Context) GremlinDatabaseMapOutput
- type GremlinDatabaseOutput
- func (GremlinDatabaseOutput) ElementType() reflect.Type
- func (o GremlinDatabaseOutput) ToGremlinDatabaseOutput() GremlinDatabaseOutput
- func (o GremlinDatabaseOutput) ToGremlinDatabaseOutputWithContext(ctx context.Context) GremlinDatabaseOutput
- func (o GremlinDatabaseOutput) ToGremlinDatabasePtrOutput() GremlinDatabasePtrOutput
- func (o GremlinDatabaseOutput) ToGremlinDatabasePtrOutputWithContext(ctx context.Context) GremlinDatabasePtrOutput
- type GremlinDatabasePtrInput
- type GremlinDatabasePtrOutput
- type GremlinDatabaseState
- type GremlinGraph
- func (*GremlinGraph) ElementType() reflect.Type
- func (i *GremlinGraph) ToGremlinGraphOutput() GremlinGraphOutput
- func (i *GremlinGraph) ToGremlinGraphOutputWithContext(ctx context.Context) GremlinGraphOutput
- func (i *GremlinGraph) ToGremlinGraphPtrOutput() GremlinGraphPtrOutput
- func (i *GremlinGraph) ToGremlinGraphPtrOutputWithContext(ctx context.Context) GremlinGraphPtrOutput
- type GremlinGraphArgs
- type GremlinGraphArray
- type GremlinGraphArrayInput
- type GremlinGraphArrayOutput
- func (GremlinGraphArrayOutput) ElementType() reflect.Type
- func (o GremlinGraphArrayOutput) Index(i pulumi.IntInput) GremlinGraphOutput
- func (o GremlinGraphArrayOutput) ToGremlinGraphArrayOutput() GremlinGraphArrayOutput
- func (o GremlinGraphArrayOutput) ToGremlinGraphArrayOutputWithContext(ctx context.Context) GremlinGraphArrayOutput
- type GremlinGraphAutoscaleSettings
- type GremlinGraphAutoscaleSettingsArgs
- func (GremlinGraphAutoscaleSettingsArgs) ElementType() reflect.Type
- func (i GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsOutput() GremlinGraphAutoscaleSettingsOutput
- func (i GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsOutputWithContext(ctx context.Context) GremlinGraphAutoscaleSettingsOutput
- func (i GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsPtrOutput() GremlinGraphAutoscaleSettingsPtrOutput
- func (i GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinGraphAutoscaleSettingsPtrOutput
- type GremlinGraphAutoscaleSettingsInput
- type GremlinGraphAutoscaleSettingsOutput
- func (GremlinGraphAutoscaleSettingsOutput) ElementType() reflect.Type
- func (o GremlinGraphAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsOutput() GremlinGraphAutoscaleSettingsOutput
- func (o GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsOutputWithContext(ctx context.Context) GremlinGraphAutoscaleSettingsOutput
- func (o GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsPtrOutput() GremlinGraphAutoscaleSettingsPtrOutput
- func (o GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinGraphAutoscaleSettingsPtrOutput
- type GremlinGraphAutoscaleSettingsPtrInput
- type GremlinGraphAutoscaleSettingsPtrOutput
- func (o GremlinGraphAutoscaleSettingsPtrOutput) Elem() GremlinGraphAutoscaleSettingsOutput
- func (GremlinGraphAutoscaleSettingsPtrOutput) ElementType() reflect.Type
- func (o GremlinGraphAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o GremlinGraphAutoscaleSettingsPtrOutput) ToGremlinGraphAutoscaleSettingsPtrOutput() GremlinGraphAutoscaleSettingsPtrOutput
- func (o GremlinGraphAutoscaleSettingsPtrOutput) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinGraphAutoscaleSettingsPtrOutput
- type GremlinGraphConflictResolutionPolicy
- type GremlinGraphConflictResolutionPolicyArgs
- func (GremlinGraphConflictResolutionPolicyArgs) ElementType() reflect.Type
- func (i GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyOutput() GremlinGraphConflictResolutionPolicyOutput
- func (i GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyOutputWithContext(ctx context.Context) GremlinGraphConflictResolutionPolicyOutput
- type GremlinGraphConflictResolutionPolicyArray
- func (GremlinGraphConflictResolutionPolicyArray) ElementType() reflect.Type
- func (i GremlinGraphConflictResolutionPolicyArray) ToGremlinGraphConflictResolutionPolicyArrayOutput() GremlinGraphConflictResolutionPolicyArrayOutput
- func (i GremlinGraphConflictResolutionPolicyArray) ToGremlinGraphConflictResolutionPolicyArrayOutputWithContext(ctx context.Context) GremlinGraphConflictResolutionPolicyArrayOutput
- type GremlinGraphConflictResolutionPolicyArrayInput
- type GremlinGraphConflictResolutionPolicyArrayOutput
- func (GremlinGraphConflictResolutionPolicyArrayOutput) ElementType() reflect.Type
- func (o GremlinGraphConflictResolutionPolicyArrayOutput) Index(i pulumi.IntInput) GremlinGraphConflictResolutionPolicyOutput
- func (o GremlinGraphConflictResolutionPolicyArrayOutput) ToGremlinGraphConflictResolutionPolicyArrayOutput() GremlinGraphConflictResolutionPolicyArrayOutput
- func (o GremlinGraphConflictResolutionPolicyArrayOutput) ToGremlinGraphConflictResolutionPolicyArrayOutputWithContext(ctx context.Context) GremlinGraphConflictResolutionPolicyArrayOutput
- type GremlinGraphConflictResolutionPolicyInput
- type GremlinGraphConflictResolutionPolicyOutput
- func (o GremlinGraphConflictResolutionPolicyOutput) ConflictResolutionPath() pulumi.StringPtrOutput
- func (o GremlinGraphConflictResolutionPolicyOutput) ConflictResolutionProcedure() pulumi.StringPtrOutput
- func (GremlinGraphConflictResolutionPolicyOutput) ElementType() reflect.Type
- func (o GremlinGraphConflictResolutionPolicyOutput) Mode() pulumi.StringOutput
- func (o GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyOutput() GremlinGraphConflictResolutionPolicyOutput
- func (o GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyOutputWithContext(ctx context.Context) GremlinGraphConflictResolutionPolicyOutput
- type GremlinGraphIndexPolicy
- type GremlinGraphIndexPolicyArgs
- type GremlinGraphIndexPolicyArray
- func (GremlinGraphIndexPolicyArray) ElementType() reflect.Type
- func (i GremlinGraphIndexPolicyArray) ToGremlinGraphIndexPolicyArrayOutput() GremlinGraphIndexPolicyArrayOutput
- func (i GremlinGraphIndexPolicyArray) ToGremlinGraphIndexPolicyArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyArrayOutput
- type GremlinGraphIndexPolicyArrayInput
- type GremlinGraphIndexPolicyArrayOutput
- func (GremlinGraphIndexPolicyArrayOutput) ElementType() reflect.Type
- func (o GremlinGraphIndexPolicyArrayOutput) Index(i pulumi.IntInput) GremlinGraphIndexPolicyOutput
- func (o GremlinGraphIndexPolicyArrayOutput) ToGremlinGraphIndexPolicyArrayOutput() GremlinGraphIndexPolicyArrayOutput
- func (o GremlinGraphIndexPolicyArrayOutput) ToGremlinGraphIndexPolicyArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyArrayOutput
- type GremlinGraphIndexPolicyInput
- type GremlinGraphIndexPolicyOutput
- func (o GremlinGraphIndexPolicyOutput) Automatic() pulumi.BoolPtrOutput
- func (GremlinGraphIndexPolicyOutput) ElementType() reflect.Type
- func (o GremlinGraphIndexPolicyOutput) ExcludedPaths() pulumi.StringArrayOutput
- func (o GremlinGraphIndexPolicyOutput) IncludedPaths() pulumi.StringArrayOutput
- func (o GremlinGraphIndexPolicyOutput) IndexingMode() pulumi.StringOutput
- func (o GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutput() GremlinGraphIndexPolicyOutput
- func (o GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyOutput
- type GremlinGraphInput
- type GremlinGraphMap
- type GremlinGraphMapInput
- type GremlinGraphMapOutput
- func (GremlinGraphMapOutput) ElementType() reflect.Type
- func (o GremlinGraphMapOutput) MapIndex(k pulumi.StringInput) GremlinGraphOutput
- func (o GremlinGraphMapOutput) ToGremlinGraphMapOutput() GremlinGraphMapOutput
- func (o GremlinGraphMapOutput) ToGremlinGraphMapOutputWithContext(ctx context.Context) GremlinGraphMapOutput
- type GremlinGraphOutput
- func (GremlinGraphOutput) ElementType() reflect.Type
- func (o GremlinGraphOutput) ToGremlinGraphOutput() GremlinGraphOutput
- func (o GremlinGraphOutput) ToGremlinGraphOutputWithContext(ctx context.Context) GremlinGraphOutput
- func (o GremlinGraphOutput) ToGremlinGraphPtrOutput() GremlinGraphPtrOutput
- func (o GremlinGraphOutput) ToGremlinGraphPtrOutputWithContext(ctx context.Context) GremlinGraphPtrOutput
- type GremlinGraphPtrInput
- type GremlinGraphPtrOutput
- type GremlinGraphState
- type GremlinGraphUniqueKey
- type GremlinGraphUniqueKeyArgs
- type GremlinGraphUniqueKeyArray
- func (GremlinGraphUniqueKeyArray) ElementType() reflect.Type
- func (i GremlinGraphUniqueKeyArray) ToGremlinGraphUniqueKeyArrayOutput() GremlinGraphUniqueKeyArrayOutput
- func (i GremlinGraphUniqueKeyArray) ToGremlinGraphUniqueKeyArrayOutputWithContext(ctx context.Context) GremlinGraphUniqueKeyArrayOutput
- type GremlinGraphUniqueKeyArrayInput
- type GremlinGraphUniqueKeyArrayOutput
- func (GremlinGraphUniqueKeyArrayOutput) ElementType() reflect.Type
- func (o GremlinGraphUniqueKeyArrayOutput) Index(i pulumi.IntInput) GremlinGraphUniqueKeyOutput
- func (o GremlinGraphUniqueKeyArrayOutput) ToGremlinGraphUniqueKeyArrayOutput() GremlinGraphUniqueKeyArrayOutput
- func (o GremlinGraphUniqueKeyArrayOutput) ToGremlinGraphUniqueKeyArrayOutputWithContext(ctx context.Context) GremlinGraphUniqueKeyArrayOutput
- type GremlinGraphUniqueKeyInput
- type GremlinGraphUniqueKeyOutput
- func (GremlinGraphUniqueKeyOutput) ElementType() reflect.Type
- func (o GremlinGraphUniqueKeyOutput) Paths() pulumi.StringArrayOutput
- func (o GremlinGraphUniqueKeyOutput) ToGremlinGraphUniqueKeyOutput() GremlinGraphUniqueKeyOutput
- func (o GremlinGraphUniqueKeyOutput) ToGremlinGraphUniqueKeyOutputWithContext(ctx context.Context) GremlinGraphUniqueKeyOutput
- type LookupAccountArgs
- type LookupAccountResult
- type MongoCollection
- func (*MongoCollection) ElementType() reflect.Type
- func (i *MongoCollection) ToMongoCollectionOutput() MongoCollectionOutput
- func (i *MongoCollection) ToMongoCollectionOutputWithContext(ctx context.Context) MongoCollectionOutput
- func (i *MongoCollection) ToMongoCollectionPtrOutput() MongoCollectionPtrOutput
- func (i *MongoCollection) ToMongoCollectionPtrOutputWithContext(ctx context.Context) MongoCollectionPtrOutput
- type MongoCollectionArgs
- type MongoCollectionArray
- type MongoCollectionArrayInput
- type MongoCollectionArrayOutput
- func (MongoCollectionArrayOutput) ElementType() reflect.Type
- func (o MongoCollectionArrayOutput) Index(i pulumi.IntInput) MongoCollectionOutput
- func (o MongoCollectionArrayOutput) ToMongoCollectionArrayOutput() MongoCollectionArrayOutput
- func (o MongoCollectionArrayOutput) ToMongoCollectionArrayOutputWithContext(ctx context.Context) MongoCollectionArrayOutput
- type MongoCollectionAutoscaleSettings
- type MongoCollectionAutoscaleSettingsArgs
- func (MongoCollectionAutoscaleSettingsArgs) ElementType() reflect.Type
- func (i MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsOutput() MongoCollectionAutoscaleSettingsOutput
- func (i MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsOutputWithContext(ctx context.Context) MongoCollectionAutoscaleSettingsOutput
- func (i MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsPtrOutput() MongoCollectionAutoscaleSettingsPtrOutput
- func (i MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoCollectionAutoscaleSettingsPtrOutput
- type MongoCollectionAutoscaleSettingsInput
- type MongoCollectionAutoscaleSettingsOutput
- func (MongoCollectionAutoscaleSettingsOutput) ElementType() reflect.Type
- func (o MongoCollectionAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsOutput() MongoCollectionAutoscaleSettingsOutput
- func (o MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsOutputWithContext(ctx context.Context) MongoCollectionAutoscaleSettingsOutput
- func (o MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsPtrOutput() MongoCollectionAutoscaleSettingsPtrOutput
- func (o MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoCollectionAutoscaleSettingsPtrOutput
- type MongoCollectionAutoscaleSettingsPtrInput
- type MongoCollectionAutoscaleSettingsPtrOutput
- func (o MongoCollectionAutoscaleSettingsPtrOutput) Elem() MongoCollectionAutoscaleSettingsOutput
- func (MongoCollectionAutoscaleSettingsPtrOutput) ElementType() reflect.Type
- func (o MongoCollectionAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o MongoCollectionAutoscaleSettingsPtrOutput) ToMongoCollectionAutoscaleSettingsPtrOutput() MongoCollectionAutoscaleSettingsPtrOutput
- func (o MongoCollectionAutoscaleSettingsPtrOutput) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoCollectionAutoscaleSettingsPtrOutput
- type MongoCollectionIndex
- type MongoCollectionIndexArgs
- type MongoCollectionIndexArray
- type MongoCollectionIndexArrayInput
- type MongoCollectionIndexArrayOutput
- func (MongoCollectionIndexArrayOutput) ElementType() reflect.Type
- func (o MongoCollectionIndexArrayOutput) Index(i pulumi.IntInput) MongoCollectionIndexOutput
- func (o MongoCollectionIndexArrayOutput) ToMongoCollectionIndexArrayOutput() MongoCollectionIndexArrayOutput
- func (o MongoCollectionIndexArrayOutput) ToMongoCollectionIndexArrayOutputWithContext(ctx context.Context) MongoCollectionIndexArrayOutput
- type MongoCollectionIndexInput
- type MongoCollectionIndexOutput
- func (MongoCollectionIndexOutput) ElementType() reflect.Type
- func (o MongoCollectionIndexOutput) Keys() pulumi.StringArrayOutput
- func (o MongoCollectionIndexOutput) ToMongoCollectionIndexOutput() MongoCollectionIndexOutput
- func (o MongoCollectionIndexOutput) ToMongoCollectionIndexOutputWithContext(ctx context.Context) MongoCollectionIndexOutput
- func (o MongoCollectionIndexOutput) Unique() pulumi.BoolPtrOutput
- type MongoCollectionInput
- type MongoCollectionMap
- type MongoCollectionMapInput
- type MongoCollectionMapOutput
- func (MongoCollectionMapOutput) ElementType() reflect.Type
- func (o MongoCollectionMapOutput) MapIndex(k pulumi.StringInput) MongoCollectionOutput
- func (o MongoCollectionMapOutput) ToMongoCollectionMapOutput() MongoCollectionMapOutput
- func (o MongoCollectionMapOutput) ToMongoCollectionMapOutputWithContext(ctx context.Context) MongoCollectionMapOutput
- type MongoCollectionOutput
- func (MongoCollectionOutput) ElementType() reflect.Type
- func (o MongoCollectionOutput) ToMongoCollectionOutput() MongoCollectionOutput
- func (o MongoCollectionOutput) ToMongoCollectionOutputWithContext(ctx context.Context) MongoCollectionOutput
- func (o MongoCollectionOutput) ToMongoCollectionPtrOutput() MongoCollectionPtrOutput
- func (o MongoCollectionOutput) ToMongoCollectionPtrOutputWithContext(ctx context.Context) MongoCollectionPtrOutput
- type MongoCollectionPtrInput
- type MongoCollectionPtrOutput
- type MongoCollectionState
- type MongoCollectionSystemIndex
- type MongoCollectionSystemIndexArgs
- func (MongoCollectionSystemIndexArgs) ElementType() reflect.Type
- func (i MongoCollectionSystemIndexArgs) ToMongoCollectionSystemIndexOutput() MongoCollectionSystemIndexOutput
- func (i MongoCollectionSystemIndexArgs) ToMongoCollectionSystemIndexOutputWithContext(ctx context.Context) MongoCollectionSystemIndexOutput
- type MongoCollectionSystemIndexArray
- func (MongoCollectionSystemIndexArray) ElementType() reflect.Type
- func (i MongoCollectionSystemIndexArray) ToMongoCollectionSystemIndexArrayOutput() MongoCollectionSystemIndexArrayOutput
- func (i MongoCollectionSystemIndexArray) ToMongoCollectionSystemIndexArrayOutputWithContext(ctx context.Context) MongoCollectionSystemIndexArrayOutput
- type MongoCollectionSystemIndexArrayInput
- type MongoCollectionSystemIndexArrayOutput
- func (MongoCollectionSystemIndexArrayOutput) ElementType() reflect.Type
- func (o MongoCollectionSystemIndexArrayOutput) Index(i pulumi.IntInput) MongoCollectionSystemIndexOutput
- func (o MongoCollectionSystemIndexArrayOutput) ToMongoCollectionSystemIndexArrayOutput() MongoCollectionSystemIndexArrayOutput
- func (o MongoCollectionSystemIndexArrayOutput) ToMongoCollectionSystemIndexArrayOutputWithContext(ctx context.Context) MongoCollectionSystemIndexArrayOutput
- type MongoCollectionSystemIndexInput
- type MongoCollectionSystemIndexOutput
- func (MongoCollectionSystemIndexOutput) ElementType() reflect.Type
- func (o MongoCollectionSystemIndexOutput) Keys() pulumi.StringArrayOutput
- func (o MongoCollectionSystemIndexOutput) ToMongoCollectionSystemIndexOutput() MongoCollectionSystemIndexOutput
- func (o MongoCollectionSystemIndexOutput) ToMongoCollectionSystemIndexOutputWithContext(ctx context.Context) MongoCollectionSystemIndexOutput
- func (o MongoCollectionSystemIndexOutput) Unique() pulumi.BoolPtrOutput
- type MongoDatabase
- func (*MongoDatabase) ElementType() reflect.Type
- func (i *MongoDatabase) ToMongoDatabaseOutput() MongoDatabaseOutput
- func (i *MongoDatabase) ToMongoDatabaseOutputWithContext(ctx context.Context) MongoDatabaseOutput
- func (i *MongoDatabase) ToMongoDatabasePtrOutput() MongoDatabasePtrOutput
- func (i *MongoDatabase) ToMongoDatabasePtrOutputWithContext(ctx context.Context) MongoDatabasePtrOutput
- type MongoDatabaseArgs
- type MongoDatabaseArray
- type MongoDatabaseArrayInput
- type MongoDatabaseArrayOutput
- func (MongoDatabaseArrayOutput) ElementType() reflect.Type
- func (o MongoDatabaseArrayOutput) Index(i pulumi.IntInput) MongoDatabaseOutput
- func (o MongoDatabaseArrayOutput) ToMongoDatabaseArrayOutput() MongoDatabaseArrayOutput
- func (o MongoDatabaseArrayOutput) ToMongoDatabaseArrayOutputWithContext(ctx context.Context) MongoDatabaseArrayOutput
- type MongoDatabaseAutoscaleSettings
- type MongoDatabaseAutoscaleSettingsArgs
- func (MongoDatabaseAutoscaleSettingsArgs) ElementType() reflect.Type
- func (i MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsOutput() MongoDatabaseAutoscaleSettingsOutput
- func (i MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) MongoDatabaseAutoscaleSettingsOutput
- func (i MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsPtrOutput() MongoDatabaseAutoscaleSettingsPtrOutput
- func (i MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoDatabaseAutoscaleSettingsPtrOutput
- type MongoDatabaseAutoscaleSettingsInput
- type MongoDatabaseAutoscaleSettingsOutput
- func (MongoDatabaseAutoscaleSettingsOutput) ElementType() reflect.Type
- func (o MongoDatabaseAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsOutput() MongoDatabaseAutoscaleSettingsOutput
- func (o MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) MongoDatabaseAutoscaleSettingsOutput
- func (o MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsPtrOutput() MongoDatabaseAutoscaleSettingsPtrOutput
- func (o MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoDatabaseAutoscaleSettingsPtrOutput
- type MongoDatabaseAutoscaleSettingsPtrInput
- type MongoDatabaseAutoscaleSettingsPtrOutput
- func (o MongoDatabaseAutoscaleSettingsPtrOutput) Elem() MongoDatabaseAutoscaleSettingsOutput
- func (MongoDatabaseAutoscaleSettingsPtrOutput) ElementType() reflect.Type
- func (o MongoDatabaseAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o MongoDatabaseAutoscaleSettingsPtrOutput) ToMongoDatabaseAutoscaleSettingsPtrOutput() MongoDatabaseAutoscaleSettingsPtrOutput
- func (o MongoDatabaseAutoscaleSettingsPtrOutput) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoDatabaseAutoscaleSettingsPtrOutput
- type MongoDatabaseInput
- type MongoDatabaseMap
- type MongoDatabaseMapInput
- type MongoDatabaseMapOutput
- func (MongoDatabaseMapOutput) ElementType() reflect.Type
- func (o MongoDatabaseMapOutput) MapIndex(k pulumi.StringInput) MongoDatabaseOutput
- func (o MongoDatabaseMapOutput) ToMongoDatabaseMapOutput() MongoDatabaseMapOutput
- func (o MongoDatabaseMapOutput) ToMongoDatabaseMapOutputWithContext(ctx context.Context) MongoDatabaseMapOutput
- type MongoDatabaseOutput
- func (MongoDatabaseOutput) ElementType() reflect.Type
- func (o MongoDatabaseOutput) ToMongoDatabaseOutput() MongoDatabaseOutput
- func (o MongoDatabaseOutput) ToMongoDatabaseOutputWithContext(ctx context.Context) MongoDatabaseOutput
- func (o MongoDatabaseOutput) ToMongoDatabasePtrOutput() MongoDatabasePtrOutput
- func (o MongoDatabaseOutput) ToMongoDatabasePtrOutputWithContext(ctx context.Context) MongoDatabasePtrOutput
- type MongoDatabasePtrInput
- type MongoDatabasePtrOutput
- type MongoDatabaseState
- type NotebookWorkspace
- func (*NotebookWorkspace) ElementType() reflect.Type
- func (i *NotebookWorkspace) ToNotebookWorkspaceOutput() NotebookWorkspaceOutput
- func (i *NotebookWorkspace) ToNotebookWorkspaceOutputWithContext(ctx context.Context) NotebookWorkspaceOutput
- func (i *NotebookWorkspace) ToNotebookWorkspacePtrOutput() NotebookWorkspacePtrOutput
- func (i *NotebookWorkspace) ToNotebookWorkspacePtrOutputWithContext(ctx context.Context) NotebookWorkspacePtrOutput
- type NotebookWorkspaceArgs
- type NotebookWorkspaceArray
- type NotebookWorkspaceArrayInput
- type NotebookWorkspaceArrayOutput
- func (NotebookWorkspaceArrayOutput) ElementType() reflect.Type
- func (o NotebookWorkspaceArrayOutput) Index(i pulumi.IntInput) NotebookWorkspaceOutput
- func (o NotebookWorkspaceArrayOutput) ToNotebookWorkspaceArrayOutput() NotebookWorkspaceArrayOutput
- func (o NotebookWorkspaceArrayOutput) ToNotebookWorkspaceArrayOutputWithContext(ctx context.Context) NotebookWorkspaceArrayOutput
- type NotebookWorkspaceInput
- type NotebookWorkspaceMap
- type NotebookWorkspaceMapInput
- type NotebookWorkspaceMapOutput
- func (NotebookWorkspaceMapOutput) ElementType() reflect.Type
- func (o NotebookWorkspaceMapOutput) MapIndex(k pulumi.StringInput) NotebookWorkspaceOutput
- func (o NotebookWorkspaceMapOutput) ToNotebookWorkspaceMapOutput() NotebookWorkspaceMapOutput
- func (o NotebookWorkspaceMapOutput) ToNotebookWorkspaceMapOutputWithContext(ctx context.Context) NotebookWorkspaceMapOutput
- type NotebookWorkspaceOutput
- func (NotebookWorkspaceOutput) ElementType() reflect.Type
- func (o NotebookWorkspaceOutput) ToNotebookWorkspaceOutput() NotebookWorkspaceOutput
- func (o NotebookWorkspaceOutput) ToNotebookWorkspaceOutputWithContext(ctx context.Context) NotebookWorkspaceOutput
- func (o NotebookWorkspaceOutput) ToNotebookWorkspacePtrOutput() NotebookWorkspacePtrOutput
- func (o NotebookWorkspaceOutput) ToNotebookWorkspacePtrOutputWithContext(ctx context.Context) NotebookWorkspacePtrOutput
- type NotebookWorkspacePtrInput
- type NotebookWorkspacePtrOutput
- type NotebookWorkspaceState
- type SqlContainer
- func (*SqlContainer) ElementType() reflect.Type
- func (i *SqlContainer) ToSqlContainerOutput() SqlContainerOutput
- func (i *SqlContainer) ToSqlContainerOutputWithContext(ctx context.Context) SqlContainerOutput
- func (i *SqlContainer) ToSqlContainerPtrOutput() SqlContainerPtrOutput
- func (i *SqlContainer) ToSqlContainerPtrOutputWithContext(ctx context.Context) SqlContainerPtrOutput
- type SqlContainerArgs
- type SqlContainerArray
- type SqlContainerArrayInput
- type SqlContainerArrayOutput
- func (SqlContainerArrayOutput) ElementType() reflect.Type
- func (o SqlContainerArrayOutput) Index(i pulumi.IntInput) SqlContainerOutput
- func (o SqlContainerArrayOutput) ToSqlContainerArrayOutput() SqlContainerArrayOutput
- func (o SqlContainerArrayOutput) ToSqlContainerArrayOutputWithContext(ctx context.Context) SqlContainerArrayOutput
- type SqlContainerAutoscaleSettings
- type SqlContainerAutoscaleSettingsArgs
- func (SqlContainerAutoscaleSettingsArgs) ElementType() reflect.Type
- func (i SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsOutput() SqlContainerAutoscaleSettingsOutput
- func (i SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsOutputWithContext(ctx context.Context) SqlContainerAutoscaleSettingsOutput
- func (i SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsPtrOutput() SqlContainerAutoscaleSettingsPtrOutput
- func (i SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlContainerAutoscaleSettingsPtrOutput
- type SqlContainerAutoscaleSettingsInput
- type SqlContainerAutoscaleSettingsOutput
- func (SqlContainerAutoscaleSettingsOutput) ElementType() reflect.Type
- func (o SqlContainerAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsOutput() SqlContainerAutoscaleSettingsOutput
- func (o SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsOutputWithContext(ctx context.Context) SqlContainerAutoscaleSettingsOutput
- func (o SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsPtrOutput() SqlContainerAutoscaleSettingsPtrOutput
- func (o SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlContainerAutoscaleSettingsPtrOutput
- type SqlContainerAutoscaleSettingsPtrInput
- type SqlContainerAutoscaleSettingsPtrOutput
- func (o SqlContainerAutoscaleSettingsPtrOutput) Elem() SqlContainerAutoscaleSettingsOutput
- func (SqlContainerAutoscaleSettingsPtrOutput) ElementType() reflect.Type
- func (o SqlContainerAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o SqlContainerAutoscaleSettingsPtrOutput) ToSqlContainerAutoscaleSettingsPtrOutput() SqlContainerAutoscaleSettingsPtrOutput
- func (o SqlContainerAutoscaleSettingsPtrOutput) ToSqlContainerAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlContainerAutoscaleSettingsPtrOutput
- type SqlContainerConflictResolutionPolicy
- type SqlContainerConflictResolutionPolicyArgs
- func (SqlContainerConflictResolutionPolicyArgs) ElementType() reflect.Type
- func (i SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyOutput() SqlContainerConflictResolutionPolicyOutput
- func (i SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyOutputWithContext(ctx context.Context) SqlContainerConflictResolutionPolicyOutput
- func (i SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyPtrOutput() SqlContainerConflictResolutionPolicyPtrOutput
- func (i SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext(ctx context.Context) SqlContainerConflictResolutionPolicyPtrOutput
- type SqlContainerConflictResolutionPolicyInput
- type SqlContainerConflictResolutionPolicyOutput
- func (o SqlContainerConflictResolutionPolicyOutput) ConflictResolutionPath() pulumi.StringPtrOutput
- func (o SqlContainerConflictResolutionPolicyOutput) ConflictResolutionProcedure() pulumi.StringPtrOutput
- func (SqlContainerConflictResolutionPolicyOutput) ElementType() reflect.Type
- func (o SqlContainerConflictResolutionPolicyOutput) Mode() pulumi.StringOutput
- func (o SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyOutput() SqlContainerConflictResolutionPolicyOutput
- func (o SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyOutputWithContext(ctx context.Context) SqlContainerConflictResolutionPolicyOutput
- func (o SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyPtrOutput() SqlContainerConflictResolutionPolicyPtrOutput
- func (o SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext(ctx context.Context) SqlContainerConflictResolutionPolicyPtrOutput
- type SqlContainerConflictResolutionPolicyPtrInput
- type SqlContainerConflictResolutionPolicyPtrOutput
- func (o SqlContainerConflictResolutionPolicyPtrOutput) ConflictResolutionPath() pulumi.StringPtrOutput
- func (o SqlContainerConflictResolutionPolicyPtrOutput) ConflictResolutionProcedure() pulumi.StringPtrOutput
- func (o SqlContainerConflictResolutionPolicyPtrOutput) Elem() SqlContainerConflictResolutionPolicyOutput
- func (SqlContainerConflictResolutionPolicyPtrOutput) ElementType() reflect.Type
- func (o SqlContainerConflictResolutionPolicyPtrOutput) Mode() pulumi.StringPtrOutput
- func (o SqlContainerConflictResolutionPolicyPtrOutput) ToSqlContainerConflictResolutionPolicyPtrOutput() SqlContainerConflictResolutionPolicyPtrOutput
- func (o SqlContainerConflictResolutionPolicyPtrOutput) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext(ctx context.Context) SqlContainerConflictResolutionPolicyPtrOutput
- type SqlContainerIndexingPolicy
- type SqlContainerIndexingPolicyArgs
- func (SqlContainerIndexingPolicyArgs) ElementType() reflect.Type
- func (i SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyOutput() SqlContainerIndexingPolicyOutput
- func (i SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyOutput
- func (i SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyPtrOutput() SqlContainerIndexingPolicyPtrOutput
- func (i SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyPtrOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyPtrOutput
- type SqlContainerIndexingPolicyCompositeIndex
- type SqlContainerIndexingPolicyCompositeIndexArgs
- func (SqlContainerIndexingPolicyCompositeIndexArgs) ElementType() reflect.Type
- func (i SqlContainerIndexingPolicyCompositeIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexOutput() SqlContainerIndexingPolicyCompositeIndexOutput
- func (i SqlContainerIndexingPolicyCompositeIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexOutput
- type SqlContainerIndexingPolicyCompositeIndexArray
- func (SqlContainerIndexingPolicyCompositeIndexArray) ElementType() reflect.Type
- func (i SqlContainerIndexingPolicyCompositeIndexArray) ToSqlContainerIndexingPolicyCompositeIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexArrayOutput
- func (i SqlContainerIndexingPolicyCompositeIndexArray) ToSqlContainerIndexingPolicyCompositeIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexArrayOutput
- type SqlContainerIndexingPolicyCompositeIndexArrayInput
- type SqlContainerIndexingPolicyCompositeIndexArrayOutput
- func (SqlContainerIndexingPolicyCompositeIndexArrayOutput) ElementType() reflect.Type
- func (o SqlContainerIndexingPolicyCompositeIndexArrayOutput) Index(i pulumi.IntInput) SqlContainerIndexingPolicyCompositeIndexOutput
- func (o SqlContainerIndexingPolicyCompositeIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexArrayOutput
- func (o SqlContainerIndexingPolicyCompositeIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexArrayOutput
- type SqlContainerIndexingPolicyCompositeIndexIndex
- type SqlContainerIndexingPolicyCompositeIndexIndexArgs
- func (SqlContainerIndexingPolicyCompositeIndexIndexArgs) ElementType() reflect.Type
- func (i SqlContainerIndexingPolicyCompositeIndexIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexIndexOutput() SqlContainerIndexingPolicyCompositeIndexIndexOutput
- func (i SqlContainerIndexingPolicyCompositeIndexIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexIndexOutput
- type SqlContainerIndexingPolicyCompositeIndexIndexArray
- func (SqlContainerIndexingPolicyCompositeIndexIndexArray) ElementType() reflect.Type
- func (i SqlContainerIndexingPolicyCompositeIndexIndexArray) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput
- func (i SqlContainerIndexingPolicyCompositeIndexIndexArray) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput
- type SqlContainerIndexingPolicyCompositeIndexIndexArrayInput
- type SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput
- func (SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) ElementType() reflect.Type
- func (o SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) Index(i pulumi.IntInput) SqlContainerIndexingPolicyCompositeIndexIndexOutput
- func (o SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput
- func (o SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput
- type SqlContainerIndexingPolicyCompositeIndexIndexInput
- type SqlContainerIndexingPolicyCompositeIndexIndexOutput
- func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) ElementType() reflect.Type
- func (o SqlContainerIndexingPolicyCompositeIndexIndexOutput) Order() pulumi.StringOutput
- func (o SqlContainerIndexingPolicyCompositeIndexIndexOutput) Path() pulumi.StringOutput
- func (o SqlContainerIndexingPolicyCompositeIndexIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexOutput() SqlContainerIndexingPolicyCompositeIndexIndexOutput
- func (o SqlContainerIndexingPolicyCompositeIndexIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexIndexOutput
- type SqlContainerIndexingPolicyCompositeIndexInput
- type SqlContainerIndexingPolicyCompositeIndexOutput
- func (SqlContainerIndexingPolicyCompositeIndexOutput) ElementType() reflect.Type
- func (o SqlContainerIndexingPolicyCompositeIndexOutput) Indices() SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput
- func (o SqlContainerIndexingPolicyCompositeIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexOutput() SqlContainerIndexingPolicyCompositeIndexOutput
- func (o SqlContainerIndexingPolicyCompositeIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexOutput
- type SqlContainerIndexingPolicyExcludedPath
- type SqlContainerIndexingPolicyExcludedPathArgs
- func (SqlContainerIndexingPolicyExcludedPathArgs) ElementType() reflect.Type
- func (i SqlContainerIndexingPolicyExcludedPathArgs) ToSqlContainerIndexingPolicyExcludedPathOutput() SqlContainerIndexingPolicyExcludedPathOutput
- func (i SqlContainerIndexingPolicyExcludedPathArgs) ToSqlContainerIndexingPolicyExcludedPathOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyExcludedPathOutput
- type SqlContainerIndexingPolicyExcludedPathArray
- func (SqlContainerIndexingPolicyExcludedPathArray) ElementType() reflect.Type
- func (i SqlContainerIndexingPolicyExcludedPathArray) ToSqlContainerIndexingPolicyExcludedPathArrayOutput() SqlContainerIndexingPolicyExcludedPathArrayOutput
- func (i SqlContainerIndexingPolicyExcludedPathArray) ToSqlContainerIndexingPolicyExcludedPathArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyExcludedPathArrayOutput
- type SqlContainerIndexingPolicyExcludedPathArrayInput
- type SqlContainerIndexingPolicyExcludedPathArrayOutput
- func (SqlContainerIndexingPolicyExcludedPathArrayOutput) ElementType() reflect.Type
- func (o SqlContainerIndexingPolicyExcludedPathArrayOutput) Index(i pulumi.IntInput) SqlContainerIndexingPolicyExcludedPathOutput
- func (o SqlContainerIndexingPolicyExcludedPathArrayOutput) ToSqlContainerIndexingPolicyExcludedPathArrayOutput() SqlContainerIndexingPolicyExcludedPathArrayOutput
- func (o SqlContainerIndexingPolicyExcludedPathArrayOutput) ToSqlContainerIndexingPolicyExcludedPathArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyExcludedPathArrayOutput
- type SqlContainerIndexingPolicyExcludedPathInput
- type SqlContainerIndexingPolicyExcludedPathOutput
- func (SqlContainerIndexingPolicyExcludedPathOutput) ElementType() reflect.Type
- func (o SqlContainerIndexingPolicyExcludedPathOutput) Path() pulumi.StringOutput
- func (o SqlContainerIndexingPolicyExcludedPathOutput) ToSqlContainerIndexingPolicyExcludedPathOutput() SqlContainerIndexingPolicyExcludedPathOutput
- func (o SqlContainerIndexingPolicyExcludedPathOutput) ToSqlContainerIndexingPolicyExcludedPathOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyExcludedPathOutput
- type SqlContainerIndexingPolicyIncludedPath
- type SqlContainerIndexingPolicyIncludedPathArgs
- func (SqlContainerIndexingPolicyIncludedPathArgs) ElementType() reflect.Type
- func (i SqlContainerIndexingPolicyIncludedPathArgs) ToSqlContainerIndexingPolicyIncludedPathOutput() SqlContainerIndexingPolicyIncludedPathOutput
- func (i SqlContainerIndexingPolicyIncludedPathArgs) ToSqlContainerIndexingPolicyIncludedPathOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyIncludedPathOutput
- type SqlContainerIndexingPolicyIncludedPathArray
- func (SqlContainerIndexingPolicyIncludedPathArray) ElementType() reflect.Type
- func (i SqlContainerIndexingPolicyIncludedPathArray) ToSqlContainerIndexingPolicyIncludedPathArrayOutput() SqlContainerIndexingPolicyIncludedPathArrayOutput
- func (i SqlContainerIndexingPolicyIncludedPathArray) ToSqlContainerIndexingPolicyIncludedPathArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyIncludedPathArrayOutput
- type SqlContainerIndexingPolicyIncludedPathArrayInput
- type SqlContainerIndexingPolicyIncludedPathArrayOutput
- func (SqlContainerIndexingPolicyIncludedPathArrayOutput) ElementType() reflect.Type
- func (o SqlContainerIndexingPolicyIncludedPathArrayOutput) Index(i pulumi.IntInput) SqlContainerIndexingPolicyIncludedPathOutput
- func (o SqlContainerIndexingPolicyIncludedPathArrayOutput) ToSqlContainerIndexingPolicyIncludedPathArrayOutput() SqlContainerIndexingPolicyIncludedPathArrayOutput
- func (o SqlContainerIndexingPolicyIncludedPathArrayOutput) ToSqlContainerIndexingPolicyIncludedPathArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyIncludedPathArrayOutput
- type SqlContainerIndexingPolicyIncludedPathInput
- type SqlContainerIndexingPolicyIncludedPathOutput
- func (SqlContainerIndexingPolicyIncludedPathOutput) ElementType() reflect.Type
- func (o SqlContainerIndexingPolicyIncludedPathOutput) Path() pulumi.StringOutput
- func (o SqlContainerIndexingPolicyIncludedPathOutput) ToSqlContainerIndexingPolicyIncludedPathOutput() SqlContainerIndexingPolicyIncludedPathOutput
- func (o SqlContainerIndexingPolicyIncludedPathOutput) ToSqlContainerIndexingPolicyIncludedPathOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyIncludedPathOutput
- type SqlContainerIndexingPolicyInput
- type SqlContainerIndexingPolicyOutput
- func (o SqlContainerIndexingPolicyOutput) CompositeIndices() SqlContainerIndexingPolicyCompositeIndexArrayOutput
- func (SqlContainerIndexingPolicyOutput) ElementType() reflect.Type
- func (o SqlContainerIndexingPolicyOutput) ExcludedPaths() SqlContainerIndexingPolicyExcludedPathArrayOutput
- func (o SqlContainerIndexingPolicyOutput) IncludedPaths() SqlContainerIndexingPolicyIncludedPathArrayOutput
- func (o SqlContainerIndexingPolicyOutput) IndexingMode() pulumi.StringPtrOutput
- func (o SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyOutput() SqlContainerIndexingPolicyOutput
- func (o SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyOutput
- func (o SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyPtrOutput() SqlContainerIndexingPolicyPtrOutput
- func (o SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyPtrOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyPtrOutput
- type SqlContainerIndexingPolicyPtrInput
- type SqlContainerIndexingPolicyPtrOutput
- func (o SqlContainerIndexingPolicyPtrOutput) CompositeIndices() SqlContainerIndexingPolicyCompositeIndexArrayOutput
- func (o SqlContainerIndexingPolicyPtrOutput) Elem() SqlContainerIndexingPolicyOutput
- func (SqlContainerIndexingPolicyPtrOutput) ElementType() reflect.Type
- func (o SqlContainerIndexingPolicyPtrOutput) ExcludedPaths() SqlContainerIndexingPolicyExcludedPathArrayOutput
- func (o SqlContainerIndexingPolicyPtrOutput) IncludedPaths() SqlContainerIndexingPolicyIncludedPathArrayOutput
- func (o SqlContainerIndexingPolicyPtrOutput) IndexingMode() pulumi.StringPtrOutput
- func (o SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutput() SqlContainerIndexingPolicyPtrOutput
- func (o SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyPtrOutput
- type SqlContainerInput
- type SqlContainerMap
- type SqlContainerMapInput
- type SqlContainerMapOutput
- func (SqlContainerMapOutput) ElementType() reflect.Type
- func (o SqlContainerMapOutput) MapIndex(k pulumi.StringInput) SqlContainerOutput
- func (o SqlContainerMapOutput) ToSqlContainerMapOutput() SqlContainerMapOutput
- func (o SqlContainerMapOutput) ToSqlContainerMapOutputWithContext(ctx context.Context) SqlContainerMapOutput
- type SqlContainerOutput
- func (SqlContainerOutput) ElementType() reflect.Type
- func (o SqlContainerOutput) ToSqlContainerOutput() SqlContainerOutput
- func (o SqlContainerOutput) ToSqlContainerOutputWithContext(ctx context.Context) SqlContainerOutput
- func (o SqlContainerOutput) ToSqlContainerPtrOutput() SqlContainerPtrOutput
- func (o SqlContainerOutput) ToSqlContainerPtrOutputWithContext(ctx context.Context) SqlContainerPtrOutput
- type SqlContainerPtrInput
- type SqlContainerPtrOutput
- type SqlContainerState
- type SqlContainerUniqueKey
- type SqlContainerUniqueKeyArgs
- type SqlContainerUniqueKeyArray
- func (SqlContainerUniqueKeyArray) ElementType() reflect.Type
- func (i SqlContainerUniqueKeyArray) ToSqlContainerUniqueKeyArrayOutput() SqlContainerUniqueKeyArrayOutput
- func (i SqlContainerUniqueKeyArray) ToSqlContainerUniqueKeyArrayOutputWithContext(ctx context.Context) SqlContainerUniqueKeyArrayOutput
- type SqlContainerUniqueKeyArrayInput
- type SqlContainerUniqueKeyArrayOutput
- func (SqlContainerUniqueKeyArrayOutput) ElementType() reflect.Type
- func (o SqlContainerUniqueKeyArrayOutput) Index(i pulumi.IntInput) SqlContainerUniqueKeyOutput
- func (o SqlContainerUniqueKeyArrayOutput) ToSqlContainerUniqueKeyArrayOutput() SqlContainerUniqueKeyArrayOutput
- func (o SqlContainerUniqueKeyArrayOutput) ToSqlContainerUniqueKeyArrayOutputWithContext(ctx context.Context) SqlContainerUniqueKeyArrayOutput
- type SqlContainerUniqueKeyInput
- type SqlContainerUniqueKeyOutput
- func (SqlContainerUniqueKeyOutput) ElementType() reflect.Type
- func (o SqlContainerUniqueKeyOutput) Paths() pulumi.StringArrayOutput
- func (o SqlContainerUniqueKeyOutput) ToSqlContainerUniqueKeyOutput() SqlContainerUniqueKeyOutput
- func (o SqlContainerUniqueKeyOutput) ToSqlContainerUniqueKeyOutputWithContext(ctx context.Context) SqlContainerUniqueKeyOutput
- type SqlDatabase
- func (*SqlDatabase) ElementType() reflect.Type
- func (i *SqlDatabase) ToSqlDatabaseOutput() SqlDatabaseOutput
- func (i *SqlDatabase) ToSqlDatabaseOutputWithContext(ctx context.Context) SqlDatabaseOutput
- func (i *SqlDatabase) ToSqlDatabasePtrOutput() SqlDatabasePtrOutput
- func (i *SqlDatabase) ToSqlDatabasePtrOutputWithContext(ctx context.Context) SqlDatabasePtrOutput
- type SqlDatabaseArgs
- type SqlDatabaseArray
- type SqlDatabaseArrayInput
- type SqlDatabaseArrayOutput
- func (SqlDatabaseArrayOutput) ElementType() reflect.Type
- func (o SqlDatabaseArrayOutput) Index(i pulumi.IntInput) SqlDatabaseOutput
- func (o SqlDatabaseArrayOutput) ToSqlDatabaseArrayOutput() SqlDatabaseArrayOutput
- func (o SqlDatabaseArrayOutput) ToSqlDatabaseArrayOutputWithContext(ctx context.Context) SqlDatabaseArrayOutput
- type SqlDatabaseAutoscaleSettings
- type SqlDatabaseAutoscaleSettingsArgs
- func (SqlDatabaseAutoscaleSettingsArgs) ElementType() reflect.Type
- func (i SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsOutput() SqlDatabaseAutoscaleSettingsOutput
- func (i SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsOutput
- func (i SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsPtrOutput() SqlDatabaseAutoscaleSettingsPtrOutput
- func (i SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsPtrOutput
- type SqlDatabaseAutoscaleSettingsInput
- type SqlDatabaseAutoscaleSettingsOutput
- func (SqlDatabaseAutoscaleSettingsOutput) ElementType() reflect.Type
- func (o SqlDatabaseAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsOutput() SqlDatabaseAutoscaleSettingsOutput
- func (o SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsOutput
- func (o SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsPtrOutput() SqlDatabaseAutoscaleSettingsPtrOutput
- func (o SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsPtrOutput
- type SqlDatabaseAutoscaleSettingsPtrInput
- type SqlDatabaseAutoscaleSettingsPtrOutput
- func (o SqlDatabaseAutoscaleSettingsPtrOutput) Elem() SqlDatabaseAutoscaleSettingsOutput
- func (SqlDatabaseAutoscaleSettingsPtrOutput) ElementType() reflect.Type
- func (o SqlDatabaseAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o SqlDatabaseAutoscaleSettingsPtrOutput) ToSqlDatabaseAutoscaleSettingsPtrOutput() SqlDatabaseAutoscaleSettingsPtrOutput
- func (o SqlDatabaseAutoscaleSettingsPtrOutput) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsPtrOutput
- type SqlDatabaseInput
- type SqlDatabaseMap
- type SqlDatabaseMapInput
- type SqlDatabaseMapOutput
- func (SqlDatabaseMapOutput) ElementType() reflect.Type
- func (o SqlDatabaseMapOutput) MapIndex(k pulumi.StringInput) SqlDatabaseOutput
- func (o SqlDatabaseMapOutput) ToSqlDatabaseMapOutput() SqlDatabaseMapOutput
- func (o SqlDatabaseMapOutput) ToSqlDatabaseMapOutputWithContext(ctx context.Context) SqlDatabaseMapOutput
- type SqlDatabaseOutput
- func (SqlDatabaseOutput) ElementType() reflect.Type
- func (o SqlDatabaseOutput) ToSqlDatabaseOutput() SqlDatabaseOutput
- func (o SqlDatabaseOutput) ToSqlDatabaseOutputWithContext(ctx context.Context) SqlDatabaseOutput
- func (o SqlDatabaseOutput) ToSqlDatabasePtrOutput() SqlDatabasePtrOutput
- func (o SqlDatabaseOutput) ToSqlDatabasePtrOutputWithContext(ctx context.Context) SqlDatabasePtrOutput
- type SqlDatabasePtrInput
- type SqlDatabasePtrOutput
- type SqlDatabaseState
- type SqlFunction
- func (*SqlFunction) ElementType() reflect.Type
- func (i *SqlFunction) ToSqlFunctionOutput() SqlFunctionOutput
- func (i *SqlFunction) ToSqlFunctionOutputWithContext(ctx context.Context) SqlFunctionOutput
- func (i *SqlFunction) ToSqlFunctionPtrOutput() SqlFunctionPtrOutput
- func (i *SqlFunction) ToSqlFunctionPtrOutputWithContext(ctx context.Context) SqlFunctionPtrOutput
- type SqlFunctionArgs
- type SqlFunctionArray
- type SqlFunctionArrayInput
- type SqlFunctionArrayOutput
- func (SqlFunctionArrayOutput) ElementType() reflect.Type
- func (o SqlFunctionArrayOutput) Index(i pulumi.IntInput) SqlFunctionOutput
- func (o SqlFunctionArrayOutput) ToSqlFunctionArrayOutput() SqlFunctionArrayOutput
- func (o SqlFunctionArrayOutput) ToSqlFunctionArrayOutputWithContext(ctx context.Context) SqlFunctionArrayOutput
- type SqlFunctionInput
- type SqlFunctionMap
- type SqlFunctionMapInput
- type SqlFunctionMapOutput
- func (SqlFunctionMapOutput) ElementType() reflect.Type
- func (o SqlFunctionMapOutput) MapIndex(k pulumi.StringInput) SqlFunctionOutput
- func (o SqlFunctionMapOutput) ToSqlFunctionMapOutput() SqlFunctionMapOutput
- func (o SqlFunctionMapOutput) ToSqlFunctionMapOutputWithContext(ctx context.Context) SqlFunctionMapOutput
- type SqlFunctionOutput
- func (SqlFunctionOutput) ElementType() reflect.Type
- func (o SqlFunctionOutput) ToSqlFunctionOutput() SqlFunctionOutput
- func (o SqlFunctionOutput) ToSqlFunctionOutputWithContext(ctx context.Context) SqlFunctionOutput
- func (o SqlFunctionOutput) ToSqlFunctionPtrOutput() SqlFunctionPtrOutput
- func (o SqlFunctionOutput) ToSqlFunctionPtrOutputWithContext(ctx context.Context) SqlFunctionPtrOutput
- type SqlFunctionPtrInput
- type SqlFunctionPtrOutput
- type SqlFunctionState
- type SqlStoredProcedure
- func (*SqlStoredProcedure) ElementType() reflect.Type
- func (i *SqlStoredProcedure) ToSqlStoredProcedureOutput() SqlStoredProcedureOutput
- func (i *SqlStoredProcedure) ToSqlStoredProcedureOutputWithContext(ctx context.Context) SqlStoredProcedureOutput
- func (i *SqlStoredProcedure) ToSqlStoredProcedurePtrOutput() SqlStoredProcedurePtrOutput
- func (i *SqlStoredProcedure) ToSqlStoredProcedurePtrOutputWithContext(ctx context.Context) SqlStoredProcedurePtrOutput
- type SqlStoredProcedureArgs
- type SqlStoredProcedureArray
- type SqlStoredProcedureArrayInput
- type SqlStoredProcedureArrayOutput
- func (SqlStoredProcedureArrayOutput) ElementType() reflect.Type
- func (o SqlStoredProcedureArrayOutput) Index(i pulumi.IntInput) SqlStoredProcedureOutput
- func (o SqlStoredProcedureArrayOutput) ToSqlStoredProcedureArrayOutput() SqlStoredProcedureArrayOutput
- func (o SqlStoredProcedureArrayOutput) ToSqlStoredProcedureArrayOutputWithContext(ctx context.Context) SqlStoredProcedureArrayOutput
- type SqlStoredProcedureInput
- type SqlStoredProcedureMap
- type SqlStoredProcedureMapInput
- type SqlStoredProcedureMapOutput
- func (SqlStoredProcedureMapOutput) ElementType() reflect.Type
- func (o SqlStoredProcedureMapOutput) MapIndex(k pulumi.StringInput) SqlStoredProcedureOutput
- func (o SqlStoredProcedureMapOutput) ToSqlStoredProcedureMapOutput() SqlStoredProcedureMapOutput
- func (o SqlStoredProcedureMapOutput) ToSqlStoredProcedureMapOutputWithContext(ctx context.Context) SqlStoredProcedureMapOutput
- type SqlStoredProcedureOutput
- func (SqlStoredProcedureOutput) ElementType() reflect.Type
- func (o SqlStoredProcedureOutput) ToSqlStoredProcedureOutput() SqlStoredProcedureOutput
- func (o SqlStoredProcedureOutput) ToSqlStoredProcedureOutputWithContext(ctx context.Context) SqlStoredProcedureOutput
- func (o SqlStoredProcedureOutput) ToSqlStoredProcedurePtrOutput() SqlStoredProcedurePtrOutput
- func (o SqlStoredProcedureOutput) ToSqlStoredProcedurePtrOutputWithContext(ctx context.Context) SqlStoredProcedurePtrOutput
- type SqlStoredProcedurePtrInput
- type SqlStoredProcedurePtrOutput
- type SqlStoredProcedureState
- type SqlTrigger
- func (*SqlTrigger) ElementType() reflect.Type
- func (i *SqlTrigger) ToSqlTriggerOutput() SqlTriggerOutput
- func (i *SqlTrigger) ToSqlTriggerOutputWithContext(ctx context.Context) SqlTriggerOutput
- func (i *SqlTrigger) ToSqlTriggerPtrOutput() SqlTriggerPtrOutput
- func (i *SqlTrigger) ToSqlTriggerPtrOutputWithContext(ctx context.Context) SqlTriggerPtrOutput
- type SqlTriggerArgs
- type SqlTriggerArray
- type SqlTriggerArrayInput
- type SqlTriggerArrayOutput
- func (SqlTriggerArrayOutput) ElementType() reflect.Type
- func (o SqlTriggerArrayOutput) Index(i pulumi.IntInput) SqlTriggerOutput
- func (o SqlTriggerArrayOutput) ToSqlTriggerArrayOutput() SqlTriggerArrayOutput
- func (o SqlTriggerArrayOutput) ToSqlTriggerArrayOutputWithContext(ctx context.Context) SqlTriggerArrayOutput
- type SqlTriggerInput
- type SqlTriggerMap
- type SqlTriggerMapInput
- type SqlTriggerMapOutput
- func (SqlTriggerMapOutput) ElementType() reflect.Type
- func (o SqlTriggerMapOutput) MapIndex(k pulumi.StringInput) SqlTriggerOutput
- func (o SqlTriggerMapOutput) ToSqlTriggerMapOutput() SqlTriggerMapOutput
- func (o SqlTriggerMapOutput) ToSqlTriggerMapOutputWithContext(ctx context.Context) SqlTriggerMapOutput
- type SqlTriggerOutput
- func (SqlTriggerOutput) ElementType() reflect.Type
- func (o SqlTriggerOutput) ToSqlTriggerOutput() SqlTriggerOutput
- func (o SqlTriggerOutput) ToSqlTriggerOutputWithContext(ctx context.Context) SqlTriggerOutput
- func (o SqlTriggerOutput) ToSqlTriggerPtrOutput() SqlTriggerPtrOutput
- func (o SqlTriggerOutput) ToSqlTriggerPtrOutputWithContext(ctx context.Context) SqlTriggerPtrOutput
- type SqlTriggerPtrInput
- type SqlTriggerPtrOutput
- type SqlTriggerState
- type Table
- type TableArgs
- type TableArray
- type TableArrayInput
- type TableArrayOutput
- type TableAutoscaleSettings
- type TableAutoscaleSettingsArgs
- func (TableAutoscaleSettingsArgs) ElementType() reflect.Type
- func (i TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsOutput() TableAutoscaleSettingsOutput
- func (i TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsOutputWithContext(ctx context.Context) TableAutoscaleSettingsOutput
- func (i TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsPtrOutput() TableAutoscaleSettingsPtrOutput
- func (i TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) TableAutoscaleSettingsPtrOutput
- type TableAutoscaleSettingsInput
- type TableAutoscaleSettingsOutput
- func (TableAutoscaleSettingsOutput) ElementType() reflect.Type
- func (o TableAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsOutput() TableAutoscaleSettingsOutput
- func (o TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsOutputWithContext(ctx context.Context) TableAutoscaleSettingsOutput
- func (o TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsPtrOutput() TableAutoscaleSettingsPtrOutput
- func (o TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) TableAutoscaleSettingsPtrOutput
- type TableAutoscaleSettingsPtrInput
- type TableAutoscaleSettingsPtrOutput
- func (o TableAutoscaleSettingsPtrOutput) Elem() TableAutoscaleSettingsOutput
- func (TableAutoscaleSettingsPtrOutput) ElementType() reflect.Type
- func (o TableAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
- func (o TableAutoscaleSettingsPtrOutput) ToTableAutoscaleSettingsPtrOutput() TableAutoscaleSettingsPtrOutput
- func (o TableAutoscaleSettingsPtrOutput) ToTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) TableAutoscaleSettingsPtrOutput
- type TableInput
- type TableMap
- type TableMapInput
- type TableMapOutput
- type TableOutput
- func (TableOutput) ElementType() reflect.Type
- func (o TableOutput) ToTableOutput() TableOutput
- func (o TableOutput) ToTableOutputWithContext(ctx context.Context) TableOutput
- func (o TableOutput) ToTablePtrOutput() TablePtrOutput
- func (o TableOutput) ToTablePtrOutputWithContext(ctx context.Context) TablePtrOutput
- type TablePtrInput
- type TablePtrOutput
- type TableState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { pulumi.CustomResourceState // Is write operations on metadata resources (databases, containers, throughput) via account keys enabled? Defaults to `true`. AccessKeyMetadataWritesEnabled pulumi.BoolPtrOutput `pulumi:"accessKeyMetadataWritesEnabled"` // Enable Analytical Storage option for this Cosmos DB account. Defaults to `false`. Changing this forces a new resource to be created. AnalyticalStorageEnabled pulumi.BoolPtrOutput `pulumi:"analyticalStorageEnabled"` // A `backup` block as defined below. Backup AccountBackupOutput `pulumi:"backup"` // The capabilities which should be enabled for this Cosmos DB account. Value is a `capabilities` block as defined below. Capabilities AccountCapabilityArrayOutput `pulumi:"capabilities"` // A list of connection strings available for this CosmosDB account. ConnectionStrings pulumi.StringArrayOutput `pulumi:"connectionStrings"` // Specifies a `consistencyPolicy` resource, used to define the consistency policy for this CosmosDB account. ConsistencyPolicy AccountConsistencyPolicyOutput `pulumi:"consistencyPolicy"` // A `corsRule` block as defined below. CorsRule AccountCorsRulePtrOutput `pulumi:"corsRule"` // Enable automatic fail over for this Cosmos DB account. EnableAutomaticFailover pulumi.BoolPtrOutput `pulumi:"enableAutomaticFailover"` // Enable Free Tier pricing option for this Cosmos DB account. Defaults to `false`. Changing this forces a new resource to be created. EnableFreeTier pulumi.BoolPtrOutput `pulumi:"enableFreeTier"` // Enable multi-master support for this Cosmos DB account. EnableMultipleWriteLocations pulumi.BoolPtrOutput `pulumi:"enableMultipleWriteLocations"` // The endpoint used to connect to the CosmosDB account. Endpoint pulumi.StringOutput `pulumi:"endpoint"` // Specifies a `geoLocation` resource, used to define where data should be replicated with the `failoverPriority` 0 specifying the primary location. Value is a `geoLocation` block as defined below. GeoLocations AccountGeoLocationArrayOutput `pulumi:"geoLocations"` // An `identity` block as defined below. Identity AccountIdentityPtrOutput `pulumi:"identity"` // CosmosDB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IP's for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces. IpRangeFilter pulumi.StringPtrOutput `pulumi:"ipRangeFilter"` // Enables virtual network filtering for this Cosmos DB account. IsVirtualNetworkFilterEnabled pulumi.BoolPtrOutput `pulumi:"isVirtualNetworkFilterEnabled"` // A versionless Key Vault Key ID for CMK encryption. Changing this forces a new resource to be created. KeyVaultKeyId pulumi.StringPtrOutput `pulumi:"keyVaultKeyId"` // Specifies the Kind of CosmosDB to create - possible values are `GlobalDocumentDB` and `MongoDB`. Defaults to `GlobalDocumentDB`. Changing this forces a new resource to be created. Kind pulumi.StringPtrOutput `pulumi:"kind"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The Server Version of a MongoDB account. Possible values are `4.0`, `3.6`, and `3.2`. Changing this forces a new resource to be created. MongoServerVersion pulumi.StringOutput `pulumi:"mongoServerVersion"` // Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // If azure services can bypass ACLs. Defaults to `false`. NetworkAclBypassForAzureServices pulumi.BoolPtrOutput `pulumi:"networkAclBypassForAzureServices"` // The list of resource Ids for Network Acl Bypass for this Cosmos DB account. NetworkAclBypassIds pulumi.StringArrayOutput `pulumi:"networkAclBypassIds"` // Specifies the Offer Type to use for this CosmosDB Account - currently this can only be set to `Standard`. OfferType pulumi.StringOutput `pulumi:"offerType"` // The Primary master key for the CosmosDB Account. PrimaryKey pulumi.StringOutput `pulumi:"primaryKey"` // Deprecated: This property has been renamed to `primary_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes PrimaryMasterKey pulumi.StringOutput `pulumi:"primaryMasterKey"` // The Primary read-only master Key for the CosmosDB Account. PrimaryReadonlyKey pulumi.StringOutput `pulumi:"primaryReadonlyKey"` // Deprecated: This property has been renamed to `primary_readonly_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes PrimaryReadonlyMasterKey pulumi.StringOutput `pulumi:"primaryReadonlyMasterKey"` // Whether or not public network access is allowed for this CosmosDB account. PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"` // A list of read endpoints available for this CosmosDB account. ReadEndpoints pulumi.StringArrayOutput `pulumi:"readEndpoints"` // The name of the resource group in which the CosmosDB Account is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The Secondary master key for the CosmosDB Account. SecondaryKey pulumi.StringOutput `pulumi:"secondaryKey"` // Deprecated: This property has been renamed to `secondary_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes SecondaryMasterKey pulumi.StringOutput `pulumi:"secondaryMasterKey"` // The Secondary read-only master key for the CosmosDB Account. SecondaryReadonlyKey pulumi.StringOutput `pulumi:"secondaryReadonlyKey"` // Deprecated: This property has been renamed to `secondary_readonly_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes SecondaryReadonlyMasterKey pulumi.StringOutput `pulumi:"secondaryReadonlyMasterKey"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // Specifies a `virtualNetworkRules` resource, used to define which subnets are allowed to access this CosmosDB account. VirtualNetworkRules AccountVirtualNetworkRuleArrayOutput `pulumi:"virtualNetworkRules"` // A list of write endpoints available for this CosmosDB account. WriteEndpoints pulumi.StringArrayOutput `pulumi:"writeEndpoints"` }
Manages a CosmosDB (formally DocumentDB) Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb" "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 { rg, err := core.NewResourceGroup(ctx, "rg", &core.ResourceGroupArgs{ Location: pulumi.String("westus"), }) if err != nil { return err } _, err = random.NewRandomInteger(ctx, "ri", &random.RandomIntegerArgs{ Min: pulumi.Int(10000), Max: pulumi.Int(99999), }) if err != nil { return err } _, err = cosmosdb.NewAccount(ctx, "db", &cosmosdb.AccountArgs{ Location: rg.Location, ResourceGroupName: rg.Name, OfferType: pulumi.String("Standard"), Kind: pulumi.String("GlobalDocumentDB"), EnableAutomaticFailover: pulumi.Bool(true), Capabilities: cosmosdb.AccountCapabilityArray{ &cosmosdb.AccountCapabilityArgs{ Name: pulumi.String("EnableAggregationPipeline"), }, &cosmosdb.AccountCapabilityArgs{ Name: pulumi.String("mongoEnableDocLevelTTL"), }, &cosmosdb.AccountCapabilityArgs{ Name: pulumi.String("MongoDBv3.4"), }, }, ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{ ConsistencyLevel: pulumi.String("BoundedStaleness"), MaxIntervalInSeconds: pulumi.Int(10), MaxStalenessPrefix: pulumi.Int(200), }, GeoLocations: cosmosdb.AccountGeoLocationArray{ &cosmosdb.AccountGeoLocationArgs{ Location: pulumi.Any(_var.Failover_location), FailoverPriority: pulumi.Int(1), }, &cosmosdb.AccountGeoLocationArgs{ Location: rg.Location, FailoverPriority: pulumi.Int(0), }, }, }) if err != nil { return err } return nil }) }
```
## Import
CosmosDB Accounts can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/account:Account account1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1
```
func GetAccount ¶
func GetAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*Account, error)
GetAccount gets an existing Account 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 NewAccount ¶
func NewAccount(ctx *pulumi.Context, name string, args *AccountArgs, opts ...pulumi.ResourceOption) (*Account, error)
NewAccount registers a new resource with the given unique name, arguments, and options.
func (*Account) ElementType ¶
func (*Account) ToAccountOutput ¶
func (i *Account) ToAccountOutput() AccountOutput
func (*Account) ToAccountOutputWithContext ¶
func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput
func (*Account) ToAccountPtrOutput ¶
func (i *Account) ToAccountPtrOutput() AccountPtrOutput
func (*Account) ToAccountPtrOutputWithContext ¶
func (i *Account) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
type AccountArgs ¶
type AccountArgs struct { // Is write operations on metadata resources (databases, containers, throughput) via account keys enabled? Defaults to `true`. AccessKeyMetadataWritesEnabled pulumi.BoolPtrInput // Enable Analytical Storage option for this Cosmos DB account. Defaults to `false`. Changing this forces a new resource to be created. AnalyticalStorageEnabled pulumi.BoolPtrInput // A `backup` block as defined below. Backup AccountBackupPtrInput // The capabilities which should be enabled for this Cosmos DB account. Value is a `capabilities` block as defined below. Capabilities AccountCapabilityArrayInput // Specifies a `consistencyPolicy` resource, used to define the consistency policy for this CosmosDB account. ConsistencyPolicy AccountConsistencyPolicyInput // A `corsRule` block as defined below. CorsRule AccountCorsRulePtrInput // Enable automatic fail over for this Cosmos DB account. EnableAutomaticFailover pulumi.BoolPtrInput // Enable Free Tier pricing option for this Cosmos DB account. Defaults to `false`. Changing this forces a new resource to be created. EnableFreeTier pulumi.BoolPtrInput // Enable multi-master support for this Cosmos DB account. EnableMultipleWriteLocations pulumi.BoolPtrInput // Specifies a `geoLocation` resource, used to define where data should be replicated with the `failoverPriority` 0 specifying the primary location. Value is a `geoLocation` block as defined below. GeoLocations AccountGeoLocationArrayInput // An `identity` block as defined below. Identity AccountIdentityPtrInput // CosmosDB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IP's for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces. IpRangeFilter pulumi.StringPtrInput // Enables virtual network filtering for this Cosmos DB account. IsVirtualNetworkFilterEnabled pulumi.BoolPtrInput // A versionless Key Vault Key ID for CMK encryption. Changing this forces a new resource to be created. KeyVaultKeyId pulumi.StringPtrInput // Specifies the Kind of CosmosDB to create - possible values are `GlobalDocumentDB` and `MongoDB`. Defaults to `GlobalDocumentDB`. Changing this forces a new resource to be created. Kind pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The Server Version of a MongoDB account. Possible values are `4.0`, `3.6`, and `3.2`. Changing this forces a new resource to be created. MongoServerVersion pulumi.StringPtrInput // Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // If azure services can bypass ACLs. Defaults to `false`. NetworkAclBypassForAzureServices pulumi.BoolPtrInput // The list of resource Ids for Network Acl Bypass for this Cosmos DB account. NetworkAclBypassIds pulumi.StringArrayInput // Specifies the Offer Type to use for this CosmosDB Account - currently this can only be set to `Standard`. OfferType pulumi.StringInput // Whether or not public network access is allowed for this CosmosDB account. PublicNetworkAccessEnabled pulumi.BoolPtrInput // The name of the resource group in which the CosmosDB Account is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Specifies a `virtualNetworkRules` resource, used to define which subnets are allowed to access this CosmosDB account. VirtualNetworkRules AccountVirtualNetworkRuleArrayInput }
The set of arguments for constructing a Account resource.
func (AccountArgs) ElementType ¶
func (AccountArgs) ElementType() reflect.Type
type AccountArray ¶
type AccountArray []AccountInput
func (AccountArray) ElementType ¶
func (AccountArray) ElementType() reflect.Type
func (AccountArray) ToAccountArrayOutput ¶
func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput
func (AccountArray) ToAccountArrayOutputWithContext ¶
func (i AccountArray) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput
type AccountArrayInput ¶
type AccountArrayInput interface { pulumi.Input ToAccountArrayOutput() AccountArrayOutput ToAccountArrayOutputWithContext(context.Context) AccountArrayOutput }
AccountArrayInput is an input type that accepts AccountArray and AccountArrayOutput values. You can construct a concrete instance of `AccountArrayInput` via:
AccountArray{ AccountArgs{...} }
type AccountArrayOutput ¶
type AccountArrayOutput struct{ *pulumi.OutputState }
func (AccountArrayOutput) ElementType ¶
func (AccountArrayOutput) ElementType() reflect.Type
func (AccountArrayOutput) Index ¶
func (o AccountArrayOutput) Index(i pulumi.IntInput) AccountOutput
func (AccountArrayOutput) ToAccountArrayOutput ¶
func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput
func (AccountArrayOutput) ToAccountArrayOutputWithContext ¶
func (o AccountArrayOutput) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput
type AccountBackup ¶ added in v4.3.0
type AccountBackup struct { // The interval in minutes between two backups. This is configurable only when `type` is `Periodic`. Possible values are between 60 and 1440. IntervalInMinutes *int `pulumi:"intervalInMinutes"` // The time in hours that each backup is retained. This is configurable only when `type` is `Periodic`. Possible values are between 8 and 720. RetentionInHours *int `pulumi:"retentionInHours"` // The type of the `backup`. Possible values are `Continuous` and `Periodic`. Defaults to `Periodic`. Type string `pulumi:"type"` }
type AccountBackupArgs ¶ added in v4.3.0
type AccountBackupArgs struct { // The interval in minutes between two backups. This is configurable only when `type` is `Periodic`. Possible values are between 60 and 1440. IntervalInMinutes pulumi.IntPtrInput `pulumi:"intervalInMinutes"` // The time in hours that each backup is retained. This is configurable only when `type` is `Periodic`. Possible values are between 8 and 720. RetentionInHours pulumi.IntPtrInput `pulumi:"retentionInHours"` // The type of the `backup`. Possible values are `Continuous` and `Periodic`. Defaults to `Periodic`. Type pulumi.StringInput `pulumi:"type"` }
func (AccountBackupArgs) ElementType ¶ added in v4.3.0
func (AccountBackupArgs) ElementType() reflect.Type
func (AccountBackupArgs) ToAccountBackupOutput ¶ added in v4.3.0
func (i AccountBackupArgs) ToAccountBackupOutput() AccountBackupOutput
func (AccountBackupArgs) ToAccountBackupOutputWithContext ¶ added in v4.3.0
func (i AccountBackupArgs) ToAccountBackupOutputWithContext(ctx context.Context) AccountBackupOutput
func (AccountBackupArgs) ToAccountBackupPtrOutput ¶ added in v4.3.0
func (i AccountBackupArgs) ToAccountBackupPtrOutput() AccountBackupPtrOutput
func (AccountBackupArgs) ToAccountBackupPtrOutputWithContext ¶ added in v4.3.0
func (i AccountBackupArgs) ToAccountBackupPtrOutputWithContext(ctx context.Context) AccountBackupPtrOutput
type AccountBackupInput ¶ added in v4.3.0
type AccountBackupInput interface { pulumi.Input ToAccountBackupOutput() AccountBackupOutput ToAccountBackupOutputWithContext(context.Context) AccountBackupOutput }
AccountBackupInput is an input type that accepts AccountBackupArgs and AccountBackupOutput values. You can construct a concrete instance of `AccountBackupInput` via:
AccountBackupArgs{...}
type AccountBackupOutput ¶ added in v4.3.0
type AccountBackupOutput struct{ *pulumi.OutputState }
func (AccountBackupOutput) ElementType ¶ added in v4.3.0
func (AccountBackupOutput) ElementType() reflect.Type
func (AccountBackupOutput) IntervalInMinutes ¶ added in v4.3.0
func (o AccountBackupOutput) IntervalInMinutes() pulumi.IntPtrOutput
The interval in minutes between two backups. This is configurable only when `type` is `Periodic`. Possible values are between 60 and 1440.
func (AccountBackupOutput) RetentionInHours ¶ added in v4.3.0
func (o AccountBackupOutput) RetentionInHours() pulumi.IntPtrOutput
The time in hours that each backup is retained. This is configurable only when `type` is `Periodic`. Possible values are between 8 and 720.
func (AccountBackupOutput) ToAccountBackupOutput ¶ added in v4.3.0
func (o AccountBackupOutput) ToAccountBackupOutput() AccountBackupOutput
func (AccountBackupOutput) ToAccountBackupOutputWithContext ¶ added in v4.3.0
func (o AccountBackupOutput) ToAccountBackupOutputWithContext(ctx context.Context) AccountBackupOutput
func (AccountBackupOutput) ToAccountBackupPtrOutput ¶ added in v4.3.0
func (o AccountBackupOutput) ToAccountBackupPtrOutput() AccountBackupPtrOutput
func (AccountBackupOutput) ToAccountBackupPtrOutputWithContext ¶ added in v4.3.0
func (o AccountBackupOutput) ToAccountBackupPtrOutputWithContext(ctx context.Context) AccountBackupPtrOutput
func (AccountBackupOutput) Type ¶ added in v4.3.0
func (o AccountBackupOutput) Type() pulumi.StringOutput
The type of the `backup`. Possible values are `Continuous` and `Periodic`. Defaults to `Periodic`.
type AccountBackupPtrInput ¶ added in v4.3.0
type AccountBackupPtrInput interface { pulumi.Input ToAccountBackupPtrOutput() AccountBackupPtrOutput ToAccountBackupPtrOutputWithContext(context.Context) AccountBackupPtrOutput }
AccountBackupPtrInput is an input type that accepts AccountBackupArgs, AccountBackupPtr and AccountBackupPtrOutput values. You can construct a concrete instance of `AccountBackupPtrInput` via:
AccountBackupArgs{...} or: nil
func AccountBackupPtr ¶ added in v4.3.0
func AccountBackupPtr(v *AccountBackupArgs) AccountBackupPtrInput
type AccountBackupPtrOutput ¶ added in v4.3.0
type AccountBackupPtrOutput struct{ *pulumi.OutputState }
func (AccountBackupPtrOutput) Elem ¶ added in v4.3.0
func (o AccountBackupPtrOutput) Elem() AccountBackupOutput
func (AccountBackupPtrOutput) ElementType ¶ added in v4.3.0
func (AccountBackupPtrOutput) ElementType() reflect.Type
func (AccountBackupPtrOutput) IntervalInMinutes ¶ added in v4.3.0
func (o AccountBackupPtrOutput) IntervalInMinutes() pulumi.IntPtrOutput
The interval in minutes between two backups. This is configurable only when `type` is `Periodic`. Possible values are between 60 and 1440.
func (AccountBackupPtrOutput) RetentionInHours ¶ added in v4.3.0
func (o AccountBackupPtrOutput) RetentionInHours() pulumi.IntPtrOutput
The time in hours that each backup is retained. This is configurable only when `type` is `Periodic`. Possible values are between 8 and 720.
func (AccountBackupPtrOutput) ToAccountBackupPtrOutput ¶ added in v4.3.0
func (o AccountBackupPtrOutput) ToAccountBackupPtrOutput() AccountBackupPtrOutput
func (AccountBackupPtrOutput) ToAccountBackupPtrOutputWithContext ¶ added in v4.3.0
func (o AccountBackupPtrOutput) ToAccountBackupPtrOutputWithContext(ctx context.Context) AccountBackupPtrOutput
func (AccountBackupPtrOutput) Type ¶ added in v4.3.0
func (o AccountBackupPtrOutput) Type() pulumi.StringPtrOutput
The type of the `backup`. Possible values are `Continuous` and `Periodic`. Defaults to `Periodic`.
type AccountCapability ¶
type AccountCapability struct { // Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created. Name string `pulumi:"name"` }
type AccountCapabilityArgs ¶
type AccountCapabilityArgs struct { // Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created. Name pulumi.StringInput `pulumi:"name"` }
func (AccountCapabilityArgs) ElementType ¶
func (AccountCapabilityArgs) ElementType() reflect.Type
func (AccountCapabilityArgs) ToAccountCapabilityOutput ¶
func (i AccountCapabilityArgs) ToAccountCapabilityOutput() AccountCapabilityOutput
func (AccountCapabilityArgs) ToAccountCapabilityOutputWithContext ¶
func (i AccountCapabilityArgs) ToAccountCapabilityOutputWithContext(ctx context.Context) AccountCapabilityOutput
type AccountCapabilityArray ¶
type AccountCapabilityArray []AccountCapabilityInput
func (AccountCapabilityArray) ElementType ¶
func (AccountCapabilityArray) ElementType() reflect.Type
func (AccountCapabilityArray) ToAccountCapabilityArrayOutput ¶
func (i AccountCapabilityArray) ToAccountCapabilityArrayOutput() AccountCapabilityArrayOutput
func (AccountCapabilityArray) ToAccountCapabilityArrayOutputWithContext ¶
func (i AccountCapabilityArray) ToAccountCapabilityArrayOutputWithContext(ctx context.Context) AccountCapabilityArrayOutput
type AccountCapabilityArrayInput ¶
type AccountCapabilityArrayInput interface { pulumi.Input ToAccountCapabilityArrayOutput() AccountCapabilityArrayOutput ToAccountCapabilityArrayOutputWithContext(context.Context) AccountCapabilityArrayOutput }
AccountCapabilityArrayInput is an input type that accepts AccountCapabilityArray and AccountCapabilityArrayOutput values. You can construct a concrete instance of `AccountCapabilityArrayInput` via:
AccountCapabilityArray{ AccountCapabilityArgs{...} }
type AccountCapabilityArrayOutput ¶
type AccountCapabilityArrayOutput struct{ *pulumi.OutputState }
func (AccountCapabilityArrayOutput) ElementType ¶
func (AccountCapabilityArrayOutput) ElementType() reflect.Type
func (AccountCapabilityArrayOutput) Index ¶
func (o AccountCapabilityArrayOutput) Index(i pulumi.IntInput) AccountCapabilityOutput
func (AccountCapabilityArrayOutput) ToAccountCapabilityArrayOutput ¶
func (o AccountCapabilityArrayOutput) ToAccountCapabilityArrayOutput() AccountCapabilityArrayOutput
func (AccountCapabilityArrayOutput) ToAccountCapabilityArrayOutputWithContext ¶
func (o AccountCapabilityArrayOutput) ToAccountCapabilityArrayOutputWithContext(ctx context.Context) AccountCapabilityArrayOutput
type AccountCapabilityInput ¶
type AccountCapabilityInput interface { pulumi.Input ToAccountCapabilityOutput() AccountCapabilityOutput ToAccountCapabilityOutputWithContext(context.Context) AccountCapabilityOutput }
AccountCapabilityInput is an input type that accepts AccountCapabilityArgs and AccountCapabilityOutput values. You can construct a concrete instance of `AccountCapabilityInput` via:
AccountCapabilityArgs{...}
type AccountCapabilityOutput ¶
type AccountCapabilityOutput struct{ *pulumi.OutputState }
func (AccountCapabilityOutput) ElementType ¶
func (AccountCapabilityOutput) ElementType() reflect.Type
func (AccountCapabilityOutput) Name ¶
func (o AccountCapabilityOutput) Name() pulumi.StringOutput
Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.
func (AccountCapabilityOutput) ToAccountCapabilityOutput ¶
func (o AccountCapabilityOutput) ToAccountCapabilityOutput() AccountCapabilityOutput
func (AccountCapabilityOutput) ToAccountCapabilityOutputWithContext ¶
func (o AccountCapabilityOutput) ToAccountCapabilityOutputWithContext(ctx context.Context) AccountCapabilityOutput
type AccountConsistencyPolicy ¶
type AccountConsistencyPolicy struct { // The Consistency Level to use for this CosmosDB Account - can be either `BoundedStaleness`, `Eventual`, `Session`, `Strong` or `ConsistentPrefix`. ConsistencyLevel string `pulumi:"consistencyLevel"` // When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is `5` - `86400` (1 day). Defaults to `5`. Required when `consistencyLevel` is set to `BoundedStaleness`. MaxIntervalInSeconds *int `pulumi:"maxIntervalInSeconds"` // When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is `10` – `2147483647`. Defaults to `100`. Required when `consistencyLevel` is set to `BoundedStaleness`. MaxStalenessPrefix *int `pulumi:"maxStalenessPrefix"` }
type AccountConsistencyPolicyArgs ¶
type AccountConsistencyPolicyArgs struct { // The Consistency Level to use for this CosmosDB Account - can be either `BoundedStaleness`, `Eventual`, `Session`, `Strong` or `ConsistentPrefix`. ConsistencyLevel pulumi.StringInput `pulumi:"consistencyLevel"` // When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is `5` - `86400` (1 day). Defaults to `5`. Required when `consistencyLevel` is set to `BoundedStaleness`. MaxIntervalInSeconds pulumi.IntPtrInput `pulumi:"maxIntervalInSeconds"` // When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is `10` – `2147483647`. Defaults to `100`. Required when `consistencyLevel` is set to `BoundedStaleness`. MaxStalenessPrefix pulumi.IntPtrInput `pulumi:"maxStalenessPrefix"` }
func (AccountConsistencyPolicyArgs) ElementType ¶
func (AccountConsistencyPolicyArgs) ElementType() reflect.Type
func (AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyOutput ¶
func (i AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyOutput() AccountConsistencyPolicyOutput
func (AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyOutputWithContext ¶
func (i AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyOutputWithContext(ctx context.Context) AccountConsistencyPolicyOutput
func (AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyPtrOutput ¶
func (i AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyPtrOutput() AccountConsistencyPolicyPtrOutput
func (AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyPtrOutputWithContext ¶
func (i AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyPtrOutputWithContext(ctx context.Context) AccountConsistencyPolicyPtrOutput
type AccountConsistencyPolicyInput ¶
type AccountConsistencyPolicyInput interface { pulumi.Input ToAccountConsistencyPolicyOutput() AccountConsistencyPolicyOutput ToAccountConsistencyPolicyOutputWithContext(context.Context) AccountConsistencyPolicyOutput }
AccountConsistencyPolicyInput is an input type that accepts AccountConsistencyPolicyArgs and AccountConsistencyPolicyOutput values. You can construct a concrete instance of `AccountConsistencyPolicyInput` via:
AccountConsistencyPolicyArgs{...}
type AccountConsistencyPolicyOutput ¶
type AccountConsistencyPolicyOutput struct{ *pulumi.OutputState }
func (AccountConsistencyPolicyOutput) ConsistencyLevel ¶
func (o AccountConsistencyPolicyOutput) ConsistencyLevel() pulumi.StringOutput
The Consistency Level to use for this CosmosDB Account - can be either `BoundedStaleness`, `Eventual`, `Session`, `Strong` or `ConsistentPrefix`.
func (AccountConsistencyPolicyOutput) ElementType ¶
func (AccountConsistencyPolicyOutput) ElementType() reflect.Type
func (AccountConsistencyPolicyOutput) MaxIntervalInSeconds ¶
func (o AccountConsistencyPolicyOutput) MaxIntervalInSeconds() pulumi.IntPtrOutput
When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is `5` - `86400` (1 day). Defaults to `5`. Required when `consistencyLevel` is set to `BoundedStaleness`.
func (AccountConsistencyPolicyOutput) MaxStalenessPrefix ¶
func (o AccountConsistencyPolicyOutput) MaxStalenessPrefix() pulumi.IntPtrOutput
When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is `10` – `2147483647`. Defaults to `100`. Required when `consistencyLevel` is set to `BoundedStaleness`.
func (AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyOutput ¶
func (o AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyOutput() AccountConsistencyPolicyOutput
func (AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyOutputWithContext ¶
func (o AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyOutputWithContext(ctx context.Context) AccountConsistencyPolicyOutput
func (AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyPtrOutput ¶
func (o AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyPtrOutput() AccountConsistencyPolicyPtrOutput
func (AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyPtrOutputWithContext ¶
func (o AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyPtrOutputWithContext(ctx context.Context) AccountConsistencyPolicyPtrOutput
type AccountConsistencyPolicyPtrInput ¶
type AccountConsistencyPolicyPtrInput interface { pulumi.Input ToAccountConsistencyPolicyPtrOutput() AccountConsistencyPolicyPtrOutput ToAccountConsistencyPolicyPtrOutputWithContext(context.Context) AccountConsistencyPolicyPtrOutput }
AccountConsistencyPolicyPtrInput is an input type that accepts AccountConsistencyPolicyArgs, AccountConsistencyPolicyPtr and AccountConsistencyPolicyPtrOutput values. You can construct a concrete instance of `AccountConsistencyPolicyPtrInput` via:
AccountConsistencyPolicyArgs{...} or: nil
func AccountConsistencyPolicyPtr ¶
func AccountConsistencyPolicyPtr(v *AccountConsistencyPolicyArgs) AccountConsistencyPolicyPtrInput
type AccountConsistencyPolicyPtrOutput ¶
type AccountConsistencyPolicyPtrOutput struct{ *pulumi.OutputState }
func (AccountConsistencyPolicyPtrOutput) ConsistencyLevel ¶
func (o AccountConsistencyPolicyPtrOutput) ConsistencyLevel() pulumi.StringPtrOutput
The Consistency Level to use for this CosmosDB Account - can be either `BoundedStaleness`, `Eventual`, `Session`, `Strong` or `ConsistentPrefix`.
func (AccountConsistencyPolicyPtrOutput) Elem ¶
func (o AccountConsistencyPolicyPtrOutput) Elem() AccountConsistencyPolicyOutput
func (AccountConsistencyPolicyPtrOutput) ElementType ¶
func (AccountConsistencyPolicyPtrOutput) ElementType() reflect.Type
func (AccountConsistencyPolicyPtrOutput) MaxIntervalInSeconds ¶
func (o AccountConsistencyPolicyPtrOutput) MaxIntervalInSeconds() pulumi.IntPtrOutput
When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is `5` - `86400` (1 day). Defaults to `5`. Required when `consistencyLevel` is set to `BoundedStaleness`.
func (AccountConsistencyPolicyPtrOutput) MaxStalenessPrefix ¶
func (o AccountConsistencyPolicyPtrOutput) MaxStalenessPrefix() pulumi.IntPtrOutput
When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is `10` – `2147483647`. Defaults to `100`. Required when `consistencyLevel` is set to `BoundedStaleness`.
func (AccountConsistencyPolicyPtrOutput) ToAccountConsistencyPolicyPtrOutput ¶
func (o AccountConsistencyPolicyPtrOutput) ToAccountConsistencyPolicyPtrOutput() AccountConsistencyPolicyPtrOutput
func (AccountConsistencyPolicyPtrOutput) ToAccountConsistencyPolicyPtrOutputWithContext ¶
func (o AccountConsistencyPolicyPtrOutput) ToAccountConsistencyPolicyPtrOutputWithContext(ctx context.Context) AccountConsistencyPolicyPtrOutput
type AccountCorsRule ¶ added in v4.3.0
type AccountCorsRule struct { // A list of headers that are allowed to be a part of the cross-origin request. AllowedHeaders []string `pulumi:"allowedHeaders"` // A list of http headers that are allowed to be executed by the origin. Valid options are `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`. AllowedMethods []string `pulumi:"allowedMethods"` // A list of origin domains that will be allowed by CORS. AllowedOrigins []string `pulumi:"allowedOrigins"` // A list of response headers that are exposed to CORS clients. ExposedHeaders []string `pulumi:"exposedHeaders"` // The number of seconds the client should cache a preflight response. MaxAgeInSeconds int `pulumi:"maxAgeInSeconds"` }
type AccountCorsRuleArgs ¶ added in v4.3.0
type AccountCorsRuleArgs struct { // A list of headers that are allowed to be a part of the cross-origin request. AllowedHeaders pulumi.StringArrayInput `pulumi:"allowedHeaders"` // A list of http headers that are allowed to be executed by the origin. Valid options are `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`. AllowedMethods pulumi.StringArrayInput `pulumi:"allowedMethods"` // A list of origin domains that will be allowed by CORS. AllowedOrigins pulumi.StringArrayInput `pulumi:"allowedOrigins"` // A list of response headers that are exposed to CORS clients. ExposedHeaders pulumi.StringArrayInput `pulumi:"exposedHeaders"` // The number of seconds the client should cache a preflight response. MaxAgeInSeconds pulumi.IntInput `pulumi:"maxAgeInSeconds"` }
func (AccountCorsRuleArgs) ElementType ¶ added in v4.3.0
func (AccountCorsRuleArgs) ElementType() reflect.Type
func (AccountCorsRuleArgs) ToAccountCorsRuleOutput ¶ added in v4.3.0
func (i AccountCorsRuleArgs) ToAccountCorsRuleOutput() AccountCorsRuleOutput
func (AccountCorsRuleArgs) ToAccountCorsRuleOutputWithContext ¶ added in v4.3.0
func (i AccountCorsRuleArgs) ToAccountCorsRuleOutputWithContext(ctx context.Context) AccountCorsRuleOutput
func (AccountCorsRuleArgs) ToAccountCorsRulePtrOutput ¶ added in v4.3.0
func (i AccountCorsRuleArgs) ToAccountCorsRulePtrOutput() AccountCorsRulePtrOutput
func (AccountCorsRuleArgs) ToAccountCorsRulePtrOutputWithContext ¶ added in v4.3.0
func (i AccountCorsRuleArgs) ToAccountCorsRulePtrOutputWithContext(ctx context.Context) AccountCorsRulePtrOutput
type AccountCorsRuleInput ¶ added in v4.3.0
type AccountCorsRuleInput interface { pulumi.Input ToAccountCorsRuleOutput() AccountCorsRuleOutput ToAccountCorsRuleOutputWithContext(context.Context) AccountCorsRuleOutput }
AccountCorsRuleInput is an input type that accepts AccountCorsRuleArgs and AccountCorsRuleOutput values. You can construct a concrete instance of `AccountCorsRuleInput` via:
AccountCorsRuleArgs{...}
type AccountCorsRuleOutput ¶ added in v4.3.0
type AccountCorsRuleOutput struct{ *pulumi.OutputState }
func (AccountCorsRuleOutput) AllowedHeaders ¶ added in v4.3.0
func (o AccountCorsRuleOutput) AllowedHeaders() pulumi.StringArrayOutput
A list of headers that are allowed to be a part of the cross-origin request.
func (AccountCorsRuleOutput) AllowedMethods ¶ added in v4.3.0
func (o AccountCorsRuleOutput) AllowedMethods() pulumi.StringArrayOutput
A list of http headers that are allowed to be executed by the origin. Valid options are `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`.
func (AccountCorsRuleOutput) AllowedOrigins ¶ added in v4.3.0
func (o AccountCorsRuleOutput) AllowedOrigins() pulumi.StringArrayOutput
A list of origin domains that will be allowed by CORS.
func (AccountCorsRuleOutput) ElementType ¶ added in v4.3.0
func (AccountCorsRuleOutput) ElementType() reflect.Type
func (AccountCorsRuleOutput) ExposedHeaders ¶ added in v4.3.0
func (o AccountCorsRuleOutput) ExposedHeaders() pulumi.StringArrayOutput
A list of response headers that are exposed to CORS clients.
func (AccountCorsRuleOutput) MaxAgeInSeconds ¶ added in v4.3.0
func (o AccountCorsRuleOutput) MaxAgeInSeconds() pulumi.IntOutput
The number of seconds the client should cache a preflight response.
func (AccountCorsRuleOutput) ToAccountCorsRuleOutput ¶ added in v4.3.0
func (o AccountCorsRuleOutput) ToAccountCorsRuleOutput() AccountCorsRuleOutput
func (AccountCorsRuleOutput) ToAccountCorsRuleOutputWithContext ¶ added in v4.3.0
func (o AccountCorsRuleOutput) ToAccountCorsRuleOutputWithContext(ctx context.Context) AccountCorsRuleOutput
func (AccountCorsRuleOutput) ToAccountCorsRulePtrOutput ¶ added in v4.3.0
func (o AccountCorsRuleOutput) ToAccountCorsRulePtrOutput() AccountCorsRulePtrOutput
func (AccountCorsRuleOutput) ToAccountCorsRulePtrOutputWithContext ¶ added in v4.3.0
func (o AccountCorsRuleOutput) ToAccountCorsRulePtrOutputWithContext(ctx context.Context) AccountCorsRulePtrOutput
type AccountCorsRulePtrInput ¶ added in v4.3.0
type AccountCorsRulePtrInput interface { pulumi.Input ToAccountCorsRulePtrOutput() AccountCorsRulePtrOutput ToAccountCorsRulePtrOutputWithContext(context.Context) AccountCorsRulePtrOutput }
AccountCorsRulePtrInput is an input type that accepts AccountCorsRuleArgs, AccountCorsRulePtr and AccountCorsRulePtrOutput values. You can construct a concrete instance of `AccountCorsRulePtrInput` via:
AccountCorsRuleArgs{...} or: nil
func AccountCorsRulePtr ¶ added in v4.3.0
func AccountCorsRulePtr(v *AccountCorsRuleArgs) AccountCorsRulePtrInput
type AccountCorsRulePtrOutput ¶ added in v4.3.0
type AccountCorsRulePtrOutput struct{ *pulumi.OutputState }
func (AccountCorsRulePtrOutput) AllowedHeaders ¶ added in v4.3.0
func (o AccountCorsRulePtrOutput) AllowedHeaders() pulumi.StringArrayOutput
A list of headers that are allowed to be a part of the cross-origin request.
func (AccountCorsRulePtrOutput) AllowedMethods ¶ added in v4.3.0
func (o AccountCorsRulePtrOutput) AllowedMethods() pulumi.StringArrayOutput
A list of http headers that are allowed to be executed by the origin. Valid options are `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`.
func (AccountCorsRulePtrOutput) AllowedOrigins ¶ added in v4.3.0
func (o AccountCorsRulePtrOutput) AllowedOrigins() pulumi.StringArrayOutput
A list of origin domains that will be allowed by CORS.
func (AccountCorsRulePtrOutput) Elem ¶ added in v4.3.0
func (o AccountCorsRulePtrOutput) Elem() AccountCorsRuleOutput
func (AccountCorsRulePtrOutput) ElementType ¶ added in v4.3.0
func (AccountCorsRulePtrOutput) ElementType() reflect.Type
func (AccountCorsRulePtrOutput) ExposedHeaders ¶ added in v4.3.0
func (o AccountCorsRulePtrOutput) ExposedHeaders() pulumi.StringArrayOutput
A list of response headers that are exposed to CORS clients.
func (AccountCorsRulePtrOutput) MaxAgeInSeconds ¶ added in v4.3.0
func (o AccountCorsRulePtrOutput) MaxAgeInSeconds() pulumi.IntPtrOutput
The number of seconds the client should cache a preflight response.
func (AccountCorsRulePtrOutput) ToAccountCorsRulePtrOutput ¶ added in v4.3.0
func (o AccountCorsRulePtrOutput) ToAccountCorsRulePtrOutput() AccountCorsRulePtrOutput
func (AccountCorsRulePtrOutput) ToAccountCorsRulePtrOutputWithContext ¶ added in v4.3.0
func (o AccountCorsRulePtrOutput) ToAccountCorsRulePtrOutputWithContext(ctx context.Context) AccountCorsRulePtrOutput
type AccountGeoLocation ¶
type AccountGeoLocation struct { // The failover priority of the region. A failover priority of `0` indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. Changing this causes the location to be re-provisioned and cannot be changed for the location with failover priority `0`. FailoverPriority int `pulumi:"failoverPriority"` // The ID of the virtual network subnet. Id *string `pulumi:"id"` // The name of the Azure region to host replicated data. Location string `pulumi:"location"` // The string used to generate the document endpoints for this region. If not specified it defaults to `${cosmosdb_account.name}-${location}`. Changing this causes the location to be deleted and re-provisioned and cannot be changed for the location with failover priority `0`. // // Deprecated: This is deprecated because the service no longer accepts this as an input since Apr 25, 2019 Prefix *string `pulumi:"prefix"` // Should zone redundancy be enabled for this region? Defaults to `false`. ZoneRedundant *bool `pulumi:"zoneRedundant"` }
type AccountGeoLocationArgs ¶
type AccountGeoLocationArgs struct { // The failover priority of the region. A failover priority of `0` indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. Changing this causes the location to be re-provisioned and cannot be changed for the location with failover priority `0`. FailoverPriority pulumi.IntInput `pulumi:"failoverPriority"` // The ID of the virtual network subnet. Id pulumi.StringPtrInput `pulumi:"id"` // The name of the Azure region to host replicated data. Location pulumi.StringInput `pulumi:"location"` // The string used to generate the document endpoints for this region. If not specified it defaults to `${cosmosdb_account.name}-${location}`. Changing this causes the location to be deleted and re-provisioned and cannot be changed for the location with failover priority `0`. // // Deprecated: This is deprecated because the service no longer accepts this as an input since Apr 25, 2019 Prefix pulumi.StringPtrInput `pulumi:"prefix"` // Should zone redundancy be enabled for this region? Defaults to `false`. ZoneRedundant pulumi.BoolPtrInput `pulumi:"zoneRedundant"` }
func (AccountGeoLocationArgs) ElementType ¶
func (AccountGeoLocationArgs) ElementType() reflect.Type
func (AccountGeoLocationArgs) ToAccountGeoLocationOutput ¶
func (i AccountGeoLocationArgs) ToAccountGeoLocationOutput() AccountGeoLocationOutput
func (AccountGeoLocationArgs) ToAccountGeoLocationOutputWithContext ¶
func (i AccountGeoLocationArgs) ToAccountGeoLocationOutputWithContext(ctx context.Context) AccountGeoLocationOutput
type AccountGeoLocationArray ¶
type AccountGeoLocationArray []AccountGeoLocationInput
func (AccountGeoLocationArray) ElementType ¶
func (AccountGeoLocationArray) ElementType() reflect.Type
func (AccountGeoLocationArray) ToAccountGeoLocationArrayOutput ¶
func (i AccountGeoLocationArray) ToAccountGeoLocationArrayOutput() AccountGeoLocationArrayOutput
func (AccountGeoLocationArray) ToAccountGeoLocationArrayOutputWithContext ¶
func (i AccountGeoLocationArray) ToAccountGeoLocationArrayOutputWithContext(ctx context.Context) AccountGeoLocationArrayOutput
type AccountGeoLocationArrayInput ¶
type AccountGeoLocationArrayInput interface { pulumi.Input ToAccountGeoLocationArrayOutput() AccountGeoLocationArrayOutput ToAccountGeoLocationArrayOutputWithContext(context.Context) AccountGeoLocationArrayOutput }
AccountGeoLocationArrayInput is an input type that accepts AccountGeoLocationArray and AccountGeoLocationArrayOutput values. You can construct a concrete instance of `AccountGeoLocationArrayInput` via:
AccountGeoLocationArray{ AccountGeoLocationArgs{...} }
type AccountGeoLocationArrayOutput ¶
type AccountGeoLocationArrayOutput struct{ *pulumi.OutputState }
func (AccountGeoLocationArrayOutput) ElementType ¶
func (AccountGeoLocationArrayOutput) ElementType() reflect.Type
func (AccountGeoLocationArrayOutput) Index ¶
func (o AccountGeoLocationArrayOutput) Index(i pulumi.IntInput) AccountGeoLocationOutput
func (AccountGeoLocationArrayOutput) ToAccountGeoLocationArrayOutput ¶
func (o AccountGeoLocationArrayOutput) ToAccountGeoLocationArrayOutput() AccountGeoLocationArrayOutput
func (AccountGeoLocationArrayOutput) ToAccountGeoLocationArrayOutputWithContext ¶
func (o AccountGeoLocationArrayOutput) ToAccountGeoLocationArrayOutputWithContext(ctx context.Context) AccountGeoLocationArrayOutput
type AccountGeoLocationInput ¶
type AccountGeoLocationInput interface { pulumi.Input ToAccountGeoLocationOutput() AccountGeoLocationOutput ToAccountGeoLocationOutputWithContext(context.Context) AccountGeoLocationOutput }
AccountGeoLocationInput is an input type that accepts AccountGeoLocationArgs and AccountGeoLocationOutput values. You can construct a concrete instance of `AccountGeoLocationInput` via:
AccountGeoLocationArgs{...}
type AccountGeoLocationOutput ¶
type AccountGeoLocationOutput struct{ *pulumi.OutputState }
func (AccountGeoLocationOutput) ElementType ¶
func (AccountGeoLocationOutput) ElementType() reflect.Type
func (AccountGeoLocationOutput) FailoverPriority ¶
func (o AccountGeoLocationOutput) FailoverPriority() pulumi.IntOutput
The failover priority of the region. A failover priority of `0` indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. Changing this causes the location to be re-provisioned and cannot be changed for the location with failover priority `0`.
func (AccountGeoLocationOutput) Id ¶
func (o AccountGeoLocationOutput) Id() pulumi.StringPtrOutput
The ID of the virtual network subnet.
func (AccountGeoLocationOutput) Location ¶
func (o AccountGeoLocationOutput) Location() pulumi.StringOutput
The name of the Azure region to host replicated data.
func (AccountGeoLocationOutput) Prefix
deprecated
func (o AccountGeoLocationOutput) Prefix() pulumi.StringPtrOutput
The string used to generate the document endpoints for this region. If not specified it defaults to `${cosmosdb_account.name}-${location}`. Changing this causes the location to be deleted and re-provisioned and cannot be changed for the location with failover priority `0`.
Deprecated: This is deprecated because the service no longer accepts this as an input since Apr 25, 2019
func (AccountGeoLocationOutput) ToAccountGeoLocationOutput ¶
func (o AccountGeoLocationOutput) ToAccountGeoLocationOutput() AccountGeoLocationOutput
func (AccountGeoLocationOutput) ToAccountGeoLocationOutputWithContext ¶
func (o AccountGeoLocationOutput) ToAccountGeoLocationOutputWithContext(ctx context.Context) AccountGeoLocationOutput
func (AccountGeoLocationOutput) ZoneRedundant ¶
func (o AccountGeoLocationOutput) ZoneRedundant() pulumi.BoolPtrOutput
Should zone redundancy be enabled for this region? Defaults to `false`.
type AccountIdentity ¶ added in v4.3.0
type AccountIdentity struct { // The Principal ID associated with this Managed Service Identity. PrincipalId *string `pulumi:"principalId"` // The Tenant ID associated with this Managed Service Identity. TenantId *string `pulumi:"tenantId"` // Specifies the type of Managed Service Identity that should be configured on this Cosmos Account. Possible value is only `SystemAssigned`. Type string `pulumi:"type"` }
type AccountIdentityArgs ¶ added in v4.3.0
type AccountIdentityArgs struct { // The Principal ID associated with this Managed Service Identity. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The Tenant ID associated with this Managed Service Identity. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // Specifies the type of Managed Service Identity that should be configured on this Cosmos Account. Possible value is only `SystemAssigned`. Type pulumi.StringInput `pulumi:"type"` }
func (AccountIdentityArgs) ElementType ¶ added in v4.3.0
func (AccountIdentityArgs) ElementType() reflect.Type
func (AccountIdentityArgs) ToAccountIdentityOutput ¶ added in v4.3.0
func (i AccountIdentityArgs) ToAccountIdentityOutput() AccountIdentityOutput
func (AccountIdentityArgs) ToAccountIdentityOutputWithContext ¶ added in v4.3.0
func (i AccountIdentityArgs) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput
func (AccountIdentityArgs) ToAccountIdentityPtrOutput ¶ added in v4.3.0
func (i AccountIdentityArgs) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput
func (AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext ¶ added in v4.3.0
func (i AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput
type AccountIdentityInput ¶ added in v4.3.0
type AccountIdentityInput interface { pulumi.Input ToAccountIdentityOutput() AccountIdentityOutput ToAccountIdentityOutputWithContext(context.Context) AccountIdentityOutput }
AccountIdentityInput is an input type that accepts AccountIdentityArgs and AccountIdentityOutput values. You can construct a concrete instance of `AccountIdentityInput` via:
AccountIdentityArgs{...}
type AccountIdentityOutput ¶ added in v4.3.0
type AccountIdentityOutput struct{ *pulumi.OutputState }
func (AccountIdentityOutput) ElementType ¶ added in v4.3.0
func (AccountIdentityOutput) ElementType() reflect.Type
func (AccountIdentityOutput) PrincipalId ¶ added in v4.3.0
func (o AccountIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID associated with this Managed Service Identity.
func (AccountIdentityOutput) TenantId ¶ added in v4.3.0
func (o AccountIdentityOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID associated with this Managed Service Identity.
func (AccountIdentityOutput) ToAccountIdentityOutput ¶ added in v4.3.0
func (o AccountIdentityOutput) ToAccountIdentityOutput() AccountIdentityOutput
func (AccountIdentityOutput) ToAccountIdentityOutputWithContext ¶ added in v4.3.0
func (o AccountIdentityOutput) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput
func (AccountIdentityOutput) ToAccountIdentityPtrOutput ¶ added in v4.3.0
func (o AccountIdentityOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput
func (AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext ¶ added in v4.3.0
func (o AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput
func (AccountIdentityOutput) Type ¶ added in v4.3.0
func (o AccountIdentityOutput) Type() pulumi.StringOutput
Specifies the type of Managed Service Identity that should be configured on this Cosmos Account. Possible value is only `SystemAssigned`.
type AccountIdentityPtrInput ¶ added in v4.3.0
type AccountIdentityPtrInput interface { pulumi.Input ToAccountIdentityPtrOutput() AccountIdentityPtrOutput ToAccountIdentityPtrOutputWithContext(context.Context) AccountIdentityPtrOutput }
AccountIdentityPtrInput is an input type that accepts AccountIdentityArgs, AccountIdentityPtr and AccountIdentityPtrOutput values. You can construct a concrete instance of `AccountIdentityPtrInput` via:
AccountIdentityArgs{...} or: nil
func AccountIdentityPtr ¶ added in v4.3.0
func AccountIdentityPtr(v *AccountIdentityArgs) AccountIdentityPtrInput
type AccountIdentityPtrOutput ¶ added in v4.3.0
type AccountIdentityPtrOutput struct{ *pulumi.OutputState }
func (AccountIdentityPtrOutput) Elem ¶ added in v4.3.0
func (o AccountIdentityPtrOutput) Elem() AccountIdentityOutput
func (AccountIdentityPtrOutput) ElementType ¶ added in v4.3.0
func (AccountIdentityPtrOutput) ElementType() reflect.Type
func (AccountIdentityPtrOutput) PrincipalId ¶ added in v4.3.0
func (o AccountIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID associated with this Managed Service Identity.
func (AccountIdentityPtrOutput) TenantId ¶ added in v4.3.0
func (o AccountIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID associated with this Managed Service Identity.
func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutput ¶ added in v4.3.0
func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput
func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext ¶ added in v4.3.0
func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput
func (AccountIdentityPtrOutput) Type ¶ added in v4.3.0
func (o AccountIdentityPtrOutput) Type() pulumi.StringPtrOutput
Specifies the type of Managed Service Identity that should be configured on this Cosmos Account. Possible value is only `SystemAssigned`.
type AccountInput ¶
type AccountInput interface { pulumi.Input ToAccountOutput() AccountOutput ToAccountOutputWithContext(ctx context.Context) AccountOutput }
type AccountMap ¶
type AccountMap map[string]AccountInput
func (AccountMap) ElementType ¶
func (AccountMap) ElementType() reflect.Type
func (AccountMap) ToAccountMapOutput ¶
func (i AccountMap) ToAccountMapOutput() AccountMapOutput
func (AccountMap) ToAccountMapOutputWithContext ¶
func (i AccountMap) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput
type AccountMapInput ¶
type AccountMapInput interface { pulumi.Input ToAccountMapOutput() AccountMapOutput ToAccountMapOutputWithContext(context.Context) AccountMapOutput }
AccountMapInput is an input type that accepts AccountMap and AccountMapOutput values. You can construct a concrete instance of `AccountMapInput` via:
AccountMap{ "key": AccountArgs{...} }
type AccountMapOutput ¶
type AccountMapOutput struct{ *pulumi.OutputState }
func (AccountMapOutput) ElementType ¶
func (AccountMapOutput) ElementType() reflect.Type
func (AccountMapOutput) MapIndex ¶
func (o AccountMapOutput) MapIndex(k pulumi.StringInput) AccountOutput
func (AccountMapOutput) ToAccountMapOutput ¶
func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput
func (AccountMapOutput) ToAccountMapOutputWithContext ¶
func (o AccountMapOutput) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput
type AccountOutput ¶
type AccountOutput struct {
*pulumi.OutputState
}
func (AccountOutput) ElementType ¶
func (AccountOutput) ElementType() reflect.Type
func (AccountOutput) ToAccountOutput ¶
func (o AccountOutput) ToAccountOutput() AccountOutput
func (AccountOutput) ToAccountOutputWithContext ¶
func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput
func (AccountOutput) ToAccountPtrOutput ¶
func (o AccountOutput) ToAccountPtrOutput() AccountPtrOutput
func (AccountOutput) ToAccountPtrOutputWithContext ¶
func (o AccountOutput) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
type AccountPtrInput ¶
type AccountPtrInput interface { pulumi.Input ToAccountPtrOutput() AccountPtrOutput ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput }
type AccountPtrOutput ¶
type AccountPtrOutput struct {
*pulumi.OutputState
}
func (AccountPtrOutput) ElementType ¶
func (AccountPtrOutput) ElementType() reflect.Type
func (AccountPtrOutput) ToAccountPtrOutput ¶
func (o AccountPtrOutput) ToAccountPtrOutput() AccountPtrOutput
func (AccountPtrOutput) ToAccountPtrOutputWithContext ¶
func (o AccountPtrOutput) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
type AccountState ¶
type AccountState struct { // Is write operations on metadata resources (databases, containers, throughput) via account keys enabled? Defaults to `true`. AccessKeyMetadataWritesEnabled pulumi.BoolPtrInput // Enable Analytical Storage option for this Cosmos DB account. Defaults to `false`. Changing this forces a new resource to be created. AnalyticalStorageEnabled pulumi.BoolPtrInput // A `backup` block as defined below. Backup AccountBackupPtrInput // The capabilities which should be enabled for this Cosmos DB account. Value is a `capabilities` block as defined below. Capabilities AccountCapabilityArrayInput // A list of connection strings available for this CosmosDB account. ConnectionStrings pulumi.StringArrayInput // Specifies a `consistencyPolicy` resource, used to define the consistency policy for this CosmosDB account. ConsistencyPolicy AccountConsistencyPolicyPtrInput // A `corsRule` block as defined below. CorsRule AccountCorsRulePtrInput // Enable automatic fail over for this Cosmos DB account. EnableAutomaticFailover pulumi.BoolPtrInput // Enable Free Tier pricing option for this Cosmos DB account. Defaults to `false`. Changing this forces a new resource to be created. EnableFreeTier pulumi.BoolPtrInput // Enable multi-master support for this Cosmos DB account. EnableMultipleWriteLocations pulumi.BoolPtrInput // The endpoint used to connect to the CosmosDB account. Endpoint pulumi.StringPtrInput // Specifies a `geoLocation` resource, used to define where data should be replicated with the `failoverPriority` 0 specifying the primary location. Value is a `geoLocation` block as defined below. GeoLocations AccountGeoLocationArrayInput // An `identity` block as defined below. Identity AccountIdentityPtrInput // CosmosDB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IP's for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces. IpRangeFilter pulumi.StringPtrInput // Enables virtual network filtering for this Cosmos DB account. IsVirtualNetworkFilterEnabled pulumi.BoolPtrInput // A versionless Key Vault Key ID for CMK encryption. Changing this forces a new resource to be created. KeyVaultKeyId pulumi.StringPtrInput // Specifies the Kind of CosmosDB to create - possible values are `GlobalDocumentDB` and `MongoDB`. Defaults to `GlobalDocumentDB`. Changing this forces a new resource to be created. Kind pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The Server Version of a MongoDB account. Possible values are `4.0`, `3.6`, and `3.2`. Changing this forces a new resource to be created. MongoServerVersion pulumi.StringPtrInput // Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // If azure services can bypass ACLs. Defaults to `false`. NetworkAclBypassForAzureServices pulumi.BoolPtrInput // The list of resource Ids for Network Acl Bypass for this Cosmos DB account. NetworkAclBypassIds pulumi.StringArrayInput // Specifies the Offer Type to use for this CosmosDB Account - currently this can only be set to `Standard`. OfferType pulumi.StringPtrInput // The Primary master key for the CosmosDB Account. PrimaryKey pulumi.StringPtrInput // Deprecated: This property has been renamed to `primary_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes PrimaryMasterKey pulumi.StringPtrInput // The Primary read-only master Key for the CosmosDB Account. PrimaryReadonlyKey pulumi.StringPtrInput // Deprecated: This property has been renamed to `primary_readonly_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes PrimaryReadonlyMasterKey pulumi.StringPtrInput // Whether or not public network access is allowed for this CosmosDB account. PublicNetworkAccessEnabled pulumi.BoolPtrInput // A list of read endpoints available for this CosmosDB account. ReadEndpoints pulumi.StringArrayInput // The name of the resource group in which the CosmosDB Account is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The Secondary master key for the CosmosDB Account. SecondaryKey pulumi.StringPtrInput // Deprecated: This property has been renamed to `secondary_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes SecondaryMasterKey pulumi.StringPtrInput // The Secondary read-only master key for the CosmosDB Account. SecondaryReadonlyKey pulumi.StringPtrInput // Deprecated: This property has been renamed to `secondary_readonly_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes SecondaryReadonlyMasterKey pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Specifies a `virtualNetworkRules` resource, used to define which subnets are allowed to access this CosmosDB account. VirtualNetworkRules AccountVirtualNetworkRuleArrayInput // A list of write endpoints available for this CosmosDB account. WriteEndpoints pulumi.StringArrayInput }
func (AccountState) ElementType ¶
func (AccountState) ElementType() reflect.Type
type AccountVirtualNetworkRule ¶
type AccountVirtualNetworkRule struct { // The ID of the virtual network subnet. Id string `pulumi:"id"` // If set to true, the specified subnet will be added as a virtual network rule even if its CosmosDB service endpoint is not active. Defaults to `false`. IgnoreMissingVnetServiceEndpoint *bool `pulumi:"ignoreMissingVnetServiceEndpoint"` }
type AccountVirtualNetworkRuleArgs ¶
type AccountVirtualNetworkRuleArgs struct { // The ID of the virtual network subnet. Id pulumi.StringInput `pulumi:"id"` // If set to true, the specified subnet will be added as a virtual network rule even if its CosmosDB service endpoint is not active. Defaults to `false`. IgnoreMissingVnetServiceEndpoint pulumi.BoolPtrInput `pulumi:"ignoreMissingVnetServiceEndpoint"` }
func (AccountVirtualNetworkRuleArgs) ElementType ¶
func (AccountVirtualNetworkRuleArgs) ElementType() reflect.Type
func (AccountVirtualNetworkRuleArgs) ToAccountVirtualNetworkRuleOutput ¶
func (i AccountVirtualNetworkRuleArgs) ToAccountVirtualNetworkRuleOutput() AccountVirtualNetworkRuleOutput
func (AccountVirtualNetworkRuleArgs) ToAccountVirtualNetworkRuleOutputWithContext ¶
func (i AccountVirtualNetworkRuleArgs) ToAccountVirtualNetworkRuleOutputWithContext(ctx context.Context) AccountVirtualNetworkRuleOutput
type AccountVirtualNetworkRuleArray ¶
type AccountVirtualNetworkRuleArray []AccountVirtualNetworkRuleInput
func (AccountVirtualNetworkRuleArray) ElementType ¶
func (AccountVirtualNetworkRuleArray) ElementType() reflect.Type
func (AccountVirtualNetworkRuleArray) ToAccountVirtualNetworkRuleArrayOutput ¶
func (i AccountVirtualNetworkRuleArray) ToAccountVirtualNetworkRuleArrayOutput() AccountVirtualNetworkRuleArrayOutput
func (AccountVirtualNetworkRuleArray) ToAccountVirtualNetworkRuleArrayOutputWithContext ¶
func (i AccountVirtualNetworkRuleArray) ToAccountVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) AccountVirtualNetworkRuleArrayOutput
type AccountVirtualNetworkRuleArrayInput ¶
type AccountVirtualNetworkRuleArrayInput interface { pulumi.Input ToAccountVirtualNetworkRuleArrayOutput() AccountVirtualNetworkRuleArrayOutput ToAccountVirtualNetworkRuleArrayOutputWithContext(context.Context) AccountVirtualNetworkRuleArrayOutput }
AccountVirtualNetworkRuleArrayInput is an input type that accepts AccountVirtualNetworkRuleArray and AccountVirtualNetworkRuleArrayOutput values. You can construct a concrete instance of `AccountVirtualNetworkRuleArrayInput` via:
AccountVirtualNetworkRuleArray{ AccountVirtualNetworkRuleArgs{...} }
type AccountVirtualNetworkRuleArrayOutput ¶
type AccountVirtualNetworkRuleArrayOutput struct{ *pulumi.OutputState }
func (AccountVirtualNetworkRuleArrayOutput) ElementType ¶
func (AccountVirtualNetworkRuleArrayOutput) ElementType() reflect.Type
func (AccountVirtualNetworkRuleArrayOutput) Index ¶
func (o AccountVirtualNetworkRuleArrayOutput) Index(i pulumi.IntInput) AccountVirtualNetworkRuleOutput
func (AccountVirtualNetworkRuleArrayOutput) ToAccountVirtualNetworkRuleArrayOutput ¶
func (o AccountVirtualNetworkRuleArrayOutput) ToAccountVirtualNetworkRuleArrayOutput() AccountVirtualNetworkRuleArrayOutput
func (AccountVirtualNetworkRuleArrayOutput) ToAccountVirtualNetworkRuleArrayOutputWithContext ¶
func (o AccountVirtualNetworkRuleArrayOutput) ToAccountVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) AccountVirtualNetworkRuleArrayOutput
type AccountVirtualNetworkRuleInput ¶
type AccountVirtualNetworkRuleInput interface { pulumi.Input ToAccountVirtualNetworkRuleOutput() AccountVirtualNetworkRuleOutput ToAccountVirtualNetworkRuleOutputWithContext(context.Context) AccountVirtualNetworkRuleOutput }
AccountVirtualNetworkRuleInput is an input type that accepts AccountVirtualNetworkRuleArgs and AccountVirtualNetworkRuleOutput values. You can construct a concrete instance of `AccountVirtualNetworkRuleInput` via:
AccountVirtualNetworkRuleArgs{...}
type AccountVirtualNetworkRuleOutput ¶
type AccountVirtualNetworkRuleOutput struct{ *pulumi.OutputState }
func (AccountVirtualNetworkRuleOutput) ElementType ¶
func (AccountVirtualNetworkRuleOutput) ElementType() reflect.Type
func (AccountVirtualNetworkRuleOutput) Id ¶
func (o AccountVirtualNetworkRuleOutput) Id() pulumi.StringOutput
The ID of the virtual network subnet.
func (AccountVirtualNetworkRuleOutput) IgnoreMissingVnetServiceEndpoint ¶
func (o AccountVirtualNetworkRuleOutput) IgnoreMissingVnetServiceEndpoint() pulumi.BoolPtrOutput
If set to true, the specified subnet will be added as a virtual network rule even if its CosmosDB service endpoint is not active. Defaults to `false`.
func (AccountVirtualNetworkRuleOutput) ToAccountVirtualNetworkRuleOutput ¶
func (o AccountVirtualNetworkRuleOutput) ToAccountVirtualNetworkRuleOutput() AccountVirtualNetworkRuleOutput
func (AccountVirtualNetworkRuleOutput) ToAccountVirtualNetworkRuleOutputWithContext ¶
func (o AccountVirtualNetworkRuleOutput) ToAccountVirtualNetworkRuleOutputWithContext(ctx context.Context) AccountVirtualNetworkRuleOutput
type CassandraKeyspace ¶
type CassandraKeyspace struct { pulumi.CustomResourceState // The name of the Cosmos DB Cassandra KeySpace to create the table within. Changing this forces a new resource to be created. AccountName pulumi.StringOutput `pulumi:"accountName"` // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply. AutoscaleSettings CassandraKeyspaceAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"` // Specifies the name of the Cosmos DB Cassandra KeySpace. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which the Cosmos DB Cassandra KeySpace is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The throughput of Cassandra KeySpace (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply. Throughput pulumi.IntOutput `pulumi:"throughput"` }
Manages a Cassandra KeySpace within a Cosmos DB Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.LookupResourceGroup(ctx, &core.LookupResourceGroupArgs{ Name: "tflex-cosmosdb-account-rg", }, nil) if err != nil { return err } exampleAccount, err := cosmosdb.NewAccount(ctx, "exampleAccount", &cosmosdb.AccountArgs{ ResourceGroupName: pulumi.String(exampleResourceGroup.Name), Location: pulumi.String(exampleResourceGroup.Location), OfferType: pulumi.String("Standard"), Capabilities: cosmosdb.AccountCapabilityArray{ &cosmosdb.AccountCapabilityArgs{ Name: pulumi.String("EnableCassandra"), }, }, ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{ ConsistencyLevel: pulumi.String("Strong"), }, GeoLocations: cosmosdb.AccountGeoLocationArray{ &cosmosdb.AccountGeoLocationArgs{ Location: pulumi.String("West US"), FailoverPriority: pulumi.Int(0), }, }, }) if err != nil { return err } _, err = cosmosdb.NewCassandraKeyspace(ctx, "exampleCassandraKeyspace", &cosmosdb.CassandraKeyspaceArgs{ ResourceGroupName: exampleAccount.ResourceGroupName, AccountName: exampleAccount.Name, Throughput: pulumi.Int(400), }) if err != nil { return err } return nil }) }
```
## Import
Cosmos Cassandra KeySpace can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/cassandraKeyspace:CassandraKeyspace ks1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/cassandraKeyspaces/ks1
```
func GetCassandraKeyspace ¶
func GetCassandraKeyspace(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CassandraKeyspaceState, opts ...pulumi.ResourceOption) (*CassandraKeyspace, error)
GetCassandraKeyspace gets an existing CassandraKeyspace 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 NewCassandraKeyspace ¶
func NewCassandraKeyspace(ctx *pulumi.Context, name string, args *CassandraKeyspaceArgs, opts ...pulumi.ResourceOption) (*CassandraKeyspace, error)
NewCassandraKeyspace registers a new resource with the given unique name, arguments, and options.
func (*CassandraKeyspace) ElementType ¶
func (*CassandraKeyspace) ElementType() reflect.Type
func (*CassandraKeyspace) ToCassandraKeyspaceOutput ¶
func (i *CassandraKeyspace) ToCassandraKeyspaceOutput() CassandraKeyspaceOutput
func (*CassandraKeyspace) ToCassandraKeyspaceOutputWithContext ¶
func (i *CassandraKeyspace) ToCassandraKeyspaceOutputWithContext(ctx context.Context) CassandraKeyspaceOutput
func (*CassandraKeyspace) ToCassandraKeyspacePtrOutput ¶
func (i *CassandraKeyspace) ToCassandraKeyspacePtrOutput() CassandraKeyspacePtrOutput
func (*CassandraKeyspace) ToCassandraKeyspacePtrOutputWithContext ¶
func (i *CassandraKeyspace) ToCassandraKeyspacePtrOutputWithContext(ctx context.Context) CassandraKeyspacePtrOutput
type CassandraKeyspaceArgs ¶
type CassandraKeyspaceArgs struct { // The name of the Cosmos DB Cassandra KeySpace to create the table within. Changing this forces a new resource to be created. AccountName pulumi.StringInput // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply. AutoscaleSettings CassandraKeyspaceAutoscaleSettingsPtrInput // Specifies the name of the Cosmos DB Cassandra KeySpace. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the Cosmos DB Cassandra KeySpace is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The throughput of Cassandra KeySpace (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply. Throughput pulumi.IntPtrInput }
The set of arguments for constructing a CassandraKeyspace resource.
func (CassandraKeyspaceArgs) ElementType ¶
func (CassandraKeyspaceArgs) ElementType() reflect.Type
type CassandraKeyspaceArray ¶
type CassandraKeyspaceArray []CassandraKeyspaceInput
func (CassandraKeyspaceArray) ElementType ¶
func (CassandraKeyspaceArray) ElementType() reflect.Type
func (CassandraKeyspaceArray) ToCassandraKeyspaceArrayOutput ¶
func (i CassandraKeyspaceArray) ToCassandraKeyspaceArrayOutput() CassandraKeyspaceArrayOutput
func (CassandraKeyspaceArray) ToCassandraKeyspaceArrayOutputWithContext ¶
func (i CassandraKeyspaceArray) ToCassandraKeyspaceArrayOutputWithContext(ctx context.Context) CassandraKeyspaceArrayOutput
type CassandraKeyspaceArrayInput ¶
type CassandraKeyspaceArrayInput interface { pulumi.Input ToCassandraKeyspaceArrayOutput() CassandraKeyspaceArrayOutput ToCassandraKeyspaceArrayOutputWithContext(context.Context) CassandraKeyspaceArrayOutput }
CassandraKeyspaceArrayInput is an input type that accepts CassandraKeyspaceArray and CassandraKeyspaceArrayOutput values. You can construct a concrete instance of `CassandraKeyspaceArrayInput` via:
CassandraKeyspaceArray{ CassandraKeyspaceArgs{...} }
type CassandraKeyspaceArrayOutput ¶
type CassandraKeyspaceArrayOutput struct{ *pulumi.OutputState }
func (CassandraKeyspaceArrayOutput) ElementType ¶
func (CassandraKeyspaceArrayOutput) ElementType() reflect.Type
func (CassandraKeyspaceArrayOutput) Index ¶
func (o CassandraKeyspaceArrayOutput) Index(i pulumi.IntInput) CassandraKeyspaceOutput
func (CassandraKeyspaceArrayOutput) ToCassandraKeyspaceArrayOutput ¶
func (o CassandraKeyspaceArrayOutput) ToCassandraKeyspaceArrayOutput() CassandraKeyspaceArrayOutput
func (CassandraKeyspaceArrayOutput) ToCassandraKeyspaceArrayOutputWithContext ¶
func (o CassandraKeyspaceArrayOutput) ToCassandraKeyspaceArrayOutputWithContext(ctx context.Context) CassandraKeyspaceArrayOutput
type CassandraKeyspaceAutoscaleSettings ¶
type CassandraKeyspaceAutoscaleSettings struct { // The maximum throughput of the Cassandra KeySpace (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput *int `pulumi:"maxThroughput"` }
type CassandraKeyspaceAutoscaleSettingsArgs ¶
type CassandraKeyspaceAutoscaleSettingsArgs struct { // The maximum throughput of the Cassandra KeySpace (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"` }
func (CassandraKeyspaceAutoscaleSettingsArgs) ElementType ¶
func (CassandraKeyspaceAutoscaleSettingsArgs) ElementType() reflect.Type
func (CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsOutput ¶
func (i CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsOutput() CassandraKeyspaceAutoscaleSettingsOutput
func (CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsOutputWithContext ¶
func (i CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsOutputWithContext(ctx context.Context) CassandraKeyspaceAutoscaleSettingsOutput
func (CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsPtrOutput ¶
func (i CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsPtrOutput() CassandraKeyspaceAutoscaleSettingsPtrOutput
func (CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext ¶
func (i CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraKeyspaceAutoscaleSettingsPtrOutput
type CassandraKeyspaceAutoscaleSettingsInput ¶
type CassandraKeyspaceAutoscaleSettingsInput interface { pulumi.Input ToCassandraKeyspaceAutoscaleSettingsOutput() CassandraKeyspaceAutoscaleSettingsOutput ToCassandraKeyspaceAutoscaleSettingsOutputWithContext(context.Context) CassandraKeyspaceAutoscaleSettingsOutput }
CassandraKeyspaceAutoscaleSettingsInput is an input type that accepts CassandraKeyspaceAutoscaleSettingsArgs and CassandraKeyspaceAutoscaleSettingsOutput values. You can construct a concrete instance of `CassandraKeyspaceAutoscaleSettingsInput` via:
CassandraKeyspaceAutoscaleSettingsArgs{...}
type CassandraKeyspaceAutoscaleSettingsOutput ¶
type CassandraKeyspaceAutoscaleSettingsOutput struct{ *pulumi.OutputState }
func (CassandraKeyspaceAutoscaleSettingsOutput) ElementType ¶
func (CassandraKeyspaceAutoscaleSettingsOutput) ElementType() reflect.Type
func (CassandraKeyspaceAutoscaleSettingsOutput) MaxThroughput ¶
func (o CassandraKeyspaceAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the Cassandra KeySpace (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsOutput ¶
func (o CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsOutput() CassandraKeyspaceAutoscaleSettingsOutput
func (CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsOutputWithContext ¶
func (o CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsOutputWithContext(ctx context.Context) CassandraKeyspaceAutoscaleSettingsOutput
func (CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutput ¶
func (o CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutput() CassandraKeyspaceAutoscaleSettingsPtrOutput
func (CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext ¶
func (o CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraKeyspaceAutoscaleSettingsPtrOutput
type CassandraKeyspaceAutoscaleSettingsPtrInput ¶
type CassandraKeyspaceAutoscaleSettingsPtrInput interface { pulumi.Input ToCassandraKeyspaceAutoscaleSettingsPtrOutput() CassandraKeyspaceAutoscaleSettingsPtrOutput ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext(context.Context) CassandraKeyspaceAutoscaleSettingsPtrOutput }
CassandraKeyspaceAutoscaleSettingsPtrInput is an input type that accepts CassandraKeyspaceAutoscaleSettingsArgs, CassandraKeyspaceAutoscaleSettingsPtr and CassandraKeyspaceAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `CassandraKeyspaceAutoscaleSettingsPtrInput` via:
CassandraKeyspaceAutoscaleSettingsArgs{...} or: nil
func CassandraKeyspaceAutoscaleSettingsPtr ¶
func CassandraKeyspaceAutoscaleSettingsPtr(v *CassandraKeyspaceAutoscaleSettingsArgs) CassandraKeyspaceAutoscaleSettingsPtrInput
type CassandraKeyspaceAutoscaleSettingsPtrOutput ¶
type CassandraKeyspaceAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }
func (CassandraKeyspaceAutoscaleSettingsPtrOutput) ElementType ¶
func (CassandraKeyspaceAutoscaleSettingsPtrOutput) ElementType() reflect.Type
func (CassandraKeyspaceAutoscaleSettingsPtrOutput) MaxThroughput ¶
func (o CassandraKeyspaceAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the Cassandra KeySpace (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (CassandraKeyspaceAutoscaleSettingsPtrOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutput ¶
func (o CassandraKeyspaceAutoscaleSettingsPtrOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutput() CassandraKeyspaceAutoscaleSettingsPtrOutput
func (CassandraKeyspaceAutoscaleSettingsPtrOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext ¶
func (o CassandraKeyspaceAutoscaleSettingsPtrOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraKeyspaceAutoscaleSettingsPtrOutput
type CassandraKeyspaceInput ¶
type CassandraKeyspaceInput interface { pulumi.Input ToCassandraKeyspaceOutput() CassandraKeyspaceOutput ToCassandraKeyspaceOutputWithContext(ctx context.Context) CassandraKeyspaceOutput }
type CassandraKeyspaceMap ¶
type CassandraKeyspaceMap map[string]CassandraKeyspaceInput
func (CassandraKeyspaceMap) ElementType ¶
func (CassandraKeyspaceMap) ElementType() reflect.Type
func (CassandraKeyspaceMap) ToCassandraKeyspaceMapOutput ¶
func (i CassandraKeyspaceMap) ToCassandraKeyspaceMapOutput() CassandraKeyspaceMapOutput
func (CassandraKeyspaceMap) ToCassandraKeyspaceMapOutputWithContext ¶
func (i CassandraKeyspaceMap) ToCassandraKeyspaceMapOutputWithContext(ctx context.Context) CassandraKeyspaceMapOutput
type CassandraKeyspaceMapInput ¶
type CassandraKeyspaceMapInput interface { pulumi.Input ToCassandraKeyspaceMapOutput() CassandraKeyspaceMapOutput ToCassandraKeyspaceMapOutputWithContext(context.Context) CassandraKeyspaceMapOutput }
CassandraKeyspaceMapInput is an input type that accepts CassandraKeyspaceMap and CassandraKeyspaceMapOutput values. You can construct a concrete instance of `CassandraKeyspaceMapInput` via:
CassandraKeyspaceMap{ "key": CassandraKeyspaceArgs{...} }
type CassandraKeyspaceMapOutput ¶
type CassandraKeyspaceMapOutput struct{ *pulumi.OutputState }
func (CassandraKeyspaceMapOutput) ElementType ¶
func (CassandraKeyspaceMapOutput) ElementType() reflect.Type
func (CassandraKeyspaceMapOutput) MapIndex ¶
func (o CassandraKeyspaceMapOutput) MapIndex(k pulumi.StringInput) CassandraKeyspaceOutput
func (CassandraKeyspaceMapOutput) ToCassandraKeyspaceMapOutput ¶
func (o CassandraKeyspaceMapOutput) ToCassandraKeyspaceMapOutput() CassandraKeyspaceMapOutput
func (CassandraKeyspaceMapOutput) ToCassandraKeyspaceMapOutputWithContext ¶
func (o CassandraKeyspaceMapOutput) ToCassandraKeyspaceMapOutputWithContext(ctx context.Context) CassandraKeyspaceMapOutput
type CassandraKeyspaceOutput ¶
type CassandraKeyspaceOutput struct {
*pulumi.OutputState
}
func (CassandraKeyspaceOutput) ElementType ¶
func (CassandraKeyspaceOutput) ElementType() reflect.Type
func (CassandraKeyspaceOutput) ToCassandraKeyspaceOutput ¶
func (o CassandraKeyspaceOutput) ToCassandraKeyspaceOutput() CassandraKeyspaceOutput
func (CassandraKeyspaceOutput) ToCassandraKeyspaceOutputWithContext ¶
func (o CassandraKeyspaceOutput) ToCassandraKeyspaceOutputWithContext(ctx context.Context) CassandraKeyspaceOutput
func (CassandraKeyspaceOutput) ToCassandraKeyspacePtrOutput ¶
func (o CassandraKeyspaceOutput) ToCassandraKeyspacePtrOutput() CassandraKeyspacePtrOutput
func (CassandraKeyspaceOutput) ToCassandraKeyspacePtrOutputWithContext ¶
func (o CassandraKeyspaceOutput) ToCassandraKeyspacePtrOutputWithContext(ctx context.Context) CassandraKeyspacePtrOutput
type CassandraKeyspacePtrInput ¶
type CassandraKeyspacePtrInput interface { pulumi.Input ToCassandraKeyspacePtrOutput() CassandraKeyspacePtrOutput ToCassandraKeyspacePtrOutputWithContext(ctx context.Context) CassandraKeyspacePtrOutput }
type CassandraKeyspacePtrOutput ¶
type CassandraKeyspacePtrOutput struct {
*pulumi.OutputState
}
func (CassandraKeyspacePtrOutput) ElementType ¶
func (CassandraKeyspacePtrOutput) ElementType() reflect.Type
func (CassandraKeyspacePtrOutput) ToCassandraKeyspacePtrOutput ¶
func (o CassandraKeyspacePtrOutput) ToCassandraKeyspacePtrOutput() CassandraKeyspacePtrOutput
func (CassandraKeyspacePtrOutput) ToCassandraKeyspacePtrOutputWithContext ¶
func (o CassandraKeyspacePtrOutput) ToCassandraKeyspacePtrOutputWithContext(ctx context.Context) CassandraKeyspacePtrOutput
type CassandraKeyspaceState ¶
type CassandraKeyspaceState struct { // The name of the Cosmos DB Cassandra KeySpace to create the table within. Changing this forces a new resource to be created. AccountName pulumi.StringPtrInput // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply. AutoscaleSettings CassandraKeyspaceAutoscaleSettingsPtrInput // Specifies the name of the Cosmos DB Cassandra KeySpace. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the Cosmos DB Cassandra KeySpace is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The throughput of Cassandra KeySpace (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply. Throughput pulumi.IntPtrInput }
func (CassandraKeyspaceState) ElementType ¶
func (CassandraKeyspaceState) ElementType() reflect.Type
type CassandraTable ¶
type CassandraTable struct { pulumi.CustomResourceState // Time to live of the Analytical Storage. Possible values are at least `-1`. `-1` means the Analytical Storage never expires. Changing this forces a new resource to be created. AnalyticalStorageTtl pulumi.IntPtrOutput `pulumi:"analyticalStorageTtl"` AutoscaleSettings CassandraTableAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"` // The ID of the Cosmos DB Cassandra Keyspace to create the table within. Changing this forces a new resource to be created. CassandraKeyspaceId pulumi.StringOutput `pulumi:"cassandraKeyspaceId"` // Time to live of the Cosmos DB Cassandra table. Possible values are at least `-1`. `-1` means the Cassandra table never expires. DefaultTtl pulumi.IntOutput `pulumi:"defaultTtl"` // Specifies the name of the Cosmos DB Cassandra Table. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // A `schema` block as defined below. Changing this forces a new resource to be created. Schema CassandraTableSchemaOutput `pulumi:"schema"` Throughput pulumi.IntOutput `pulumi:"throughput"` }
Manages a Cassandra Table within a Cosmos DB Cassandra Keyspace.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.LookupResourceGroup(ctx, &core.LookupResourceGroupArgs{ Name: "tflex-cosmosdb-account-rg", }, nil) if err != nil { return err } exampleAccount, err := cosmosdb.NewAccount(ctx, "exampleAccount", &cosmosdb.AccountArgs{ ResourceGroupName: pulumi.String(exampleResourceGroup.Name), Location: pulumi.String(exampleResourceGroup.Location), OfferType: pulumi.String("Standard"), Capabilities: cosmosdb.AccountCapabilityArray{ &cosmosdb.AccountCapabilityArgs{ Name: pulumi.String("EnableCassandra"), }, }, ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{ ConsistencyLevel: pulumi.String("Strong"), }, GeoLocations: cosmosdb.AccountGeoLocationArray{ &cosmosdb.AccountGeoLocationArgs{ Location: pulumi.String("West US"), FailoverPriority: pulumi.Int(0), }, }, }) if err != nil { return err } exampleCassandraKeyspace, err := cosmosdb.NewCassandraKeyspace(ctx, "exampleCassandraKeyspace", &cosmosdb.CassandraKeyspaceArgs{ ResourceGroupName: exampleAccount.ResourceGroupName, AccountName: exampleAccount.Name, Throughput: pulumi.Int(400), }) if err != nil { return err } _, err = cosmosdb.NewCassandraTable(ctx, "exampleCassandraTable", &cosmosdb.CassandraTableArgs{ CassandraKeyspaceId: exampleCassandraKeyspace.ID(), Schema: &cosmosdb.CassandraTableSchemaArgs{ Columns: cosmosdb.CassandraTableSchemaColumnArray{ &cosmosdb.CassandraTableSchemaColumnArgs{ Name: pulumi.String("test1"), Type: pulumi.String("ascii"), }, &cosmosdb.CassandraTableSchemaColumnArgs{ Name: pulumi.String("test2"), Type: pulumi.String("int"), }, }, PartitionKeys: cosmosdb.CassandraTableSchemaPartitionKeyArray{ &cosmosdb.CassandraTableSchemaPartitionKeyArgs{ Name: pulumi.String("test1"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Cosmos Cassandra Table can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/cassandraTable:CassandraTable ks1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/cassandraKeyspaces/ks1/tables/table1
```
func GetCassandraTable ¶
func GetCassandraTable(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CassandraTableState, opts ...pulumi.ResourceOption) (*CassandraTable, error)
GetCassandraTable gets an existing CassandraTable 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 NewCassandraTable ¶
func NewCassandraTable(ctx *pulumi.Context, name string, args *CassandraTableArgs, opts ...pulumi.ResourceOption) (*CassandraTable, error)
NewCassandraTable registers a new resource with the given unique name, arguments, and options.
func (*CassandraTable) ElementType ¶
func (*CassandraTable) ElementType() reflect.Type
func (*CassandraTable) ToCassandraTableOutput ¶
func (i *CassandraTable) ToCassandraTableOutput() CassandraTableOutput
func (*CassandraTable) ToCassandraTableOutputWithContext ¶
func (i *CassandraTable) ToCassandraTableOutputWithContext(ctx context.Context) CassandraTableOutput
func (*CassandraTable) ToCassandraTablePtrOutput ¶
func (i *CassandraTable) ToCassandraTablePtrOutput() CassandraTablePtrOutput
func (*CassandraTable) ToCassandraTablePtrOutputWithContext ¶
func (i *CassandraTable) ToCassandraTablePtrOutputWithContext(ctx context.Context) CassandraTablePtrOutput
type CassandraTableArgs ¶
type CassandraTableArgs struct { // Time to live of the Analytical Storage. Possible values are at least `-1`. `-1` means the Analytical Storage never expires. Changing this forces a new resource to be created. AnalyticalStorageTtl pulumi.IntPtrInput AutoscaleSettings CassandraTableAutoscaleSettingsPtrInput // The ID of the Cosmos DB Cassandra Keyspace to create the table within. Changing this forces a new resource to be created. CassandraKeyspaceId pulumi.StringInput // Time to live of the Cosmos DB Cassandra table. Possible values are at least `-1`. `-1` means the Cassandra table never expires. DefaultTtl pulumi.IntPtrInput // Specifies the name of the Cosmos DB Cassandra Table. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A `schema` block as defined below. Changing this forces a new resource to be created. Schema CassandraTableSchemaInput Throughput pulumi.IntPtrInput }
The set of arguments for constructing a CassandraTable resource.
func (CassandraTableArgs) ElementType ¶
func (CassandraTableArgs) ElementType() reflect.Type
type CassandraTableArray ¶
type CassandraTableArray []CassandraTableInput
func (CassandraTableArray) ElementType ¶
func (CassandraTableArray) ElementType() reflect.Type
func (CassandraTableArray) ToCassandraTableArrayOutput ¶
func (i CassandraTableArray) ToCassandraTableArrayOutput() CassandraTableArrayOutput
func (CassandraTableArray) ToCassandraTableArrayOutputWithContext ¶
func (i CassandraTableArray) ToCassandraTableArrayOutputWithContext(ctx context.Context) CassandraTableArrayOutput
type CassandraTableArrayInput ¶
type CassandraTableArrayInput interface { pulumi.Input ToCassandraTableArrayOutput() CassandraTableArrayOutput ToCassandraTableArrayOutputWithContext(context.Context) CassandraTableArrayOutput }
CassandraTableArrayInput is an input type that accepts CassandraTableArray and CassandraTableArrayOutput values. You can construct a concrete instance of `CassandraTableArrayInput` via:
CassandraTableArray{ CassandraTableArgs{...} }
type CassandraTableArrayOutput ¶
type CassandraTableArrayOutput struct{ *pulumi.OutputState }
func (CassandraTableArrayOutput) ElementType ¶
func (CassandraTableArrayOutput) ElementType() reflect.Type
func (CassandraTableArrayOutput) Index ¶
func (o CassandraTableArrayOutput) Index(i pulumi.IntInput) CassandraTableOutput
func (CassandraTableArrayOutput) ToCassandraTableArrayOutput ¶
func (o CassandraTableArrayOutput) ToCassandraTableArrayOutput() CassandraTableArrayOutput
func (CassandraTableArrayOutput) ToCassandraTableArrayOutputWithContext ¶
func (o CassandraTableArrayOutput) ToCassandraTableArrayOutputWithContext(ctx context.Context) CassandraTableArrayOutput
type CassandraTableAutoscaleSettings ¶
type CassandraTableAutoscaleSettings struct { // The maximum throughput of the Cassandra Table (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput *int `pulumi:"maxThroughput"` }
type CassandraTableAutoscaleSettingsArgs ¶
type CassandraTableAutoscaleSettingsArgs struct { // The maximum throughput of the Cassandra Table (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"` }
func (CassandraTableAutoscaleSettingsArgs) ElementType ¶
func (CassandraTableAutoscaleSettingsArgs) ElementType() reflect.Type
func (CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsOutput ¶
func (i CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsOutput() CassandraTableAutoscaleSettingsOutput
func (CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsOutputWithContext ¶
func (i CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsOutputWithContext(ctx context.Context) CassandraTableAutoscaleSettingsOutput
func (CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsPtrOutput ¶
func (i CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsPtrOutput() CassandraTableAutoscaleSettingsPtrOutput
func (CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsPtrOutputWithContext ¶
func (i CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraTableAutoscaleSettingsPtrOutput
type CassandraTableAutoscaleSettingsInput ¶
type CassandraTableAutoscaleSettingsInput interface { pulumi.Input ToCassandraTableAutoscaleSettingsOutput() CassandraTableAutoscaleSettingsOutput ToCassandraTableAutoscaleSettingsOutputWithContext(context.Context) CassandraTableAutoscaleSettingsOutput }
CassandraTableAutoscaleSettingsInput is an input type that accepts CassandraTableAutoscaleSettingsArgs and CassandraTableAutoscaleSettingsOutput values. You can construct a concrete instance of `CassandraTableAutoscaleSettingsInput` via:
CassandraTableAutoscaleSettingsArgs{...}
type CassandraTableAutoscaleSettingsOutput ¶
type CassandraTableAutoscaleSettingsOutput struct{ *pulumi.OutputState }
func (CassandraTableAutoscaleSettingsOutput) ElementType ¶
func (CassandraTableAutoscaleSettingsOutput) ElementType() reflect.Type
func (CassandraTableAutoscaleSettingsOutput) MaxThroughput ¶
func (o CassandraTableAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the Cassandra Table (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsOutput ¶
func (o CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsOutput() CassandraTableAutoscaleSettingsOutput
func (CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsOutputWithContext ¶
func (o CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsOutputWithContext(ctx context.Context) CassandraTableAutoscaleSettingsOutput
func (CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsPtrOutput ¶
func (o CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsPtrOutput() CassandraTableAutoscaleSettingsPtrOutput
func (CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsPtrOutputWithContext ¶
func (o CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraTableAutoscaleSettingsPtrOutput
type CassandraTableAutoscaleSettingsPtrInput ¶
type CassandraTableAutoscaleSettingsPtrInput interface { pulumi.Input ToCassandraTableAutoscaleSettingsPtrOutput() CassandraTableAutoscaleSettingsPtrOutput ToCassandraTableAutoscaleSettingsPtrOutputWithContext(context.Context) CassandraTableAutoscaleSettingsPtrOutput }
CassandraTableAutoscaleSettingsPtrInput is an input type that accepts CassandraTableAutoscaleSettingsArgs, CassandraTableAutoscaleSettingsPtr and CassandraTableAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `CassandraTableAutoscaleSettingsPtrInput` via:
CassandraTableAutoscaleSettingsArgs{...} or: nil
func CassandraTableAutoscaleSettingsPtr ¶
func CassandraTableAutoscaleSettingsPtr(v *CassandraTableAutoscaleSettingsArgs) CassandraTableAutoscaleSettingsPtrInput
type CassandraTableAutoscaleSettingsPtrOutput ¶
type CassandraTableAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }
func (CassandraTableAutoscaleSettingsPtrOutput) ElementType ¶
func (CassandraTableAutoscaleSettingsPtrOutput) ElementType() reflect.Type
func (CassandraTableAutoscaleSettingsPtrOutput) MaxThroughput ¶
func (o CassandraTableAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the Cassandra Table (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (CassandraTableAutoscaleSettingsPtrOutput) ToCassandraTableAutoscaleSettingsPtrOutput ¶
func (o CassandraTableAutoscaleSettingsPtrOutput) ToCassandraTableAutoscaleSettingsPtrOutput() CassandraTableAutoscaleSettingsPtrOutput
func (CassandraTableAutoscaleSettingsPtrOutput) ToCassandraTableAutoscaleSettingsPtrOutputWithContext ¶
func (o CassandraTableAutoscaleSettingsPtrOutput) ToCassandraTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraTableAutoscaleSettingsPtrOutput
type CassandraTableInput ¶
type CassandraTableInput interface { pulumi.Input ToCassandraTableOutput() CassandraTableOutput ToCassandraTableOutputWithContext(ctx context.Context) CassandraTableOutput }
type CassandraTableMap ¶
type CassandraTableMap map[string]CassandraTableInput
func (CassandraTableMap) ElementType ¶
func (CassandraTableMap) ElementType() reflect.Type
func (CassandraTableMap) ToCassandraTableMapOutput ¶
func (i CassandraTableMap) ToCassandraTableMapOutput() CassandraTableMapOutput
func (CassandraTableMap) ToCassandraTableMapOutputWithContext ¶
func (i CassandraTableMap) ToCassandraTableMapOutputWithContext(ctx context.Context) CassandraTableMapOutput
type CassandraTableMapInput ¶
type CassandraTableMapInput interface { pulumi.Input ToCassandraTableMapOutput() CassandraTableMapOutput ToCassandraTableMapOutputWithContext(context.Context) CassandraTableMapOutput }
CassandraTableMapInput is an input type that accepts CassandraTableMap and CassandraTableMapOutput values. You can construct a concrete instance of `CassandraTableMapInput` via:
CassandraTableMap{ "key": CassandraTableArgs{...} }
type CassandraTableMapOutput ¶
type CassandraTableMapOutput struct{ *pulumi.OutputState }
func (CassandraTableMapOutput) ElementType ¶
func (CassandraTableMapOutput) ElementType() reflect.Type
func (CassandraTableMapOutput) MapIndex ¶
func (o CassandraTableMapOutput) MapIndex(k pulumi.StringInput) CassandraTableOutput
func (CassandraTableMapOutput) ToCassandraTableMapOutput ¶
func (o CassandraTableMapOutput) ToCassandraTableMapOutput() CassandraTableMapOutput
func (CassandraTableMapOutput) ToCassandraTableMapOutputWithContext ¶
func (o CassandraTableMapOutput) ToCassandraTableMapOutputWithContext(ctx context.Context) CassandraTableMapOutput
type CassandraTableOutput ¶
type CassandraTableOutput struct {
*pulumi.OutputState
}
func (CassandraTableOutput) ElementType ¶
func (CassandraTableOutput) ElementType() reflect.Type
func (CassandraTableOutput) ToCassandraTableOutput ¶
func (o CassandraTableOutput) ToCassandraTableOutput() CassandraTableOutput
func (CassandraTableOutput) ToCassandraTableOutputWithContext ¶
func (o CassandraTableOutput) ToCassandraTableOutputWithContext(ctx context.Context) CassandraTableOutput
func (CassandraTableOutput) ToCassandraTablePtrOutput ¶
func (o CassandraTableOutput) ToCassandraTablePtrOutput() CassandraTablePtrOutput
func (CassandraTableOutput) ToCassandraTablePtrOutputWithContext ¶
func (o CassandraTableOutput) ToCassandraTablePtrOutputWithContext(ctx context.Context) CassandraTablePtrOutput
type CassandraTablePtrInput ¶
type CassandraTablePtrInput interface { pulumi.Input ToCassandraTablePtrOutput() CassandraTablePtrOutput ToCassandraTablePtrOutputWithContext(ctx context.Context) CassandraTablePtrOutput }
type CassandraTablePtrOutput ¶
type CassandraTablePtrOutput struct {
*pulumi.OutputState
}
func (CassandraTablePtrOutput) ElementType ¶
func (CassandraTablePtrOutput) ElementType() reflect.Type
func (CassandraTablePtrOutput) ToCassandraTablePtrOutput ¶
func (o CassandraTablePtrOutput) ToCassandraTablePtrOutput() CassandraTablePtrOutput
func (CassandraTablePtrOutput) ToCassandraTablePtrOutputWithContext ¶
func (o CassandraTablePtrOutput) ToCassandraTablePtrOutputWithContext(ctx context.Context) CassandraTablePtrOutput
type CassandraTableSchema ¶
type CassandraTableSchema struct { // One or more `clusterKey` blocks as defined below. ClusterKeys []CassandraTableSchemaClusterKey `pulumi:"clusterKeys"` // One or more `column` blocks as defined below. Columns []CassandraTableSchemaColumn `pulumi:"columns"` // One or more `partitionKey` blocks as defined below. PartitionKeys []CassandraTableSchemaPartitionKey `pulumi:"partitionKeys"` }
type CassandraTableSchemaArgs ¶
type CassandraTableSchemaArgs struct { // One or more `clusterKey` blocks as defined below. ClusterKeys CassandraTableSchemaClusterKeyArrayInput `pulumi:"clusterKeys"` // One or more `column` blocks as defined below. Columns CassandraTableSchemaColumnArrayInput `pulumi:"columns"` // One or more `partitionKey` blocks as defined below. PartitionKeys CassandraTableSchemaPartitionKeyArrayInput `pulumi:"partitionKeys"` }
func (CassandraTableSchemaArgs) ElementType ¶
func (CassandraTableSchemaArgs) ElementType() reflect.Type
func (CassandraTableSchemaArgs) ToCassandraTableSchemaOutput ¶
func (i CassandraTableSchemaArgs) ToCassandraTableSchemaOutput() CassandraTableSchemaOutput
func (CassandraTableSchemaArgs) ToCassandraTableSchemaOutputWithContext ¶
func (i CassandraTableSchemaArgs) ToCassandraTableSchemaOutputWithContext(ctx context.Context) CassandraTableSchemaOutput
func (CassandraTableSchemaArgs) ToCassandraTableSchemaPtrOutput ¶
func (i CassandraTableSchemaArgs) ToCassandraTableSchemaPtrOutput() CassandraTableSchemaPtrOutput
func (CassandraTableSchemaArgs) ToCassandraTableSchemaPtrOutputWithContext ¶
func (i CassandraTableSchemaArgs) ToCassandraTableSchemaPtrOutputWithContext(ctx context.Context) CassandraTableSchemaPtrOutput
type CassandraTableSchemaClusterKeyArgs ¶
type CassandraTableSchemaClusterKeyArgs struct { // Name of the cluster key to be created. Name pulumi.StringInput `pulumi:"name"` // Order of the key. Currently supported values are `Asc` and `Desc`. OrderBy pulumi.StringInput `pulumi:"orderBy"` }
func (CassandraTableSchemaClusterKeyArgs) ElementType ¶
func (CassandraTableSchemaClusterKeyArgs) ElementType() reflect.Type
func (CassandraTableSchemaClusterKeyArgs) ToCassandraTableSchemaClusterKeyOutput ¶
func (i CassandraTableSchemaClusterKeyArgs) ToCassandraTableSchemaClusterKeyOutput() CassandraTableSchemaClusterKeyOutput
func (CassandraTableSchemaClusterKeyArgs) ToCassandraTableSchemaClusterKeyOutputWithContext ¶
func (i CassandraTableSchemaClusterKeyArgs) ToCassandraTableSchemaClusterKeyOutputWithContext(ctx context.Context) CassandraTableSchemaClusterKeyOutput
type CassandraTableSchemaClusterKeyArray ¶
type CassandraTableSchemaClusterKeyArray []CassandraTableSchemaClusterKeyInput
func (CassandraTableSchemaClusterKeyArray) ElementType ¶
func (CassandraTableSchemaClusterKeyArray) ElementType() reflect.Type
func (CassandraTableSchemaClusterKeyArray) ToCassandraTableSchemaClusterKeyArrayOutput ¶
func (i CassandraTableSchemaClusterKeyArray) ToCassandraTableSchemaClusterKeyArrayOutput() CassandraTableSchemaClusterKeyArrayOutput
func (CassandraTableSchemaClusterKeyArray) ToCassandraTableSchemaClusterKeyArrayOutputWithContext ¶
func (i CassandraTableSchemaClusterKeyArray) ToCassandraTableSchemaClusterKeyArrayOutputWithContext(ctx context.Context) CassandraTableSchemaClusterKeyArrayOutput
type CassandraTableSchemaClusterKeyArrayInput ¶
type CassandraTableSchemaClusterKeyArrayInput interface { pulumi.Input ToCassandraTableSchemaClusterKeyArrayOutput() CassandraTableSchemaClusterKeyArrayOutput ToCassandraTableSchemaClusterKeyArrayOutputWithContext(context.Context) CassandraTableSchemaClusterKeyArrayOutput }
CassandraTableSchemaClusterKeyArrayInput is an input type that accepts CassandraTableSchemaClusterKeyArray and CassandraTableSchemaClusterKeyArrayOutput values. You can construct a concrete instance of `CassandraTableSchemaClusterKeyArrayInput` via:
CassandraTableSchemaClusterKeyArray{ CassandraTableSchemaClusterKeyArgs{...} }
type CassandraTableSchemaClusterKeyArrayOutput ¶
type CassandraTableSchemaClusterKeyArrayOutput struct{ *pulumi.OutputState }
func (CassandraTableSchemaClusterKeyArrayOutput) ElementType ¶
func (CassandraTableSchemaClusterKeyArrayOutput) ElementType() reflect.Type
func (CassandraTableSchemaClusterKeyArrayOutput) ToCassandraTableSchemaClusterKeyArrayOutput ¶
func (o CassandraTableSchemaClusterKeyArrayOutput) ToCassandraTableSchemaClusterKeyArrayOutput() CassandraTableSchemaClusterKeyArrayOutput
func (CassandraTableSchemaClusterKeyArrayOutput) ToCassandraTableSchemaClusterKeyArrayOutputWithContext ¶
func (o CassandraTableSchemaClusterKeyArrayOutput) ToCassandraTableSchemaClusterKeyArrayOutputWithContext(ctx context.Context) CassandraTableSchemaClusterKeyArrayOutput
type CassandraTableSchemaClusterKeyInput ¶
type CassandraTableSchemaClusterKeyInput interface { pulumi.Input ToCassandraTableSchemaClusterKeyOutput() CassandraTableSchemaClusterKeyOutput ToCassandraTableSchemaClusterKeyOutputWithContext(context.Context) CassandraTableSchemaClusterKeyOutput }
CassandraTableSchemaClusterKeyInput is an input type that accepts CassandraTableSchemaClusterKeyArgs and CassandraTableSchemaClusterKeyOutput values. You can construct a concrete instance of `CassandraTableSchemaClusterKeyInput` via:
CassandraTableSchemaClusterKeyArgs{...}
type CassandraTableSchemaClusterKeyOutput ¶
type CassandraTableSchemaClusterKeyOutput struct{ *pulumi.OutputState }
func (CassandraTableSchemaClusterKeyOutput) ElementType ¶
func (CassandraTableSchemaClusterKeyOutput) ElementType() reflect.Type
func (CassandraTableSchemaClusterKeyOutput) Name ¶
func (o CassandraTableSchemaClusterKeyOutput) Name() pulumi.StringOutput
Name of the cluster key to be created.
func (CassandraTableSchemaClusterKeyOutput) OrderBy ¶
func (o CassandraTableSchemaClusterKeyOutput) OrderBy() pulumi.StringOutput
Order of the key. Currently supported values are `Asc` and `Desc`.
func (CassandraTableSchemaClusterKeyOutput) ToCassandraTableSchemaClusterKeyOutput ¶
func (o CassandraTableSchemaClusterKeyOutput) ToCassandraTableSchemaClusterKeyOutput() CassandraTableSchemaClusterKeyOutput
func (CassandraTableSchemaClusterKeyOutput) ToCassandraTableSchemaClusterKeyOutputWithContext ¶
func (o CassandraTableSchemaClusterKeyOutput) ToCassandraTableSchemaClusterKeyOutputWithContext(ctx context.Context) CassandraTableSchemaClusterKeyOutput
type CassandraTableSchemaColumnArgs ¶
type CassandraTableSchemaColumnArgs struct { // Name of the column to be created. Name pulumi.StringInput `pulumi:"name"` // Type of the column to be created. Type pulumi.StringInput `pulumi:"type"` }
func (CassandraTableSchemaColumnArgs) ElementType ¶
func (CassandraTableSchemaColumnArgs) ElementType() reflect.Type
func (CassandraTableSchemaColumnArgs) ToCassandraTableSchemaColumnOutput ¶
func (i CassandraTableSchemaColumnArgs) ToCassandraTableSchemaColumnOutput() CassandraTableSchemaColumnOutput
func (CassandraTableSchemaColumnArgs) ToCassandraTableSchemaColumnOutputWithContext ¶
func (i CassandraTableSchemaColumnArgs) ToCassandraTableSchemaColumnOutputWithContext(ctx context.Context) CassandraTableSchemaColumnOutput
type CassandraTableSchemaColumnArray ¶
type CassandraTableSchemaColumnArray []CassandraTableSchemaColumnInput
func (CassandraTableSchemaColumnArray) ElementType ¶
func (CassandraTableSchemaColumnArray) ElementType() reflect.Type
func (CassandraTableSchemaColumnArray) ToCassandraTableSchemaColumnArrayOutput ¶
func (i CassandraTableSchemaColumnArray) ToCassandraTableSchemaColumnArrayOutput() CassandraTableSchemaColumnArrayOutput
func (CassandraTableSchemaColumnArray) ToCassandraTableSchemaColumnArrayOutputWithContext ¶
func (i CassandraTableSchemaColumnArray) ToCassandraTableSchemaColumnArrayOutputWithContext(ctx context.Context) CassandraTableSchemaColumnArrayOutput
type CassandraTableSchemaColumnArrayInput ¶
type CassandraTableSchemaColumnArrayInput interface { pulumi.Input ToCassandraTableSchemaColumnArrayOutput() CassandraTableSchemaColumnArrayOutput ToCassandraTableSchemaColumnArrayOutputWithContext(context.Context) CassandraTableSchemaColumnArrayOutput }
CassandraTableSchemaColumnArrayInput is an input type that accepts CassandraTableSchemaColumnArray and CassandraTableSchemaColumnArrayOutput values. You can construct a concrete instance of `CassandraTableSchemaColumnArrayInput` via:
CassandraTableSchemaColumnArray{ CassandraTableSchemaColumnArgs{...} }
type CassandraTableSchemaColumnArrayOutput ¶
type CassandraTableSchemaColumnArrayOutput struct{ *pulumi.OutputState }
func (CassandraTableSchemaColumnArrayOutput) ElementType ¶
func (CassandraTableSchemaColumnArrayOutput) ElementType() reflect.Type
func (CassandraTableSchemaColumnArrayOutput) Index ¶
func (o CassandraTableSchemaColumnArrayOutput) Index(i pulumi.IntInput) CassandraTableSchemaColumnOutput
func (CassandraTableSchemaColumnArrayOutput) ToCassandraTableSchemaColumnArrayOutput ¶
func (o CassandraTableSchemaColumnArrayOutput) ToCassandraTableSchemaColumnArrayOutput() CassandraTableSchemaColumnArrayOutput
func (CassandraTableSchemaColumnArrayOutput) ToCassandraTableSchemaColumnArrayOutputWithContext ¶
func (o CassandraTableSchemaColumnArrayOutput) ToCassandraTableSchemaColumnArrayOutputWithContext(ctx context.Context) CassandraTableSchemaColumnArrayOutput
type CassandraTableSchemaColumnInput ¶
type CassandraTableSchemaColumnInput interface { pulumi.Input ToCassandraTableSchemaColumnOutput() CassandraTableSchemaColumnOutput ToCassandraTableSchemaColumnOutputWithContext(context.Context) CassandraTableSchemaColumnOutput }
CassandraTableSchemaColumnInput is an input type that accepts CassandraTableSchemaColumnArgs and CassandraTableSchemaColumnOutput values. You can construct a concrete instance of `CassandraTableSchemaColumnInput` via:
CassandraTableSchemaColumnArgs{...}
type CassandraTableSchemaColumnOutput ¶
type CassandraTableSchemaColumnOutput struct{ *pulumi.OutputState }
func (CassandraTableSchemaColumnOutput) ElementType ¶
func (CassandraTableSchemaColumnOutput) ElementType() reflect.Type
func (CassandraTableSchemaColumnOutput) Name ¶
func (o CassandraTableSchemaColumnOutput) Name() pulumi.StringOutput
Name of the column to be created.
func (CassandraTableSchemaColumnOutput) ToCassandraTableSchemaColumnOutput ¶
func (o CassandraTableSchemaColumnOutput) ToCassandraTableSchemaColumnOutput() CassandraTableSchemaColumnOutput
func (CassandraTableSchemaColumnOutput) ToCassandraTableSchemaColumnOutputWithContext ¶
func (o CassandraTableSchemaColumnOutput) ToCassandraTableSchemaColumnOutputWithContext(ctx context.Context) CassandraTableSchemaColumnOutput
func (CassandraTableSchemaColumnOutput) Type ¶
func (o CassandraTableSchemaColumnOutput) Type() pulumi.StringOutput
Type of the column to be created.
type CassandraTableSchemaInput ¶
type CassandraTableSchemaInput interface { pulumi.Input ToCassandraTableSchemaOutput() CassandraTableSchemaOutput ToCassandraTableSchemaOutputWithContext(context.Context) CassandraTableSchemaOutput }
CassandraTableSchemaInput is an input type that accepts CassandraTableSchemaArgs and CassandraTableSchemaOutput values. You can construct a concrete instance of `CassandraTableSchemaInput` via:
CassandraTableSchemaArgs{...}
type CassandraTableSchemaOutput ¶
type CassandraTableSchemaOutput struct{ *pulumi.OutputState }
func (CassandraTableSchemaOutput) ClusterKeys ¶
func (o CassandraTableSchemaOutput) ClusterKeys() CassandraTableSchemaClusterKeyArrayOutput
One or more `clusterKey` blocks as defined below.
func (CassandraTableSchemaOutput) Columns ¶
func (o CassandraTableSchemaOutput) Columns() CassandraTableSchemaColumnArrayOutput
One or more `column` blocks as defined below.
func (CassandraTableSchemaOutput) ElementType ¶
func (CassandraTableSchemaOutput) ElementType() reflect.Type
func (CassandraTableSchemaOutput) PartitionKeys ¶
func (o CassandraTableSchemaOutput) PartitionKeys() CassandraTableSchemaPartitionKeyArrayOutput
One or more `partitionKey` blocks as defined below.
func (CassandraTableSchemaOutput) ToCassandraTableSchemaOutput ¶
func (o CassandraTableSchemaOutput) ToCassandraTableSchemaOutput() CassandraTableSchemaOutput
func (CassandraTableSchemaOutput) ToCassandraTableSchemaOutputWithContext ¶
func (o CassandraTableSchemaOutput) ToCassandraTableSchemaOutputWithContext(ctx context.Context) CassandraTableSchemaOutput
func (CassandraTableSchemaOutput) ToCassandraTableSchemaPtrOutput ¶
func (o CassandraTableSchemaOutput) ToCassandraTableSchemaPtrOutput() CassandraTableSchemaPtrOutput
func (CassandraTableSchemaOutput) ToCassandraTableSchemaPtrOutputWithContext ¶
func (o CassandraTableSchemaOutput) ToCassandraTableSchemaPtrOutputWithContext(ctx context.Context) CassandraTableSchemaPtrOutput
type CassandraTableSchemaPartitionKey ¶
type CassandraTableSchemaPartitionKey struct { // Name of the column to partition by. Name string `pulumi:"name"` }
type CassandraTableSchemaPartitionKeyArgs ¶
type CassandraTableSchemaPartitionKeyArgs struct { // Name of the column to partition by. Name pulumi.StringInput `pulumi:"name"` }
func (CassandraTableSchemaPartitionKeyArgs) ElementType ¶
func (CassandraTableSchemaPartitionKeyArgs) ElementType() reflect.Type
func (CassandraTableSchemaPartitionKeyArgs) ToCassandraTableSchemaPartitionKeyOutput ¶
func (i CassandraTableSchemaPartitionKeyArgs) ToCassandraTableSchemaPartitionKeyOutput() CassandraTableSchemaPartitionKeyOutput
func (CassandraTableSchemaPartitionKeyArgs) ToCassandraTableSchemaPartitionKeyOutputWithContext ¶
func (i CassandraTableSchemaPartitionKeyArgs) ToCassandraTableSchemaPartitionKeyOutputWithContext(ctx context.Context) CassandraTableSchemaPartitionKeyOutput
type CassandraTableSchemaPartitionKeyArray ¶
type CassandraTableSchemaPartitionKeyArray []CassandraTableSchemaPartitionKeyInput
func (CassandraTableSchemaPartitionKeyArray) ElementType ¶
func (CassandraTableSchemaPartitionKeyArray) ElementType() reflect.Type
func (CassandraTableSchemaPartitionKeyArray) ToCassandraTableSchemaPartitionKeyArrayOutput ¶
func (i CassandraTableSchemaPartitionKeyArray) ToCassandraTableSchemaPartitionKeyArrayOutput() CassandraTableSchemaPartitionKeyArrayOutput
func (CassandraTableSchemaPartitionKeyArray) ToCassandraTableSchemaPartitionKeyArrayOutputWithContext ¶
func (i CassandraTableSchemaPartitionKeyArray) ToCassandraTableSchemaPartitionKeyArrayOutputWithContext(ctx context.Context) CassandraTableSchemaPartitionKeyArrayOutput
type CassandraTableSchemaPartitionKeyArrayInput ¶
type CassandraTableSchemaPartitionKeyArrayInput interface { pulumi.Input ToCassandraTableSchemaPartitionKeyArrayOutput() CassandraTableSchemaPartitionKeyArrayOutput ToCassandraTableSchemaPartitionKeyArrayOutputWithContext(context.Context) CassandraTableSchemaPartitionKeyArrayOutput }
CassandraTableSchemaPartitionKeyArrayInput is an input type that accepts CassandraTableSchemaPartitionKeyArray and CassandraTableSchemaPartitionKeyArrayOutput values. You can construct a concrete instance of `CassandraTableSchemaPartitionKeyArrayInput` via:
CassandraTableSchemaPartitionKeyArray{ CassandraTableSchemaPartitionKeyArgs{...} }
type CassandraTableSchemaPartitionKeyArrayOutput ¶
type CassandraTableSchemaPartitionKeyArrayOutput struct{ *pulumi.OutputState }
func (CassandraTableSchemaPartitionKeyArrayOutput) ElementType ¶
func (CassandraTableSchemaPartitionKeyArrayOutput) ElementType() reflect.Type
func (CassandraTableSchemaPartitionKeyArrayOutput) ToCassandraTableSchemaPartitionKeyArrayOutput ¶
func (o CassandraTableSchemaPartitionKeyArrayOutput) ToCassandraTableSchemaPartitionKeyArrayOutput() CassandraTableSchemaPartitionKeyArrayOutput
func (CassandraTableSchemaPartitionKeyArrayOutput) ToCassandraTableSchemaPartitionKeyArrayOutputWithContext ¶
func (o CassandraTableSchemaPartitionKeyArrayOutput) ToCassandraTableSchemaPartitionKeyArrayOutputWithContext(ctx context.Context) CassandraTableSchemaPartitionKeyArrayOutput
type CassandraTableSchemaPartitionKeyInput ¶
type CassandraTableSchemaPartitionKeyInput interface { pulumi.Input ToCassandraTableSchemaPartitionKeyOutput() CassandraTableSchemaPartitionKeyOutput ToCassandraTableSchemaPartitionKeyOutputWithContext(context.Context) CassandraTableSchemaPartitionKeyOutput }
CassandraTableSchemaPartitionKeyInput is an input type that accepts CassandraTableSchemaPartitionKeyArgs and CassandraTableSchemaPartitionKeyOutput values. You can construct a concrete instance of `CassandraTableSchemaPartitionKeyInput` via:
CassandraTableSchemaPartitionKeyArgs{...}
type CassandraTableSchemaPartitionKeyOutput ¶
type CassandraTableSchemaPartitionKeyOutput struct{ *pulumi.OutputState }
func (CassandraTableSchemaPartitionKeyOutput) ElementType ¶
func (CassandraTableSchemaPartitionKeyOutput) ElementType() reflect.Type
func (CassandraTableSchemaPartitionKeyOutput) Name ¶
func (o CassandraTableSchemaPartitionKeyOutput) Name() pulumi.StringOutput
Name of the column to partition by.
func (CassandraTableSchemaPartitionKeyOutput) ToCassandraTableSchemaPartitionKeyOutput ¶
func (o CassandraTableSchemaPartitionKeyOutput) ToCassandraTableSchemaPartitionKeyOutput() CassandraTableSchemaPartitionKeyOutput
func (CassandraTableSchemaPartitionKeyOutput) ToCassandraTableSchemaPartitionKeyOutputWithContext ¶
func (o CassandraTableSchemaPartitionKeyOutput) ToCassandraTableSchemaPartitionKeyOutputWithContext(ctx context.Context) CassandraTableSchemaPartitionKeyOutput
type CassandraTableSchemaPtrInput ¶
type CassandraTableSchemaPtrInput interface { pulumi.Input ToCassandraTableSchemaPtrOutput() CassandraTableSchemaPtrOutput ToCassandraTableSchemaPtrOutputWithContext(context.Context) CassandraTableSchemaPtrOutput }
CassandraTableSchemaPtrInput is an input type that accepts CassandraTableSchemaArgs, CassandraTableSchemaPtr and CassandraTableSchemaPtrOutput values. You can construct a concrete instance of `CassandraTableSchemaPtrInput` via:
CassandraTableSchemaArgs{...} or: nil
func CassandraTableSchemaPtr ¶
func CassandraTableSchemaPtr(v *CassandraTableSchemaArgs) CassandraTableSchemaPtrInput
type CassandraTableSchemaPtrOutput ¶
type CassandraTableSchemaPtrOutput struct{ *pulumi.OutputState }
func (CassandraTableSchemaPtrOutput) ClusterKeys ¶
func (o CassandraTableSchemaPtrOutput) ClusterKeys() CassandraTableSchemaClusterKeyArrayOutput
One or more `clusterKey` blocks as defined below.
func (CassandraTableSchemaPtrOutput) Columns ¶
func (o CassandraTableSchemaPtrOutput) Columns() CassandraTableSchemaColumnArrayOutput
One or more `column` blocks as defined below.
func (CassandraTableSchemaPtrOutput) Elem ¶
func (o CassandraTableSchemaPtrOutput) Elem() CassandraTableSchemaOutput
func (CassandraTableSchemaPtrOutput) ElementType ¶
func (CassandraTableSchemaPtrOutput) ElementType() reflect.Type
func (CassandraTableSchemaPtrOutput) PartitionKeys ¶
func (o CassandraTableSchemaPtrOutput) PartitionKeys() CassandraTableSchemaPartitionKeyArrayOutput
One or more `partitionKey` blocks as defined below.
func (CassandraTableSchemaPtrOutput) ToCassandraTableSchemaPtrOutput ¶
func (o CassandraTableSchemaPtrOutput) ToCassandraTableSchemaPtrOutput() CassandraTableSchemaPtrOutput
func (CassandraTableSchemaPtrOutput) ToCassandraTableSchemaPtrOutputWithContext ¶
func (o CassandraTableSchemaPtrOutput) ToCassandraTableSchemaPtrOutputWithContext(ctx context.Context) CassandraTableSchemaPtrOutput
type CassandraTableState ¶
type CassandraTableState struct { // Time to live of the Analytical Storage. Possible values are at least `-1`. `-1` means the Analytical Storage never expires. Changing this forces a new resource to be created. AnalyticalStorageTtl pulumi.IntPtrInput AutoscaleSettings CassandraTableAutoscaleSettingsPtrInput // The ID of the Cosmos DB Cassandra Keyspace to create the table within. Changing this forces a new resource to be created. CassandraKeyspaceId pulumi.StringPtrInput // Time to live of the Cosmos DB Cassandra table. Possible values are at least `-1`. `-1` means the Cassandra table never expires. DefaultTtl pulumi.IntPtrInput // Specifies the name of the Cosmos DB Cassandra Table. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A `schema` block as defined below. Changing this forces a new resource to be created. Schema CassandraTableSchemaPtrInput Throughput pulumi.IntPtrInput }
func (CassandraTableState) ElementType ¶
func (CassandraTableState) ElementType() reflect.Type
type GetAccountCapability ¶
type GetAccountCapability struct { // Specifies the name of the CosmosDB Account. Name string `pulumi:"name"` }
type GetAccountCapabilityArgs ¶
type GetAccountCapabilityArgs struct { // Specifies the name of the CosmosDB Account. Name pulumi.StringInput `pulumi:"name"` }
func (GetAccountCapabilityArgs) ElementType ¶
func (GetAccountCapabilityArgs) ElementType() reflect.Type
func (GetAccountCapabilityArgs) ToGetAccountCapabilityOutput ¶
func (i GetAccountCapabilityArgs) ToGetAccountCapabilityOutput() GetAccountCapabilityOutput
func (GetAccountCapabilityArgs) ToGetAccountCapabilityOutputWithContext ¶
func (i GetAccountCapabilityArgs) ToGetAccountCapabilityOutputWithContext(ctx context.Context) GetAccountCapabilityOutput
type GetAccountCapabilityArray ¶
type GetAccountCapabilityArray []GetAccountCapabilityInput
func (GetAccountCapabilityArray) ElementType ¶
func (GetAccountCapabilityArray) ElementType() reflect.Type
func (GetAccountCapabilityArray) ToGetAccountCapabilityArrayOutput ¶
func (i GetAccountCapabilityArray) ToGetAccountCapabilityArrayOutput() GetAccountCapabilityArrayOutput
func (GetAccountCapabilityArray) ToGetAccountCapabilityArrayOutputWithContext ¶
func (i GetAccountCapabilityArray) ToGetAccountCapabilityArrayOutputWithContext(ctx context.Context) GetAccountCapabilityArrayOutput
type GetAccountCapabilityArrayInput ¶
type GetAccountCapabilityArrayInput interface { pulumi.Input ToGetAccountCapabilityArrayOutput() GetAccountCapabilityArrayOutput ToGetAccountCapabilityArrayOutputWithContext(context.Context) GetAccountCapabilityArrayOutput }
GetAccountCapabilityArrayInput is an input type that accepts GetAccountCapabilityArray and GetAccountCapabilityArrayOutput values. You can construct a concrete instance of `GetAccountCapabilityArrayInput` via:
GetAccountCapabilityArray{ GetAccountCapabilityArgs{...} }
type GetAccountCapabilityArrayOutput ¶
type GetAccountCapabilityArrayOutput struct{ *pulumi.OutputState }
func (GetAccountCapabilityArrayOutput) ElementType ¶
func (GetAccountCapabilityArrayOutput) ElementType() reflect.Type
func (GetAccountCapabilityArrayOutput) Index ¶
func (o GetAccountCapabilityArrayOutput) Index(i pulumi.IntInput) GetAccountCapabilityOutput
func (GetAccountCapabilityArrayOutput) ToGetAccountCapabilityArrayOutput ¶
func (o GetAccountCapabilityArrayOutput) ToGetAccountCapabilityArrayOutput() GetAccountCapabilityArrayOutput
func (GetAccountCapabilityArrayOutput) ToGetAccountCapabilityArrayOutputWithContext ¶
func (o GetAccountCapabilityArrayOutput) ToGetAccountCapabilityArrayOutputWithContext(ctx context.Context) GetAccountCapabilityArrayOutput
type GetAccountCapabilityInput ¶
type GetAccountCapabilityInput interface { pulumi.Input ToGetAccountCapabilityOutput() GetAccountCapabilityOutput ToGetAccountCapabilityOutputWithContext(context.Context) GetAccountCapabilityOutput }
GetAccountCapabilityInput is an input type that accepts GetAccountCapabilityArgs and GetAccountCapabilityOutput values. You can construct a concrete instance of `GetAccountCapabilityInput` via:
GetAccountCapabilityArgs{...}
type GetAccountCapabilityOutput ¶
type GetAccountCapabilityOutput struct{ *pulumi.OutputState }
func (GetAccountCapabilityOutput) ElementType ¶
func (GetAccountCapabilityOutput) ElementType() reflect.Type
func (GetAccountCapabilityOutput) Name ¶
func (o GetAccountCapabilityOutput) Name() pulumi.StringOutput
Specifies the name of the CosmosDB Account.
func (GetAccountCapabilityOutput) ToGetAccountCapabilityOutput ¶
func (o GetAccountCapabilityOutput) ToGetAccountCapabilityOutput() GetAccountCapabilityOutput
func (GetAccountCapabilityOutput) ToGetAccountCapabilityOutputWithContext ¶
func (o GetAccountCapabilityOutput) ToGetAccountCapabilityOutputWithContext(ctx context.Context) GetAccountCapabilityOutput
type GetAccountConsistencyPolicy ¶
type GetAccountConsistencyPolicy struct { // The Consistency Level used by this CosmosDB Account. ConsistencyLevel string `pulumi:"consistencyLevel"` // The amount of staleness (in seconds) tolerated when the consistency level is Bounded Staleness. MaxIntervalInSeconds int `pulumi:"maxIntervalInSeconds"` // The number of stale requests tolerated when the consistency level is Bounded Staleness. MaxStalenessPrefix int `pulumi:"maxStalenessPrefix"` }
type GetAccountConsistencyPolicyArgs ¶
type GetAccountConsistencyPolicyArgs struct { // The Consistency Level used by this CosmosDB Account. ConsistencyLevel pulumi.StringInput `pulumi:"consistencyLevel"` // The amount of staleness (in seconds) tolerated when the consistency level is Bounded Staleness. MaxIntervalInSeconds pulumi.IntInput `pulumi:"maxIntervalInSeconds"` // The number of stale requests tolerated when the consistency level is Bounded Staleness. MaxStalenessPrefix pulumi.IntInput `pulumi:"maxStalenessPrefix"` }
func (GetAccountConsistencyPolicyArgs) ElementType ¶
func (GetAccountConsistencyPolicyArgs) ElementType() reflect.Type
func (GetAccountConsistencyPolicyArgs) ToGetAccountConsistencyPolicyOutput ¶
func (i GetAccountConsistencyPolicyArgs) ToGetAccountConsistencyPolicyOutput() GetAccountConsistencyPolicyOutput
func (GetAccountConsistencyPolicyArgs) ToGetAccountConsistencyPolicyOutputWithContext ¶
func (i GetAccountConsistencyPolicyArgs) ToGetAccountConsistencyPolicyOutputWithContext(ctx context.Context) GetAccountConsistencyPolicyOutput
type GetAccountConsistencyPolicyArray ¶
type GetAccountConsistencyPolicyArray []GetAccountConsistencyPolicyInput
func (GetAccountConsistencyPolicyArray) ElementType ¶
func (GetAccountConsistencyPolicyArray) ElementType() reflect.Type
func (GetAccountConsistencyPolicyArray) ToGetAccountConsistencyPolicyArrayOutput ¶
func (i GetAccountConsistencyPolicyArray) ToGetAccountConsistencyPolicyArrayOutput() GetAccountConsistencyPolicyArrayOutput
func (GetAccountConsistencyPolicyArray) ToGetAccountConsistencyPolicyArrayOutputWithContext ¶
func (i GetAccountConsistencyPolicyArray) ToGetAccountConsistencyPolicyArrayOutputWithContext(ctx context.Context) GetAccountConsistencyPolicyArrayOutput
type GetAccountConsistencyPolicyArrayInput ¶
type GetAccountConsistencyPolicyArrayInput interface { pulumi.Input ToGetAccountConsistencyPolicyArrayOutput() GetAccountConsistencyPolicyArrayOutput ToGetAccountConsistencyPolicyArrayOutputWithContext(context.Context) GetAccountConsistencyPolicyArrayOutput }
GetAccountConsistencyPolicyArrayInput is an input type that accepts GetAccountConsistencyPolicyArray and GetAccountConsistencyPolicyArrayOutput values. You can construct a concrete instance of `GetAccountConsistencyPolicyArrayInput` via:
GetAccountConsistencyPolicyArray{ GetAccountConsistencyPolicyArgs{...} }
type GetAccountConsistencyPolicyArrayOutput ¶
type GetAccountConsistencyPolicyArrayOutput struct{ *pulumi.OutputState }
func (GetAccountConsistencyPolicyArrayOutput) ElementType ¶
func (GetAccountConsistencyPolicyArrayOutput) ElementType() reflect.Type
func (GetAccountConsistencyPolicyArrayOutput) ToGetAccountConsistencyPolicyArrayOutput ¶
func (o GetAccountConsistencyPolicyArrayOutput) ToGetAccountConsistencyPolicyArrayOutput() GetAccountConsistencyPolicyArrayOutput
func (GetAccountConsistencyPolicyArrayOutput) ToGetAccountConsistencyPolicyArrayOutputWithContext ¶
func (o GetAccountConsistencyPolicyArrayOutput) ToGetAccountConsistencyPolicyArrayOutputWithContext(ctx context.Context) GetAccountConsistencyPolicyArrayOutput
type GetAccountConsistencyPolicyInput ¶
type GetAccountConsistencyPolicyInput interface { pulumi.Input ToGetAccountConsistencyPolicyOutput() GetAccountConsistencyPolicyOutput ToGetAccountConsistencyPolicyOutputWithContext(context.Context) GetAccountConsistencyPolicyOutput }
GetAccountConsistencyPolicyInput is an input type that accepts GetAccountConsistencyPolicyArgs and GetAccountConsistencyPolicyOutput values. You can construct a concrete instance of `GetAccountConsistencyPolicyInput` via:
GetAccountConsistencyPolicyArgs{...}
type GetAccountConsistencyPolicyOutput ¶
type GetAccountConsistencyPolicyOutput struct{ *pulumi.OutputState }
func (GetAccountConsistencyPolicyOutput) ConsistencyLevel ¶
func (o GetAccountConsistencyPolicyOutput) ConsistencyLevel() pulumi.StringOutput
The Consistency Level used by this CosmosDB Account.
func (GetAccountConsistencyPolicyOutput) ElementType ¶
func (GetAccountConsistencyPolicyOutput) ElementType() reflect.Type
func (GetAccountConsistencyPolicyOutput) MaxIntervalInSeconds ¶
func (o GetAccountConsistencyPolicyOutput) MaxIntervalInSeconds() pulumi.IntOutput
The amount of staleness (in seconds) tolerated when the consistency level is Bounded Staleness.
func (GetAccountConsistencyPolicyOutput) MaxStalenessPrefix ¶
func (o GetAccountConsistencyPolicyOutput) MaxStalenessPrefix() pulumi.IntOutput
The number of stale requests tolerated when the consistency level is Bounded Staleness.
func (GetAccountConsistencyPolicyOutput) ToGetAccountConsistencyPolicyOutput ¶
func (o GetAccountConsistencyPolicyOutput) ToGetAccountConsistencyPolicyOutput() GetAccountConsistencyPolicyOutput
func (GetAccountConsistencyPolicyOutput) ToGetAccountConsistencyPolicyOutputWithContext ¶
func (o GetAccountConsistencyPolicyOutput) ToGetAccountConsistencyPolicyOutputWithContext(ctx context.Context) GetAccountConsistencyPolicyOutput
type GetAccountGeoLocation ¶
type GetAccountGeoLocationArgs ¶
type GetAccountGeoLocationArgs struct { FailoverPriority pulumi.IntInput `pulumi:"failoverPriority"` // The ID of the virtual network subnet. Id pulumi.StringInput `pulumi:"id"` // The name of the Azure region hosting replicated data. Location pulumi.StringInput `pulumi:"location"` }
func (GetAccountGeoLocationArgs) ElementType ¶
func (GetAccountGeoLocationArgs) ElementType() reflect.Type
func (GetAccountGeoLocationArgs) ToGetAccountGeoLocationOutput ¶
func (i GetAccountGeoLocationArgs) ToGetAccountGeoLocationOutput() GetAccountGeoLocationOutput
func (GetAccountGeoLocationArgs) ToGetAccountGeoLocationOutputWithContext ¶
func (i GetAccountGeoLocationArgs) ToGetAccountGeoLocationOutputWithContext(ctx context.Context) GetAccountGeoLocationOutput
type GetAccountGeoLocationArray ¶
type GetAccountGeoLocationArray []GetAccountGeoLocationInput
func (GetAccountGeoLocationArray) ElementType ¶
func (GetAccountGeoLocationArray) ElementType() reflect.Type
func (GetAccountGeoLocationArray) ToGetAccountGeoLocationArrayOutput ¶
func (i GetAccountGeoLocationArray) ToGetAccountGeoLocationArrayOutput() GetAccountGeoLocationArrayOutput
func (GetAccountGeoLocationArray) ToGetAccountGeoLocationArrayOutputWithContext ¶
func (i GetAccountGeoLocationArray) ToGetAccountGeoLocationArrayOutputWithContext(ctx context.Context) GetAccountGeoLocationArrayOutput
type GetAccountGeoLocationArrayInput ¶
type GetAccountGeoLocationArrayInput interface { pulumi.Input ToGetAccountGeoLocationArrayOutput() GetAccountGeoLocationArrayOutput ToGetAccountGeoLocationArrayOutputWithContext(context.Context) GetAccountGeoLocationArrayOutput }
GetAccountGeoLocationArrayInput is an input type that accepts GetAccountGeoLocationArray and GetAccountGeoLocationArrayOutput values. You can construct a concrete instance of `GetAccountGeoLocationArrayInput` via:
GetAccountGeoLocationArray{ GetAccountGeoLocationArgs{...} }
type GetAccountGeoLocationArrayOutput ¶
type GetAccountGeoLocationArrayOutput struct{ *pulumi.OutputState }
func (GetAccountGeoLocationArrayOutput) ElementType ¶
func (GetAccountGeoLocationArrayOutput) ElementType() reflect.Type
func (GetAccountGeoLocationArrayOutput) Index ¶
func (o GetAccountGeoLocationArrayOutput) Index(i pulumi.IntInput) GetAccountGeoLocationOutput
func (GetAccountGeoLocationArrayOutput) ToGetAccountGeoLocationArrayOutput ¶
func (o GetAccountGeoLocationArrayOutput) ToGetAccountGeoLocationArrayOutput() GetAccountGeoLocationArrayOutput
func (GetAccountGeoLocationArrayOutput) ToGetAccountGeoLocationArrayOutputWithContext ¶
func (o GetAccountGeoLocationArrayOutput) ToGetAccountGeoLocationArrayOutputWithContext(ctx context.Context) GetAccountGeoLocationArrayOutput
type GetAccountGeoLocationInput ¶
type GetAccountGeoLocationInput interface { pulumi.Input ToGetAccountGeoLocationOutput() GetAccountGeoLocationOutput ToGetAccountGeoLocationOutputWithContext(context.Context) GetAccountGeoLocationOutput }
GetAccountGeoLocationInput is an input type that accepts GetAccountGeoLocationArgs and GetAccountGeoLocationOutput values. You can construct a concrete instance of `GetAccountGeoLocationInput` via:
GetAccountGeoLocationArgs{...}
type GetAccountGeoLocationOutput ¶
type GetAccountGeoLocationOutput struct{ *pulumi.OutputState }
func (GetAccountGeoLocationOutput) ElementType ¶
func (GetAccountGeoLocationOutput) ElementType() reflect.Type
func (GetAccountGeoLocationOutput) FailoverPriority ¶
func (o GetAccountGeoLocationOutput) FailoverPriority() pulumi.IntOutput
func (GetAccountGeoLocationOutput) Id ¶
func (o GetAccountGeoLocationOutput) Id() pulumi.StringOutput
The ID of the virtual network subnet.
func (GetAccountGeoLocationOutput) Location ¶
func (o GetAccountGeoLocationOutput) Location() pulumi.StringOutput
The name of the Azure region hosting replicated data.
func (GetAccountGeoLocationOutput) ToGetAccountGeoLocationOutput ¶
func (o GetAccountGeoLocationOutput) ToGetAccountGeoLocationOutput() GetAccountGeoLocationOutput
func (GetAccountGeoLocationOutput) ToGetAccountGeoLocationOutputWithContext ¶
func (o GetAccountGeoLocationOutput) ToGetAccountGeoLocationOutputWithContext(ctx context.Context) GetAccountGeoLocationOutput
type GetAccountVirtualNetworkRule ¶
type GetAccountVirtualNetworkRule struct { // The ID of the virtual network subnet. Id string `pulumi:"id"` }
type GetAccountVirtualNetworkRuleArgs ¶
type GetAccountVirtualNetworkRuleArgs struct { // The ID of the virtual network subnet. Id pulumi.StringInput `pulumi:"id"` }
func (GetAccountVirtualNetworkRuleArgs) ElementType ¶
func (GetAccountVirtualNetworkRuleArgs) ElementType() reflect.Type
func (GetAccountVirtualNetworkRuleArgs) ToGetAccountVirtualNetworkRuleOutput ¶
func (i GetAccountVirtualNetworkRuleArgs) ToGetAccountVirtualNetworkRuleOutput() GetAccountVirtualNetworkRuleOutput
func (GetAccountVirtualNetworkRuleArgs) ToGetAccountVirtualNetworkRuleOutputWithContext ¶
func (i GetAccountVirtualNetworkRuleArgs) ToGetAccountVirtualNetworkRuleOutputWithContext(ctx context.Context) GetAccountVirtualNetworkRuleOutput
type GetAccountVirtualNetworkRuleArray ¶
type GetAccountVirtualNetworkRuleArray []GetAccountVirtualNetworkRuleInput
func (GetAccountVirtualNetworkRuleArray) ElementType ¶
func (GetAccountVirtualNetworkRuleArray) ElementType() reflect.Type
func (GetAccountVirtualNetworkRuleArray) ToGetAccountVirtualNetworkRuleArrayOutput ¶
func (i GetAccountVirtualNetworkRuleArray) ToGetAccountVirtualNetworkRuleArrayOutput() GetAccountVirtualNetworkRuleArrayOutput
func (GetAccountVirtualNetworkRuleArray) ToGetAccountVirtualNetworkRuleArrayOutputWithContext ¶
func (i GetAccountVirtualNetworkRuleArray) ToGetAccountVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) GetAccountVirtualNetworkRuleArrayOutput
type GetAccountVirtualNetworkRuleArrayInput ¶
type GetAccountVirtualNetworkRuleArrayInput interface { pulumi.Input ToGetAccountVirtualNetworkRuleArrayOutput() GetAccountVirtualNetworkRuleArrayOutput ToGetAccountVirtualNetworkRuleArrayOutputWithContext(context.Context) GetAccountVirtualNetworkRuleArrayOutput }
GetAccountVirtualNetworkRuleArrayInput is an input type that accepts GetAccountVirtualNetworkRuleArray and GetAccountVirtualNetworkRuleArrayOutput values. You can construct a concrete instance of `GetAccountVirtualNetworkRuleArrayInput` via:
GetAccountVirtualNetworkRuleArray{ GetAccountVirtualNetworkRuleArgs{...} }
type GetAccountVirtualNetworkRuleArrayOutput ¶
type GetAccountVirtualNetworkRuleArrayOutput struct{ *pulumi.OutputState }
func (GetAccountVirtualNetworkRuleArrayOutput) ElementType ¶
func (GetAccountVirtualNetworkRuleArrayOutput) ElementType() reflect.Type
func (GetAccountVirtualNetworkRuleArrayOutput) ToGetAccountVirtualNetworkRuleArrayOutput ¶
func (o GetAccountVirtualNetworkRuleArrayOutput) ToGetAccountVirtualNetworkRuleArrayOutput() GetAccountVirtualNetworkRuleArrayOutput
func (GetAccountVirtualNetworkRuleArrayOutput) ToGetAccountVirtualNetworkRuleArrayOutputWithContext ¶
func (o GetAccountVirtualNetworkRuleArrayOutput) ToGetAccountVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) GetAccountVirtualNetworkRuleArrayOutput
type GetAccountVirtualNetworkRuleInput ¶
type GetAccountVirtualNetworkRuleInput interface { pulumi.Input ToGetAccountVirtualNetworkRuleOutput() GetAccountVirtualNetworkRuleOutput ToGetAccountVirtualNetworkRuleOutputWithContext(context.Context) GetAccountVirtualNetworkRuleOutput }
GetAccountVirtualNetworkRuleInput is an input type that accepts GetAccountVirtualNetworkRuleArgs and GetAccountVirtualNetworkRuleOutput values. You can construct a concrete instance of `GetAccountVirtualNetworkRuleInput` via:
GetAccountVirtualNetworkRuleArgs{...}
type GetAccountVirtualNetworkRuleOutput ¶
type GetAccountVirtualNetworkRuleOutput struct{ *pulumi.OutputState }
func (GetAccountVirtualNetworkRuleOutput) ElementType ¶
func (GetAccountVirtualNetworkRuleOutput) ElementType() reflect.Type
func (GetAccountVirtualNetworkRuleOutput) Id ¶
func (o GetAccountVirtualNetworkRuleOutput) Id() pulumi.StringOutput
The ID of the virtual network subnet.
func (GetAccountVirtualNetworkRuleOutput) ToGetAccountVirtualNetworkRuleOutput ¶
func (o GetAccountVirtualNetworkRuleOutput) ToGetAccountVirtualNetworkRuleOutput() GetAccountVirtualNetworkRuleOutput
func (GetAccountVirtualNetworkRuleOutput) ToGetAccountVirtualNetworkRuleOutputWithContext ¶
func (o GetAccountVirtualNetworkRuleOutput) ToGetAccountVirtualNetworkRuleOutputWithContext(ctx context.Context) GetAccountVirtualNetworkRuleOutput
type GremlinDatabase ¶
type GremlinDatabase struct { pulumi.CustomResourceState // The name of the CosmosDB Account to create the Gremlin Database within. Changing this forces a new resource to be created. AccountName pulumi.StringOutput `pulumi:"accountName"` // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. AutoscaleSettings GremlinDatabaseAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"` // Specifies the name of the Cosmos DB Gremlin Database. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which the Cosmos DB Gremlin Database is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The throughput of the Gremlin database (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply. Throughput pulumi.IntOutput `pulumi:"throughput"` }
Manages a Gremlin Database within a Cosmos DB Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{ Name: "tfex-cosmosdb-account", ResourceGroupName: "tfex-cosmosdb-account-rg", }, nil) if err != nil { return err } _, err = cosmosdb.NewGremlinDatabase(ctx, "exampleGremlinDatabase", &cosmosdb.GremlinDatabaseArgs{ ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName), AccountName: pulumi.String(exampleAccount.Name), Throughput: pulumi.Int(400), }) if err != nil { return err } return nil }) }
```
## Import
CosmosDB Gremlin Databases can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/gremlinDatabase:GremlinDatabase db1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/gremlinDatabases/db1
```
func GetGremlinDatabase ¶
func GetGremlinDatabase(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GremlinDatabaseState, opts ...pulumi.ResourceOption) (*GremlinDatabase, error)
GetGremlinDatabase gets an existing GremlinDatabase 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 NewGremlinDatabase ¶
func NewGremlinDatabase(ctx *pulumi.Context, name string, args *GremlinDatabaseArgs, opts ...pulumi.ResourceOption) (*GremlinDatabase, error)
NewGremlinDatabase registers a new resource with the given unique name, arguments, and options.
func (*GremlinDatabase) ElementType ¶
func (*GremlinDatabase) ElementType() reflect.Type
func (*GremlinDatabase) ToGremlinDatabaseOutput ¶
func (i *GremlinDatabase) ToGremlinDatabaseOutput() GremlinDatabaseOutput
func (*GremlinDatabase) ToGremlinDatabaseOutputWithContext ¶
func (i *GremlinDatabase) ToGremlinDatabaseOutputWithContext(ctx context.Context) GremlinDatabaseOutput
func (*GremlinDatabase) ToGremlinDatabasePtrOutput ¶
func (i *GremlinDatabase) ToGremlinDatabasePtrOutput() GremlinDatabasePtrOutput
func (*GremlinDatabase) ToGremlinDatabasePtrOutputWithContext ¶
func (i *GremlinDatabase) ToGremlinDatabasePtrOutputWithContext(ctx context.Context) GremlinDatabasePtrOutput
type GremlinDatabaseArgs ¶
type GremlinDatabaseArgs struct { // The name of the CosmosDB Account to create the Gremlin Database within. Changing this forces a new resource to be created. AccountName pulumi.StringInput // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. AutoscaleSettings GremlinDatabaseAutoscaleSettingsPtrInput // Specifies the name of the Cosmos DB Gremlin Database. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the Cosmos DB Gremlin Database is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The throughput of the Gremlin database (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply. Throughput pulumi.IntPtrInput }
The set of arguments for constructing a GremlinDatabase resource.
func (GremlinDatabaseArgs) ElementType ¶
func (GremlinDatabaseArgs) ElementType() reflect.Type
type GremlinDatabaseArray ¶
type GremlinDatabaseArray []GremlinDatabaseInput
func (GremlinDatabaseArray) ElementType ¶
func (GremlinDatabaseArray) ElementType() reflect.Type
func (GremlinDatabaseArray) ToGremlinDatabaseArrayOutput ¶
func (i GremlinDatabaseArray) ToGremlinDatabaseArrayOutput() GremlinDatabaseArrayOutput
func (GremlinDatabaseArray) ToGremlinDatabaseArrayOutputWithContext ¶
func (i GremlinDatabaseArray) ToGremlinDatabaseArrayOutputWithContext(ctx context.Context) GremlinDatabaseArrayOutput
type GremlinDatabaseArrayInput ¶
type GremlinDatabaseArrayInput interface { pulumi.Input ToGremlinDatabaseArrayOutput() GremlinDatabaseArrayOutput ToGremlinDatabaseArrayOutputWithContext(context.Context) GremlinDatabaseArrayOutput }
GremlinDatabaseArrayInput is an input type that accepts GremlinDatabaseArray and GremlinDatabaseArrayOutput values. You can construct a concrete instance of `GremlinDatabaseArrayInput` via:
GremlinDatabaseArray{ GremlinDatabaseArgs{...} }
type GremlinDatabaseArrayOutput ¶
type GremlinDatabaseArrayOutput struct{ *pulumi.OutputState }
func (GremlinDatabaseArrayOutput) ElementType ¶
func (GremlinDatabaseArrayOutput) ElementType() reflect.Type
func (GremlinDatabaseArrayOutput) Index ¶
func (o GremlinDatabaseArrayOutput) Index(i pulumi.IntInput) GremlinDatabaseOutput
func (GremlinDatabaseArrayOutput) ToGremlinDatabaseArrayOutput ¶
func (o GremlinDatabaseArrayOutput) ToGremlinDatabaseArrayOutput() GremlinDatabaseArrayOutput
func (GremlinDatabaseArrayOutput) ToGremlinDatabaseArrayOutputWithContext ¶
func (o GremlinDatabaseArrayOutput) ToGremlinDatabaseArrayOutputWithContext(ctx context.Context) GremlinDatabaseArrayOutput
type GremlinDatabaseAutoscaleSettings ¶
type GremlinDatabaseAutoscaleSettings struct { // The maximum throughput of the Gremlin database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput *int `pulumi:"maxThroughput"` }
type GremlinDatabaseAutoscaleSettingsArgs ¶
type GremlinDatabaseAutoscaleSettingsArgs struct { // The maximum throughput of the Gremlin database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"` }
func (GremlinDatabaseAutoscaleSettingsArgs) ElementType ¶
func (GremlinDatabaseAutoscaleSettingsArgs) ElementType() reflect.Type
func (GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsOutput ¶
func (i GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsOutput() GremlinDatabaseAutoscaleSettingsOutput
func (GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsOutputWithContext ¶
func (i GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) GremlinDatabaseAutoscaleSettingsOutput
func (GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsPtrOutput ¶
func (i GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsPtrOutput() GremlinDatabaseAutoscaleSettingsPtrOutput
func (GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext ¶
func (i GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinDatabaseAutoscaleSettingsPtrOutput
type GremlinDatabaseAutoscaleSettingsInput ¶
type GremlinDatabaseAutoscaleSettingsInput interface { pulumi.Input ToGremlinDatabaseAutoscaleSettingsOutput() GremlinDatabaseAutoscaleSettingsOutput ToGremlinDatabaseAutoscaleSettingsOutputWithContext(context.Context) GremlinDatabaseAutoscaleSettingsOutput }
GremlinDatabaseAutoscaleSettingsInput is an input type that accepts GremlinDatabaseAutoscaleSettingsArgs and GremlinDatabaseAutoscaleSettingsOutput values. You can construct a concrete instance of `GremlinDatabaseAutoscaleSettingsInput` via:
GremlinDatabaseAutoscaleSettingsArgs{...}
type GremlinDatabaseAutoscaleSettingsOutput ¶
type GremlinDatabaseAutoscaleSettingsOutput struct{ *pulumi.OutputState }
func (GremlinDatabaseAutoscaleSettingsOutput) ElementType ¶
func (GremlinDatabaseAutoscaleSettingsOutput) ElementType() reflect.Type
func (GremlinDatabaseAutoscaleSettingsOutput) MaxThroughput ¶
func (o GremlinDatabaseAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the Gremlin database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsOutput ¶
func (o GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsOutput() GremlinDatabaseAutoscaleSettingsOutput
func (GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsOutputWithContext ¶
func (o GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) GremlinDatabaseAutoscaleSettingsOutput
func (GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutput ¶
func (o GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutput() GremlinDatabaseAutoscaleSettingsPtrOutput
func (GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext ¶
func (o GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinDatabaseAutoscaleSettingsPtrOutput
type GremlinDatabaseAutoscaleSettingsPtrInput ¶
type GremlinDatabaseAutoscaleSettingsPtrInput interface { pulumi.Input ToGremlinDatabaseAutoscaleSettingsPtrOutput() GremlinDatabaseAutoscaleSettingsPtrOutput ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext(context.Context) GremlinDatabaseAutoscaleSettingsPtrOutput }
GremlinDatabaseAutoscaleSettingsPtrInput is an input type that accepts GremlinDatabaseAutoscaleSettingsArgs, GremlinDatabaseAutoscaleSettingsPtr and GremlinDatabaseAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `GremlinDatabaseAutoscaleSettingsPtrInput` via:
GremlinDatabaseAutoscaleSettingsArgs{...} or: nil
func GremlinDatabaseAutoscaleSettingsPtr ¶
func GremlinDatabaseAutoscaleSettingsPtr(v *GremlinDatabaseAutoscaleSettingsArgs) GremlinDatabaseAutoscaleSettingsPtrInput
type GremlinDatabaseAutoscaleSettingsPtrOutput ¶
type GremlinDatabaseAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }
func (GremlinDatabaseAutoscaleSettingsPtrOutput) ElementType ¶
func (GremlinDatabaseAutoscaleSettingsPtrOutput) ElementType() reflect.Type
func (GremlinDatabaseAutoscaleSettingsPtrOutput) MaxThroughput ¶
func (o GremlinDatabaseAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the Gremlin database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (GremlinDatabaseAutoscaleSettingsPtrOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutput ¶
func (o GremlinDatabaseAutoscaleSettingsPtrOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutput() GremlinDatabaseAutoscaleSettingsPtrOutput
func (GremlinDatabaseAutoscaleSettingsPtrOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext ¶
func (o GremlinDatabaseAutoscaleSettingsPtrOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinDatabaseAutoscaleSettingsPtrOutput
type GremlinDatabaseInput ¶
type GremlinDatabaseInput interface { pulumi.Input ToGremlinDatabaseOutput() GremlinDatabaseOutput ToGremlinDatabaseOutputWithContext(ctx context.Context) GremlinDatabaseOutput }
type GremlinDatabaseMap ¶
type GremlinDatabaseMap map[string]GremlinDatabaseInput
func (GremlinDatabaseMap) ElementType ¶
func (GremlinDatabaseMap) ElementType() reflect.Type
func (GremlinDatabaseMap) ToGremlinDatabaseMapOutput ¶
func (i GremlinDatabaseMap) ToGremlinDatabaseMapOutput() GremlinDatabaseMapOutput
func (GremlinDatabaseMap) ToGremlinDatabaseMapOutputWithContext ¶
func (i GremlinDatabaseMap) ToGremlinDatabaseMapOutputWithContext(ctx context.Context) GremlinDatabaseMapOutput
type GremlinDatabaseMapInput ¶
type GremlinDatabaseMapInput interface { pulumi.Input ToGremlinDatabaseMapOutput() GremlinDatabaseMapOutput ToGremlinDatabaseMapOutputWithContext(context.Context) GremlinDatabaseMapOutput }
GremlinDatabaseMapInput is an input type that accepts GremlinDatabaseMap and GremlinDatabaseMapOutput values. You can construct a concrete instance of `GremlinDatabaseMapInput` via:
GremlinDatabaseMap{ "key": GremlinDatabaseArgs{...} }
type GremlinDatabaseMapOutput ¶
type GremlinDatabaseMapOutput struct{ *pulumi.OutputState }
func (GremlinDatabaseMapOutput) ElementType ¶
func (GremlinDatabaseMapOutput) ElementType() reflect.Type
func (GremlinDatabaseMapOutput) MapIndex ¶
func (o GremlinDatabaseMapOutput) MapIndex(k pulumi.StringInput) GremlinDatabaseOutput
func (GremlinDatabaseMapOutput) ToGremlinDatabaseMapOutput ¶
func (o GremlinDatabaseMapOutput) ToGremlinDatabaseMapOutput() GremlinDatabaseMapOutput
func (GremlinDatabaseMapOutput) ToGremlinDatabaseMapOutputWithContext ¶
func (o GremlinDatabaseMapOutput) ToGremlinDatabaseMapOutputWithContext(ctx context.Context) GremlinDatabaseMapOutput
type GremlinDatabaseOutput ¶
type GremlinDatabaseOutput struct {
*pulumi.OutputState
}
func (GremlinDatabaseOutput) ElementType ¶
func (GremlinDatabaseOutput) ElementType() reflect.Type
func (GremlinDatabaseOutput) ToGremlinDatabaseOutput ¶
func (o GremlinDatabaseOutput) ToGremlinDatabaseOutput() GremlinDatabaseOutput
func (GremlinDatabaseOutput) ToGremlinDatabaseOutputWithContext ¶
func (o GremlinDatabaseOutput) ToGremlinDatabaseOutputWithContext(ctx context.Context) GremlinDatabaseOutput
func (GremlinDatabaseOutput) ToGremlinDatabasePtrOutput ¶
func (o GremlinDatabaseOutput) ToGremlinDatabasePtrOutput() GremlinDatabasePtrOutput
func (GremlinDatabaseOutput) ToGremlinDatabasePtrOutputWithContext ¶
func (o GremlinDatabaseOutput) ToGremlinDatabasePtrOutputWithContext(ctx context.Context) GremlinDatabasePtrOutput
type GremlinDatabasePtrInput ¶
type GremlinDatabasePtrInput interface { pulumi.Input ToGremlinDatabasePtrOutput() GremlinDatabasePtrOutput ToGremlinDatabasePtrOutputWithContext(ctx context.Context) GremlinDatabasePtrOutput }
type GremlinDatabasePtrOutput ¶
type GremlinDatabasePtrOutput struct {
*pulumi.OutputState
}
func (GremlinDatabasePtrOutput) ElementType ¶
func (GremlinDatabasePtrOutput) ElementType() reflect.Type
func (GremlinDatabasePtrOutput) ToGremlinDatabasePtrOutput ¶
func (o GremlinDatabasePtrOutput) ToGremlinDatabasePtrOutput() GremlinDatabasePtrOutput
func (GremlinDatabasePtrOutput) ToGremlinDatabasePtrOutputWithContext ¶
func (o GremlinDatabasePtrOutput) ToGremlinDatabasePtrOutputWithContext(ctx context.Context) GremlinDatabasePtrOutput
type GremlinDatabaseState ¶
type GremlinDatabaseState struct { // The name of the CosmosDB Account to create the Gremlin Database within. Changing this forces a new resource to be created. AccountName pulumi.StringPtrInput // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. AutoscaleSettings GremlinDatabaseAutoscaleSettingsPtrInput // Specifies the name of the Cosmos DB Gremlin Database. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the Cosmos DB Gremlin Database is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The throughput of the Gremlin database (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply. Throughput pulumi.IntPtrInput }
func (GremlinDatabaseState) ElementType ¶
func (GremlinDatabaseState) ElementType() reflect.Type
type GremlinGraph ¶
type GremlinGraph struct { pulumi.CustomResourceState // The name of the CosmosDB Account to create the Gremlin Graph within. Changing this forces a new resource to be created. AccountName pulumi.StringOutput `pulumi:"accountName"` AutoscaleSettings GremlinGraphAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"` // A `conflictResolutionPolicy` blocks as defined below. ConflictResolutionPolicies GremlinGraphConflictResolutionPolicyArrayOutput `pulumi:"conflictResolutionPolicies"` // The name of the Cosmos DB Graph Database in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created. DatabaseName pulumi.StringOutput `pulumi:"databaseName"` // The default time to live (TTL) of the Gremlin graph. If the value is missing or set to "-1", items don’t expire. DefaultTtl pulumi.IntOutput `pulumi:"defaultTtl"` // The configuration of the indexing policy. One or more `indexPolicy` blocks as defined below. Changing this forces a new resource to be created. IndexPolicies GremlinGraphIndexPolicyArrayOutput `pulumi:"indexPolicies"` // Specifies the name of the Cosmos DB Gremlin Graph. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Define a partition key. Changing this forces a new resource to be created. PartitionKeyPath pulumi.StringOutput `pulumi:"partitionKeyPath"` // The name of the resource group in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The throughput of the Gremlin graph (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual manual destroy-apply. Throughput pulumi.IntOutput `pulumi:"throughput"` // One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created. UniqueKeys GremlinGraphUniqueKeyArrayOutput `pulumi:"uniqueKeys"` }
Manages a Gremlin Graph within a Cosmos DB Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{ Name: "tfex-cosmosdb-account", ResourceGroupName: "tfex-cosmosdb-account-rg", }, nil) if err != nil { return err } exampleGremlinDatabase, err := cosmosdb.NewGremlinDatabase(ctx, "exampleGremlinDatabase", &cosmosdb.GremlinDatabaseArgs{ ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName), AccountName: pulumi.String(exampleAccount.Name), }) if err != nil { return err } _, err = cosmosdb.NewGremlinGraph(ctx, "exampleGremlinGraph", &cosmosdb.GremlinGraphArgs{ ResourceGroupName: pulumi.Any(azurerm_cosmosdb_account.Example.Resource_group_name), AccountName: pulumi.Any(azurerm_cosmosdb_account.Example.Name), DatabaseName: exampleGremlinDatabase.Name, PartitionKeyPath: pulumi.String("/Example"), Throughput: pulumi.Int(400), IndexPolicies: cosmosdb.GremlinGraphIndexPolicyArray{ &cosmosdb.GremlinGraphIndexPolicyArgs{ Automatic: pulumi.Bool(true), IndexingMode: pulumi.String("Consistent"), IncludedPaths: pulumi.StringArray{ pulumi.String("/*"), }, ExcludedPaths: pulumi.StringArray{ pulumi.String("/\"_etag\"/?"), }, }, }, ConflictResolutionPolicies: cosmosdb.GremlinGraphConflictResolutionPolicyArray{ &cosmosdb.GremlinGraphConflictResolutionPolicyArgs{ Mode: pulumi.String("LastWriterWins"), ConflictResolutionPath: pulumi.String("/_ts"), }, }, UniqueKeys: cosmosdb.GremlinGraphUniqueKeyArray{ &cosmosdb.GremlinGraphUniqueKeyArgs{ Paths: pulumi.StringArray{ pulumi.String("/definition/id1"), pulumi.String("/definition/id2"), }, }, }, }) if err != nil { return err } return nil }) }
```
> **NOTE:** The CosmosDB Account needs to have the `EnableGremlin` capability enabled to use this resource - which can be done by adding this to the `capabilities` list within the `cosmosdb.Account` resource.
## Import
Cosmos Gremlin Graphs can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/gremlinGraph:GremlinGraph example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/gremlinDatabases/db1/graphs/graphs1
```
func GetGremlinGraph ¶
func GetGremlinGraph(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GremlinGraphState, opts ...pulumi.ResourceOption) (*GremlinGraph, error)
GetGremlinGraph gets an existing GremlinGraph 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 NewGremlinGraph ¶
func NewGremlinGraph(ctx *pulumi.Context, name string, args *GremlinGraphArgs, opts ...pulumi.ResourceOption) (*GremlinGraph, error)
NewGremlinGraph registers a new resource with the given unique name, arguments, and options.
func (*GremlinGraph) ElementType ¶
func (*GremlinGraph) ElementType() reflect.Type
func (*GremlinGraph) ToGremlinGraphOutput ¶
func (i *GremlinGraph) ToGremlinGraphOutput() GremlinGraphOutput
func (*GremlinGraph) ToGremlinGraphOutputWithContext ¶
func (i *GremlinGraph) ToGremlinGraphOutputWithContext(ctx context.Context) GremlinGraphOutput
func (*GremlinGraph) ToGremlinGraphPtrOutput ¶
func (i *GremlinGraph) ToGremlinGraphPtrOutput() GremlinGraphPtrOutput
func (*GremlinGraph) ToGremlinGraphPtrOutputWithContext ¶
func (i *GremlinGraph) ToGremlinGraphPtrOutputWithContext(ctx context.Context) GremlinGraphPtrOutput
type GremlinGraphArgs ¶
type GremlinGraphArgs struct { // The name of the CosmosDB Account to create the Gremlin Graph within. Changing this forces a new resource to be created. AccountName pulumi.StringInput AutoscaleSettings GremlinGraphAutoscaleSettingsPtrInput // A `conflictResolutionPolicy` blocks as defined below. ConflictResolutionPolicies GremlinGraphConflictResolutionPolicyArrayInput // The name of the Cosmos DB Graph Database in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created. DatabaseName pulumi.StringInput // The default time to live (TTL) of the Gremlin graph. If the value is missing or set to "-1", items don’t expire. DefaultTtl pulumi.IntPtrInput // The configuration of the indexing policy. One or more `indexPolicy` blocks as defined below. Changing this forces a new resource to be created. IndexPolicies GremlinGraphIndexPolicyArrayInput // Specifies the name of the Cosmos DB Gremlin Graph. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Define a partition key. Changing this forces a new resource to be created. PartitionKeyPath pulumi.StringInput // The name of the resource group in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The throughput of the Gremlin graph (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual manual destroy-apply. Throughput pulumi.IntPtrInput // One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created. UniqueKeys GremlinGraphUniqueKeyArrayInput }
The set of arguments for constructing a GremlinGraph resource.
func (GremlinGraphArgs) ElementType ¶
func (GremlinGraphArgs) ElementType() reflect.Type
type GremlinGraphArray ¶
type GremlinGraphArray []GremlinGraphInput
func (GremlinGraphArray) ElementType ¶
func (GremlinGraphArray) ElementType() reflect.Type
func (GremlinGraphArray) ToGremlinGraphArrayOutput ¶
func (i GremlinGraphArray) ToGremlinGraphArrayOutput() GremlinGraphArrayOutput
func (GremlinGraphArray) ToGremlinGraphArrayOutputWithContext ¶
func (i GremlinGraphArray) ToGremlinGraphArrayOutputWithContext(ctx context.Context) GremlinGraphArrayOutput
type GremlinGraphArrayInput ¶
type GremlinGraphArrayInput interface { pulumi.Input ToGremlinGraphArrayOutput() GremlinGraphArrayOutput ToGremlinGraphArrayOutputWithContext(context.Context) GremlinGraphArrayOutput }
GremlinGraphArrayInput is an input type that accepts GremlinGraphArray and GremlinGraphArrayOutput values. You can construct a concrete instance of `GremlinGraphArrayInput` via:
GremlinGraphArray{ GremlinGraphArgs{...} }
type GremlinGraphArrayOutput ¶
type GremlinGraphArrayOutput struct{ *pulumi.OutputState }
func (GremlinGraphArrayOutput) ElementType ¶
func (GremlinGraphArrayOutput) ElementType() reflect.Type
func (GremlinGraphArrayOutput) Index ¶
func (o GremlinGraphArrayOutput) Index(i pulumi.IntInput) GremlinGraphOutput
func (GremlinGraphArrayOutput) ToGremlinGraphArrayOutput ¶
func (o GremlinGraphArrayOutput) ToGremlinGraphArrayOutput() GremlinGraphArrayOutput
func (GremlinGraphArrayOutput) ToGremlinGraphArrayOutputWithContext ¶
func (o GremlinGraphArrayOutput) ToGremlinGraphArrayOutputWithContext(ctx context.Context) GremlinGraphArrayOutput
type GremlinGraphAutoscaleSettings ¶
type GremlinGraphAutoscaleSettings struct { // The maximum throughput of the Gremlin graph (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput *int `pulumi:"maxThroughput"` }
type GremlinGraphAutoscaleSettingsArgs ¶
type GremlinGraphAutoscaleSettingsArgs struct { // The maximum throughput of the Gremlin graph (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"` }
func (GremlinGraphAutoscaleSettingsArgs) ElementType ¶
func (GremlinGraphAutoscaleSettingsArgs) ElementType() reflect.Type
func (GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsOutput ¶
func (i GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsOutput() GremlinGraphAutoscaleSettingsOutput
func (GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsOutputWithContext ¶
func (i GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsOutputWithContext(ctx context.Context) GremlinGraphAutoscaleSettingsOutput
func (GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsPtrOutput ¶
func (i GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsPtrOutput() GremlinGraphAutoscaleSettingsPtrOutput
func (GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext ¶
func (i GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinGraphAutoscaleSettingsPtrOutput
type GremlinGraphAutoscaleSettingsInput ¶
type GremlinGraphAutoscaleSettingsInput interface { pulumi.Input ToGremlinGraphAutoscaleSettingsOutput() GremlinGraphAutoscaleSettingsOutput ToGremlinGraphAutoscaleSettingsOutputWithContext(context.Context) GremlinGraphAutoscaleSettingsOutput }
GremlinGraphAutoscaleSettingsInput is an input type that accepts GremlinGraphAutoscaleSettingsArgs and GremlinGraphAutoscaleSettingsOutput values. You can construct a concrete instance of `GremlinGraphAutoscaleSettingsInput` via:
GremlinGraphAutoscaleSettingsArgs{...}
type GremlinGraphAutoscaleSettingsOutput ¶
type GremlinGraphAutoscaleSettingsOutput struct{ *pulumi.OutputState }
func (GremlinGraphAutoscaleSettingsOutput) ElementType ¶
func (GremlinGraphAutoscaleSettingsOutput) ElementType() reflect.Type
func (GremlinGraphAutoscaleSettingsOutput) MaxThroughput ¶
func (o GremlinGraphAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the Gremlin graph (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsOutput ¶
func (o GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsOutput() GremlinGraphAutoscaleSettingsOutput
func (GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsOutputWithContext ¶
func (o GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsOutputWithContext(ctx context.Context) GremlinGraphAutoscaleSettingsOutput
func (GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsPtrOutput ¶
func (o GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsPtrOutput() GremlinGraphAutoscaleSettingsPtrOutput
func (GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext ¶
func (o GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinGraphAutoscaleSettingsPtrOutput
type GremlinGraphAutoscaleSettingsPtrInput ¶
type GremlinGraphAutoscaleSettingsPtrInput interface { pulumi.Input ToGremlinGraphAutoscaleSettingsPtrOutput() GremlinGraphAutoscaleSettingsPtrOutput ToGremlinGraphAutoscaleSettingsPtrOutputWithContext(context.Context) GremlinGraphAutoscaleSettingsPtrOutput }
GremlinGraphAutoscaleSettingsPtrInput is an input type that accepts GremlinGraphAutoscaleSettingsArgs, GremlinGraphAutoscaleSettingsPtr and GremlinGraphAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `GremlinGraphAutoscaleSettingsPtrInput` via:
GremlinGraphAutoscaleSettingsArgs{...} or: nil
func GremlinGraphAutoscaleSettingsPtr ¶
func GremlinGraphAutoscaleSettingsPtr(v *GremlinGraphAutoscaleSettingsArgs) GremlinGraphAutoscaleSettingsPtrInput
type GremlinGraphAutoscaleSettingsPtrOutput ¶
type GremlinGraphAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }
func (GremlinGraphAutoscaleSettingsPtrOutput) ElementType ¶
func (GremlinGraphAutoscaleSettingsPtrOutput) ElementType() reflect.Type
func (GremlinGraphAutoscaleSettingsPtrOutput) MaxThroughput ¶
func (o GremlinGraphAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the Gremlin graph (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (GremlinGraphAutoscaleSettingsPtrOutput) ToGremlinGraphAutoscaleSettingsPtrOutput ¶
func (o GremlinGraphAutoscaleSettingsPtrOutput) ToGremlinGraphAutoscaleSettingsPtrOutput() GremlinGraphAutoscaleSettingsPtrOutput
func (GremlinGraphAutoscaleSettingsPtrOutput) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext ¶
func (o GremlinGraphAutoscaleSettingsPtrOutput) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinGraphAutoscaleSettingsPtrOutput
type GremlinGraphConflictResolutionPolicy ¶
type GremlinGraphConflictResolutionPolicy struct { // The conflict resolution path in the case of LastWriterWins mode. ConflictResolutionPath *string `pulumi:"conflictResolutionPath"` // The procedure to resolve conflicts in the case of custom mode. ConflictResolutionProcedure *string `pulumi:"conflictResolutionProcedure"` // Indicates the conflict resolution mode. Possible values include: `LastWriterWins`, `Custom`. Mode string `pulumi:"mode"` }
type GremlinGraphConflictResolutionPolicyArgs ¶
type GremlinGraphConflictResolutionPolicyArgs struct { // The conflict resolution path in the case of LastWriterWins mode. ConflictResolutionPath pulumi.StringPtrInput `pulumi:"conflictResolutionPath"` // The procedure to resolve conflicts in the case of custom mode. ConflictResolutionProcedure pulumi.StringPtrInput `pulumi:"conflictResolutionProcedure"` // Indicates the conflict resolution mode. Possible values include: `LastWriterWins`, `Custom`. Mode pulumi.StringInput `pulumi:"mode"` }
func (GremlinGraphConflictResolutionPolicyArgs) ElementType ¶
func (GremlinGraphConflictResolutionPolicyArgs) ElementType() reflect.Type
func (GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyOutput ¶
func (i GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyOutput() GremlinGraphConflictResolutionPolicyOutput
func (GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyOutputWithContext ¶
func (i GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyOutputWithContext(ctx context.Context) GremlinGraphConflictResolutionPolicyOutput
type GremlinGraphConflictResolutionPolicyArray ¶
type GremlinGraphConflictResolutionPolicyArray []GremlinGraphConflictResolutionPolicyInput
func (GremlinGraphConflictResolutionPolicyArray) ElementType ¶
func (GremlinGraphConflictResolutionPolicyArray) ElementType() reflect.Type
func (GremlinGraphConflictResolutionPolicyArray) ToGremlinGraphConflictResolutionPolicyArrayOutput ¶
func (i GremlinGraphConflictResolutionPolicyArray) ToGremlinGraphConflictResolutionPolicyArrayOutput() GremlinGraphConflictResolutionPolicyArrayOutput
func (GremlinGraphConflictResolutionPolicyArray) ToGremlinGraphConflictResolutionPolicyArrayOutputWithContext ¶
func (i GremlinGraphConflictResolutionPolicyArray) ToGremlinGraphConflictResolutionPolicyArrayOutputWithContext(ctx context.Context) GremlinGraphConflictResolutionPolicyArrayOutput
type GremlinGraphConflictResolutionPolicyArrayInput ¶
type GremlinGraphConflictResolutionPolicyArrayInput interface { pulumi.Input ToGremlinGraphConflictResolutionPolicyArrayOutput() GremlinGraphConflictResolutionPolicyArrayOutput ToGremlinGraphConflictResolutionPolicyArrayOutputWithContext(context.Context) GremlinGraphConflictResolutionPolicyArrayOutput }
GremlinGraphConflictResolutionPolicyArrayInput is an input type that accepts GremlinGraphConflictResolutionPolicyArray and GremlinGraphConflictResolutionPolicyArrayOutput values. You can construct a concrete instance of `GremlinGraphConflictResolutionPolicyArrayInput` via:
GremlinGraphConflictResolutionPolicyArray{ GremlinGraphConflictResolutionPolicyArgs{...} }
type GremlinGraphConflictResolutionPolicyArrayOutput ¶
type GremlinGraphConflictResolutionPolicyArrayOutput struct{ *pulumi.OutputState }
func (GremlinGraphConflictResolutionPolicyArrayOutput) ElementType ¶
func (GremlinGraphConflictResolutionPolicyArrayOutput) ElementType() reflect.Type
func (GremlinGraphConflictResolutionPolicyArrayOutput) ToGremlinGraphConflictResolutionPolicyArrayOutput ¶
func (o GremlinGraphConflictResolutionPolicyArrayOutput) ToGremlinGraphConflictResolutionPolicyArrayOutput() GremlinGraphConflictResolutionPolicyArrayOutput
func (GremlinGraphConflictResolutionPolicyArrayOutput) ToGremlinGraphConflictResolutionPolicyArrayOutputWithContext ¶
func (o GremlinGraphConflictResolutionPolicyArrayOutput) ToGremlinGraphConflictResolutionPolicyArrayOutputWithContext(ctx context.Context) GremlinGraphConflictResolutionPolicyArrayOutput
type GremlinGraphConflictResolutionPolicyInput ¶
type GremlinGraphConflictResolutionPolicyInput interface { pulumi.Input ToGremlinGraphConflictResolutionPolicyOutput() GremlinGraphConflictResolutionPolicyOutput ToGremlinGraphConflictResolutionPolicyOutputWithContext(context.Context) GremlinGraphConflictResolutionPolicyOutput }
GremlinGraphConflictResolutionPolicyInput is an input type that accepts GremlinGraphConflictResolutionPolicyArgs and GremlinGraphConflictResolutionPolicyOutput values. You can construct a concrete instance of `GremlinGraphConflictResolutionPolicyInput` via:
GremlinGraphConflictResolutionPolicyArgs{...}
type GremlinGraphConflictResolutionPolicyOutput ¶
type GremlinGraphConflictResolutionPolicyOutput struct{ *pulumi.OutputState }
func (GremlinGraphConflictResolutionPolicyOutput) ConflictResolutionPath ¶
func (o GremlinGraphConflictResolutionPolicyOutput) ConflictResolutionPath() pulumi.StringPtrOutput
The conflict resolution path in the case of LastWriterWins mode.
func (GremlinGraphConflictResolutionPolicyOutput) ConflictResolutionProcedure ¶
func (o GremlinGraphConflictResolutionPolicyOutput) ConflictResolutionProcedure() pulumi.StringPtrOutput
The procedure to resolve conflicts in the case of custom mode.
func (GremlinGraphConflictResolutionPolicyOutput) ElementType ¶
func (GremlinGraphConflictResolutionPolicyOutput) ElementType() reflect.Type
func (GremlinGraphConflictResolutionPolicyOutput) Mode ¶
func (o GremlinGraphConflictResolutionPolicyOutput) Mode() pulumi.StringOutput
Indicates the conflict resolution mode. Possible values include: `LastWriterWins`, `Custom`.
func (GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyOutput ¶
func (o GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyOutput() GremlinGraphConflictResolutionPolicyOutput
func (GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyOutputWithContext ¶
func (o GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyOutputWithContext(ctx context.Context) GremlinGraphConflictResolutionPolicyOutput
type GremlinGraphIndexPolicy ¶
type GremlinGraphIndexPolicy struct { // Indicates if the indexing policy is automatic. Defaults to `true`. Automatic *bool `pulumi:"automatic"` // List of paths to exclude from indexing. Required if `indexingMode` is `Consistent` or `Lazy`. ExcludedPaths []string `pulumi:"excludedPaths"` // List of paths to include in the indexing. Required if `indexingMode` is `Consistent` or `Lazy`. IncludedPaths []string `pulumi:"includedPaths"` // Indicates the indexing mode. Possible values include: `Consistent`, `Lazy`, `None`. IndexingMode string `pulumi:"indexingMode"` }
type GremlinGraphIndexPolicyArgs ¶
type GremlinGraphIndexPolicyArgs struct { // Indicates if the indexing policy is automatic. Defaults to `true`. Automatic pulumi.BoolPtrInput `pulumi:"automatic"` // List of paths to exclude from indexing. Required if `indexingMode` is `Consistent` or `Lazy`. ExcludedPaths pulumi.StringArrayInput `pulumi:"excludedPaths"` // List of paths to include in the indexing. Required if `indexingMode` is `Consistent` or `Lazy`. IncludedPaths pulumi.StringArrayInput `pulumi:"includedPaths"` // Indicates the indexing mode. Possible values include: `Consistent`, `Lazy`, `None`. IndexingMode pulumi.StringInput `pulumi:"indexingMode"` }
func (GremlinGraphIndexPolicyArgs) ElementType ¶
func (GremlinGraphIndexPolicyArgs) ElementType() reflect.Type
func (GremlinGraphIndexPolicyArgs) ToGremlinGraphIndexPolicyOutput ¶
func (i GremlinGraphIndexPolicyArgs) ToGremlinGraphIndexPolicyOutput() GremlinGraphIndexPolicyOutput
func (GremlinGraphIndexPolicyArgs) ToGremlinGraphIndexPolicyOutputWithContext ¶
func (i GremlinGraphIndexPolicyArgs) ToGremlinGraphIndexPolicyOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyOutput
type GremlinGraphIndexPolicyArray ¶
type GremlinGraphIndexPolicyArray []GremlinGraphIndexPolicyInput
func (GremlinGraphIndexPolicyArray) ElementType ¶
func (GremlinGraphIndexPolicyArray) ElementType() reflect.Type
func (GremlinGraphIndexPolicyArray) ToGremlinGraphIndexPolicyArrayOutput ¶
func (i GremlinGraphIndexPolicyArray) ToGremlinGraphIndexPolicyArrayOutput() GremlinGraphIndexPolicyArrayOutput
func (GremlinGraphIndexPolicyArray) ToGremlinGraphIndexPolicyArrayOutputWithContext ¶
func (i GremlinGraphIndexPolicyArray) ToGremlinGraphIndexPolicyArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyArrayOutput
type GremlinGraphIndexPolicyArrayInput ¶
type GremlinGraphIndexPolicyArrayInput interface { pulumi.Input ToGremlinGraphIndexPolicyArrayOutput() GremlinGraphIndexPolicyArrayOutput ToGremlinGraphIndexPolicyArrayOutputWithContext(context.Context) GremlinGraphIndexPolicyArrayOutput }
GremlinGraphIndexPolicyArrayInput is an input type that accepts GremlinGraphIndexPolicyArray and GremlinGraphIndexPolicyArrayOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicyArrayInput` via:
GremlinGraphIndexPolicyArray{ GremlinGraphIndexPolicyArgs{...} }
type GremlinGraphIndexPolicyArrayOutput ¶
type GremlinGraphIndexPolicyArrayOutput struct{ *pulumi.OutputState }
func (GremlinGraphIndexPolicyArrayOutput) ElementType ¶
func (GremlinGraphIndexPolicyArrayOutput) ElementType() reflect.Type
func (GremlinGraphIndexPolicyArrayOutput) Index ¶
func (o GremlinGraphIndexPolicyArrayOutput) Index(i pulumi.IntInput) GremlinGraphIndexPolicyOutput
func (GremlinGraphIndexPolicyArrayOutput) ToGremlinGraphIndexPolicyArrayOutput ¶
func (o GremlinGraphIndexPolicyArrayOutput) ToGremlinGraphIndexPolicyArrayOutput() GremlinGraphIndexPolicyArrayOutput
func (GremlinGraphIndexPolicyArrayOutput) ToGremlinGraphIndexPolicyArrayOutputWithContext ¶
func (o GremlinGraphIndexPolicyArrayOutput) ToGremlinGraphIndexPolicyArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyArrayOutput
type GremlinGraphIndexPolicyInput ¶
type GremlinGraphIndexPolicyInput interface { pulumi.Input ToGremlinGraphIndexPolicyOutput() GremlinGraphIndexPolicyOutput ToGremlinGraphIndexPolicyOutputWithContext(context.Context) GremlinGraphIndexPolicyOutput }
GremlinGraphIndexPolicyInput is an input type that accepts GremlinGraphIndexPolicyArgs and GremlinGraphIndexPolicyOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicyInput` via:
GremlinGraphIndexPolicyArgs{...}
type GremlinGraphIndexPolicyOutput ¶
type GremlinGraphIndexPolicyOutput struct{ *pulumi.OutputState }
func (GremlinGraphIndexPolicyOutput) Automatic ¶
func (o GremlinGraphIndexPolicyOutput) Automatic() pulumi.BoolPtrOutput
Indicates if the indexing policy is automatic. Defaults to `true`.
func (GremlinGraphIndexPolicyOutput) ElementType ¶
func (GremlinGraphIndexPolicyOutput) ElementType() reflect.Type
func (GremlinGraphIndexPolicyOutput) ExcludedPaths ¶
func (o GremlinGraphIndexPolicyOutput) ExcludedPaths() pulumi.StringArrayOutput
List of paths to exclude from indexing. Required if `indexingMode` is `Consistent` or `Lazy`.
func (GremlinGraphIndexPolicyOutput) IncludedPaths ¶
func (o GremlinGraphIndexPolicyOutput) IncludedPaths() pulumi.StringArrayOutput
List of paths to include in the indexing. Required if `indexingMode` is `Consistent` or `Lazy`.
func (GremlinGraphIndexPolicyOutput) IndexingMode ¶
func (o GremlinGraphIndexPolicyOutput) IndexingMode() pulumi.StringOutput
Indicates the indexing mode. Possible values include: `Consistent`, `Lazy`, `None`.
func (GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutput ¶
func (o GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutput() GremlinGraphIndexPolicyOutput
func (GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutputWithContext ¶
func (o GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyOutput
type GremlinGraphInput ¶
type GremlinGraphInput interface { pulumi.Input ToGremlinGraphOutput() GremlinGraphOutput ToGremlinGraphOutputWithContext(ctx context.Context) GremlinGraphOutput }
type GremlinGraphMap ¶
type GremlinGraphMap map[string]GremlinGraphInput
func (GremlinGraphMap) ElementType ¶
func (GremlinGraphMap) ElementType() reflect.Type
func (GremlinGraphMap) ToGremlinGraphMapOutput ¶
func (i GremlinGraphMap) ToGremlinGraphMapOutput() GremlinGraphMapOutput
func (GremlinGraphMap) ToGremlinGraphMapOutputWithContext ¶
func (i GremlinGraphMap) ToGremlinGraphMapOutputWithContext(ctx context.Context) GremlinGraphMapOutput
type GremlinGraphMapInput ¶
type GremlinGraphMapInput interface { pulumi.Input ToGremlinGraphMapOutput() GremlinGraphMapOutput ToGremlinGraphMapOutputWithContext(context.Context) GremlinGraphMapOutput }
GremlinGraphMapInput is an input type that accepts GremlinGraphMap and GremlinGraphMapOutput values. You can construct a concrete instance of `GremlinGraphMapInput` via:
GremlinGraphMap{ "key": GremlinGraphArgs{...} }
type GremlinGraphMapOutput ¶
type GremlinGraphMapOutput struct{ *pulumi.OutputState }
func (GremlinGraphMapOutput) ElementType ¶
func (GremlinGraphMapOutput) ElementType() reflect.Type
func (GremlinGraphMapOutput) MapIndex ¶
func (o GremlinGraphMapOutput) MapIndex(k pulumi.StringInput) GremlinGraphOutput
func (GremlinGraphMapOutput) ToGremlinGraphMapOutput ¶
func (o GremlinGraphMapOutput) ToGremlinGraphMapOutput() GremlinGraphMapOutput
func (GremlinGraphMapOutput) ToGremlinGraphMapOutputWithContext ¶
func (o GremlinGraphMapOutput) ToGremlinGraphMapOutputWithContext(ctx context.Context) GremlinGraphMapOutput
type GremlinGraphOutput ¶
type GremlinGraphOutput struct {
*pulumi.OutputState
}
func (GremlinGraphOutput) ElementType ¶
func (GremlinGraphOutput) ElementType() reflect.Type
func (GremlinGraphOutput) ToGremlinGraphOutput ¶
func (o GremlinGraphOutput) ToGremlinGraphOutput() GremlinGraphOutput
func (GremlinGraphOutput) ToGremlinGraphOutputWithContext ¶
func (o GremlinGraphOutput) ToGremlinGraphOutputWithContext(ctx context.Context) GremlinGraphOutput
func (GremlinGraphOutput) ToGremlinGraphPtrOutput ¶
func (o GremlinGraphOutput) ToGremlinGraphPtrOutput() GremlinGraphPtrOutput
func (GremlinGraphOutput) ToGremlinGraphPtrOutputWithContext ¶
func (o GremlinGraphOutput) ToGremlinGraphPtrOutputWithContext(ctx context.Context) GremlinGraphPtrOutput
type GremlinGraphPtrInput ¶
type GremlinGraphPtrInput interface { pulumi.Input ToGremlinGraphPtrOutput() GremlinGraphPtrOutput ToGremlinGraphPtrOutputWithContext(ctx context.Context) GremlinGraphPtrOutput }
type GremlinGraphPtrOutput ¶
type GremlinGraphPtrOutput struct {
*pulumi.OutputState
}
func (GremlinGraphPtrOutput) ElementType ¶
func (GremlinGraphPtrOutput) ElementType() reflect.Type
func (GremlinGraphPtrOutput) ToGremlinGraphPtrOutput ¶
func (o GremlinGraphPtrOutput) ToGremlinGraphPtrOutput() GremlinGraphPtrOutput
func (GremlinGraphPtrOutput) ToGremlinGraphPtrOutputWithContext ¶
func (o GremlinGraphPtrOutput) ToGremlinGraphPtrOutputWithContext(ctx context.Context) GremlinGraphPtrOutput
type GremlinGraphState ¶
type GremlinGraphState struct { // The name of the CosmosDB Account to create the Gremlin Graph within. Changing this forces a new resource to be created. AccountName pulumi.StringPtrInput AutoscaleSettings GremlinGraphAutoscaleSettingsPtrInput // A `conflictResolutionPolicy` blocks as defined below. ConflictResolutionPolicies GremlinGraphConflictResolutionPolicyArrayInput // The name of the Cosmos DB Graph Database in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created. DatabaseName pulumi.StringPtrInput // The default time to live (TTL) of the Gremlin graph. If the value is missing or set to "-1", items don’t expire. DefaultTtl pulumi.IntPtrInput // The configuration of the indexing policy. One or more `indexPolicy` blocks as defined below. Changing this forces a new resource to be created. IndexPolicies GremlinGraphIndexPolicyArrayInput // Specifies the name of the Cosmos DB Gremlin Graph. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Define a partition key. Changing this forces a new resource to be created. PartitionKeyPath pulumi.StringPtrInput // The name of the resource group in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The throughput of the Gremlin graph (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual manual destroy-apply. Throughput pulumi.IntPtrInput // One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created. UniqueKeys GremlinGraphUniqueKeyArrayInput }
func (GremlinGraphState) ElementType ¶
func (GremlinGraphState) ElementType() reflect.Type
type GremlinGraphUniqueKey ¶
type GremlinGraphUniqueKey struct { // A list of paths to use for this unique key. Paths []string `pulumi:"paths"` }
type GremlinGraphUniqueKeyArgs ¶
type GremlinGraphUniqueKeyArgs struct { // A list of paths to use for this unique key. Paths pulumi.StringArrayInput `pulumi:"paths"` }
func (GremlinGraphUniqueKeyArgs) ElementType ¶
func (GremlinGraphUniqueKeyArgs) ElementType() reflect.Type
func (GremlinGraphUniqueKeyArgs) ToGremlinGraphUniqueKeyOutput ¶
func (i GremlinGraphUniqueKeyArgs) ToGremlinGraphUniqueKeyOutput() GremlinGraphUniqueKeyOutput
func (GremlinGraphUniqueKeyArgs) ToGremlinGraphUniqueKeyOutputWithContext ¶
func (i GremlinGraphUniqueKeyArgs) ToGremlinGraphUniqueKeyOutputWithContext(ctx context.Context) GremlinGraphUniqueKeyOutput
type GremlinGraphUniqueKeyArray ¶
type GremlinGraphUniqueKeyArray []GremlinGraphUniqueKeyInput
func (GremlinGraphUniqueKeyArray) ElementType ¶
func (GremlinGraphUniqueKeyArray) ElementType() reflect.Type
func (GremlinGraphUniqueKeyArray) ToGremlinGraphUniqueKeyArrayOutput ¶
func (i GremlinGraphUniqueKeyArray) ToGremlinGraphUniqueKeyArrayOutput() GremlinGraphUniqueKeyArrayOutput
func (GremlinGraphUniqueKeyArray) ToGremlinGraphUniqueKeyArrayOutputWithContext ¶
func (i GremlinGraphUniqueKeyArray) ToGremlinGraphUniqueKeyArrayOutputWithContext(ctx context.Context) GremlinGraphUniqueKeyArrayOutput
type GremlinGraphUniqueKeyArrayInput ¶
type GremlinGraphUniqueKeyArrayInput interface { pulumi.Input ToGremlinGraphUniqueKeyArrayOutput() GremlinGraphUniqueKeyArrayOutput ToGremlinGraphUniqueKeyArrayOutputWithContext(context.Context) GremlinGraphUniqueKeyArrayOutput }
GremlinGraphUniqueKeyArrayInput is an input type that accepts GremlinGraphUniqueKeyArray and GremlinGraphUniqueKeyArrayOutput values. You can construct a concrete instance of `GremlinGraphUniqueKeyArrayInput` via:
GremlinGraphUniqueKeyArray{ GremlinGraphUniqueKeyArgs{...} }
type GremlinGraphUniqueKeyArrayOutput ¶
type GremlinGraphUniqueKeyArrayOutput struct{ *pulumi.OutputState }
func (GremlinGraphUniqueKeyArrayOutput) ElementType ¶
func (GremlinGraphUniqueKeyArrayOutput) ElementType() reflect.Type
func (GremlinGraphUniqueKeyArrayOutput) Index ¶
func (o GremlinGraphUniqueKeyArrayOutput) Index(i pulumi.IntInput) GremlinGraphUniqueKeyOutput
func (GremlinGraphUniqueKeyArrayOutput) ToGremlinGraphUniqueKeyArrayOutput ¶
func (o GremlinGraphUniqueKeyArrayOutput) ToGremlinGraphUniqueKeyArrayOutput() GremlinGraphUniqueKeyArrayOutput
func (GremlinGraphUniqueKeyArrayOutput) ToGremlinGraphUniqueKeyArrayOutputWithContext ¶
func (o GremlinGraphUniqueKeyArrayOutput) ToGremlinGraphUniqueKeyArrayOutputWithContext(ctx context.Context) GremlinGraphUniqueKeyArrayOutput
type GremlinGraphUniqueKeyInput ¶
type GremlinGraphUniqueKeyInput interface { pulumi.Input ToGremlinGraphUniqueKeyOutput() GremlinGraphUniqueKeyOutput ToGremlinGraphUniqueKeyOutputWithContext(context.Context) GremlinGraphUniqueKeyOutput }
GremlinGraphUniqueKeyInput is an input type that accepts GremlinGraphUniqueKeyArgs and GremlinGraphUniqueKeyOutput values. You can construct a concrete instance of `GremlinGraphUniqueKeyInput` via:
GremlinGraphUniqueKeyArgs{...}
type GremlinGraphUniqueKeyOutput ¶
type GremlinGraphUniqueKeyOutput struct{ *pulumi.OutputState }
func (GremlinGraphUniqueKeyOutput) ElementType ¶
func (GremlinGraphUniqueKeyOutput) ElementType() reflect.Type
func (GremlinGraphUniqueKeyOutput) Paths ¶
func (o GremlinGraphUniqueKeyOutput) Paths() pulumi.StringArrayOutput
A list of paths to use for this unique key.
func (GremlinGraphUniqueKeyOutput) ToGremlinGraphUniqueKeyOutput ¶
func (o GremlinGraphUniqueKeyOutput) ToGremlinGraphUniqueKeyOutput() GremlinGraphUniqueKeyOutput
func (GremlinGraphUniqueKeyOutput) ToGremlinGraphUniqueKeyOutputWithContext ¶
func (o GremlinGraphUniqueKeyOutput) ToGremlinGraphUniqueKeyOutputWithContext(ctx context.Context) GremlinGraphUniqueKeyOutput
type LookupAccountArgs ¶
type LookupAccountArgs struct { // Specifies the name of the CosmosDB Account. Name string `pulumi:"name"` // Specifies the name of the resource group in which the CosmosDB Account resides. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getAccount.
type LookupAccountResult ¶
type LookupAccountResult struct { // Capabilities enabled on this Cosmos DB account. Capabilities []GetAccountCapability `pulumi:"capabilities"` ConsistencyPolicies []GetAccountConsistencyPolicy `pulumi:"consistencyPolicies"` // If automatic failover is enabled for this CosmosDB Account. EnableAutomaticFailover bool `pulumi:"enableAutomaticFailover"` // If Free Tier pricing option is enabled for this CosmosDB Account. EnableFreeTier bool `pulumi:"enableFreeTier"` // If multi-master is enabled for this Cosmos DB account. EnableMultipleWriteLocations bool `pulumi:"enableMultipleWriteLocations"` // The endpoint used to connect to the CosmosDB account. Endpoint string `pulumi:"endpoint"` GeoLocations []GetAccountGeoLocation `pulumi:"geoLocations"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The current IP Filter for this CosmosDB account IpRangeFilter string `pulumi:"ipRangeFilter"` // If virtual network filtering is enabled for this Cosmos DB account. IsVirtualNetworkFilterEnabled bool `pulumi:"isVirtualNetworkFilterEnabled"` // The Key Vault key URI for CMK encryption. KeyVaultKeyId string `pulumi:"keyVaultKeyId"` // The Kind of the CosmosDB account. Kind string `pulumi:"kind"` // The name of the Azure region hosting replicated data. Location string `pulumi:"location"` Name string `pulumi:"name"` // The Offer Type to used by this CosmosDB Account. OfferType string `pulumi:"offerType"` // The Primary master key for the CosmosDB Account. PrimaryKey string `pulumi:"primaryKey"` // Deprecated: This property has been renamed to `primary_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes PrimaryMasterKey string `pulumi:"primaryMasterKey"` // The Primary read-only master Key for the CosmosDB Account. PrimaryReadonlyKey string `pulumi:"primaryReadonlyKey"` // Deprecated: This property has been renamed to `primary_readonly_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes PrimaryReadonlyMasterKey string `pulumi:"primaryReadonlyMasterKey"` // A list of read endpoints available for this CosmosDB account. ReadEndpoints []string `pulumi:"readEndpoints"` ResourceGroupName string `pulumi:"resourceGroupName"` // The Secondary master key for the CosmosDB Account. SecondaryKey string `pulumi:"secondaryKey"` // Deprecated: This property has been renamed to `secondary_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes SecondaryMasterKey string `pulumi:"secondaryMasterKey"` // The Secondary read-only master key for the CosmosDB Account. SecondaryReadonlyKey string `pulumi:"secondaryReadonlyKey"` // Deprecated: This property has been renamed to `secondary_readonly_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes SecondaryReadonlyMasterKey string `pulumi:"secondaryReadonlyMasterKey"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` // Subnets that are allowed to access this CosmosDB account. VirtualNetworkRules []GetAccountVirtualNetworkRule `pulumi:"virtualNetworkRules"` // A list of write endpoints available for this CosmosDB account. WriteEndpoints []string `pulumi:"writeEndpoints"` }
A collection of values returned by getAccount.
func LookupAccount ¶
func LookupAccount(ctx *pulumi.Context, args *LookupAccountArgs, opts ...pulumi.InvokeOption) (*LookupAccountResult, error)
Use this data source to access information about an existing CosmosDB (formally DocumentDB) Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{ Name: "tfex-cosmosdb-account", ResourceGroupName: "tfex-cosmosdb-account-rg", }, nil) if err != nil { return err } ctx.Export("cosmosdbAccountEndpoint", data.Azurerm_cosmosdb_account.Jobs.Endpoint) return nil }) }
```
type MongoCollection ¶
type MongoCollection struct { pulumi.CustomResourceState AccountName pulumi.StringOutput `pulumi:"accountName"` // The default time to live of Analytical Storage for this Mongo Collection. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time. AnalyticalStorageTtl pulumi.IntPtrOutput `pulumi:"analyticalStorageTtl"` // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual manual destroy-apply. Requires `shardKey` to be set. AutoscaleSettings MongoCollectionAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"` // The name of the Cosmos DB Mongo Database in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created. DatabaseName pulumi.StringOutput `pulumi:"databaseName"` // The default Time To Live in seconds. If the value is `-1` or `0`, items are not automatically expired. DefaultTtlSeconds pulumi.IntPtrOutput `pulumi:"defaultTtlSeconds"` // One or more `index` blocks as defined below. Indices MongoCollectionIndexArrayOutput `pulumi:"indices"` // Specifies the name of the Cosmos DB Mongo Collection. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The name of the key to partition on for sharding. There must not be any other unique index keys. ShardKey pulumi.StringPtrOutput `pulumi:"shardKey"` // One or more `systemIndexes` blocks as defined below. SystemIndexes MongoCollectionSystemIndexArrayOutput `pulumi:"systemIndexes"` // The throughput of the MongoDB collection (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual manual destroy-apply. Throughput pulumi.IntOutput `pulumi:"throughput"` }
Manages a Mongo Collection within a Cosmos DB Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{ Name: "tfex-cosmosdb-account", ResourceGroupName: "tfex-cosmosdb-account-rg", }, nil) if err != nil { return err } exampleMongoDatabase, err := cosmosdb.NewMongoDatabase(ctx, "exampleMongoDatabase", &cosmosdb.MongoDatabaseArgs{ ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName), AccountName: pulumi.String(exampleAccount.Name), }) if err != nil { return err } _, err = cosmosdb.NewMongoCollection(ctx, "exampleMongoCollection", &cosmosdb.MongoCollectionArgs{ ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName), AccountName: pulumi.String(exampleAccount.Name), DatabaseName: exampleMongoDatabase.Name, DefaultTtlSeconds: pulumi.Int(777), ShardKey: pulumi.String("uniqueKey"), Throughput: pulumi.Int(400), }) if err != nil { return err } return nil }) }
```
## Import
CosmosDB Mongo Collection can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/mongoCollection:MongoCollection collection1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/mongodbDatabases/db1/collections/collection1
```
func GetMongoCollection ¶
func GetMongoCollection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MongoCollectionState, opts ...pulumi.ResourceOption) (*MongoCollection, error)
GetMongoCollection gets an existing MongoCollection 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 NewMongoCollection ¶
func NewMongoCollection(ctx *pulumi.Context, name string, args *MongoCollectionArgs, opts ...pulumi.ResourceOption) (*MongoCollection, error)
NewMongoCollection registers a new resource with the given unique name, arguments, and options.
func (*MongoCollection) ElementType ¶
func (*MongoCollection) ElementType() reflect.Type
func (*MongoCollection) ToMongoCollectionOutput ¶
func (i *MongoCollection) ToMongoCollectionOutput() MongoCollectionOutput
func (*MongoCollection) ToMongoCollectionOutputWithContext ¶
func (i *MongoCollection) ToMongoCollectionOutputWithContext(ctx context.Context) MongoCollectionOutput
func (*MongoCollection) ToMongoCollectionPtrOutput ¶
func (i *MongoCollection) ToMongoCollectionPtrOutput() MongoCollectionPtrOutput
func (*MongoCollection) ToMongoCollectionPtrOutputWithContext ¶
func (i *MongoCollection) ToMongoCollectionPtrOutputWithContext(ctx context.Context) MongoCollectionPtrOutput
type MongoCollectionArgs ¶
type MongoCollectionArgs struct { AccountName pulumi.StringInput // The default time to live of Analytical Storage for this Mongo Collection. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time. AnalyticalStorageTtl pulumi.IntPtrInput // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual manual destroy-apply. Requires `shardKey` to be set. AutoscaleSettings MongoCollectionAutoscaleSettingsPtrInput // The name of the Cosmos DB Mongo Database in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created. DatabaseName pulumi.StringInput // The default Time To Live in seconds. If the value is `-1` or `0`, items are not automatically expired. DefaultTtlSeconds pulumi.IntPtrInput // One or more `index` blocks as defined below. Indices MongoCollectionIndexArrayInput // Specifies the name of the Cosmos DB Mongo Collection. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The name of the key to partition on for sharding. There must not be any other unique index keys. ShardKey pulumi.StringPtrInput // The throughput of the MongoDB collection (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual manual destroy-apply. Throughput pulumi.IntPtrInput }
The set of arguments for constructing a MongoCollection resource.
func (MongoCollectionArgs) ElementType ¶
func (MongoCollectionArgs) ElementType() reflect.Type
type MongoCollectionArray ¶
type MongoCollectionArray []MongoCollectionInput
func (MongoCollectionArray) ElementType ¶
func (MongoCollectionArray) ElementType() reflect.Type
func (MongoCollectionArray) ToMongoCollectionArrayOutput ¶
func (i MongoCollectionArray) ToMongoCollectionArrayOutput() MongoCollectionArrayOutput
func (MongoCollectionArray) ToMongoCollectionArrayOutputWithContext ¶
func (i MongoCollectionArray) ToMongoCollectionArrayOutputWithContext(ctx context.Context) MongoCollectionArrayOutput
type MongoCollectionArrayInput ¶
type MongoCollectionArrayInput interface { pulumi.Input ToMongoCollectionArrayOutput() MongoCollectionArrayOutput ToMongoCollectionArrayOutputWithContext(context.Context) MongoCollectionArrayOutput }
MongoCollectionArrayInput is an input type that accepts MongoCollectionArray and MongoCollectionArrayOutput values. You can construct a concrete instance of `MongoCollectionArrayInput` via:
MongoCollectionArray{ MongoCollectionArgs{...} }
type MongoCollectionArrayOutput ¶
type MongoCollectionArrayOutput struct{ *pulumi.OutputState }
func (MongoCollectionArrayOutput) ElementType ¶
func (MongoCollectionArrayOutput) ElementType() reflect.Type
func (MongoCollectionArrayOutput) Index ¶
func (o MongoCollectionArrayOutput) Index(i pulumi.IntInput) MongoCollectionOutput
func (MongoCollectionArrayOutput) ToMongoCollectionArrayOutput ¶
func (o MongoCollectionArrayOutput) ToMongoCollectionArrayOutput() MongoCollectionArrayOutput
func (MongoCollectionArrayOutput) ToMongoCollectionArrayOutputWithContext ¶
func (o MongoCollectionArrayOutput) ToMongoCollectionArrayOutputWithContext(ctx context.Context) MongoCollectionArrayOutput
type MongoCollectionAutoscaleSettings ¶
type MongoCollectionAutoscaleSettings struct { // The maximum throughput of the MongoDB collection (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput *int `pulumi:"maxThroughput"` }
type MongoCollectionAutoscaleSettingsArgs ¶
type MongoCollectionAutoscaleSettingsArgs struct { // The maximum throughput of the MongoDB collection (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"` }
func (MongoCollectionAutoscaleSettingsArgs) ElementType ¶
func (MongoCollectionAutoscaleSettingsArgs) ElementType() reflect.Type
func (MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsOutput ¶
func (i MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsOutput() MongoCollectionAutoscaleSettingsOutput
func (MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsOutputWithContext ¶
func (i MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsOutputWithContext(ctx context.Context) MongoCollectionAutoscaleSettingsOutput
func (MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsPtrOutput ¶
func (i MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsPtrOutput() MongoCollectionAutoscaleSettingsPtrOutput
func (MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext ¶
func (i MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoCollectionAutoscaleSettingsPtrOutput
type MongoCollectionAutoscaleSettingsInput ¶
type MongoCollectionAutoscaleSettingsInput interface { pulumi.Input ToMongoCollectionAutoscaleSettingsOutput() MongoCollectionAutoscaleSettingsOutput ToMongoCollectionAutoscaleSettingsOutputWithContext(context.Context) MongoCollectionAutoscaleSettingsOutput }
MongoCollectionAutoscaleSettingsInput is an input type that accepts MongoCollectionAutoscaleSettingsArgs and MongoCollectionAutoscaleSettingsOutput values. You can construct a concrete instance of `MongoCollectionAutoscaleSettingsInput` via:
MongoCollectionAutoscaleSettingsArgs{...}
type MongoCollectionAutoscaleSettingsOutput ¶
type MongoCollectionAutoscaleSettingsOutput struct{ *pulumi.OutputState }
func (MongoCollectionAutoscaleSettingsOutput) ElementType ¶
func (MongoCollectionAutoscaleSettingsOutput) ElementType() reflect.Type
func (MongoCollectionAutoscaleSettingsOutput) MaxThroughput ¶
func (o MongoCollectionAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the MongoDB collection (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsOutput ¶
func (o MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsOutput() MongoCollectionAutoscaleSettingsOutput
func (MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsOutputWithContext ¶
func (o MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsOutputWithContext(ctx context.Context) MongoCollectionAutoscaleSettingsOutput
func (MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsPtrOutput ¶
func (o MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsPtrOutput() MongoCollectionAutoscaleSettingsPtrOutput
func (MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext ¶
func (o MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoCollectionAutoscaleSettingsPtrOutput
type MongoCollectionAutoscaleSettingsPtrInput ¶
type MongoCollectionAutoscaleSettingsPtrInput interface { pulumi.Input ToMongoCollectionAutoscaleSettingsPtrOutput() MongoCollectionAutoscaleSettingsPtrOutput ToMongoCollectionAutoscaleSettingsPtrOutputWithContext(context.Context) MongoCollectionAutoscaleSettingsPtrOutput }
MongoCollectionAutoscaleSettingsPtrInput is an input type that accepts MongoCollectionAutoscaleSettingsArgs, MongoCollectionAutoscaleSettingsPtr and MongoCollectionAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `MongoCollectionAutoscaleSettingsPtrInput` via:
MongoCollectionAutoscaleSettingsArgs{...} or: nil
func MongoCollectionAutoscaleSettingsPtr ¶
func MongoCollectionAutoscaleSettingsPtr(v *MongoCollectionAutoscaleSettingsArgs) MongoCollectionAutoscaleSettingsPtrInput
type MongoCollectionAutoscaleSettingsPtrOutput ¶
type MongoCollectionAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }
func (MongoCollectionAutoscaleSettingsPtrOutput) ElementType ¶
func (MongoCollectionAutoscaleSettingsPtrOutput) ElementType() reflect.Type
func (MongoCollectionAutoscaleSettingsPtrOutput) MaxThroughput ¶
func (o MongoCollectionAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the MongoDB collection (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (MongoCollectionAutoscaleSettingsPtrOutput) ToMongoCollectionAutoscaleSettingsPtrOutput ¶
func (o MongoCollectionAutoscaleSettingsPtrOutput) ToMongoCollectionAutoscaleSettingsPtrOutput() MongoCollectionAutoscaleSettingsPtrOutput
func (MongoCollectionAutoscaleSettingsPtrOutput) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext ¶
func (o MongoCollectionAutoscaleSettingsPtrOutput) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoCollectionAutoscaleSettingsPtrOutput
type MongoCollectionIndex ¶
type MongoCollectionIndexArgs ¶
type MongoCollectionIndexArgs struct { // Specifies the list of user settable keys for each Cosmos DB Mongo Collection. Keys pulumi.StringArrayInput `pulumi:"keys"` // Is the index unique or not? Defaults to `false`. Unique pulumi.BoolPtrInput `pulumi:"unique"` }
func (MongoCollectionIndexArgs) ElementType ¶
func (MongoCollectionIndexArgs) ElementType() reflect.Type
func (MongoCollectionIndexArgs) ToMongoCollectionIndexOutput ¶
func (i MongoCollectionIndexArgs) ToMongoCollectionIndexOutput() MongoCollectionIndexOutput
func (MongoCollectionIndexArgs) ToMongoCollectionIndexOutputWithContext ¶
func (i MongoCollectionIndexArgs) ToMongoCollectionIndexOutputWithContext(ctx context.Context) MongoCollectionIndexOutput
type MongoCollectionIndexArray ¶
type MongoCollectionIndexArray []MongoCollectionIndexInput
func (MongoCollectionIndexArray) ElementType ¶
func (MongoCollectionIndexArray) ElementType() reflect.Type
func (MongoCollectionIndexArray) ToMongoCollectionIndexArrayOutput ¶
func (i MongoCollectionIndexArray) ToMongoCollectionIndexArrayOutput() MongoCollectionIndexArrayOutput
func (MongoCollectionIndexArray) ToMongoCollectionIndexArrayOutputWithContext ¶
func (i MongoCollectionIndexArray) ToMongoCollectionIndexArrayOutputWithContext(ctx context.Context) MongoCollectionIndexArrayOutput
type MongoCollectionIndexArrayInput ¶
type MongoCollectionIndexArrayInput interface { pulumi.Input ToMongoCollectionIndexArrayOutput() MongoCollectionIndexArrayOutput ToMongoCollectionIndexArrayOutputWithContext(context.Context) MongoCollectionIndexArrayOutput }
MongoCollectionIndexArrayInput is an input type that accepts MongoCollectionIndexArray and MongoCollectionIndexArrayOutput values. You can construct a concrete instance of `MongoCollectionIndexArrayInput` via:
MongoCollectionIndexArray{ MongoCollectionIndexArgs{...} }
type MongoCollectionIndexArrayOutput ¶
type MongoCollectionIndexArrayOutput struct{ *pulumi.OutputState }
func (MongoCollectionIndexArrayOutput) ElementType ¶
func (MongoCollectionIndexArrayOutput) ElementType() reflect.Type
func (MongoCollectionIndexArrayOutput) Index ¶
func (o MongoCollectionIndexArrayOutput) Index(i pulumi.IntInput) MongoCollectionIndexOutput
func (MongoCollectionIndexArrayOutput) ToMongoCollectionIndexArrayOutput ¶
func (o MongoCollectionIndexArrayOutput) ToMongoCollectionIndexArrayOutput() MongoCollectionIndexArrayOutput
func (MongoCollectionIndexArrayOutput) ToMongoCollectionIndexArrayOutputWithContext ¶
func (o MongoCollectionIndexArrayOutput) ToMongoCollectionIndexArrayOutputWithContext(ctx context.Context) MongoCollectionIndexArrayOutput
type MongoCollectionIndexInput ¶
type MongoCollectionIndexInput interface { pulumi.Input ToMongoCollectionIndexOutput() MongoCollectionIndexOutput ToMongoCollectionIndexOutputWithContext(context.Context) MongoCollectionIndexOutput }
MongoCollectionIndexInput is an input type that accepts MongoCollectionIndexArgs and MongoCollectionIndexOutput values. You can construct a concrete instance of `MongoCollectionIndexInput` via:
MongoCollectionIndexArgs{...}
type MongoCollectionIndexOutput ¶
type MongoCollectionIndexOutput struct{ *pulumi.OutputState }
func (MongoCollectionIndexOutput) ElementType ¶
func (MongoCollectionIndexOutput) ElementType() reflect.Type
func (MongoCollectionIndexOutput) Keys ¶
func (o MongoCollectionIndexOutput) Keys() pulumi.StringArrayOutput
Specifies the list of user settable keys for each Cosmos DB Mongo Collection.
func (MongoCollectionIndexOutput) ToMongoCollectionIndexOutput ¶
func (o MongoCollectionIndexOutput) ToMongoCollectionIndexOutput() MongoCollectionIndexOutput
func (MongoCollectionIndexOutput) ToMongoCollectionIndexOutputWithContext ¶
func (o MongoCollectionIndexOutput) ToMongoCollectionIndexOutputWithContext(ctx context.Context) MongoCollectionIndexOutput
func (MongoCollectionIndexOutput) Unique ¶
func (o MongoCollectionIndexOutput) Unique() pulumi.BoolPtrOutput
Is the index unique or not? Defaults to `false`.
type MongoCollectionInput ¶
type MongoCollectionInput interface { pulumi.Input ToMongoCollectionOutput() MongoCollectionOutput ToMongoCollectionOutputWithContext(ctx context.Context) MongoCollectionOutput }
type MongoCollectionMap ¶
type MongoCollectionMap map[string]MongoCollectionInput
func (MongoCollectionMap) ElementType ¶
func (MongoCollectionMap) ElementType() reflect.Type
func (MongoCollectionMap) ToMongoCollectionMapOutput ¶
func (i MongoCollectionMap) ToMongoCollectionMapOutput() MongoCollectionMapOutput
func (MongoCollectionMap) ToMongoCollectionMapOutputWithContext ¶
func (i MongoCollectionMap) ToMongoCollectionMapOutputWithContext(ctx context.Context) MongoCollectionMapOutput
type MongoCollectionMapInput ¶
type MongoCollectionMapInput interface { pulumi.Input ToMongoCollectionMapOutput() MongoCollectionMapOutput ToMongoCollectionMapOutputWithContext(context.Context) MongoCollectionMapOutput }
MongoCollectionMapInput is an input type that accepts MongoCollectionMap and MongoCollectionMapOutput values. You can construct a concrete instance of `MongoCollectionMapInput` via:
MongoCollectionMap{ "key": MongoCollectionArgs{...} }
type MongoCollectionMapOutput ¶
type MongoCollectionMapOutput struct{ *pulumi.OutputState }
func (MongoCollectionMapOutput) ElementType ¶
func (MongoCollectionMapOutput) ElementType() reflect.Type
func (MongoCollectionMapOutput) MapIndex ¶
func (o MongoCollectionMapOutput) MapIndex(k pulumi.StringInput) MongoCollectionOutput
func (MongoCollectionMapOutput) ToMongoCollectionMapOutput ¶
func (o MongoCollectionMapOutput) ToMongoCollectionMapOutput() MongoCollectionMapOutput
func (MongoCollectionMapOutput) ToMongoCollectionMapOutputWithContext ¶
func (o MongoCollectionMapOutput) ToMongoCollectionMapOutputWithContext(ctx context.Context) MongoCollectionMapOutput
type MongoCollectionOutput ¶
type MongoCollectionOutput struct {
*pulumi.OutputState
}
func (MongoCollectionOutput) ElementType ¶
func (MongoCollectionOutput) ElementType() reflect.Type
func (MongoCollectionOutput) ToMongoCollectionOutput ¶
func (o MongoCollectionOutput) ToMongoCollectionOutput() MongoCollectionOutput
func (MongoCollectionOutput) ToMongoCollectionOutputWithContext ¶
func (o MongoCollectionOutput) ToMongoCollectionOutputWithContext(ctx context.Context) MongoCollectionOutput
func (MongoCollectionOutput) ToMongoCollectionPtrOutput ¶
func (o MongoCollectionOutput) ToMongoCollectionPtrOutput() MongoCollectionPtrOutput
func (MongoCollectionOutput) ToMongoCollectionPtrOutputWithContext ¶
func (o MongoCollectionOutput) ToMongoCollectionPtrOutputWithContext(ctx context.Context) MongoCollectionPtrOutput
type MongoCollectionPtrInput ¶
type MongoCollectionPtrInput interface { pulumi.Input ToMongoCollectionPtrOutput() MongoCollectionPtrOutput ToMongoCollectionPtrOutputWithContext(ctx context.Context) MongoCollectionPtrOutput }
type MongoCollectionPtrOutput ¶
type MongoCollectionPtrOutput struct {
*pulumi.OutputState
}
func (MongoCollectionPtrOutput) ElementType ¶
func (MongoCollectionPtrOutput) ElementType() reflect.Type
func (MongoCollectionPtrOutput) ToMongoCollectionPtrOutput ¶
func (o MongoCollectionPtrOutput) ToMongoCollectionPtrOutput() MongoCollectionPtrOutput
func (MongoCollectionPtrOutput) ToMongoCollectionPtrOutputWithContext ¶
func (o MongoCollectionPtrOutput) ToMongoCollectionPtrOutputWithContext(ctx context.Context) MongoCollectionPtrOutput
type MongoCollectionState ¶
type MongoCollectionState struct { AccountName pulumi.StringPtrInput // The default time to live of Analytical Storage for this Mongo Collection. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time. AnalyticalStorageTtl pulumi.IntPtrInput // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual manual destroy-apply. Requires `shardKey` to be set. AutoscaleSettings MongoCollectionAutoscaleSettingsPtrInput // The name of the Cosmos DB Mongo Database in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created. DatabaseName pulumi.StringPtrInput // The default Time To Live in seconds. If the value is `-1` or `0`, items are not automatically expired. DefaultTtlSeconds pulumi.IntPtrInput // One or more `index` blocks as defined below. Indices MongoCollectionIndexArrayInput // Specifies the name of the Cosmos DB Mongo Collection. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The name of the key to partition on for sharding. There must not be any other unique index keys. ShardKey pulumi.StringPtrInput // One or more `systemIndexes` blocks as defined below. SystemIndexes MongoCollectionSystemIndexArrayInput // The throughput of the MongoDB collection (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual manual destroy-apply. Throughput pulumi.IntPtrInput }
func (MongoCollectionState) ElementType ¶
func (MongoCollectionState) ElementType() reflect.Type
type MongoCollectionSystemIndexArgs ¶
type MongoCollectionSystemIndexArgs struct { // Specifies the list of user settable keys for each Cosmos DB Mongo Collection. Keys pulumi.StringArrayInput `pulumi:"keys"` // Is the index unique or not? Defaults to `false`. Unique pulumi.BoolPtrInput `pulumi:"unique"` }
func (MongoCollectionSystemIndexArgs) ElementType ¶
func (MongoCollectionSystemIndexArgs) ElementType() reflect.Type
func (MongoCollectionSystemIndexArgs) ToMongoCollectionSystemIndexOutput ¶
func (i MongoCollectionSystemIndexArgs) ToMongoCollectionSystemIndexOutput() MongoCollectionSystemIndexOutput
func (MongoCollectionSystemIndexArgs) ToMongoCollectionSystemIndexOutputWithContext ¶
func (i MongoCollectionSystemIndexArgs) ToMongoCollectionSystemIndexOutputWithContext(ctx context.Context) MongoCollectionSystemIndexOutput
type MongoCollectionSystemIndexArray ¶
type MongoCollectionSystemIndexArray []MongoCollectionSystemIndexInput
func (MongoCollectionSystemIndexArray) ElementType ¶
func (MongoCollectionSystemIndexArray) ElementType() reflect.Type
func (MongoCollectionSystemIndexArray) ToMongoCollectionSystemIndexArrayOutput ¶
func (i MongoCollectionSystemIndexArray) ToMongoCollectionSystemIndexArrayOutput() MongoCollectionSystemIndexArrayOutput
func (MongoCollectionSystemIndexArray) ToMongoCollectionSystemIndexArrayOutputWithContext ¶
func (i MongoCollectionSystemIndexArray) ToMongoCollectionSystemIndexArrayOutputWithContext(ctx context.Context) MongoCollectionSystemIndexArrayOutput
type MongoCollectionSystemIndexArrayInput ¶
type MongoCollectionSystemIndexArrayInput interface { pulumi.Input ToMongoCollectionSystemIndexArrayOutput() MongoCollectionSystemIndexArrayOutput ToMongoCollectionSystemIndexArrayOutputWithContext(context.Context) MongoCollectionSystemIndexArrayOutput }
MongoCollectionSystemIndexArrayInput is an input type that accepts MongoCollectionSystemIndexArray and MongoCollectionSystemIndexArrayOutput values. You can construct a concrete instance of `MongoCollectionSystemIndexArrayInput` via:
MongoCollectionSystemIndexArray{ MongoCollectionSystemIndexArgs{...} }
type MongoCollectionSystemIndexArrayOutput ¶
type MongoCollectionSystemIndexArrayOutput struct{ *pulumi.OutputState }
func (MongoCollectionSystemIndexArrayOutput) ElementType ¶
func (MongoCollectionSystemIndexArrayOutput) ElementType() reflect.Type
func (MongoCollectionSystemIndexArrayOutput) Index ¶
func (o MongoCollectionSystemIndexArrayOutput) Index(i pulumi.IntInput) MongoCollectionSystemIndexOutput
func (MongoCollectionSystemIndexArrayOutput) ToMongoCollectionSystemIndexArrayOutput ¶
func (o MongoCollectionSystemIndexArrayOutput) ToMongoCollectionSystemIndexArrayOutput() MongoCollectionSystemIndexArrayOutput
func (MongoCollectionSystemIndexArrayOutput) ToMongoCollectionSystemIndexArrayOutputWithContext ¶
func (o MongoCollectionSystemIndexArrayOutput) ToMongoCollectionSystemIndexArrayOutputWithContext(ctx context.Context) MongoCollectionSystemIndexArrayOutput
type MongoCollectionSystemIndexInput ¶
type MongoCollectionSystemIndexInput interface { pulumi.Input ToMongoCollectionSystemIndexOutput() MongoCollectionSystemIndexOutput ToMongoCollectionSystemIndexOutputWithContext(context.Context) MongoCollectionSystemIndexOutput }
MongoCollectionSystemIndexInput is an input type that accepts MongoCollectionSystemIndexArgs and MongoCollectionSystemIndexOutput values. You can construct a concrete instance of `MongoCollectionSystemIndexInput` via:
MongoCollectionSystemIndexArgs{...}
type MongoCollectionSystemIndexOutput ¶
type MongoCollectionSystemIndexOutput struct{ *pulumi.OutputState }
func (MongoCollectionSystemIndexOutput) ElementType ¶
func (MongoCollectionSystemIndexOutput) ElementType() reflect.Type
func (MongoCollectionSystemIndexOutput) Keys ¶
func (o MongoCollectionSystemIndexOutput) Keys() pulumi.StringArrayOutput
Specifies the list of user settable keys for each Cosmos DB Mongo Collection.
func (MongoCollectionSystemIndexOutput) ToMongoCollectionSystemIndexOutput ¶
func (o MongoCollectionSystemIndexOutput) ToMongoCollectionSystemIndexOutput() MongoCollectionSystemIndexOutput
func (MongoCollectionSystemIndexOutput) ToMongoCollectionSystemIndexOutputWithContext ¶
func (o MongoCollectionSystemIndexOutput) ToMongoCollectionSystemIndexOutputWithContext(ctx context.Context) MongoCollectionSystemIndexOutput
func (MongoCollectionSystemIndexOutput) Unique ¶
func (o MongoCollectionSystemIndexOutput) Unique() pulumi.BoolPtrOutput
Is the index unique or not? Defaults to `false`.
type MongoDatabase ¶
type MongoDatabase struct { pulumi.CustomResourceState // The name of the Cosmos DB Mongo Database to create the table within. Changing this forces a new resource to be created. AccountName pulumi.StringOutput `pulumi:"accountName"` // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. AutoscaleSettings MongoDatabaseAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"` // Specifies the name of the Cosmos DB Mongo Database. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which the Cosmos DB Mongo Database is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The throughput of the MongoDB collection (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply. Throughput pulumi.IntOutput `pulumi:"throughput"` }
Manages a Mongo Database within a Cosmos DB Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{ Name: "tfex-cosmosdb-account", ResourceGroupName: "tfex-cosmosdb-account-rg", }, nil) if err != nil { return err } _, err = cosmosdb.NewMongoDatabase(ctx, "exampleMongoDatabase", &cosmosdb.MongoDatabaseArgs{ ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName), AccountName: pulumi.String(exampleAccount.Name), Throughput: pulumi.Int(400), }) if err != nil { return err } return nil }) }
```
## Import
Cosmos Mongo Database can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/mongoDatabase:MongoDatabase db1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/mongodbDatabases/db1
```
func GetMongoDatabase ¶
func GetMongoDatabase(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MongoDatabaseState, opts ...pulumi.ResourceOption) (*MongoDatabase, error)
GetMongoDatabase gets an existing MongoDatabase 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 NewMongoDatabase ¶
func NewMongoDatabase(ctx *pulumi.Context, name string, args *MongoDatabaseArgs, opts ...pulumi.ResourceOption) (*MongoDatabase, error)
NewMongoDatabase registers a new resource with the given unique name, arguments, and options.
func (*MongoDatabase) ElementType ¶
func (*MongoDatabase) ElementType() reflect.Type
func (*MongoDatabase) ToMongoDatabaseOutput ¶
func (i *MongoDatabase) ToMongoDatabaseOutput() MongoDatabaseOutput
func (*MongoDatabase) ToMongoDatabaseOutputWithContext ¶
func (i *MongoDatabase) ToMongoDatabaseOutputWithContext(ctx context.Context) MongoDatabaseOutput
func (*MongoDatabase) ToMongoDatabasePtrOutput ¶
func (i *MongoDatabase) ToMongoDatabasePtrOutput() MongoDatabasePtrOutput
func (*MongoDatabase) ToMongoDatabasePtrOutputWithContext ¶
func (i *MongoDatabase) ToMongoDatabasePtrOutputWithContext(ctx context.Context) MongoDatabasePtrOutput
type MongoDatabaseArgs ¶
type MongoDatabaseArgs struct { // The name of the Cosmos DB Mongo Database to create the table within. Changing this forces a new resource to be created. AccountName pulumi.StringInput // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. AutoscaleSettings MongoDatabaseAutoscaleSettingsPtrInput // Specifies the name of the Cosmos DB Mongo Database. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the Cosmos DB Mongo Database is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The throughput of the MongoDB collection (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply. Throughput pulumi.IntPtrInput }
The set of arguments for constructing a MongoDatabase resource.
func (MongoDatabaseArgs) ElementType ¶
func (MongoDatabaseArgs) ElementType() reflect.Type
type MongoDatabaseArray ¶
type MongoDatabaseArray []MongoDatabaseInput
func (MongoDatabaseArray) ElementType ¶
func (MongoDatabaseArray) ElementType() reflect.Type
func (MongoDatabaseArray) ToMongoDatabaseArrayOutput ¶
func (i MongoDatabaseArray) ToMongoDatabaseArrayOutput() MongoDatabaseArrayOutput
func (MongoDatabaseArray) ToMongoDatabaseArrayOutputWithContext ¶
func (i MongoDatabaseArray) ToMongoDatabaseArrayOutputWithContext(ctx context.Context) MongoDatabaseArrayOutput
type MongoDatabaseArrayInput ¶
type MongoDatabaseArrayInput interface { pulumi.Input ToMongoDatabaseArrayOutput() MongoDatabaseArrayOutput ToMongoDatabaseArrayOutputWithContext(context.Context) MongoDatabaseArrayOutput }
MongoDatabaseArrayInput is an input type that accepts MongoDatabaseArray and MongoDatabaseArrayOutput values. You can construct a concrete instance of `MongoDatabaseArrayInput` via:
MongoDatabaseArray{ MongoDatabaseArgs{...} }
type MongoDatabaseArrayOutput ¶
type MongoDatabaseArrayOutput struct{ *pulumi.OutputState }
func (MongoDatabaseArrayOutput) ElementType ¶
func (MongoDatabaseArrayOutput) ElementType() reflect.Type
func (MongoDatabaseArrayOutput) Index ¶
func (o MongoDatabaseArrayOutput) Index(i pulumi.IntInput) MongoDatabaseOutput
func (MongoDatabaseArrayOutput) ToMongoDatabaseArrayOutput ¶
func (o MongoDatabaseArrayOutput) ToMongoDatabaseArrayOutput() MongoDatabaseArrayOutput
func (MongoDatabaseArrayOutput) ToMongoDatabaseArrayOutputWithContext ¶
func (o MongoDatabaseArrayOutput) ToMongoDatabaseArrayOutputWithContext(ctx context.Context) MongoDatabaseArrayOutput
type MongoDatabaseAutoscaleSettings ¶
type MongoDatabaseAutoscaleSettings struct { // The maximum throughput of the MongoDB database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput *int `pulumi:"maxThroughput"` }
type MongoDatabaseAutoscaleSettingsArgs ¶
type MongoDatabaseAutoscaleSettingsArgs struct { // The maximum throughput of the MongoDB database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"` }
func (MongoDatabaseAutoscaleSettingsArgs) ElementType ¶
func (MongoDatabaseAutoscaleSettingsArgs) ElementType() reflect.Type
func (MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsOutput ¶
func (i MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsOutput() MongoDatabaseAutoscaleSettingsOutput
func (MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsOutputWithContext ¶
func (i MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) MongoDatabaseAutoscaleSettingsOutput
func (MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsPtrOutput ¶
func (i MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsPtrOutput() MongoDatabaseAutoscaleSettingsPtrOutput
func (MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext ¶
func (i MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoDatabaseAutoscaleSettingsPtrOutput
type MongoDatabaseAutoscaleSettingsInput ¶
type MongoDatabaseAutoscaleSettingsInput interface { pulumi.Input ToMongoDatabaseAutoscaleSettingsOutput() MongoDatabaseAutoscaleSettingsOutput ToMongoDatabaseAutoscaleSettingsOutputWithContext(context.Context) MongoDatabaseAutoscaleSettingsOutput }
MongoDatabaseAutoscaleSettingsInput is an input type that accepts MongoDatabaseAutoscaleSettingsArgs and MongoDatabaseAutoscaleSettingsOutput values. You can construct a concrete instance of `MongoDatabaseAutoscaleSettingsInput` via:
MongoDatabaseAutoscaleSettingsArgs{...}
type MongoDatabaseAutoscaleSettingsOutput ¶
type MongoDatabaseAutoscaleSettingsOutput struct{ *pulumi.OutputState }
func (MongoDatabaseAutoscaleSettingsOutput) ElementType ¶
func (MongoDatabaseAutoscaleSettingsOutput) ElementType() reflect.Type
func (MongoDatabaseAutoscaleSettingsOutput) MaxThroughput ¶
func (o MongoDatabaseAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the MongoDB database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsOutput ¶
func (o MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsOutput() MongoDatabaseAutoscaleSettingsOutput
func (MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsOutputWithContext ¶
func (o MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) MongoDatabaseAutoscaleSettingsOutput
func (MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsPtrOutput ¶
func (o MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsPtrOutput() MongoDatabaseAutoscaleSettingsPtrOutput
func (MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext ¶
func (o MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoDatabaseAutoscaleSettingsPtrOutput
type MongoDatabaseAutoscaleSettingsPtrInput ¶
type MongoDatabaseAutoscaleSettingsPtrInput interface { pulumi.Input ToMongoDatabaseAutoscaleSettingsPtrOutput() MongoDatabaseAutoscaleSettingsPtrOutput ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext(context.Context) MongoDatabaseAutoscaleSettingsPtrOutput }
MongoDatabaseAutoscaleSettingsPtrInput is an input type that accepts MongoDatabaseAutoscaleSettingsArgs, MongoDatabaseAutoscaleSettingsPtr and MongoDatabaseAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `MongoDatabaseAutoscaleSettingsPtrInput` via:
MongoDatabaseAutoscaleSettingsArgs{...} or: nil
func MongoDatabaseAutoscaleSettingsPtr ¶
func MongoDatabaseAutoscaleSettingsPtr(v *MongoDatabaseAutoscaleSettingsArgs) MongoDatabaseAutoscaleSettingsPtrInput
type MongoDatabaseAutoscaleSettingsPtrOutput ¶
type MongoDatabaseAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }
func (MongoDatabaseAutoscaleSettingsPtrOutput) ElementType ¶
func (MongoDatabaseAutoscaleSettingsPtrOutput) ElementType() reflect.Type
func (MongoDatabaseAutoscaleSettingsPtrOutput) MaxThroughput ¶
func (o MongoDatabaseAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the MongoDB database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (MongoDatabaseAutoscaleSettingsPtrOutput) ToMongoDatabaseAutoscaleSettingsPtrOutput ¶
func (o MongoDatabaseAutoscaleSettingsPtrOutput) ToMongoDatabaseAutoscaleSettingsPtrOutput() MongoDatabaseAutoscaleSettingsPtrOutput
func (MongoDatabaseAutoscaleSettingsPtrOutput) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext ¶
func (o MongoDatabaseAutoscaleSettingsPtrOutput) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoDatabaseAutoscaleSettingsPtrOutput
type MongoDatabaseInput ¶
type MongoDatabaseInput interface { pulumi.Input ToMongoDatabaseOutput() MongoDatabaseOutput ToMongoDatabaseOutputWithContext(ctx context.Context) MongoDatabaseOutput }
type MongoDatabaseMap ¶
type MongoDatabaseMap map[string]MongoDatabaseInput
func (MongoDatabaseMap) ElementType ¶
func (MongoDatabaseMap) ElementType() reflect.Type
func (MongoDatabaseMap) ToMongoDatabaseMapOutput ¶
func (i MongoDatabaseMap) ToMongoDatabaseMapOutput() MongoDatabaseMapOutput
func (MongoDatabaseMap) ToMongoDatabaseMapOutputWithContext ¶
func (i MongoDatabaseMap) ToMongoDatabaseMapOutputWithContext(ctx context.Context) MongoDatabaseMapOutput
type MongoDatabaseMapInput ¶
type MongoDatabaseMapInput interface { pulumi.Input ToMongoDatabaseMapOutput() MongoDatabaseMapOutput ToMongoDatabaseMapOutputWithContext(context.Context) MongoDatabaseMapOutput }
MongoDatabaseMapInput is an input type that accepts MongoDatabaseMap and MongoDatabaseMapOutput values. You can construct a concrete instance of `MongoDatabaseMapInput` via:
MongoDatabaseMap{ "key": MongoDatabaseArgs{...} }
type MongoDatabaseMapOutput ¶
type MongoDatabaseMapOutput struct{ *pulumi.OutputState }
func (MongoDatabaseMapOutput) ElementType ¶
func (MongoDatabaseMapOutput) ElementType() reflect.Type
func (MongoDatabaseMapOutput) MapIndex ¶
func (o MongoDatabaseMapOutput) MapIndex(k pulumi.StringInput) MongoDatabaseOutput
func (MongoDatabaseMapOutput) ToMongoDatabaseMapOutput ¶
func (o MongoDatabaseMapOutput) ToMongoDatabaseMapOutput() MongoDatabaseMapOutput
func (MongoDatabaseMapOutput) ToMongoDatabaseMapOutputWithContext ¶
func (o MongoDatabaseMapOutput) ToMongoDatabaseMapOutputWithContext(ctx context.Context) MongoDatabaseMapOutput
type MongoDatabaseOutput ¶
type MongoDatabaseOutput struct {
*pulumi.OutputState
}
func (MongoDatabaseOutput) ElementType ¶
func (MongoDatabaseOutput) ElementType() reflect.Type
func (MongoDatabaseOutput) ToMongoDatabaseOutput ¶
func (o MongoDatabaseOutput) ToMongoDatabaseOutput() MongoDatabaseOutput
func (MongoDatabaseOutput) ToMongoDatabaseOutputWithContext ¶
func (o MongoDatabaseOutput) ToMongoDatabaseOutputWithContext(ctx context.Context) MongoDatabaseOutput
func (MongoDatabaseOutput) ToMongoDatabasePtrOutput ¶
func (o MongoDatabaseOutput) ToMongoDatabasePtrOutput() MongoDatabasePtrOutput
func (MongoDatabaseOutput) ToMongoDatabasePtrOutputWithContext ¶
func (o MongoDatabaseOutput) ToMongoDatabasePtrOutputWithContext(ctx context.Context) MongoDatabasePtrOutput
type MongoDatabasePtrInput ¶
type MongoDatabasePtrInput interface { pulumi.Input ToMongoDatabasePtrOutput() MongoDatabasePtrOutput ToMongoDatabasePtrOutputWithContext(ctx context.Context) MongoDatabasePtrOutput }
type MongoDatabasePtrOutput ¶
type MongoDatabasePtrOutput struct {
*pulumi.OutputState
}
func (MongoDatabasePtrOutput) ElementType ¶
func (MongoDatabasePtrOutput) ElementType() reflect.Type
func (MongoDatabasePtrOutput) ToMongoDatabasePtrOutput ¶
func (o MongoDatabasePtrOutput) ToMongoDatabasePtrOutput() MongoDatabasePtrOutput
func (MongoDatabasePtrOutput) ToMongoDatabasePtrOutputWithContext ¶
func (o MongoDatabasePtrOutput) ToMongoDatabasePtrOutputWithContext(ctx context.Context) MongoDatabasePtrOutput
type MongoDatabaseState ¶
type MongoDatabaseState struct { // The name of the Cosmos DB Mongo Database to create the table within. Changing this forces a new resource to be created. AccountName pulumi.StringPtrInput // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. AutoscaleSettings MongoDatabaseAutoscaleSettingsPtrInput // Specifies the name of the Cosmos DB Mongo Database. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the Cosmos DB Mongo Database is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The throughput of the MongoDB collection (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply. Throughput pulumi.IntPtrInput }
func (MongoDatabaseState) ElementType ¶
func (MongoDatabaseState) ElementType() reflect.Type
type NotebookWorkspace ¶ added in v4.2.0
type NotebookWorkspace struct { pulumi.CustomResourceState // The name of the Cosmos DB Account to create the SQL Notebook Workspace within. Changing this forces a new SQL Notebook Workspace to be created. AccountName pulumi.StringOutput `pulumi:"accountName"` // The name which should be used for this SQL Notebook Workspace. Possible value is `default`. Changing this forces a new SQL Notebook Workspace to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the Resource Group where the SQL Notebook Workspace should exist. Changing this forces a new SQL Notebook Workspace to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Specifies the endpoint of Notebook server. ServerEndpoint pulumi.StringOutput `pulumi:"serverEndpoint"` }
Manages an SQL Notebook Workspace.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb" "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 } exampleAccount, err := cosmosdb.NewAccount(ctx, "exampleAccount", &cosmosdb.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, OfferType: pulumi.String("Standard"), Kind: pulumi.String("GlobalDocumentDB"), ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{ ConsistencyLevel: pulumi.String("BoundedStaleness"), }, GeoLocations: cosmosdb.AccountGeoLocationArray{ &cosmosdb.AccountGeoLocationArgs{ Location: exampleResourceGroup.Location, FailoverPriority: pulumi.Int(0), }, }, }) if err != nil { return err } _, err = cosmosdb.NewNotebookWorkspace(ctx, "exampleNotebookWorkspace", &cosmosdb.NotebookWorkspaceArgs{ ResourceGroupName: exampleAccount.ResourceGroupName, AccountName: exampleAccount.Name, }) if err != nil { return err } return nil }) }
```
## Import
=SQL Notebook Workspaces can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/notebookWorkspace:NotebookWorkspace example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/notebookWorkspaces/notebookWorkspace1
```
func GetNotebookWorkspace ¶ added in v4.2.0
func GetNotebookWorkspace(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NotebookWorkspaceState, opts ...pulumi.ResourceOption) (*NotebookWorkspace, error)
GetNotebookWorkspace gets an existing NotebookWorkspace 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 NewNotebookWorkspace ¶ added in v4.2.0
func NewNotebookWorkspace(ctx *pulumi.Context, name string, args *NotebookWorkspaceArgs, opts ...pulumi.ResourceOption) (*NotebookWorkspace, error)
NewNotebookWorkspace registers a new resource with the given unique name, arguments, and options.
func (*NotebookWorkspace) ElementType ¶ added in v4.2.0
func (*NotebookWorkspace) ElementType() reflect.Type
func (*NotebookWorkspace) ToNotebookWorkspaceOutput ¶ added in v4.2.0
func (i *NotebookWorkspace) ToNotebookWorkspaceOutput() NotebookWorkspaceOutput
func (*NotebookWorkspace) ToNotebookWorkspaceOutputWithContext ¶ added in v4.2.0
func (i *NotebookWorkspace) ToNotebookWorkspaceOutputWithContext(ctx context.Context) NotebookWorkspaceOutput
func (*NotebookWorkspace) ToNotebookWorkspacePtrOutput ¶ added in v4.2.0
func (i *NotebookWorkspace) ToNotebookWorkspacePtrOutput() NotebookWorkspacePtrOutput
func (*NotebookWorkspace) ToNotebookWorkspacePtrOutputWithContext ¶ added in v4.2.0
func (i *NotebookWorkspace) ToNotebookWorkspacePtrOutputWithContext(ctx context.Context) NotebookWorkspacePtrOutput
type NotebookWorkspaceArgs ¶ added in v4.2.0
type NotebookWorkspaceArgs struct { // The name of the Cosmos DB Account to create the SQL Notebook Workspace within. Changing this forces a new SQL Notebook Workspace to be created. AccountName pulumi.StringInput // The name which should be used for this SQL Notebook Workspace. Possible value is `default`. Changing this forces a new SQL Notebook Workspace to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the SQL Notebook Workspace should exist. Changing this forces a new SQL Notebook Workspace to be created. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a NotebookWorkspace resource.
func (NotebookWorkspaceArgs) ElementType ¶ added in v4.2.0
func (NotebookWorkspaceArgs) ElementType() reflect.Type
type NotebookWorkspaceArray ¶ added in v4.2.0
type NotebookWorkspaceArray []NotebookWorkspaceInput
func (NotebookWorkspaceArray) ElementType ¶ added in v4.2.0
func (NotebookWorkspaceArray) ElementType() reflect.Type
func (NotebookWorkspaceArray) ToNotebookWorkspaceArrayOutput ¶ added in v4.2.0
func (i NotebookWorkspaceArray) ToNotebookWorkspaceArrayOutput() NotebookWorkspaceArrayOutput
func (NotebookWorkspaceArray) ToNotebookWorkspaceArrayOutputWithContext ¶ added in v4.2.0
func (i NotebookWorkspaceArray) ToNotebookWorkspaceArrayOutputWithContext(ctx context.Context) NotebookWorkspaceArrayOutput
type NotebookWorkspaceArrayInput ¶ added in v4.2.0
type NotebookWorkspaceArrayInput interface { pulumi.Input ToNotebookWorkspaceArrayOutput() NotebookWorkspaceArrayOutput ToNotebookWorkspaceArrayOutputWithContext(context.Context) NotebookWorkspaceArrayOutput }
NotebookWorkspaceArrayInput is an input type that accepts NotebookWorkspaceArray and NotebookWorkspaceArrayOutput values. You can construct a concrete instance of `NotebookWorkspaceArrayInput` via:
NotebookWorkspaceArray{ NotebookWorkspaceArgs{...} }
type NotebookWorkspaceArrayOutput ¶ added in v4.2.0
type NotebookWorkspaceArrayOutput struct{ *pulumi.OutputState }
func (NotebookWorkspaceArrayOutput) ElementType ¶ added in v4.2.0
func (NotebookWorkspaceArrayOutput) ElementType() reflect.Type
func (NotebookWorkspaceArrayOutput) Index ¶ added in v4.2.0
func (o NotebookWorkspaceArrayOutput) Index(i pulumi.IntInput) NotebookWorkspaceOutput
func (NotebookWorkspaceArrayOutput) ToNotebookWorkspaceArrayOutput ¶ added in v4.2.0
func (o NotebookWorkspaceArrayOutput) ToNotebookWorkspaceArrayOutput() NotebookWorkspaceArrayOutput
func (NotebookWorkspaceArrayOutput) ToNotebookWorkspaceArrayOutputWithContext ¶ added in v4.2.0
func (o NotebookWorkspaceArrayOutput) ToNotebookWorkspaceArrayOutputWithContext(ctx context.Context) NotebookWorkspaceArrayOutput
type NotebookWorkspaceInput ¶ added in v4.2.0
type NotebookWorkspaceInput interface { pulumi.Input ToNotebookWorkspaceOutput() NotebookWorkspaceOutput ToNotebookWorkspaceOutputWithContext(ctx context.Context) NotebookWorkspaceOutput }
type NotebookWorkspaceMap ¶ added in v4.2.0
type NotebookWorkspaceMap map[string]NotebookWorkspaceInput
func (NotebookWorkspaceMap) ElementType ¶ added in v4.2.0
func (NotebookWorkspaceMap) ElementType() reflect.Type
func (NotebookWorkspaceMap) ToNotebookWorkspaceMapOutput ¶ added in v4.2.0
func (i NotebookWorkspaceMap) ToNotebookWorkspaceMapOutput() NotebookWorkspaceMapOutput
func (NotebookWorkspaceMap) ToNotebookWorkspaceMapOutputWithContext ¶ added in v4.2.0
func (i NotebookWorkspaceMap) ToNotebookWorkspaceMapOutputWithContext(ctx context.Context) NotebookWorkspaceMapOutput
type NotebookWorkspaceMapInput ¶ added in v4.2.0
type NotebookWorkspaceMapInput interface { pulumi.Input ToNotebookWorkspaceMapOutput() NotebookWorkspaceMapOutput ToNotebookWorkspaceMapOutputWithContext(context.Context) NotebookWorkspaceMapOutput }
NotebookWorkspaceMapInput is an input type that accepts NotebookWorkspaceMap and NotebookWorkspaceMapOutput values. You can construct a concrete instance of `NotebookWorkspaceMapInput` via:
NotebookWorkspaceMap{ "key": NotebookWorkspaceArgs{...} }
type NotebookWorkspaceMapOutput ¶ added in v4.2.0
type NotebookWorkspaceMapOutput struct{ *pulumi.OutputState }
func (NotebookWorkspaceMapOutput) ElementType ¶ added in v4.2.0
func (NotebookWorkspaceMapOutput) ElementType() reflect.Type
func (NotebookWorkspaceMapOutput) MapIndex ¶ added in v4.2.0
func (o NotebookWorkspaceMapOutput) MapIndex(k pulumi.StringInput) NotebookWorkspaceOutput
func (NotebookWorkspaceMapOutput) ToNotebookWorkspaceMapOutput ¶ added in v4.2.0
func (o NotebookWorkspaceMapOutput) ToNotebookWorkspaceMapOutput() NotebookWorkspaceMapOutput
func (NotebookWorkspaceMapOutput) ToNotebookWorkspaceMapOutputWithContext ¶ added in v4.2.0
func (o NotebookWorkspaceMapOutput) ToNotebookWorkspaceMapOutputWithContext(ctx context.Context) NotebookWorkspaceMapOutput
type NotebookWorkspaceOutput ¶ added in v4.2.0
type NotebookWorkspaceOutput struct {
*pulumi.OutputState
}
func (NotebookWorkspaceOutput) ElementType ¶ added in v4.2.0
func (NotebookWorkspaceOutput) ElementType() reflect.Type
func (NotebookWorkspaceOutput) ToNotebookWorkspaceOutput ¶ added in v4.2.0
func (o NotebookWorkspaceOutput) ToNotebookWorkspaceOutput() NotebookWorkspaceOutput
func (NotebookWorkspaceOutput) ToNotebookWorkspaceOutputWithContext ¶ added in v4.2.0
func (o NotebookWorkspaceOutput) ToNotebookWorkspaceOutputWithContext(ctx context.Context) NotebookWorkspaceOutput
func (NotebookWorkspaceOutput) ToNotebookWorkspacePtrOutput ¶ added in v4.2.0
func (o NotebookWorkspaceOutput) ToNotebookWorkspacePtrOutput() NotebookWorkspacePtrOutput
func (NotebookWorkspaceOutput) ToNotebookWorkspacePtrOutputWithContext ¶ added in v4.2.0
func (o NotebookWorkspaceOutput) ToNotebookWorkspacePtrOutputWithContext(ctx context.Context) NotebookWorkspacePtrOutput
type NotebookWorkspacePtrInput ¶ added in v4.2.0
type NotebookWorkspacePtrInput interface { pulumi.Input ToNotebookWorkspacePtrOutput() NotebookWorkspacePtrOutput ToNotebookWorkspacePtrOutputWithContext(ctx context.Context) NotebookWorkspacePtrOutput }
type NotebookWorkspacePtrOutput ¶ added in v4.2.0
type NotebookWorkspacePtrOutput struct {
*pulumi.OutputState
}
func (NotebookWorkspacePtrOutput) ElementType ¶ added in v4.2.0
func (NotebookWorkspacePtrOutput) ElementType() reflect.Type
func (NotebookWorkspacePtrOutput) ToNotebookWorkspacePtrOutput ¶ added in v4.2.0
func (o NotebookWorkspacePtrOutput) ToNotebookWorkspacePtrOutput() NotebookWorkspacePtrOutput
func (NotebookWorkspacePtrOutput) ToNotebookWorkspacePtrOutputWithContext ¶ added in v4.2.0
func (o NotebookWorkspacePtrOutput) ToNotebookWorkspacePtrOutputWithContext(ctx context.Context) NotebookWorkspacePtrOutput
type NotebookWorkspaceState ¶ added in v4.2.0
type NotebookWorkspaceState struct { // The name of the Cosmos DB Account to create the SQL Notebook Workspace within. Changing this forces a new SQL Notebook Workspace to be created. AccountName pulumi.StringPtrInput // The name which should be used for this SQL Notebook Workspace. Possible value is `default`. Changing this forces a new SQL Notebook Workspace to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the SQL Notebook Workspace should exist. Changing this forces a new SQL Notebook Workspace to be created. ResourceGroupName pulumi.StringPtrInput // Specifies the endpoint of Notebook server. ServerEndpoint pulumi.StringPtrInput }
func (NotebookWorkspaceState) ElementType ¶ added in v4.2.0
func (NotebookWorkspaceState) ElementType() reflect.Type
type SqlContainer ¶
type SqlContainer struct { pulumi.CustomResourceState // The name of the Cosmos DB Account to create the container within. Changing this forces a new resource to be created. AccountName pulumi.StringOutput `pulumi:"accountName"` // The default time to live of Analytical Storage for this SQL container. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time. AnalyticalStorageTtl pulumi.IntPtrOutput `pulumi:"analyticalStorageTtl"` // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. Requires `partitionKeyPath` to be set. AutoscaleSettings SqlContainerAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"` // A `conflictResolutionPolicy` blocks as defined below. ConflictResolutionPolicy SqlContainerConflictResolutionPolicyOutput `pulumi:"conflictResolutionPolicy"` // The name of the Cosmos DB SQL Database to create the container within. Changing this forces a new resource to be created. DatabaseName pulumi.StringOutput `pulumi:"databaseName"` // The default time to live of SQL container. If missing, items are not expired automatically. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time. DefaultTtl pulumi.IntOutput `pulumi:"defaultTtl"` // An `indexingPolicy` block as defined below. IndexingPolicy SqlContainerIndexingPolicyOutput `pulumi:"indexingPolicy"` // Specifies the name of the Cosmos DB SQL Container. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Define a partition key. Changing this forces a new resource to be created. PartitionKeyPath pulumi.StringOutput `pulumi:"partitionKeyPath"` // Define a partition key version. Changing this forces a new resource to be created. Possible values are ` 1 `and `2`. This should be set to `2` in order to use large partition keys. PartitionKeyVersion pulumi.IntPtrOutput `pulumi:"partitionKeyVersion"` // The name of the resource group in which the Cosmos DB SQL Container is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The throughput of SQL container (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon container creation otherwise it cannot be updated without a manual resource destroy-apply. Throughput pulumi.IntOutput `pulumi:"throughput"` // One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created. UniqueKeys SqlContainerUniqueKeyArrayOutput `pulumi:"uniqueKeys"` }
Manages a SQL Container within a Cosmos DB Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cosmosdb.NewSqlContainer(ctx, "example", &cosmosdb.SqlContainerArgs{ ResourceGroupName: pulumi.Any(azurerm_cosmosdb_account.Example.Resource_group_name), AccountName: pulumi.Any(azurerm_cosmosdb_account.Example.Name), DatabaseName: pulumi.Any(azurerm_cosmosdb_sql_database.Example.Name), PartitionKeyPath: pulumi.String("/definition/id"), PartitionKeyVersion: pulumi.Int(1), Throughput: pulumi.Int(400), IndexingPolicy: &cosmosdb.SqlContainerIndexingPolicyArgs{ IndexingMode: pulumi.String("Consistent"), IncludedPaths: cosmosdb.SqlContainerIndexingPolicyIncludedPathArray{ &cosmosdb.SqlContainerIndexingPolicyIncludedPathArgs{ Path: pulumi.String("/*"), }, &cosmosdb.SqlContainerIndexingPolicyIncludedPathArgs{ Path: pulumi.String("/included/?"), }, }, ExcludedPaths: cosmosdb.SqlContainerIndexingPolicyExcludedPathArray{ &cosmosdb.SqlContainerIndexingPolicyExcludedPathArgs{ Path: pulumi.String("/excluded/?"), }, }, }, UniqueKeys: cosmosdb.SqlContainerUniqueKeyArray{ &cosmosdb.SqlContainerUniqueKeyArgs{ Paths: pulumi.StringArray{ pulumi.String("/definition/idlong"), pulumi.String("/definition/idshort"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Cosmos SQL Containers can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/sqlContainer:SqlContainer example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlDatabases/database1/containers/container1
```
func GetSqlContainer ¶
func GetSqlContainer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SqlContainerState, opts ...pulumi.ResourceOption) (*SqlContainer, error)
GetSqlContainer gets an existing SqlContainer 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 NewSqlContainer ¶
func NewSqlContainer(ctx *pulumi.Context, name string, args *SqlContainerArgs, opts ...pulumi.ResourceOption) (*SqlContainer, error)
NewSqlContainer registers a new resource with the given unique name, arguments, and options.
func (*SqlContainer) ElementType ¶
func (*SqlContainer) ElementType() reflect.Type
func (*SqlContainer) ToSqlContainerOutput ¶
func (i *SqlContainer) ToSqlContainerOutput() SqlContainerOutput
func (*SqlContainer) ToSqlContainerOutputWithContext ¶
func (i *SqlContainer) ToSqlContainerOutputWithContext(ctx context.Context) SqlContainerOutput
func (*SqlContainer) ToSqlContainerPtrOutput ¶
func (i *SqlContainer) ToSqlContainerPtrOutput() SqlContainerPtrOutput
func (*SqlContainer) ToSqlContainerPtrOutputWithContext ¶
func (i *SqlContainer) ToSqlContainerPtrOutputWithContext(ctx context.Context) SqlContainerPtrOutput
type SqlContainerArgs ¶
type SqlContainerArgs struct { // The name of the Cosmos DB Account to create the container within. Changing this forces a new resource to be created. AccountName pulumi.StringInput // The default time to live of Analytical Storage for this SQL container. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time. AnalyticalStorageTtl pulumi.IntPtrInput // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. Requires `partitionKeyPath` to be set. AutoscaleSettings SqlContainerAutoscaleSettingsPtrInput // A `conflictResolutionPolicy` blocks as defined below. ConflictResolutionPolicy SqlContainerConflictResolutionPolicyPtrInput // The name of the Cosmos DB SQL Database to create the container within. Changing this forces a new resource to be created. DatabaseName pulumi.StringInput // The default time to live of SQL container. If missing, items are not expired automatically. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time. DefaultTtl pulumi.IntPtrInput // An `indexingPolicy` block as defined below. IndexingPolicy SqlContainerIndexingPolicyPtrInput // Specifies the name of the Cosmos DB SQL Container. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Define a partition key. Changing this forces a new resource to be created. PartitionKeyPath pulumi.StringInput // Define a partition key version. Changing this forces a new resource to be created. Possible values are ` 1 `and `2`. This should be set to `2` in order to use large partition keys. PartitionKeyVersion pulumi.IntPtrInput // The name of the resource group in which the Cosmos DB SQL Container is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The throughput of SQL container (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon container creation otherwise it cannot be updated without a manual resource destroy-apply. Throughput pulumi.IntPtrInput // One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created. UniqueKeys SqlContainerUniqueKeyArrayInput }
The set of arguments for constructing a SqlContainer resource.
func (SqlContainerArgs) ElementType ¶
func (SqlContainerArgs) ElementType() reflect.Type
type SqlContainerArray ¶
type SqlContainerArray []SqlContainerInput
func (SqlContainerArray) ElementType ¶
func (SqlContainerArray) ElementType() reflect.Type
func (SqlContainerArray) ToSqlContainerArrayOutput ¶
func (i SqlContainerArray) ToSqlContainerArrayOutput() SqlContainerArrayOutput
func (SqlContainerArray) ToSqlContainerArrayOutputWithContext ¶
func (i SqlContainerArray) ToSqlContainerArrayOutputWithContext(ctx context.Context) SqlContainerArrayOutput
type SqlContainerArrayInput ¶
type SqlContainerArrayInput interface { pulumi.Input ToSqlContainerArrayOutput() SqlContainerArrayOutput ToSqlContainerArrayOutputWithContext(context.Context) SqlContainerArrayOutput }
SqlContainerArrayInput is an input type that accepts SqlContainerArray and SqlContainerArrayOutput values. You can construct a concrete instance of `SqlContainerArrayInput` via:
SqlContainerArray{ SqlContainerArgs{...} }
type SqlContainerArrayOutput ¶
type SqlContainerArrayOutput struct{ *pulumi.OutputState }
func (SqlContainerArrayOutput) ElementType ¶
func (SqlContainerArrayOutput) ElementType() reflect.Type
func (SqlContainerArrayOutput) Index ¶
func (o SqlContainerArrayOutput) Index(i pulumi.IntInput) SqlContainerOutput
func (SqlContainerArrayOutput) ToSqlContainerArrayOutput ¶
func (o SqlContainerArrayOutput) ToSqlContainerArrayOutput() SqlContainerArrayOutput
func (SqlContainerArrayOutput) ToSqlContainerArrayOutputWithContext ¶
func (o SqlContainerArrayOutput) ToSqlContainerArrayOutputWithContext(ctx context.Context) SqlContainerArrayOutput
type SqlContainerAutoscaleSettings ¶
type SqlContainerAutoscaleSettings struct { // The maximum throughput of the SQL container (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput *int `pulumi:"maxThroughput"` }
type SqlContainerAutoscaleSettingsArgs ¶
type SqlContainerAutoscaleSettingsArgs struct { // The maximum throughput of the SQL container (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"` }
func (SqlContainerAutoscaleSettingsArgs) ElementType ¶
func (SqlContainerAutoscaleSettingsArgs) ElementType() reflect.Type
func (SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsOutput ¶
func (i SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsOutput() SqlContainerAutoscaleSettingsOutput
func (SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsOutputWithContext ¶
func (i SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsOutputWithContext(ctx context.Context) SqlContainerAutoscaleSettingsOutput
func (SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsPtrOutput ¶
func (i SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsPtrOutput() SqlContainerAutoscaleSettingsPtrOutput
func (SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsPtrOutputWithContext ¶
func (i SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlContainerAutoscaleSettingsPtrOutput
type SqlContainerAutoscaleSettingsInput ¶
type SqlContainerAutoscaleSettingsInput interface { pulumi.Input ToSqlContainerAutoscaleSettingsOutput() SqlContainerAutoscaleSettingsOutput ToSqlContainerAutoscaleSettingsOutputWithContext(context.Context) SqlContainerAutoscaleSettingsOutput }
SqlContainerAutoscaleSettingsInput is an input type that accepts SqlContainerAutoscaleSettingsArgs and SqlContainerAutoscaleSettingsOutput values. You can construct a concrete instance of `SqlContainerAutoscaleSettingsInput` via:
SqlContainerAutoscaleSettingsArgs{...}
type SqlContainerAutoscaleSettingsOutput ¶
type SqlContainerAutoscaleSettingsOutput struct{ *pulumi.OutputState }
func (SqlContainerAutoscaleSettingsOutput) ElementType ¶
func (SqlContainerAutoscaleSettingsOutput) ElementType() reflect.Type
func (SqlContainerAutoscaleSettingsOutput) MaxThroughput ¶
func (o SqlContainerAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the SQL container (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsOutput ¶
func (o SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsOutput() SqlContainerAutoscaleSettingsOutput
func (SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsOutputWithContext ¶
func (o SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsOutputWithContext(ctx context.Context) SqlContainerAutoscaleSettingsOutput
func (SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsPtrOutput ¶
func (o SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsPtrOutput() SqlContainerAutoscaleSettingsPtrOutput
func (SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsPtrOutputWithContext ¶
func (o SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlContainerAutoscaleSettingsPtrOutput
type SqlContainerAutoscaleSettingsPtrInput ¶
type SqlContainerAutoscaleSettingsPtrInput interface { pulumi.Input ToSqlContainerAutoscaleSettingsPtrOutput() SqlContainerAutoscaleSettingsPtrOutput ToSqlContainerAutoscaleSettingsPtrOutputWithContext(context.Context) SqlContainerAutoscaleSettingsPtrOutput }
SqlContainerAutoscaleSettingsPtrInput is an input type that accepts SqlContainerAutoscaleSettingsArgs, SqlContainerAutoscaleSettingsPtr and SqlContainerAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `SqlContainerAutoscaleSettingsPtrInput` via:
SqlContainerAutoscaleSettingsArgs{...} or: nil
func SqlContainerAutoscaleSettingsPtr ¶
func SqlContainerAutoscaleSettingsPtr(v *SqlContainerAutoscaleSettingsArgs) SqlContainerAutoscaleSettingsPtrInput
type SqlContainerAutoscaleSettingsPtrOutput ¶
type SqlContainerAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }
func (SqlContainerAutoscaleSettingsPtrOutput) ElementType ¶
func (SqlContainerAutoscaleSettingsPtrOutput) ElementType() reflect.Type
func (SqlContainerAutoscaleSettingsPtrOutput) MaxThroughput ¶
func (o SqlContainerAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the SQL container (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (SqlContainerAutoscaleSettingsPtrOutput) ToSqlContainerAutoscaleSettingsPtrOutput ¶
func (o SqlContainerAutoscaleSettingsPtrOutput) ToSqlContainerAutoscaleSettingsPtrOutput() SqlContainerAutoscaleSettingsPtrOutput
func (SqlContainerAutoscaleSettingsPtrOutput) ToSqlContainerAutoscaleSettingsPtrOutputWithContext ¶
func (o SqlContainerAutoscaleSettingsPtrOutput) ToSqlContainerAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlContainerAutoscaleSettingsPtrOutput
type SqlContainerConflictResolutionPolicy ¶ added in v4.1.0
type SqlContainerConflictResolutionPolicy struct { // The conflict resolution path in the case of `LastWriterWins` mode. ConflictResolutionPath *string `pulumi:"conflictResolutionPath"` // The procedure to resolve conflicts in the case of `Custom` mode. ConflictResolutionProcedure *string `pulumi:"conflictResolutionProcedure"` // Indicates the conflict resolution mode. Possible values include: `LastWriterWins`, `Custom`. Mode string `pulumi:"mode"` }
type SqlContainerConflictResolutionPolicyArgs ¶ added in v4.1.0
type SqlContainerConflictResolutionPolicyArgs struct { // The conflict resolution path in the case of `LastWriterWins` mode. ConflictResolutionPath pulumi.StringPtrInput `pulumi:"conflictResolutionPath"` // The procedure to resolve conflicts in the case of `Custom` mode. ConflictResolutionProcedure pulumi.StringPtrInput `pulumi:"conflictResolutionProcedure"` // Indicates the conflict resolution mode. Possible values include: `LastWriterWins`, `Custom`. Mode pulumi.StringInput `pulumi:"mode"` }
func (SqlContainerConflictResolutionPolicyArgs) ElementType ¶ added in v4.1.0
func (SqlContainerConflictResolutionPolicyArgs) ElementType() reflect.Type
func (SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyOutput ¶ added in v4.1.0
func (i SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyOutput() SqlContainerConflictResolutionPolicyOutput
func (SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyOutputWithContext ¶ added in v4.1.0
func (i SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyOutputWithContext(ctx context.Context) SqlContainerConflictResolutionPolicyOutput
func (SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyPtrOutput ¶ added in v4.1.0
func (i SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyPtrOutput() SqlContainerConflictResolutionPolicyPtrOutput
func (SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext ¶ added in v4.1.0
func (i SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext(ctx context.Context) SqlContainerConflictResolutionPolicyPtrOutput
type SqlContainerConflictResolutionPolicyInput ¶ added in v4.1.0
type SqlContainerConflictResolutionPolicyInput interface { pulumi.Input ToSqlContainerConflictResolutionPolicyOutput() SqlContainerConflictResolutionPolicyOutput ToSqlContainerConflictResolutionPolicyOutputWithContext(context.Context) SqlContainerConflictResolutionPolicyOutput }
SqlContainerConflictResolutionPolicyInput is an input type that accepts SqlContainerConflictResolutionPolicyArgs and SqlContainerConflictResolutionPolicyOutput values. You can construct a concrete instance of `SqlContainerConflictResolutionPolicyInput` via:
SqlContainerConflictResolutionPolicyArgs{...}
type SqlContainerConflictResolutionPolicyOutput ¶ added in v4.1.0
type SqlContainerConflictResolutionPolicyOutput struct{ *pulumi.OutputState }
func (SqlContainerConflictResolutionPolicyOutput) ConflictResolutionPath ¶ added in v4.1.0
func (o SqlContainerConflictResolutionPolicyOutput) ConflictResolutionPath() pulumi.StringPtrOutput
The conflict resolution path in the case of `LastWriterWins` mode.
func (SqlContainerConflictResolutionPolicyOutput) ConflictResolutionProcedure ¶ added in v4.1.0
func (o SqlContainerConflictResolutionPolicyOutput) ConflictResolutionProcedure() pulumi.StringPtrOutput
The procedure to resolve conflicts in the case of `Custom` mode.
func (SqlContainerConflictResolutionPolicyOutput) ElementType ¶ added in v4.1.0
func (SqlContainerConflictResolutionPolicyOutput) ElementType() reflect.Type
func (SqlContainerConflictResolutionPolicyOutput) Mode ¶ added in v4.1.0
func (o SqlContainerConflictResolutionPolicyOutput) Mode() pulumi.StringOutput
Indicates the conflict resolution mode. Possible values include: `LastWriterWins`, `Custom`.
func (SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyOutput ¶ added in v4.1.0
func (o SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyOutput() SqlContainerConflictResolutionPolicyOutput
func (SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyOutputWithContext ¶ added in v4.1.0
func (o SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyOutputWithContext(ctx context.Context) SqlContainerConflictResolutionPolicyOutput
func (SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyPtrOutput ¶ added in v4.1.0
func (o SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyPtrOutput() SqlContainerConflictResolutionPolicyPtrOutput
func (SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext ¶ added in v4.1.0
func (o SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext(ctx context.Context) SqlContainerConflictResolutionPolicyPtrOutput
type SqlContainerConflictResolutionPolicyPtrInput ¶ added in v4.1.0
type SqlContainerConflictResolutionPolicyPtrInput interface { pulumi.Input ToSqlContainerConflictResolutionPolicyPtrOutput() SqlContainerConflictResolutionPolicyPtrOutput ToSqlContainerConflictResolutionPolicyPtrOutputWithContext(context.Context) SqlContainerConflictResolutionPolicyPtrOutput }
SqlContainerConflictResolutionPolicyPtrInput is an input type that accepts SqlContainerConflictResolutionPolicyArgs, SqlContainerConflictResolutionPolicyPtr and SqlContainerConflictResolutionPolicyPtrOutput values. You can construct a concrete instance of `SqlContainerConflictResolutionPolicyPtrInput` via:
SqlContainerConflictResolutionPolicyArgs{...} or: nil
func SqlContainerConflictResolutionPolicyPtr ¶ added in v4.1.0
func SqlContainerConflictResolutionPolicyPtr(v *SqlContainerConflictResolutionPolicyArgs) SqlContainerConflictResolutionPolicyPtrInput
type SqlContainerConflictResolutionPolicyPtrOutput ¶ added in v4.1.0
type SqlContainerConflictResolutionPolicyPtrOutput struct{ *pulumi.OutputState }
func (SqlContainerConflictResolutionPolicyPtrOutput) ConflictResolutionPath ¶ added in v4.1.0
func (o SqlContainerConflictResolutionPolicyPtrOutput) ConflictResolutionPath() pulumi.StringPtrOutput
The conflict resolution path in the case of `LastWriterWins` mode.
func (SqlContainerConflictResolutionPolicyPtrOutput) ConflictResolutionProcedure ¶ added in v4.1.0
func (o SqlContainerConflictResolutionPolicyPtrOutput) ConflictResolutionProcedure() pulumi.StringPtrOutput
The procedure to resolve conflicts in the case of `Custom` mode.
func (SqlContainerConflictResolutionPolicyPtrOutput) ElementType ¶ added in v4.1.0
func (SqlContainerConflictResolutionPolicyPtrOutput) ElementType() reflect.Type
func (SqlContainerConflictResolutionPolicyPtrOutput) Mode ¶ added in v4.1.0
func (o SqlContainerConflictResolutionPolicyPtrOutput) Mode() pulumi.StringPtrOutput
Indicates the conflict resolution mode. Possible values include: `LastWriterWins`, `Custom`.
func (SqlContainerConflictResolutionPolicyPtrOutput) ToSqlContainerConflictResolutionPolicyPtrOutput ¶ added in v4.1.0
func (o SqlContainerConflictResolutionPolicyPtrOutput) ToSqlContainerConflictResolutionPolicyPtrOutput() SqlContainerConflictResolutionPolicyPtrOutput
func (SqlContainerConflictResolutionPolicyPtrOutput) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext ¶ added in v4.1.0
func (o SqlContainerConflictResolutionPolicyPtrOutput) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext(ctx context.Context) SqlContainerConflictResolutionPolicyPtrOutput
type SqlContainerIndexingPolicy ¶
type SqlContainerIndexingPolicy struct { // One or more `compositeIndex` blocks as defined below. CompositeIndices []SqlContainerIndexingPolicyCompositeIndex `pulumi:"compositeIndices"` // One or more `excludedPath` blocks as defined below. Either `includedPath` or `excludedPath` must contain the `path` `/*` ExcludedPaths []SqlContainerIndexingPolicyExcludedPath `pulumi:"excludedPaths"` // One or more `includedPath` blocks as defined below. Either `includedPath` or `excludedPath` must contain the `path` `/*` IncludedPaths []SqlContainerIndexingPolicyIncludedPath `pulumi:"includedPaths"` // Indicates the indexing mode. Possible values include: `Consistent` and `None`. Defaults to `Consistent`. IndexingMode *string `pulumi:"indexingMode"` }
type SqlContainerIndexingPolicyArgs ¶
type SqlContainerIndexingPolicyArgs struct { // One or more `compositeIndex` blocks as defined below. CompositeIndices SqlContainerIndexingPolicyCompositeIndexArrayInput `pulumi:"compositeIndices"` // One or more `excludedPath` blocks as defined below. Either `includedPath` or `excludedPath` must contain the `path` `/*` ExcludedPaths SqlContainerIndexingPolicyExcludedPathArrayInput `pulumi:"excludedPaths"` // One or more `includedPath` blocks as defined below. Either `includedPath` or `excludedPath` must contain the `path` `/*` IncludedPaths SqlContainerIndexingPolicyIncludedPathArrayInput `pulumi:"includedPaths"` // Indicates the indexing mode. Possible values include: `Consistent` and `None`. Defaults to `Consistent`. IndexingMode pulumi.StringPtrInput `pulumi:"indexingMode"` }
func (SqlContainerIndexingPolicyArgs) ElementType ¶
func (SqlContainerIndexingPolicyArgs) ElementType() reflect.Type
func (SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyOutput ¶
func (i SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyOutput() SqlContainerIndexingPolicyOutput
func (SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyOutputWithContext ¶
func (i SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyOutput
func (SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyPtrOutput ¶
func (i SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyPtrOutput() SqlContainerIndexingPolicyPtrOutput
func (SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyPtrOutputWithContext ¶
func (i SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyPtrOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyPtrOutput
type SqlContainerIndexingPolicyCompositeIndex ¶
type SqlContainerIndexingPolicyCompositeIndex struct { // One or more `index` blocks as defined below. Indices []SqlContainerIndexingPolicyCompositeIndexIndex `pulumi:"indices"` }
type SqlContainerIndexingPolicyCompositeIndexArgs ¶
type SqlContainerIndexingPolicyCompositeIndexArgs struct { // One or more `index` blocks as defined below. Indices SqlContainerIndexingPolicyCompositeIndexIndexArrayInput `pulumi:"indices"` }
func (SqlContainerIndexingPolicyCompositeIndexArgs) ElementType ¶
func (SqlContainerIndexingPolicyCompositeIndexArgs) ElementType() reflect.Type
func (SqlContainerIndexingPolicyCompositeIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexOutput ¶
func (i SqlContainerIndexingPolicyCompositeIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexOutput() SqlContainerIndexingPolicyCompositeIndexOutput
func (SqlContainerIndexingPolicyCompositeIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexOutputWithContext ¶
func (i SqlContainerIndexingPolicyCompositeIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexOutput
type SqlContainerIndexingPolicyCompositeIndexArray ¶
type SqlContainerIndexingPolicyCompositeIndexArray []SqlContainerIndexingPolicyCompositeIndexInput
func (SqlContainerIndexingPolicyCompositeIndexArray) ElementType ¶
func (SqlContainerIndexingPolicyCompositeIndexArray) ElementType() reflect.Type
func (SqlContainerIndexingPolicyCompositeIndexArray) ToSqlContainerIndexingPolicyCompositeIndexArrayOutput ¶
func (i SqlContainerIndexingPolicyCompositeIndexArray) ToSqlContainerIndexingPolicyCompositeIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexArrayOutput
func (SqlContainerIndexingPolicyCompositeIndexArray) ToSqlContainerIndexingPolicyCompositeIndexArrayOutputWithContext ¶
func (i SqlContainerIndexingPolicyCompositeIndexArray) ToSqlContainerIndexingPolicyCompositeIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexArrayOutput
type SqlContainerIndexingPolicyCompositeIndexArrayInput ¶
type SqlContainerIndexingPolicyCompositeIndexArrayInput interface { pulumi.Input ToSqlContainerIndexingPolicyCompositeIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexArrayOutput ToSqlContainerIndexingPolicyCompositeIndexArrayOutputWithContext(context.Context) SqlContainerIndexingPolicyCompositeIndexArrayOutput }
SqlContainerIndexingPolicyCompositeIndexArrayInput is an input type that accepts SqlContainerIndexingPolicyCompositeIndexArray and SqlContainerIndexingPolicyCompositeIndexArrayOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyCompositeIndexArrayInput` via:
SqlContainerIndexingPolicyCompositeIndexArray{ SqlContainerIndexingPolicyCompositeIndexArgs{...} }
type SqlContainerIndexingPolicyCompositeIndexArrayOutput ¶
type SqlContainerIndexingPolicyCompositeIndexArrayOutput struct{ *pulumi.OutputState }
func (SqlContainerIndexingPolicyCompositeIndexArrayOutput) ElementType ¶
func (SqlContainerIndexingPolicyCompositeIndexArrayOutput) ElementType() reflect.Type
func (SqlContainerIndexingPolicyCompositeIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexArrayOutput ¶
func (o SqlContainerIndexingPolicyCompositeIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexArrayOutput
func (SqlContainerIndexingPolicyCompositeIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexArrayOutputWithContext ¶
func (o SqlContainerIndexingPolicyCompositeIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexArrayOutput
type SqlContainerIndexingPolicyCompositeIndexIndexArgs ¶
type SqlContainerIndexingPolicyCompositeIndexIndexArgs struct { // Order of the index. Possible values are `Ascending` or `Descending`. Order pulumi.StringInput `pulumi:"order"` // Path for which the indexing behaviour applies to. Path pulumi.StringInput `pulumi:"path"` }
func (SqlContainerIndexingPolicyCompositeIndexIndexArgs) ElementType ¶
func (SqlContainerIndexingPolicyCompositeIndexIndexArgs) ElementType() reflect.Type
func (SqlContainerIndexingPolicyCompositeIndexIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexIndexOutput ¶
func (i SqlContainerIndexingPolicyCompositeIndexIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexIndexOutput() SqlContainerIndexingPolicyCompositeIndexIndexOutput
func (SqlContainerIndexingPolicyCompositeIndexIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexIndexOutputWithContext ¶
func (i SqlContainerIndexingPolicyCompositeIndexIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexIndexOutput
type SqlContainerIndexingPolicyCompositeIndexIndexArray ¶
type SqlContainerIndexingPolicyCompositeIndexIndexArray []SqlContainerIndexingPolicyCompositeIndexIndexInput
func (SqlContainerIndexingPolicyCompositeIndexIndexArray) ElementType ¶
func (SqlContainerIndexingPolicyCompositeIndexIndexArray) ElementType() reflect.Type
func (SqlContainerIndexingPolicyCompositeIndexIndexArray) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutput ¶
func (i SqlContainerIndexingPolicyCompositeIndexIndexArray) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput
func (SqlContainerIndexingPolicyCompositeIndexIndexArray) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutputWithContext ¶
func (i SqlContainerIndexingPolicyCompositeIndexIndexArray) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput
type SqlContainerIndexingPolicyCompositeIndexIndexArrayInput ¶
type SqlContainerIndexingPolicyCompositeIndexIndexArrayInput interface { pulumi.Input ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutputWithContext(context.Context) SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput }
SqlContainerIndexingPolicyCompositeIndexIndexArrayInput is an input type that accepts SqlContainerIndexingPolicyCompositeIndexIndexArray and SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyCompositeIndexIndexArrayInput` via:
SqlContainerIndexingPolicyCompositeIndexIndexArray{ SqlContainerIndexingPolicyCompositeIndexIndexArgs{...} }
type SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput ¶
type SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput struct{ *pulumi.OutputState }
func (SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) ElementType ¶
func (SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) ElementType() reflect.Type
func (SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutput ¶
func (o SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput
func (SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutputWithContext ¶
func (o SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput
type SqlContainerIndexingPolicyCompositeIndexIndexInput ¶
type SqlContainerIndexingPolicyCompositeIndexIndexInput interface { pulumi.Input ToSqlContainerIndexingPolicyCompositeIndexIndexOutput() SqlContainerIndexingPolicyCompositeIndexIndexOutput ToSqlContainerIndexingPolicyCompositeIndexIndexOutputWithContext(context.Context) SqlContainerIndexingPolicyCompositeIndexIndexOutput }
SqlContainerIndexingPolicyCompositeIndexIndexInput is an input type that accepts SqlContainerIndexingPolicyCompositeIndexIndexArgs and SqlContainerIndexingPolicyCompositeIndexIndexOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyCompositeIndexIndexInput` via:
SqlContainerIndexingPolicyCompositeIndexIndexArgs{...}
type SqlContainerIndexingPolicyCompositeIndexIndexOutput ¶
type SqlContainerIndexingPolicyCompositeIndexIndexOutput struct{ *pulumi.OutputState }
func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) ElementType ¶
func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) ElementType() reflect.Type
func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) Order ¶
func (o SqlContainerIndexingPolicyCompositeIndexIndexOutput) Order() pulumi.StringOutput
Order of the index. Possible values are `Ascending` or `Descending`.
func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) Path ¶
func (o SqlContainerIndexingPolicyCompositeIndexIndexOutput) Path() pulumi.StringOutput
Path for which the indexing behaviour applies to.
func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexOutput ¶
func (o SqlContainerIndexingPolicyCompositeIndexIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexOutput() SqlContainerIndexingPolicyCompositeIndexIndexOutput
func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexOutputWithContext ¶
func (o SqlContainerIndexingPolicyCompositeIndexIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexIndexOutput
type SqlContainerIndexingPolicyCompositeIndexInput ¶
type SqlContainerIndexingPolicyCompositeIndexInput interface { pulumi.Input ToSqlContainerIndexingPolicyCompositeIndexOutput() SqlContainerIndexingPolicyCompositeIndexOutput ToSqlContainerIndexingPolicyCompositeIndexOutputWithContext(context.Context) SqlContainerIndexingPolicyCompositeIndexOutput }
SqlContainerIndexingPolicyCompositeIndexInput is an input type that accepts SqlContainerIndexingPolicyCompositeIndexArgs and SqlContainerIndexingPolicyCompositeIndexOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyCompositeIndexInput` via:
SqlContainerIndexingPolicyCompositeIndexArgs{...}
type SqlContainerIndexingPolicyCompositeIndexOutput ¶
type SqlContainerIndexingPolicyCompositeIndexOutput struct{ *pulumi.OutputState }
func (SqlContainerIndexingPolicyCompositeIndexOutput) ElementType ¶
func (SqlContainerIndexingPolicyCompositeIndexOutput) ElementType() reflect.Type
func (SqlContainerIndexingPolicyCompositeIndexOutput) Indices ¶
func (o SqlContainerIndexingPolicyCompositeIndexOutput) Indices() SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput
One or more `index` blocks as defined below.
func (SqlContainerIndexingPolicyCompositeIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexOutput ¶
func (o SqlContainerIndexingPolicyCompositeIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexOutput() SqlContainerIndexingPolicyCompositeIndexOutput
func (SqlContainerIndexingPolicyCompositeIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexOutputWithContext ¶
func (o SqlContainerIndexingPolicyCompositeIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexOutput
type SqlContainerIndexingPolicyExcludedPath ¶
type SqlContainerIndexingPolicyExcludedPath struct { // Path that is excluded from indexing. Path string `pulumi:"path"` }
type SqlContainerIndexingPolicyExcludedPathArgs ¶
type SqlContainerIndexingPolicyExcludedPathArgs struct { // Path that is excluded from indexing. Path pulumi.StringInput `pulumi:"path"` }
func (SqlContainerIndexingPolicyExcludedPathArgs) ElementType ¶
func (SqlContainerIndexingPolicyExcludedPathArgs) ElementType() reflect.Type
func (SqlContainerIndexingPolicyExcludedPathArgs) ToSqlContainerIndexingPolicyExcludedPathOutput ¶
func (i SqlContainerIndexingPolicyExcludedPathArgs) ToSqlContainerIndexingPolicyExcludedPathOutput() SqlContainerIndexingPolicyExcludedPathOutput
func (SqlContainerIndexingPolicyExcludedPathArgs) ToSqlContainerIndexingPolicyExcludedPathOutputWithContext ¶
func (i SqlContainerIndexingPolicyExcludedPathArgs) ToSqlContainerIndexingPolicyExcludedPathOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyExcludedPathOutput
type SqlContainerIndexingPolicyExcludedPathArray ¶
type SqlContainerIndexingPolicyExcludedPathArray []SqlContainerIndexingPolicyExcludedPathInput
func (SqlContainerIndexingPolicyExcludedPathArray) ElementType ¶
func (SqlContainerIndexingPolicyExcludedPathArray) ElementType() reflect.Type
func (SqlContainerIndexingPolicyExcludedPathArray) ToSqlContainerIndexingPolicyExcludedPathArrayOutput ¶
func (i SqlContainerIndexingPolicyExcludedPathArray) ToSqlContainerIndexingPolicyExcludedPathArrayOutput() SqlContainerIndexingPolicyExcludedPathArrayOutput
func (SqlContainerIndexingPolicyExcludedPathArray) ToSqlContainerIndexingPolicyExcludedPathArrayOutputWithContext ¶
func (i SqlContainerIndexingPolicyExcludedPathArray) ToSqlContainerIndexingPolicyExcludedPathArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyExcludedPathArrayOutput
type SqlContainerIndexingPolicyExcludedPathArrayInput ¶
type SqlContainerIndexingPolicyExcludedPathArrayInput interface { pulumi.Input ToSqlContainerIndexingPolicyExcludedPathArrayOutput() SqlContainerIndexingPolicyExcludedPathArrayOutput ToSqlContainerIndexingPolicyExcludedPathArrayOutputWithContext(context.Context) SqlContainerIndexingPolicyExcludedPathArrayOutput }
SqlContainerIndexingPolicyExcludedPathArrayInput is an input type that accepts SqlContainerIndexingPolicyExcludedPathArray and SqlContainerIndexingPolicyExcludedPathArrayOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyExcludedPathArrayInput` via:
SqlContainerIndexingPolicyExcludedPathArray{ SqlContainerIndexingPolicyExcludedPathArgs{...} }
type SqlContainerIndexingPolicyExcludedPathArrayOutput ¶
type SqlContainerIndexingPolicyExcludedPathArrayOutput struct{ *pulumi.OutputState }
func (SqlContainerIndexingPolicyExcludedPathArrayOutput) ElementType ¶
func (SqlContainerIndexingPolicyExcludedPathArrayOutput) ElementType() reflect.Type
func (SqlContainerIndexingPolicyExcludedPathArrayOutput) ToSqlContainerIndexingPolicyExcludedPathArrayOutput ¶
func (o SqlContainerIndexingPolicyExcludedPathArrayOutput) ToSqlContainerIndexingPolicyExcludedPathArrayOutput() SqlContainerIndexingPolicyExcludedPathArrayOutput
func (SqlContainerIndexingPolicyExcludedPathArrayOutput) ToSqlContainerIndexingPolicyExcludedPathArrayOutputWithContext ¶
func (o SqlContainerIndexingPolicyExcludedPathArrayOutput) ToSqlContainerIndexingPolicyExcludedPathArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyExcludedPathArrayOutput
type SqlContainerIndexingPolicyExcludedPathInput ¶
type SqlContainerIndexingPolicyExcludedPathInput interface { pulumi.Input ToSqlContainerIndexingPolicyExcludedPathOutput() SqlContainerIndexingPolicyExcludedPathOutput ToSqlContainerIndexingPolicyExcludedPathOutputWithContext(context.Context) SqlContainerIndexingPolicyExcludedPathOutput }
SqlContainerIndexingPolicyExcludedPathInput is an input type that accepts SqlContainerIndexingPolicyExcludedPathArgs and SqlContainerIndexingPolicyExcludedPathOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyExcludedPathInput` via:
SqlContainerIndexingPolicyExcludedPathArgs{...}
type SqlContainerIndexingPolicyExcludedPathOutput ¶
type SqlContainerIndexingPolicyExcludedPathOutput struct{ *pulumi.OutputState }
func (SqlContainerIndexingPolicyExcludedPathOutput) ElementType ¶
func (SqlContainerIndexingPolicyExcludedPathOutput) ElementType() reflect.Type
func (SqlContainerIndexingPolicyExcludedPathOutput) Path ¶
func (o SqlContainerIndexingPolicyExcludedPathOutput) Path() pulumi.StringOutput
Path that is excluded from indexing.
func (SqlContainerIndexingPolicyExcludedPathOutput) ToSqlContainerIndexingPolicyExcludedPathOutput ¶
func (o SqlContainerIndexingPolicyExcludedPathOutput) ToSqlContainerIndexingPolicyExcludedPathOutput() SqlContainerIndexingPolicyExcludedPathOutput
func (SqlContainerIndexingPolicyExcludedPathOutput) ToSqlContainerIndexingPolicyExcludedPathOutputWithContext ¶
func (o SqlContainerIndexingPolicyExcludedPathOutput) ToSqlContainerIndexingPolicyExcludedPathOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyExcludedPathOutput
type SqlContainerIndexingPolicyIncludedPath ¶
type SqlContainerIndexingPolicyIncludedPath struct { // Path for which the indexing behaviour applies to. Path string `pulumi:"path"` }
type SqlContainerIndexingPolicyIncludedPathArgs ¶
type SqlContainerIndexingPolicyIncludedPathArgs struct { // Path for which the indexing behaviour applies to. Path pulumi.StringInput `pulumi:"path"` }
func (SqlContainerIndexingPolicyIncludedPathArgs) ElementType ¶
func (SqlContainerIndexingPolicyIncludedPathArgs) ElementType() reflect.Type
func (SqlContainerIndexingPolicyIncludedPathArgs) ToSqlContainerIndexingPolicyIncludedPathOutput ¶
func (i SqlContainerIndexingPolicyIncludedPathArgs) ToSqlContainerIndexingPolicyIncludedPathOutput() SqlContainerIndexingPolicyIncludedPathOutput
func (SqlContainerIndexingPolicyIncludedPathArgs) ToSqlContainerIndexingPolicyIncludedPathOutputWithContext ¶
func (i SqlContainerIndexingPolicyIncludedPathArgs) ToSqlContainerIndexingPolicyIncludedPathOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyIncludedPathOutput
type SqlContainerIndexingPolicyIncludedPathArray ¶
type SqlContainerIndexingPolicyIncludedPathArray []SqlContainerIndexingPolicyIncludedPathInput
func (SqlContainerIndexingPolicyIncludedPathArray) ElementType ¶
func (SqlContainerIndexingPolicyIncludedPathArray) ElementType() reflect.Type
func (SqlContainerIndexingPolicyIncludedPathArray) ToSqlContainerIndexingPolicyIncludedPathArrayOutput ¶
func (i SqlContainerIndexingPolicyIncludedPathArray) ToSqlContainerIndexingPolicyIncludedPathArrayOutput() SqlContainerIndexingPolicyIncludedPathArrayOutput
func (SqlContainerIndexingPolicyIncludedPathArray) ToSqlContainerIndexingPolicyIncludedPathArrayOutputWithContext ¶
func (i SqlContainerIndexingPolicyIncludedPathArray) ToSqlContainerIndexingPolicyIncludedPathArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyIncludedPathArrayOutput
type SqlContainerIndexingPolicyIncludedPathArrayInput ¶
type SqlContainerIndexingPolicyIncludedPathArrayInput interface { pulumi.Input ToSqlContainerIndexingPolicyIncludedPathArrayOutput() SqlContainerIndexingPolicyIncludedPathArrayOutput ToSqlContainerIndexingPolicyIncludedPathArrayOutputWithContext(context.Context) SqlContainerIndexingPolicyIncludedPathArrayOutput }
SqlContainerIndexingPolicyIncludedPathArrayInput is an input type that accepts SqlContainerIndexingPolicyIncludedPathArray and SqlContainerIndexingPolicyIncludedPathArrayOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyIncludedPathArrayInput` via:
SqlContainerIndexingPolicyIncludedPathArray{ SqlContainerIndexingPolicyIncludedPathArgs{...} }
type SqlContainerIndexingPolicyIncludedPathArrayOutput ¶
type SqlContainerIndexingPolicyIncludedPathArrayOutput struct{ *pulumi.OutputState }
func (SqlContainerIndexingPolicyIncludedPathArrayOutput) ElementType ¶
func (SqlContainerIndexingPolicyIncludedPathArrayOutput) ElementType() reflect.Type
func (SqlContainerIndexingPolicyIncludedPathArrayOutput) ToSqlContainerIndexingPolicyIncludedPathArrayOutput ¶
func (o SqlContainerIndexingPolicyIncludedPathArrayOutput) ToSqlContainerIndexingPolicyIncludedPathArrayOutput() SqlContainerIndexingPolicyIncludedPathArrayOutput
func (SqlContainerIndexingPolicyIncludedPathArrayOutput) ToSqlContainerIndexingPolicyIncludedPathArrayOutputWithContext ¶
func (o SqlContainerIndexingPolicyIncludedPathArrayOutput) ToSqlContainerIndexingPolicyIncludedPathArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyIncludedPathArrayOutput
type SqlContainerIndexingPolicyIncludedPathInput ¶
type SqlContainerIndexingPolicyIncludedPathInput interface { pulumi.Input ToSqlContainerIndexingPolicyIncludedPathOutput() SqlContainerIndexingPolicyIncludedPathOutput ToSqlContainerIndexingPolicyIncludedPathOutputWithContext(context.Context) SqlContainerIndexingPolicyIncludedPathOutput }
SqlContainerIndexingPolicyIncludedPathInput is an input type that accepts SqlContainerIndexingPolicyIncludedPathArgs and SqlContainerIndexingPolicyIncludedPathOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyIncludedPathInput` via:
SqlContainerIndexingPolicyIncludedPathArgs{...}
type SqlContainerIndexingPolicyIncludedPathOutput ¶
type SqlContainerIndexingPolicyIncludedPathOutput struct{ *pulumi.OutputState }
func (SqlContainerIndexingPolicyIncludedPathOutput) ElementType ¶
func (SqlContainerIndexingPolicyIncludedPathOutput) ElementType() reflect.Type
func (SqlContainerIndexingPolicyIncludedPathOutput) Path ¶
func (o SqlContainerIndexingPolicyIncludedPathOutput) Path() pulumi.StringOutput
Path for which the indexing behaviour applies to.
func (SqlContainerIndexingPolicyIncludedPathOutput) ToSqlContainerIndexingPolicyIncludedPathOutput ¶
func (o SqlContainerIndexingPolicyIncludedPathOutput) ToSqlContainerIndexingPolicyIncludedPathOutput() SqlContainerIndexingPolicyIncludedPathOutput
func (SqlContainerIndexingPolicyIncludedPathOutput) ToSqlContainerIndexingPolicyIncludedPathOutputWithContext ¶
func (o SqlContainerIndexingPolicyIncludedPathOutput) ToSqlContainerIndexingPolicyIncludedPathOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyIncludedPathOutput
type SqlContainerIndexingPolicyInput ¶
type SqlContainerIndexingPolicyInput interface { pulumi.Input ToSqlContainerIndexingPolicyOutput() SqlContainerIndexingPolicyOutput ToSqlContainerIndexingPolicyOutputWithContext(context.Context) SqlContainerIndexingPolicyOutput }
SqlContainerIndexingPolicyInput is an input type that accepts SqlContainerIndexingPolicyArgs and SqlContainerIndexingPolicyOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyInput` via:
SqlContainerIndexingPolicyArgs{...}
type SqlContainerIndexingPolicyOutput ¶
type SqlContainerIndexingPolicyOutput struct{ *pulumi.OutputState }
func (SqlContainerIndexingPolicyOutput) CompositeIndices ¶
func (o SqlContainerIndexingPolicyOutput) CompositeIndices() SqlContainerIndexingPolicyCompositeIndexArrayOutput
One or more `compositeIndex` blocks as defined below.
func (SqlContainerIndexingPolicyOutput) ElementType ¶
func (SqlContainerIndexingPolicyOutput) ElementType() reflect.Type
func (SqlContainerIndexingPolicyOutput) ExcludedPaths ¶
func (o SqlContainerIndexingPolicyOutput) ExcludedPaths() SqlContainerIndexingPolicyExcludedPathArrayOutput
One or more `excludedPath` blocks as defined below. Either `includedPath` or `excludedPath` must contain the `path` `/*`
func (SqlContainerIndexingPolicyOutput) IncludedPaths ¶
func (o SqlContainerIndexingPolicyOutput) IncludedPaths() SqlContainerIndexingPolicyIncludedPathArrayOutput
One or more `includedPath` blocks as defined below. Either `includedPath` or `excludedPath` must contain the `path` `/*`
func (SqlContainerIndexingPolicyOutput) IndexingMode ¶
func (o SqlContainerIndexingPolicyOutput) IndexingMode() pulumi.StringPtrOutput
Indicates the indexing mode. Possible values include: `Consistent` and `None`. Defaults to `Consistent`.
func (SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyOutput ¶
func (o SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyOutput() SqlContainerIndexingPolicyOutput
func (SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyOutputWithContext ¶
func (o SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyOutput
func (SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyPtrOutput ¶
func (o SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyPtrOutput() SqlContainerIndexingPolicyPtrOutput
func (SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyPtrOutputWithContext ¶
func (o SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyPtrOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyPtrOutput
type SqlContainerIndexingPolicyPtrInput ¶
type SqlContainerIndexingPolicyPtrInput interface { pulumi.Input ToSqlContainerIndexingPolicyPtrOutput() SqlContainerIndexingPolicyPtrOutput ToSqlContainerIndexingPolicyPtrOutputWithContext(context.Context) SqlContainerIndexingPolicyPtrOutput }
SqlContainerIndexingPolicyPtrInput is an input type that accepts SqlContainerIndexingPolicyArgs, SqlContainerIndexingPolicyPtr and SqlContainerIndexingPolicyPtrOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyPtrInput` via:
SqlContainerIndexingPolicyArgs{...} or: nil
func SqlContainerIndexingPolicyPtr ¶
func SqlContainerIndexingPolicyPtr(v *SqlContainerIndexingPolicyArgs) SqlContainerIndexingPolicyPtrInput
type SqlContainerIndexingPolicyPtrOutput ¶
type SqlContainerIndexingPolicyPtrOutput struct{ *pulumi.OutputState }
func (SqlContainerIndexingPolicyPtrOutput) CompositeIndices ¶
func (o SqlContainerIndexingPolicyPtrOutput) CompositeIndices() SqlContainerIndexingPolicyCompositeIndexArrayOutput
One or more `compositeIndex` blocks as defined below.
func (SqlContainerIndexingPolicyPtrOutput) Elem ¶
func (o SqlContainerIndexingPolicyPtrOutput) Elem() SqlContainerIndexingPolicyOutput
func (SqlContainerIndexingPolicyPtrOutput) ElementType ¶
func (SqlContainerIndexingPolicyPtrOutput) ElementType() reflect.Type
func (SqlContainerIndexingPolicyPtrOutput) ExcludedPaths ¶
func (o SqlContainerIndexingPolicyPtrOutput) ExcludedPaths() SqlContainerIndexingPolicyExcludedPathArrayOutput
One or more `excludedPath` blocks as defined below. Either `includedPath` or `excludedPath` must contain the `path` `/*`
func (SqlContainerIndexingPolicyPtrOutput) IncludedPaths ¶
func (o SqlContainerIndexingPolicyPtrOutput) IncludedPaths() SqlContainerIndexingPolicyIncludedPathArrayOutput
One or more `includedPath` blocks as defined below. Either `includedPath` or `excludedPath` must contain the `path` `/*`
func (SqlContainerIndexingPolicyPtrOutput) IndexingMode ¶
func (o SqlContainerIndexingPolicyPtrOutput) IndexingMode() pulumi.StringPtrOutput
Indicates the indexing mode. Possible values include: `Consistent` and `None`. Defaults to `Consistent`.
func (SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutput ¶
func (o SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutput() SqlContainerIndexingPolicyPtrOutput
func (SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutputWithContext ¶
func (o SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyPtrOutput
type SqlContainerInput ¶
type SqlContainerInput interface { pulumi.Input ToSqlContainerOutput() SqlContainerOutput ToSqlContainerOutputWithContext(ctx context.Context) SqlContainerOutput }
type SqlContainerMap ¶
type SqlContainerMap map[string]SqlContainerInput
func (SqlContainerMap) ElementType ¶
func (SqlContainerMap) ElementType() reflect.Type
func (SqlContainerMap) ToSqlContainerMapOutput ¶
func (i SqlContainerMap) ToSqlContainerMapOutput() SqlContainerMapOutput
func (SqlContainerMap) ToSqlContainerMapOutputWithContext ¶
func (i SqlContainerMap) ToSqlContainerMapOutputWithContext(ctx context.Context) SqlContainerMapOutput
type SqlContainerMapInput ¶
type SqlContainerMapInput interface { pulumi.Input ToSqlContainerMapOutput() SqlContainerMapOutput ToSqlContainerMapOutputWithContext(context.Context) SqlContainerMapOutput }
SqlContainerMapInput is an input type that accepts SqlContainerMap and SqlContainerMapOutput values. You can construct a concrete instance of `SqlContainerMapInput` via:
SqlContainerMap{ "key": SqlContainerArgs{...} }
type SqlContainerMapOutput ¶
type SqlContainerMapOutput struct{ *pulumi.OutputState }
func (SqlContainerMapOutput) ElementType ¶
func (SqlContainerMapOutput) ElementType() reflect.Type
func (SqlContainerMapOutput) MapIndex ¶
func (o SqlContainerMapOutput) MapIndex(k pulumi.StringInput) SqlContainerOutput
func (SqlContainerMapOutput) ToSqlContainerMapOutput ¶
func (o SqlContainerMapOutput) ToSqlContainerMapOutput() SqlContainerMapOutput
func (SqlContainerMapOutput) ToSqlContainerMapOutputWithContext ¶
func (o SqlContainerMapOutput) ToSqlContainerMapOutputWithContext(ctx context.Context) SqlContainerMapOutput
type SqlContainerOutput ¶
type SqlContainerOutput struct {
*pulumi.OutputState
}
func (SqlContainerOutput) ElementType ¶
func (SqlContainerOutput) ElementType() reflect.Type
func (SqlContainerOutput) ToSqlContainerOutput ¶
func (o SqlContainerOutput) ToSqlContainerOutput() SqlContainerOutput
func (SqlContainerOutput) ToSqlContainerOutputWithContext ¶
func (o SqlContainerOutput) ToSqlContainerOutputWithContext(ctx context.Context) SqlContainerOutput
func (SqlContainerOutput) ToSqlContainerPtrOutput ¶
func (o SqlContainerOutput) ToSqlContainerPtrOutput() SqlContainerPtrOutput
func (SqlContainerOutput) ToSqlContainerPtrOutputWithContext ¶
func (o SqlContainerOutput) ToSqlContainerPtrOutputWithContext(ctx context.Context) SqlContainerPtrOutput
type SqlContainerPtrInput ¶
type SqlContainerPtrInput interface { pulumi.Input ToSqlContainerPtrOutput() SqlContainerPtrOutput ToSqlContainerPtrOutputWithContext(ctx context.Context) SqlContainerPtrOutput }
type SqlContainerPtrOutput ¶
type SqlContainerPtrOutput struct {
*pulumi.OutputState
}
func (SqlContainerPtrOutput) ElementType ¶
func (SqlContainerPtrOutput) ElementType() reflect.Type
func (SqlContainerPtrOutput) ToSqlContainerPtrOutput ¶
func (o SqlContainerPtrOutput) ToSqlContainerPtrOutput() SqlContainerPtrOutput
func (SqlContainerPtrOutput) ToSqlContainerPtrOutputWithContext ¶
func (o SqlContainerPtrOutput) ToSqlContainerPtrOutputWithContext(ctx context.Context) SqlContainerPtrOutput
type SqlContainerState ¶
type SqlContainerState struct { // The name of the Cosmos DB Account to create the container within. Changing this forces a new resource to be created. AccountName pulumi.StringPtrInput // The default time to live of Analytical Storage for this SQL container. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time. AnalyticalStorageTtl pulumi.IntPtrInput // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. Requires `partitionKeyPath` to be set. AutoscaleSettings SqlContainerAutoscaleSettingsPtrInput // A `conflictResolutionPolicy` blocks as defined below. ConflictResolutionPolicy SqlContainerConflictResolutionPolicyPtrInput // The name of the Cosmos DB SQL Database to create the container within. Changing this forces a new resource to be created. DatabaseName pulumi.StringPtrInput // The default time to live of SQL container. If missing, items are not expired automatically. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time. DefaultTtl pulumi.IntPtrInput // An `indexingPolicy` block as defined below. IndexingPolicy SqlContainerIndexingPolicyPtrInput // Specifies the name of the Cosmos DB SQL Container. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Define a partition key. Changing this forces a new resource to be created. PartitionKeyPath pulumi.StringPtrInput // Define a partition key version. Changing this forces a new resource to be created. Possible values are ` 1 `and `2`. This should be set to `2` in order to use large partition keys. PartitionKeyVersion pulumi.IntPtrInput // The name of the resource group in which the Cosmos DB SQL Container is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The throughput of SQL container (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon container creation otherwise it cannot be updated without a manual resource destroy-apply. Throughput pulumi.IntPtrInput // One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created. UniqueKeys SqlContainerUniqueKeyArrayInput }
func (SqlContainerState) ElementType ¶
func (SqlContainerState) ElementType() reflect.Type
type SqlContainerUniqueKey ¶
type SqlContainerUniqueKey struct { // A list of paths to use for this unique key. Paths []string `pulumi:"paths"` }
type SqlContainerUniqueKeyArgs ¶
type SqlContainerUniqueKeyArgs struct { // A list of paths to use for this unique key. Paths pulumi.StringArrayInput `pulumi:"paths"` }
func (SqlContainerUniqueKeyArgs) ElementType ¶
func (SqlContainerUniqueKeyArgs) ElementType() reflect.Type
func (SqlContainerUniqueKeyArgs) ToSqlContainerUniqueKeyOutput ¶
func (i SqlContainerUniqueKeyArgs) ToSqlContainerUniqueKeyOutput() SqlContainerUniqueKeyOutput
func (SqlContainerUniqueKeyArgs) ToSqlContainerUniqueKeyOutputWithContext ¶
func (i SqlContainerUniqueKeyArgs) ToSqlContainerUniqueKeyOutputWithContext(ctx context.Context) SqlContainerUniqueKeyOutput
type SqlContainerUniqueKeyArray ¶
type SqlContainerUniqueKeyArray []SqlContainerUniqueKeyInput
func (SqlContainerUniqueKeyArray) ElementType ¶
func (SqlContainerUniqueKeyArray) ElementType() reflect.Type
func (SqlContainerUniqueKeyArray) ToSqlContainerUniqueKeyArrayOutput ¶
func (i SqlContainerUniqueKeyArray) ToSqlContainerUniqueKeyArrayOutput() SqlContainerUniqueKeyArrayOutput
func (SqlContainerUniqueKeyArray) ToSqlContainerUniqueKeyArrayOutputWithContext ¶
func (i SqlContainerUniqueKeyArray) ToSqlContainerUniqueKeyArrayOutputWithContext(ctx context.Context) SqlContainerUniqueKeyArrayOutput
type SqlContainerUniqueKeyArrayInput ¶
type SqlContainerUniqueKeyArrayInput interface { pulumi.Input ToSqlContainerUniqueKeyArrayOutput() SqlContainerUniqueKeyArrayOutput ToSqlContainerUniqueKeyArrayOutputWithContext(context.Context) SqlContainerUniqueKeyArrayOutput }
SqlContainerUniqueKeyArrayInput is an input type that accepts SqlContainerUniqueKeyArray and SqlContainerUniqueKeyArrayOutput values. You can construct a concrete instance of `SqlContainerUniqueKeyArrayInput` via:
SqlContainerUniqueKeyArray{ SqlContainerUniqueKeyArgs{...} }
type SqlContainerUniqueKeyArrayOutput ¶
type SqlContainerUniqueKeyArrayOutput struct{ *pulumi.OutputState }
func (SqlContainerUniqueKeyArrayOutput) ElementType ¶
func (SqlContainerUniqueKeyArrayOutput) ElementType() reflect.Type
func (SqlContainerUniqueKeyArrayOutput) Index ¶
func (o SqlContainerUniqueKeyArrayOutput) Index(i pulumi.IntInput) SqlContainerUniqueKeyOutput
func (SqlContainerUniqueKeyArrayOutput) ToSqlContainerUniqueKeyArrayOutput ¶
func (o SqlContainerUniqueKeyArrayOutput) ToSqlContainerUniqueKeyArrayOutput() SqlContainerUniqueKeyArrayOutput
func (SqlContainerUniqueKeyArrayOutput) ToSqlContainerUniqueKeyArrayOutputWithContext ¶
func (o SqlContainerUniqueKeyArrayOutput) ToSqlContainerUniqueKeyArrayOutputWithContext(ctx context.Context) SqlContainerUniqueKeyArrayOutput
type SqlContainerUniqueKeyInput ¶
type SqlContainerUniqueKeyInput interface { pulumi.Input ToSqlContainerUniqueKeyOutput() SqlContainerUniqueKeyOutput ToSqlContainerUniqueKeyOutputWithContext(context.Context) SqlContainerUniqueKeyOutput }
SqlContainerUniqueKeyInput is an input type that accepts SqlContainerUniqueKeyArgs and SqlContainerUniqueKeyOutput values. You can construct a concrete instance of `SqlContainerUniqueKeyInput` via:
SqlContainerUniqueKeyArgs{...}
type SqlContainerUniqueKeyOutput ¶
type SqlContainerUniqueKeyOutput struct{ *pulumi.OutputState }
func (SqlContainerUniqueKeyOutput) ElementType ¶
func (SqlContainerUniqueKeyOutput) ElementType() reflect.Type
func (SqlContainerUniqueKeyOutput) Paths ¶
func (o SqlContainerUniqueKeyOutput) Paths() pulumi.StringArrayOutput
A list of paths to use for this unique key.
func (SqlContainerUniqueKeyOutput) ToSqlContainerUniqueKeyOutput ¶
func (o SqlContainerUniqueKeyOutput) ToSqlContainerUniqueKeyOutput() SqlContainerUniqueKeyOutput
func (SqlContainerUniqueKeyOutput) ToSqlContainerUniqueKeyOutputWithContext ¶
func (o SqlContainerUniqueKeyOutput) ToSqlContainerUniqueKeyOutputWithContext(ctx context.Context) SqlContainerUniqueKeyOutput
type SqlDatabase ¶
type SqlDatabase struct { pulumi.CustomResourceState // The name of the Cosmos DB SQL Database to create the table within. Changing this forces a new resource to be created. AccountName pulumi.StringOutput `pulumi:"accountName"` // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. AutoscaleSettings SqlDatabaseAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"` // Specifies the name of the Cosmos DB SQL Database. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` Throughput pulumi.IntOutput `pulumi:"throughput"` }
Manages a SQL Database within a Cosmos DB Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{ Name: "tfex-cosmosdb-account", ResourceGroupName: "tfex-cosmosdb-account-rg", }, nil) if err != nil { return err } _, err = cosmosdb.NewSqlDatabase(ctx, "exampleSqlDatabase", &cosmosdb.SqlDatabaseArgs{ ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName), AccountName: pulumi.String(exampleAccount.Name), Throughput: pulumi.Int(400), }) if err != nil { return err } return nil }) }
```
## Import
Cosmos SQL Database can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/sqlDatabase:SqlDatabase db1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlDatabases/db1
```
func GetSqlDatabase ¶
func GetSqlDatabase(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SqlDatabaseState, opts ...pulumi.ResourceOption) (*SqlDatabase, error)
GetSqlDatabase gets an existing SqlDatabase 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 NewSqlDatabase ¶
func NewSqlDatabase(ctx *pulumi.Context, name string, args *SqlDatabaseArgs, opts ...pulumi.ResourceOption) (*SqlDatabase, error)
NewSqlDatabase registers a new resource with the given unique name, arguments, and options.
func (*SqlDatabase) ElementType ¶
func (*SqlDatabase) ElementType() reflect.Type
func (*SqlDatabase) ToSqlDatabaseOutput ¶
func (i *SqlDatabase) ToSqlDatabaseOutput() SqlDatabaseOutput
func (*SqlDatabase) ToSqlDatabaseOutputWithContext ¶
func (i *SqlDatabase) ToSqlDatabaseOutputWithContext(ctx context.Context) SqlDatabaseOutput
func (*SqlDatabase) ToSqlDatabasePtrOutput ¶
func (i *SqlDatabase) ToSqlDatabasePtrOutput() SqlDatabasePtrOutput
func (*SqlDatabase) ToSqlDatabasePtrOutputWithContext ¶
func (i *SqlDatabase) ToSqlDatabasePtrOutputWithContext(ctx context.Context) SqlDatabasePtrOutput
type SqlDatabaseArgs ¶
type SqlDatabaseArgs struct { // The name of the Cosmos DB SQL Database to create the table within. Changing this forces a new resource to be created. AccountName pulumi.StringInput // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. AutoscaleSettings SqlDatabaseAutoscaleSettingsPtrInput // Specifies the name of the Cosmos DB SQL Database. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput Throughput pulumi.IntPtrInput }
The set of arguments for constructing a SqlDatabase resource.
func (SqlDatabaseArgs) ElementType ¶
func (SqlDatabaseArgs) ElementType() reflect.Type
type SqlDatabaseArray ¶
type SqlDatabaseArray []SqlDatabaseInput
func (SqlDatabaseArray) ElementType ¶
func (SqlDatabaseArray) ElementType() reflect.Type
func (SqlDatabaseArray) ToSqlDatabaseArrayOutput ¶
func (i SqlDatabaseArray) ToSqlDatabaseArrayOutput() SqlDatabaseArrayOutput
func (SqlDatabaseArray) ToSqlDatabaseArrayOutputWithContext ¶
func (i SqlDatabaseArray) ToSqlDatabaseArrayOutputWithContext(ctx context.Context) SqlDatabaseArrayOutput
type SqlDatabaseArrayInput ¶
type SqlDatabaseArrayInput interface { pulumi.Input ToSqlDatabaseArrayOutput() SqlDatabaseArrayOutput ToSqlDatabaseArrayOutputWithContext(context.Context) SqlDatabaseArrayOutput }
SqlDatabaseArrayInput is an input type that accepts SqlDatabaseArray and SqlDatabaseArrayOutput values. You can construct a concrete instance of `SqlDatabaseArrayInput` via:
SqlDatabaseArray{ SqlDatabaseArgs{...} }
type SqlDatabaseArrayOutput ¶
type SqlDatabaseArrayOutput struct{ *pulumi.OutputState }
func (SqlDatabaseArrayOutput) ElementType ¶
func (SqlDatabaseArrayOutput) ElementType() reflect.Type
func (SqlDatabaseArrayOutput) Index ¶
func (o SqlDatabaseArrayOutput) Index(i pulumi.IntInput) SqlDatabaseOutput
func (SqlDatabaseArrayOutput) ToSqlDatabaseArrayOutput ¶
func (o SqlDatabaseArrayOutput) ToSqlDatabaseArrayOutput() SqlDatabaseArrayOutput
func (SqlDatabaseArrayOutput) ToSqlDatabaseArrayOutputWithContext ¶
func (o SqlDatabaseArrayOutput) ToSqlDatabaseArrayOutputWithContext(ctx context.Context) SqlDatabaseArrayOutput
type SqlDatabaseAutoscaleSettings ¶
type SqlDatabaseAutoscaleSettings struct { // The maximum throughput of the SQL database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput *int `pulumi:"maxThroughput"` }
type SqlDatabaseAutoscaleSettingsArgs ¶
type SqlDatabaseAutoscaleSettingsArgs struct { // The maximum throughput of the SQL database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"` }
func (SqlDatabaseAutoscaleSettingsArgs) ElementType ¶
func (SqlDatabaseAutoscaleSettingsArgs) ElementType() reflect.Type
func (SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsOutput ¶
func (i SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsOutput() SqlDatabaseAutoscaleSettingsOutput
func (SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsOutputWithContext ¶
func (i SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsOutput
func (SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsPtrOutput ¶
func (i SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsPtrOutput() SqlDatabaseAutoscaleSettingsPtrOutput
func (SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext ¶
func (i SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsPtrOutput
type SqlDatabaseAutoscaleSettingsInput ¶
type SqlDatabaseAutoscaleSettingsInput interface { pulumi.Input ToSqlDatabaseAutoscaleSettingsOutput() SqlDatabaseAutoscaleSettingsOutput ToSqlDatabaseAutoscaleSettingsOutputWithContext(context.Context) SqlDatabaseAutoscaleSettingsOutput }
SqlDatabaseAutoscaleSettingsInput is an input type that accepts SqlDatabaseAutoscaleSettingsArgs and SqlDatabaseAutoscaleSettingsOutput values. You can construct a concrete instance of `SqlDatabaseAutoscaleSettingsInput` via:
SqlDatabaseAutoscaleSettingsArgs{...}
type SqlDatabaseAutoscaleSettingsOutput ¶
type SqlDatabaseAutoscaleSettingsOutput struct{ *pulumi.OutputState }
func (SqlDatabaseAutoscaleSettingsOutput) ElementType ¶
func (SqlDatabaseAutoscaleSettingsOutput) ElementType() reflect.Type
func (SqlDatabaseAutoscaleSettingsOutput) MaxThroughput ¶
func (o SqlDatabaseAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the SQL database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsOutput ¶
func (o SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsOutput() SqlDatabaseAutoscaleSettingsOutput
func (SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsOutputWithContext ¶
func (o SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsOutput
func (SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsPtrOutput ¶
func (o SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsPtrOutput() SqlDatabaseAutoscaleSettingsPtrOutput
func (SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext ¶
func (o SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsPtrOutput
type SqlDatabaseAutoscaleSettingsPtrInput ¶
type SqlDatabaseAutoscaleSettingsPtrInput interface { pulumi.Input ToSqlDatabaseAutoscaleSettingsPtrOutput() SqlDatabaseAutoscaleSettingsPtrOutput ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext(context.Context) SqlDatabaseAutoscaleSettingsPtrOutput }
SqlDatabaseAutoscaleSettingsPtrInput is an input type that accepts SqlDatabaseAutoscaleSettingsArgs, SqlDatabaseAutoscaleSettingsPtr and SqlDatabaseAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `SqlDatabaseAutoscaleSettingsPtrInput` via:
SqlDatabaseAutoscaleSettingsArgs{...} or: nil
func SqlDatabaseAutoscaleSettingsPtr ¶
func SqlDatabaseAutoscaleSettingsPtr(v *SqlDatabaseAutoscaleSettingsArgs) SqlDatabaseAutoscaleSettingsPtrInput
type SqlDatabaseAutoscaleSettingsPtrOutput ¶
type SqlDatabaseAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }
func (SqlDatabaseAutoscaleSettingsPtrOutput) ElementType ¶
func (SqlDatabaseAutoscaleSettingsPtrOutput) ElementType() reflect.Type
func (SqlDatabaseAutoscaleSettingsPtrOutput) MaxThroughput ¶
func (o SqlDatabaseAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the SQL database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (SqlDatabaseAutoscaleSettingsPtrOutput) ToSqlDatabaseAutoscaleSettingsPtrOutput ¶
func (o SqlDatabaseAutoscaleSettingsPtrOutput) ToSqlDatabaseAutoscaleSettingsPtrOutput() SqlDatabaseAutoscaleSettingsPtrOutput
func (SqlDatabaseAutoscaleSettingsPtrOutput) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext ¶
func (o SqlDatabaseAutoscaleSettingsPtrOutput) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsPtrOutput
type SqlDatabaseInput ¶
type SqlDatabaseInput interface { pulumi.Input ToSqlDatabaseOutput() SqlDatabaseOutput ToSqlDatabaseOutputWithContext(ctx context.Context) SqlDatabaseOutput }
type SqlDatabaseMap ¶
type SqlDatabaseMap map[string]SqlDatabaseInput
func (SqlDatabaseMap) ElementType ¶
func (SqlDatabaseMap) ElementType() reflect.Type
func (SqlDatabaseMap) ToSqlDatabaseMapOutput ¶
func (i SqlDatabaseMap) ToSqlDatabaseMapOutput() SqlDatabaseMapOutput
func (SqlDatabaseMap) ToSqlDatabaseMapOutputWithContext ¶
func (i SqlDatabaseMap) ToSqlDatabaseMapOutputWithContext(ctx context.Context) SqlDatabaseMapOutput
type SqlDatabaseMapInput ¶
type SqlDatabaseMapInput interface { pulumi.Input ToSqlDatabaseMapOutput() SqlDatabaseMapOutput ToSqlDatabaseMapOutputWithContext(context.Context) SqlDatabaseMapOutput }
SqlDatabaseMapInput is an input type that accepts SqlDatabaseMap and SqlDatabaseMapOutput values. You can construct a concrete instance of `SqlDatabaseMapInput` via:
SqlDatabaseMap{ "key": SqlDatabaseArgs{...} }
type SqlDatabaseMapOutput ¶
type SqlDatabaseMapOutput struct{ *pulumi.OutputState }
func (SqlDatabaseMapOutput) ElementType ¶
func (SqlDatabaseMapOutput) ElementType() reflect.Type
func (SqlDatabaseMapOutput) MapIndex ¶
func (o SqlDatabaseMapOutput) MapIndex(k pulumi.StringInput) SqlDatabaseOutput
func (SqlDatabaseMapOutput) ToSqlDatabaseMapOutput ¶
func (o SqlDatabaseMapOutput) ToSqlDatabaseMapOutput() SqlDatabaseMapOutput
func (SqlDatabaseMapOutput) ToSqlDatabaseMapOutputWithContext ¶
func (o SqlDatabaseMapOutput) ToSqlDatabaseMapOutputWithContext(ctx context.Context) SqlDatabaseMapOutput
type SqlDatabaseOutput ¶
type SqlDatabaseOutput struct {
*pulumi.OutputState
}
func (SqlDatabaseOutput) ElementType ¶
func (SqlDatabaseOutput) ElementType() reflect.Type
func (SqlDatabaseOutput) ToSqlDatabaseOutput ¶
func (o SqlDatabaseOutput) ToSqlDatabaseOutput() SqlDatabaseOutput
func (SqlDatabaseOutput) ToSqlDatabaseOutputWithContext ¶
func (o SqlDatabaseOutput) ToSqlDatabaseOutputWithContext(ctx context.Context) SqlDatabaseOutput
func (SqlDatabaseOutput) ToSqlDatabasePtrOutput ¶
func (o SqlDatabaseOutput) ToSqlDatabasePtrOutput() SqlDatabasePtrOutput
func (SqlDatabaseOutput) ToSqlDatabasePtrOutputWithContext ¶
func (o SqlDatabaseOutput) ToSqlDatabasePtrOutputWithContext(ctx context.Context) SqlDatabasePtrOutput
type SqlDatabasePtrInput ¶
type SqlDatabasePtrInput interface { pulumi.Input ToSqlDatabasePtrOutput() SqlDatabasePtrOutput ToSqlDatabasePtrOutputWithContext(ctx context.Context) SqlDatabasePtrOutput }
type SqlDatabasePtrOutput ¶
type SqlDatabasePtrOutput struct {
*pulumi.OutputState
}
func (SqlDatabasePtrOutput) ElementType ¶
func (SqlDatabasePtrOutput) ElementType() reflect.Type
func (SqlDatabasePtrOutput) ToSqlDatabasePtrOutput ¶
func (o SqlDatabasePtrOutput) ToSqlDatabasePtrOutput() SqlDatabasePtrOutput
func (SqlDatabasePtrOutput) ToSqlDatabasePtrOutputWithContext ¶
func (o SqlDatabasePtrOutput) ToSqlDatabasePtrOutputWithContext(ctx context.Context) SqlDatabasePtrOutput
type SqlDatabaseState ¶
type SqlDatabaseState struct { // The name of the Cosmos DB SQL Database to create the table within. Changing this forces a new resource to be created. AccountName pulumi.StringPtrInput // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. AutoscaleSettings SqlDatabaseAutoscaleSettingsPtrInput // Specifies the name of the Cosmos DB SQL Database. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput Throughput pulumi.IntPtrInput }
func (SqlDatabaseState) ElementType ¶
func (SqlDatabaseState) ElementType() reflect.Type
type SqlFunction ¶ added in v4.2.0
type SqlFunction struct { pulumi.CustomResourceState Body pulumi.StringOutput `pulumi:"body"` ContainerId pulumi.StringOutput `pulumi:"containerId"` Name pulumi.StringOutput `pulumi:"name"` }
func GetSqlFunction ¶ added in v4.2.0
func GetSqlFunction(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SqlFunctionState, opts ...pulumi.ResourceOption) (*SqlFunction, error)
GetSqlFunction gets an existing SqlFunction 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 NewSqlFunction ¶ added in v4.2.0
func NewSqlFunction(ctx *pulumi.Context, name string, args *SqlFunctionArgs, opts ...pulumi.ResourceOption) (*SqlFunction, error)
NewSqlFunction registers a new resource with the given unique name, arguments, and options.
func (*SqlFunction) ElementType ¶ added in v4.2.0
func (*SqlFunction) ElementType() reflect.Type
func (*SqlFunction) ToSqlFunctionOutput ¶ added in v4.2.0
func (i *SqlFunction) ToSqlFunctionOutput() SqlFunctionOutput
func (*SqlFunction) ToSqlFunctionOutputWithContext ¶ added in v4.2.0
func (i *SqlFunction) ToSqlFunctionOutputWithContext(ctx context.Context) SqlFunctionOutput
func (*SqlFunction) ToSqlFunctionPtrOutput ¶ added in v4.2.0
func (i *SqlFunction) ToSqlFunctionPtrOutput() SqlFunctionPtrOutput
func (*SqlFunction) ToSqlFunctionPtrOutputWithContext ¶ added in v4.2.0
func (i *SqlFunction) ToSqlFunctionPtrOutputWithContext(ctx context.Context) SqlFunctionPtrOutput
type SqlFunctionArgs ¶ added in v4.2.0
type SqlFunctionArgs struct { Body pulumi.StringInput ContainerId pulumi.StringInput Name pulumi.StringPtrInput }
The set of arguments for constructing a SqlFunction resource.
func (SqlFunctionArgs) ElementType ¶ added in v4.2.0
func (SqlFunctionArgs) ElementType() reflect.Type
type SqlFunctionArray ¶ added in v4.2.0
type SqlFunctionArray []SqlFunctionInput
func (SqlFunctionArray) ElementType ¶ added in v4.2.0
func (SqlFunctionArray) ElementType() reflect.Type
func (SqlFunctionArray) ToSqlFunctionArrayOutput ¶ added in v4.2.0
func (i SqlFunctionArray) ToSqlFunctionArrayOutput() SqlFunctionArrayOutput
func (SqlFunctionArray) ToSqlFunctionArrayOutputWithContext ¶ added in v4.2.0
func (i SqlFunctionArray) ToSqlFunctionArrayOutputWithContext(ctx context.Context) SqlFunctionArrayOutput
type SqlFunctionArrayInput ¶ added in v4.2.0
type SqlFunctionArrayInput interface { pulumi.Input ToSqlFunctionArrayOutput() SqlFunctionArrayOutput ToSqlFunctionArrayOutputWithContext(context.Context) SqlFunctionArrayOutput }
SqlFunctionArrayInput is an input type that accepts SqlFunctionArray and SqlFunctionArrayOutput values. You can construct a concrete instance of `SqlFunctionArrayInput` via:
SqlFunctionArray{ SqlFunctionArgs{...} }
type SqlFunctionArrayOutput ¶ added in v4.2.0
type SqlFunctionArrayOutput struct{ *pulumi.OutputState }
func (SqlFunctionArrayOutput) ElementType ¶ added in v4.2.0
func (SqlFunctionArrayOutput) ElementType() reflect.Type
func (SqlFunctionArrayOutput) Index ¶ added in v4.2.0
func (o SqlFunctionArrayOutput) Index(i pulumi.IntInput) SqlFunctionOutput
func (SqlFunctionArrayOutput) ToSqlFunctionArrayOutput ¶ added in v4.2.0
func (o SqlFunctionArrayOutput) ToSqlFunctionArrayOutput() SqlFunctionArrayOutput
func (SqlFunctionArrayOutput) ToSqlFunctionArrayOutputWithContext ¶ added in v4.2.0
func (o SqlFunctionArrayOutput) ToSqlFunctionArrayOutputWithContext(ctx context.Context) SqlFunctionArrayOutput
type SqlFunctionInput ¶ added in v4.2.0
type SqlFunctionInput interface { pulumi.Input ToSqlFunctionOutput() SqlFunctionOutput ToSqlFunctionOutputWithContext(ctx context.Context) SqlFunctionOutput }
type SqlFunctionMap ¶ added in v4.2.0
type SqlFunctionMap map[string]SqlFunctionInput
func (SqlFunctionMap) ElementType ¶ added in v4.2.0
func (SqlFunctionMap) ElementType() reflect.Type
func (SqlFunctionMap) ToSqlFunctionMapOutput ¶ added in v4.2.0
func (i SqlFunctionMap) ToSqlFunctionMapOutput() SqlFunctionMapOutput
func (SqlFunctionMap) ToSqlFunctionMapOutputWithContext ¶ added in v4.2.0
func (i SqlFunctionMap) ToSqlFunctionMapOutputWithContext(ctx context.Context) SqlFunctionMapOutput
type SqlFunctionMapInput ¶ added in v4.2.0
type SqlFunctionMapInput interface { pulumi.Input ToSqlFunctionMapOutput() SqlFunctionMapOutput ToSqlFunctionMapOutputWithContext(context.Context) SqlFunctionMapOutput }
SqlFunctionMapInput is an input type that accepts SqlFunctionMap and SqlFunctionMapOutput values. You can construct a concrete instance of `SqlFunctionMapInput` via:
SqlFunctionMap{ "key": SqlFunctionArgs{...} }
type SqlFunctionMapOutput ¶ added in v4.2.0
type SqlFunctionMapOutput struct{ *pulumi.OutputState }
func (SqlFunctionMapOutput) ElementType ¶ added in v4.2.0
func (SqlFunctionMapOutput) ElementType() reflect.Type
func (SqlFunctionMapOutput) MapIndex ¶ added in v4.2.0
func (o SqlFunctionMapOutput) MapIndex(k pulumi.StringInput) SqlFunctionOutput
func (SqlFunctionMapOutput) ToSqlFunctionMapOutput ¶ added in v4.2.0
func (o SqlFunctionMapOutput) ToSqlFunctionMapOutput() SqlFunctionMapOutput
func (SqlFunctionMapOutput) ToSqlFunctionMapOutputWithContext ¶ added in v4.2.0
func (o SqlFunctionMapOutput) ToSqlFunctionMapOutputWithContext(ctx context.Context) SqlFunctionMapOutput
type SqlFunctionOutput ¶ added in v4.2.0
type SqlFunctionOutput struct {
*pulumi.OutputState
}
func (SqlFunctionOutput) ElementType ¶ added in v4.2.0
func (SqlFunctionOutput) ElementType() reflect.Type
func (SqlFunctionOutput) ToSqlFunctionOutput ¶ added in v4.2.0
func (o SqlFunctionOutput) ToSqlFunctionOutput() SqlFunctionOutput
func (SqlFunctionOutput) ToSqlFunctionOutputWithContext ¶ added in v4.2.0
func (o SqlFunctionOutput) ToSqlFunctionOutputWithContext(ctx context.Context) SqlFunctionOutput
func (SqlFunctionOutput) ToSqlFunctionPtrOutput ¶ added in v4.2.0
func (o SqlFunctionOutput) ToSqlFunctionPtrOutput() SqlFunctionPtrOutput
func (SqlFunctionOutput) ToSqlFunctionPtrOutputWithContext ¶ added in v4.2.0
func (o SqlFunctionOutput) ToSqlFunctionPtrOutputWithContext(ctx context.Context) SqlFunctionPtrOutput
type SqlFunctionPtrInput ¶ added in v4.2.0
type SqlFunctionPtrInput interface { pulumi.Input ToSqlFunctionPtrOutput() SqlFunctionPtrOutput ToSqlFunctionPtrOutputWithContext(ctx context.Context) SqlFunctionPtrOutput }
type SqlFunctionPtrOutput ¶ added in v4.2.0
type SqlFunctionPtrOutput struct {
*pulumi.OutputState
}
func (SqlFunctionPtrOutput) ElementType ¶ added in v4.2.0
func (SqlFunctionPtrOutput) ElementType() reflect.Type
func (SqlFunctionPtrOutput) ToSqlFunctionPtrOutput ¶ added in v4.2.0
func (o SqlFunctionPtrOutput) ToSqlFunctionPtrOutput() SqlFunctionPtrOutput
func (SqlFunctionPtrOutput) ToSqlFunctionPtrOutputWithContext ¶ added in v4.2.0
func (o SqlFunctionPtrOutput) ToSqlFunctionPtrOutputWithContext(ctx context.Context) SqlFunctionPtrOutput
type SqlFunctionState ¶ added in v4.2.0
type SqlFunctionState struct { Body pulumi.StringPtrInput ContainerId pulumi.StringPtrInput Name pulumi.StringPtrInput }
func (SqlFunctionState) ElementType ¶ added in v4.2.0
func (SqlFunctionState) ElementType() reflect.Type
type SqlStoredProcedure ¶
type SqlStoredProcedure struct { pulumi.CustomResourceState // The name of the Cosmos DB Account to create the stored procedure within. Changing this forces a new resource to be created. AccountName pulumi.StringOutput `pulumi:"accountName"` // The body of the stored procedure. Body pulumi.StringOutput `pulumi:"body"` // The name of the Cosmos DB SQL Container to create the stored procedure within. Changing this forces a new resource to be created. ContainerName pulumi.StringOutput `pulumi:"containerName"` // The name of the Cosmos DB SQL Database to create the stored procedure within. Changing this forces a new resource to be created. DatabaseName pulumi.StringOutput `pulumi:"databaseName"` // Specifies the name of the Cosmos DB SQL Stored Procedure. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
Manages a SQL Stored Procedure within a Cosmos DB Account SQL Database.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{ Name: "tfex-cosmosdb-account", ResourceGroupName: "tfex-cosmosdb-account-rg", }, nil) if err != nil { return err } exampleSqlDatabase, err := cosmosdb.NewSqlDatabase(ctx, "exampleSqlDatabase", &cosmosdb.SqlDatabaseArgs{ ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName), AccountName: pulumi.String(exampleAccount.Name), Throughput: pulumi.Int(400), }) if err != nil { return err } exampleSqlContainer, err := cosmosdb.NewSqlContainer(ctx, "exampleSqlContainer", &cosmosdb.SqlContainerArgs{ ResourceGroupName: pulumi.Any(azurerm_cosmosdb_account.Example.Resource_group_name), AccountName: pulumi.Any(azurerm_cosmosdb_account.Example.Name), DatabaseName: exampleSqlDatabase.Name, PartitionKeyPath: pulumi.String("/id"), }) if err != nil { return err } _, err = cosmosdb.NewSqlStoredProcedure(ctx, "exampleSqlStoredProcedure", &cosmosdb.SqlStoredProcedureArgs{ ResourceGroupName: pulumi.Any(azurerm_cosmosdb_account.Example.Resource_group_name), AccountName: pulumi.Any(azurerm_cosmosdb_account.Example.Name), DatabaseName: exampleSqlDatabase.Name, ContainerName: exampleSqlContainer.Name, Body: pulumi.String(" function () { var context = getContext(); var response = context.getResponse(); response.setBody('Hello, World'); }\n"), }) if err != nil { return err } return nil }) }
```
## Import
CosmosDB SQL Stored Procedures can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/sqlStoredProcedure:SqlStoredProcedure db1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlDatabases/db1/containers/c1/storedProcedures/sp1
```
func GetSqlStoredProcedure ¶
func GetSqlStoredProcedure(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SqlStoredProcedureState, opts ...pulumi.ResourceOption) (*SqlStoredProcedure, error)
GetSqlStoredProcedure gets an existing SqlStoredProcedure 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 NewSqlStoredProcedure ¶
func NewSqlStoredProcedure(ctx *pulumi.Context, name string, args *SqlStoredProcedureArgs, opts ...pulumi.ResourceOption) (*SqlStoredProcedure, error)
NewSqlStoredProcedure registers a new resource with the given unique name, arguments, and options.
func (*SqlStoredProcedure) ElementType ¶
func (*SqlStoredProcedure) ElementType() reflect.Type
func (*SqlStoredProcedure) ToSqlStoredProcedureOutput ¶
func (i *SqlStoredProcedure) ToSqlStoredProcedureOutput() SqlStoredProcedureOutput
func (*SqlStoredProcedure) ToSqlStoredProcedureOutputWithContext ¶
func (i *SqlStoredProcedure) ToSqlStoredProcedureOutputWithContext(ctx context.Context) SqlStoredProcedureOutput
func (*SqlStoredProcedure) ToSqlStoredProcedurePtrOutput ¶
func (i *SqlStoredProcedure) ToSqlStoredProcedurePtrOutput() SqlStoredProcedurePtrOutput
func (*SqlStoredProcedure) ToSqlStoredProcedurePtrOutputWithContext ¶
func (i *SqlStoredProcedure) ToSqlStoredProcedurePtrOutputWithContext(ctx context.Context) SqlStoredProcedurePtrOutput
type SqlStoredProcedureArgs ¶
type SqlStoredProcedureArgs struct { // The name of the Cosmos DB Account to create the stored procedure within. Changing this forces a new resource to be created. AccountName pulumi.StringInput // The body of the stored procedure. Body pulumi.StringInput // The name of the Cosmos DB SQL Container to create the stored procedure within. Changing this forces a new resource to be created. ContainerName pulumi.StringInput // The name of the Cosmos DB SQL Database to create the stored procedure within. Changing this forces a new resource to be created. DatabaseName pulumi.StringInput // Specifies the name of the Cosmos DB SQL Stored Procedure. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a SqlStoredProcedure resource.
func (SqlStoredProcedureArgs) ElementType ¶
func (SqlStoredProcedureArgs) ElementType() reflect.Type
type SqlStoredProcedureArray ¶
type SqlStoredProcedureArray []SqlStoredProcedureInput
func (SqlStoredProcedureArray) ElementType ¶
func (SqlStoredProcedureArray) ElementType() reflect.Type
func (SqlStoredProcedureArray) ToSqlStoredProcedureArrayOutput ¶
func (i SqlStoredProcedureArray) ToSqlStoredProcedureArrayOutput() SqlStoredProcedureArrayOutput
func (SqlStoredProcedureArray) ToSqlStoredProcedureArrayOutputWithContext ¶
func (i SqlStoredProcedureArray) ToSqlStoredProcedureArrayOutputWithContext(ctx context.Context) SqlStoredProcedureArrayOutput
type SqlStoredProcedureArrayInput ¶
type SqlStoredProcedureArrayInput interface { pulumi.Input ToSqlStoredProcedureArrayOutput() SqlStoredProcedureArrayOutput ToSqlStoredProcedureArrayOutputWithContext(context.Context) SqlStoredProcedureArrayOutput }
SqlStoredProcedureArrayInput is an input type that accepts SqlStoredProcedureArray and SqlStoredProcedureArrayOutput values. You can construct a concrete instance of `SqlStoredProcedureArrayInput` via:
SqlStoredProcedureArray{ SqlStoredProcedureArgs{...} }
type SqlStoredProcedureArrayOutput ¶
type SqlStoredProcedureArrayOutput struct{ *pulumi.OutputState }
func (SqlStoredProcedureArrayOutput) ElementType ¶
func (SqlStoredProcedureArrayOutput) ElementType() reflect.Type
func (SqlStoredProcedureArrayOutput) Index ¶
func (o SqlStoredProcedureArrayOutput) Index(i pulumi.IntInput) SqlStoredProcedureOutput
func (SqlStoredProcedureArrayOutput) ToSqlStoredProcedureArrayOutput ¶
func (o SqlStoredProcedureArrayOutput) ToSqlStoredProcedureArrayOutput() SqlStoredProcedureArrayOutput
func (SqlStoredProcedureArrayOutput) ToSqlStoredProcedureArrayOutputWithContext ¶
func (o SqlStoredProcedureArrayOutput) ToSqlStoredProcedureArrayOutputWithContext(ctx context.Context) SqlStoredProcedureArrayOutput
type SqlStoredProcedureInput ¶
type SqlStoredProcedureInput interface { pulumi.Input ToSqlStoredProcedureOutput() SqlStoredProcedureOutput ToSqlStoredProcedureOutputWithContext(ctx context.Context) SqlStoredProcedureOutput }
type SqlStoredProcedureMap ¶
type SqlStoredProcedureMap map[string]SqlStoredProcedureInput
func (SqlStoredProcedureMap) ElementType ¶
func (SqlStoredProcedureMap) ElementType() reflect.Type
func (SqlStoredProcedureMap) ToSqlStoredProcedureMapOutput ¶
func (i SqlStoredProcedureMap) ToSqlStoredProcedureMapOutput() SqlStoredProcedureMapOutput
func (SqlStoredProcedureMap) ToSqlStoredProcedureMapOutputWithContext ¶
func (i SqlStoredProcedureMap) ToSqlStoredProcedureMapOutputWithContext(ctx context.Context) SqlStoredProcedureMapOutput
type SqlStoredProcedureMapInput ¶
type SqlStoredProcedureMapInput interface { pulumi.Input ToSqlStoredProcedureMapOutput() SqlStoredProcedureMapOutput ToSqlStoredProcedureMapOutputWithContext(context.Context) SqlStoredProcedureMapOutput }
SqlStoredProcedureMapInput is an input type that accepts SqlStoredProcedureMap and SqlStoredProcedureMapOutput values. You can construct a concrete instance of `SqlStoredProcedureMapInput` via:
SqlStoredProcedureMap{ "key": SqlStoredProcedureArgs{...} }
type SqlStoredProcedureMapOutput ¶
type SqlStoredProcedureMapOutput struct{ *pulumi.OutputState }
func (SqlStoredProcedureMapOutput) ElementType ¶
func (SqlStoredProcedureMapOutput) ElementType() reflect.Type
func (SqlStoredProcedureMapOutput) MapIndex ¶
func (o SqlStoredProcedureMapOutput) MapIndex(k pulumi.StringInput) SqlStoredProcedureOutput
func (SqlStoredProcedureMapOutput) ToSqlStoredProcedureMapOutput ¶
func (o SqlStoredProcedureMapOutput) ToSqlStoredProcedureMapOutput() SqlStoredProcedureMapOutput
func (SqlStoredProcedureMapOutput) ToSqlStoredProcedureMapOutputWithContext ¶
func (o SqlStoredProcedureMapOutput) ToSqlStoredProcedureMapOutputWithContext(ctx context.Context) SqlStoredProcedureMapOutput
type SqlStoredProcedureOutput ¶
type SqlStoredProcedureOutput struct {
*pulumi.OutputState
}
func (SqlStoredProcedureOutput) ElementType ¶
func (SqlStoredProcedureOutput) ElementType() reflect.Type
func (SqlStoredProcedureOutput) ToSqlStoredProcedureOutput ¶
func (o SqlStoredProcedureOutput) ToSqlStoredProcedureOutput() SqlStoredProcedureOutput
func (SqlStoredProcedureOutput) ToSqlStoredProcedureOutputWithContext ¶
func (o SqlStoredProcedureOutput) ToSqlStoredProcedureOutputWithContext(ctx context.Context) SqlStoredProcedureOutput
func (SqlStoredProcedureOutput) ToSqlStoredProcedurePtrOutput ¶
func (o SqlStoredProcedureOutput) ToSqlStoredProcedurePtrOutput() SqlStoredProcedurePtrOutput
func (SqlStoredProcedureOutput) ToSqlStoredProcedurePtrOutputWithContext ¶
func (o SqlStoredProcedureOutput) ToSqlStoredProcedurePtrOutputWithContext(ctx context.Context) SqlStoredProcedurePtrOutput
type SqlStoredProcedurePtrInput ¶
type SqlStoredProcedurePtrInput interface { pulumi.Input ToSqlStoredProcedurePtrOutput() SqlStoredProcedurePtrOutput ToSqlStoredProcedurePtrOutputWithContext(ctx context.Context) SqlStoredProcedurePtrOutput }
type SqlStoredProcedurePtrOutput ¶
type SqlStoredProcedurePtrOutput struct {
*pulumi.OutputState
}
func (SqlStoredProcedurePtrOutput) ElementType ¶
func (SqlStoredProcedurePtrOutput) ElementType() reflect.Type
func (SqlStoredProcedurePtrOutput) ToSqlStoredProcedurePtrOutput ¶
func (o SqlStoredProcedurePtrOutput) ToSqlStoredProcedurePtrOutput() SqlStoredProcedurePtrOutput
func (SqlStoredProcedurePtrOutput) ToSqlStoredProcedurePtrOutputWithContext ¶
func (o SqlStoredProcedurePtrOutput) ToSqlStoredProcedurePtrOutputWithContext(ctx context.Context) SqlStoredProcedurePtrOutput
type SqlStoredProcedureState ¶
type SqlStoredProcedureState struct { // The name of the Cosmos DB Account to create the stored procedure within. Changing this forces a new resource to be created. AccountName pulumi.StringPtrInput // The body of the stored procedure. Body pulumi.StringPtrInput // The name of the Cosmos DB SQL Container to create the stored procedure within. Changing this forces a new resource to be created. ContainerName pulumi.StringPtrInput // The name of the Cosmos DB SQL Database to create the stored procedure within. Changing this forces a new resource to be created. DatabaseName pulumi.StringPtrInput // Specifies the name of the Cosmos DB SQL Stored Procedure. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput }
func (SqlStoredProcedureState) ElementType ¶
func (SqlStoredProcedureState) ElementType() reflect.Type
type SqlTrigger ¶ added in v4.2.0
type SqlTrigger struct { pulumi.CustomResourceState // Body of the Trigger. Body pulumi.StringOutput `pulumi:"body"` // The id of the Cosmos DB SQL Container to create the SQL Trigger within. Changing this forces a new SQL Trigger to be created. ContainerId pulumi.StringOutput `pulumi:"containerId"` // The name which should be used for this SQL Trigger. Changing this forces a new SQL Trigger to be created. Name pulumi.StringOutput `pulumi:"name"` // The operation the trigger is associated with. Possible values are `All`, `Create`, `Update`, `Delete` and `Replace`. Operation pulumi.StringOutput `pulumi:"operation"` // Type of the Trigger. Possible values are `Pre` and `Post`. Type pulumi.StringOutput `pulumi:"type"` }
Manages an SQL Trigger.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{ Name: "tfex-cosmosdb-account", ResourceGroupName: "tfex-cosmosdb-account-rg", }, nil) if err != nil { return err } exampleSqlDatabase, err := cosmosdb.NewSqlDatabase(ctx, "exampleSqlDatabase", &cosmosdb.SqlDatabaseArgs{ ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName), AccountName: pulumi.String(exampleAccount.Name), Throughput: pulumi.Int(400), }) if err != nil { return err } exampleSqlContainer, err := cosmosdb.NewSqlContainer(ctx, "exampleSqlContainer", &cosmosdb.SqlContainerArgs{ ResourceGroupName: pulumi.Any(azurerm_cosmosdb_account.Example.Resource_group_name), AccountName: pulumi.Any(azurerm_cosmosdb_account.Example.Name), DatabaseName: exampleSqlDatabase.Name, PartitionKeyPath: pulumi.String("/id"), }) if err != nil { return err } _, err = cosmosdb.NewSqlTrigger(ctx, "exampleSqlTrigger", &cosmosdb.SqlTriggerArgs{ ContainerId: exampleSqlContainer.ID(), Body: pulumi.String("function trigger(){}"), Operation: pulumi.String("Delete"), Type: pulumi.String("Post"), }) if err != nil { return err } return nil }) }
```
## Import
SQL Triggers can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/sqlTrigger:SqlTrigger example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlDatabases/database1/containers/container1/triggers/trigger1
```
func GetSqlTrigger ¶ added in v4.2.0
func GetSqlTrigger(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SqlTriggerState, opts ...pulumi.ResourceOption) (*SqlTrigger, error)
GetSqlTrigger gets an existing SqlTrigger 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 NewSqlTrigger ¶ added in v4.2.0
func NewSqlTrigger(ctx *pulumi.Context, name string, args *SqlTriggerArgs, opts ...pulumi.ResourceOption) (*SqlTrigger, error)
NewSqlTrigger registers a new resource with the given unique name, arguments, and options.
func (*SqlTrigger) ElementType ¶ added in v4.2.0
func (*SqlTrigger) ElementType() reflect.Type
func (*SqlTrigger) ToSqlTriggerOutput ¶ added in v4.2.0
func (i *SqlTrigger) ToSqlTriggerOutput() SqlTriggerOutput
func (*SqlTrigger) ToSqlTriggerOutputWithContext ¶ added in v4.2.0
func (i *SqlTrigger) ToSqlTriggerOutputWithContext(ctx context.Context) SqlTriggerOutput
func (*SqlTrigger) ToSqlTriggerPtrOutput ¶ added in v4.2.0
func (i *SqlTrigger) ToSqlTriggerPtrOutput() SqlTriggerPtrOutput
func (*SqlTrigger) ToSqlTriggerPtrOutputWithContext ¶ added in v4.2.0
func (i *SqlTrigger) ToSqlTriggerPtrOutputWithContext(ctx context.Context) SqlTriggerPtrOutput
type SqlTriggerArgs ¶ added in v4.2.0
type SqlTriggerArgs struct { // Body of the Trigger. Body pulumi.StringInput // The id of the Cosmos DB SQL Container to create the SQL Trigger within. Changing this forces a new SQL Trigger to be created. ContainerId pulumi.StringInput // The name which should be used for this SQL Trigger. Changing this forces a new SQL Trigger to be created. Name pulumi.StringPtrInput // The operation the trigger is associated with. Possible values are `All`, `Create`, `Update`, `Delete` and `Replace`. Operation pulumi.StringInput // Type of the Trigger. Possible values are `Pre` and `Post`. Type pulumi.StringInput }
The set of arguments for constructing a SqlTrigger resource.
func (SqlTriggerArgs) ElementType ¶ added in v4.2.0
func (SqlTriggerArgs) ElementType() reflect.Type
type SqlTriggerArray ¶ added in v4.2.0
type SqlTriggerArray []SqlTriggerInput
func (SqlTriggerArray) ElementType ¶ added in v4.2.0
func (SqlTriggerArray) ElementType() reflect.Type
func (SqlTriggerArray) ToSqlTriggerArrayOutput ¶ added in v4.2.0
func (i SqlTriggerArray) ToSqlTriggerArrayOutput() SqlTriggerArrayOutput
func (SqlTriggerArray) ToSqlTriggerArrayOutputWithContext ¶ added in v4.2.0
func (i SqlTriggerArray) ToSqlTriggerArrayOutputWithContext(ctx context.Context) SqlTriggerArrayOutput
type SqlTriggerArrayInput ¶ added in v4.2.0
type SqlTriggerArrayInput interface { pulumi.Input ToSqlTriggerArrayOutput() SqlTriggerArrayOutput ToSqlTriggerArrayOutputWithContext(context.Context) SqlTriggerArrayOutput }
SqlTriggerArrayInput is an input type that accepts SqlTriggerArray and SqlTriggerArrayOutput values. You can construct a concrete instance of `SqlTriggerArrayInput` via:
SqlTriggerArray{ SqlTriggerArgs{...} }
type SqlTriggerArrayOutput ¶ added in v4.2.0
type SqlTriggerArrayOutput struct{ *pulumi.OutputState }
func (SqlTriggerArrayOutput) ElementType ¶ added in v4.2.0
func (SqlTriggerArrayOutput) ElementType() reflect.Type
func (SqlTriggerArrayOutput) Index ¶ added in v4.2.0
func (o SqlTriggerArrayOutput) Index(i pulumi.IntInput) SqlTriggerOutput
func (SqlTriggerArrayOutput) ToSqlTriggerArrayOutput ¶ added in v4.2.0
func (o SqlTriggerArrayOutput) ToSqlTriggerArrayOutput() SqlTriggerArrayOutput
func (SqlTriggerArrayOutput) ToSqlTriggerArrayOutputWithContext ¶ added in v4.2.0
func (o SqlTriggerArrayOutput) ToSqlTriggerArrayOutputWithContext(ctx context.Context) SqlTriggerArrayOutput
type SqlTriggerInput ¶ added in v4.2.0
type SqlTriggerInput interface { pulumi.Input ToSqlTriggerOutput() SqlTriggerOutput ToSqlTriggerOutputWithContext(ctx context.Context) SqlTriggerOutput }
type SqlTriggerMap ¶ added in v4.2.0
type SqlTriggerMap map[string]SqlTriggerInput
func (SqlTriggerMap) ElementType ¶ added in v4.2.0
func (SqlTriggerMap) ElementType() reflect.Type
func (SqlTriggerMap) ToSqlTriggerMapOutput ¶ added in v4.2.0
func (i SqlTriggerMap) ToSqlTriggerMapOutput() SqlTriggerMapOutput
func (SqlTriggerMap) ToSqlTriggerMapOutputWithContext ¶ added in v4.2.0
func (i SqlTriggerMap) ToSqlTriggerMapOutputWithContext(ctx context.Context) SqlTriggerMapOutput
type SqlTriggerMapInput ¶ added in v4.2.0
type SqlTriggerMapInput interface { pulumi.Input ToSqlTriggerMapOutput() SqlTriggerMapOutput ToSqlTriggerMapOutputWithContext(context.Context) SqlTriggerMapOutput }
SqlTriggerMapInput is an input type that accepts SqlTriggerMap and SqlTriggerMapOutput values. You can construct a concrete instance of `SqlTriggerMapInput` via:
SqlTriggerMap{ "key": SqlTriggerArgs{...} }
type SqlTriggerMapOutput ¶ added in v4.2.0
type SqlTriggerMapOutput struct{ *pulumi.OutputState }
func (SqlTriggerMapOutput) ElementType ¶ added in v4.2.0
func (SqlTriggerMapOutput) ElementType() reflect.Type
func (SqlTriggerMapOutput) MapIndex ¶ added in v4.2.0
func (o SqlTriggerMapOutput) MapIndex(k pulumi.StringInput) SqlTriggerOutput
func (SqlTriggerMapOutput) ToSqlTriggerMapOutput ¶ added in v4.2.0
func (o SqlTriggerMapOutput) ToSqlTriggerMapOutput() SqlTriggerMapOutput
func (SqlTriggerMapOutput) ToSqlTriggerMapOutputWithContext ¶ added in v4.2.0
func (o SqlTriggerMapOutput) ToSqlTriggerMapOutputWithContext(ctx context.Context) SqlTriggerMapOutput
type SqlTriggerOutput ¶ added in v4.2.0
type SqlTriggerOutput struct {
*pulumi.OutputState
}
func (SqlTriggerOutput) ElementType ¶ added in v4.2.0
func (SqlTriggerOutput) ElementType() reflect.Type
func (SqlTriggerOutput) ToSqlTriggerOutput ¶ added in v4.2.0
func (o SqlTriggerOutput) ToSqlTriggerOutput() SqlTriggerOutput
func (SqlTriggerOutput) ToSqlTriggerOutputWithContext ¶ added in v4.2.0
func (o SqlTriggerOutput) ToSqlTriggerOutputWithContext(ctx context.Context) SqlTriggerOutput
func (SqlTriggerOutput) ToSqlTriggerPtrOutput ¶ added in v4.2.0
func (o SqlTriggerOutput) ToSqlTriggerPtrOutput() SqlTriggerPtrOutput
func (SqlTriggerOutput) ToSqlTriggerPtrOutputWithContext ¶ added in v4.2.0
func (o SqlTriggerOutput) ToSqlTriggerPtrOutputWithContext(ctx context.Context) SqlTriggerPtrOutput
type SqlTriggerPtrInput ¶ added in v4.2.0
type SqlTriggerPtrInput interface { pulumi.Input ToSqlTriggerPtrOutput() SqlTriggerPtrOutput ToSqlTriggerPtrOutputWithContext(ctx context.Context) SqlTriggerPtrOutput }
type SqlTriggerPtrOutput ¶ added in v4.2.0
type SqlTriggerPtrOutput struct {
*pulumi.OutputState
}
func (SqlTriggerPtrOutput) ElementType ¶ added in v4.2.0
func (SqlTriggerPtrOutput) ElementType() reflect.Type
func (SqlTriggerPtrOutput) ToSqlTriggerPtrOutput ¶ added in v4.2.0
func (o SqlTriggerPtrOutput) ToSqlTriggerPtrOutput() SqlTriggerPtrOutput
func (SqlTriggerPtrOutput) ToSqlTriggerPtrOutputWithContext ¶ added in v4.2.0
func (o SqlTriggerPtrOutput) ToSqlTriggerPtrOutputWithContext(ctx context.Context) SqlTriggerPtrOutput
type SqlTriggerState ¶ added in v4.2.0
type SqlTriggerState struct { // Body of the Trigger. Body pulumi.StringPtrInput // The id of the Cosmos DB SQL Container to create the SQL Trigger within. Changing this forces a new SQL Trigger to be created. ContainerId pulumi.StringPtrInput // The name which should be used for this SQL Trigger. Changing this forces a new SQL Trigger to be created. Name pulumi.StringPtrInput // The operation the trigger is associated with. Possible values are `All`, `Create`, `Update`, `Delete` and `Replace`. Operation pulumi.StringPtrInput // Type of the Trigger. Possible values are `Pre` and `Post`. Type pulumi.StringPtrInput }
func (SqlTriggerState) ElementType ¶ added in v4.2.0
func (SqlTriggerState) ElementType() reflect.Type
type Table ¶
type Table struct { pulumi.CustomResourceState // The name of the Cosmos DB Table to create the table within. Changing this forces a new resource to be created. AccountName pulumi.StringOutput `pulumi:"accountName"` // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. AutoscaleSettings TableAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"` // Specifies the name of the Cosmos DB Table. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which the Cosmos DB Table is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The throughput of Table (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply. Throughput pulumi.IntOutput `pulumi:"throughput"` }
Manages a Table within a Cosmos DB Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{ Name: "tfex-cosmosdb-account", ResourceGroupName: "tfex-cosmosdb-account-rg", }, nil) if err != nil { return err } _, err = cosmosdb.NewTable(ctx, "exampleTable", &cosmosdb.TableArgs{ ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName), AccountName: pulumi.String(exampleAccount.Name), Throughput: pulumi.Int(400), }) if err != nil { return err } return nil }) }
```
## Import
CosmosDB Tables can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/table:Table table1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/tables/table1
```
func GetTable ¶
func GetTable(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TableState, opts ...pulumi.ResourceOption) (*Table, error)
GetTable gets an existing Table 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 NewTable ¶
func NewTable(ctx *pulumi.Context, name string, args *TableArgs, opts ...pulumi.ResourceOption) (*Table, error)
NewTable registers a new resource with the given unique name, arguments, and options.
func (*Table) ElementType ¶
func (*Table) ToTableOutput ¶
func (i *Table) ToTableOutput() TableOutput
func (*Table) ToTableOutputWithContext ¶
func (i *Table) ToTableOutputWithContext(ctx context.Context) TableOutput
func (*Table) ToTablePtrOutput ¶
func (i *Table) ToTablePtrOutput() TablePtrOutput
func (*Table) ToTablePtrOutputWithContext ¶
func (i *Table) ToTablePtrOutputWithContext(ctx context.Context) TablePtrOutput
type TableArgs ¶
type TableArgs struct { // The name of the Cosmos DB Table to create the table within. Changing this forces a new resource to be created. AccountName pulumi.StringInput // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. AutoscaleSettings TableAutoscaleSettingsPtrInput // Specifies the name of the Cosmos DB Table. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the Cosmos DB Table is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The throughput of Table (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply. Throughput pulumi.IntPtrInput }
The set of arguments for constructing a Table resource.
func (TableArgs) ElementType ¶
type TableArray ¶
type TableArray []TableInput
func (TableArray) ElementType ¶
func (TableArray) ElementType() reflect.Type
func (TableArray) ToTableArrayOutput ¶
func (i TableArray) ToTableArrayOutput() TableArrayOutput
func (TableArray) ToTableArrayOutputWithContext ¶
func (i TableArray) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput
type TableArrayInput ¶
type TableArrayInput interface { pulumi.Input ToTableArrayOutput() TableArrayOutput ToTableArrayOutputWithContext(context.Context) TableArrayOutput }
TableArrayInput is an input type that accepts TableArray and TableArrayOutput values. You can construct a concrete instance of `TableArrayInput` via:
TableArray{ TableArgs{...} }
type TableArrayOutput ¶
type TableArrayOutput struct{ *pulumi.OutputState }
func (TableArrayOutput) ElementType ¶
func (TableArrayOutput) ElementType() reflect.Type
func (TableArrayOutput) Index ¶
func (o TableArrayOutput) Index(i pulumi.IntInput) TableOutput
func (TableArrayOutput) ToTableArrayOutput ¶
func (o TableArrayOutput) ToTableArrayOutput() TableArrayOutput
func (TableArrayOutput) ToTableArrayOutputWithContext ¶
func (o TableArrayOutput) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput
type TableAutoscaleSettings ¶
type TableAutoscaleSettings struct { // The maximum throughput of the Table (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput *int `pulumi:"maxThroughput"` }
type TableAutoscaleSettingsArgs ¶
type TableAutoscaleSettingsArgs struct { // The maximum throughput of the Table (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`. MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"` }
func (TableAutoscaleSettingsArgs) ElementType ¶
func (TableAutoscaleSettingsArgs) ElementType() reflect.Type
func (TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsOutput ¶
func (i TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsOutput() TableAutoscaleSettingsOutput
func (TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsOutputWithContext ¶
func (i TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsOutputWithContext(ctx context.Context) TableAutoscaleSettingsOutput
func (TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsPtrOutput ¶
func (i TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsPtrOutput() TableAutoscaleSettingsPtrOutput
func (TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsPtrOutputWithContext ¶
func (i TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) TableAutoscaleSettingsPtrOutput
type TableAutoscaleSettingsInput ¶
type TableAutoscaleSettingsInput interface { pulumi.Input ToTableAutoscaleSettingsOutput() TableAutoscaleSettingsOutput ToTableAutoscaleSettingsOutputWithContext(context.Context) TableAutoscaleSettingsOutput }
TableAutoscaleSettingsInput is an input type that accepts TableAutoscaleSettingsArgs and TableAutoscaleSettingsOutput values. You can construct a concrete instance of `TableAutoscaleSettingsInput` via:
TableAutoscaleSettingsArgs{...}
type TableAutoscaleSettingsOutput ¶
type TableAutoscaleSettingsOutput struct{ *pulumi.OutputState }
func (TableAutoscaleSettingsOutput) ElementType ¶
func (TableAutoscaleSettingsOutput) ElementType() reflect.Type
func (TableAutoscaleSettingsOutput) MaxThroughput ¶
func (o TableAutoscaleSettingsOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the Table (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsOutput ¶
func (o TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsOutput() TableAutoscaleSettingsOutput
func (TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsOutputWithContext ¶
func (o TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsOutputWithContext(ctx context.Context) TableAutoscaleSettingsOutput
func (TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsPtrOutput ¶
func (o TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsPtrOutput() TableAutoscaleSettingsPtrOutput
func (TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsPtrOutputWithContext ¶
func (o TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) TableAutoscaleSettingsPtrOutput
type TableAutoscaleSettingsPtrInput ¶
type TableAutoscaleSettingsPtrInput interface { pulumi.Input ToTableAutoscaleSettingsPtrOutput() TableAutoscaleSettingsPtrOutput ToTableAutoscaleSettingsPtrOutputWithContext(context.Context) TableAutoscaleSettingsPtrOutput }
TableAutoscaleSettingsPtrInput is an input type that accepts TableAutoscaleSettingsArgs, TableAutoscaleSettingsPtr and TableAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `TableAutoscaleSettingsPtrInput` via:
TableAutoscaleSettingsArgs{...} or: nil
func TableAutoscaleSettingsPtr ¶
func TableAutoscaleSettingsPtr(v *TableAutoscaleSettingsArgs) TableAutoscaleSettingsPtrInput
type TableAutoscaleSettingsPtrOutput ¶
type TableAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }
func (TableAutoscaleSettingsPtrOutput) Elem ¶
func (o TableAutoscaleSettingsPtrOutput) Elem() TableAutoscaleSettingsOutput
func (TableAutoscaleSettingsPtrOutput) ElementType ¶
func (TableAutoscaleSettingsPtrOutput) ElementType() reflect.Type
func (TableAutoscaleSettingsPtrOutput) MaxThroughput ¶
func (o TableAutoscaleSettingsPtrOutput) MaxThroughput() pulumi.IntPtrOutput
The maximum throughput of the Table (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
func (TableAutoscaleSettingsPtrOutput) ToTableAutoscaleSettingsPtrOutput ¶
func (o TableAutoscaleSettingsPtrOutput) ToTableAutoscaleSettingsPtrOutput() TableAutoscaleSettingsPtrOutput
func (TableAutoscaleSettingsPtrOutput) ToTableAutoscaleSettingsPtrOutputWithContext ¶
func (o TableAutoscaleSettingsPtrOutput) ToTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) TableAutoscaleSettingsPtrOutput
type TableInput ¶
type TableInput interface { pulumi.Input ToTableOutput() TableOutput ToTableOutputWithContext(ctx context.Context) TableOutput }
type TableMap ¶
type TableMap map[string]TableInput
func (TableMap) ElementType ¶
func (TableMap) ToTableMapOutput ¶
func (i TableMap) ToTableMapOutput() TableMapOutput
func (TableMap) ToTableMapOutputWithContext ¶
func (i TableMap) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput
type TableMapInput ¶
type TableMapInput interface { pulumi.Input ToTableMapOutput() TableMapOutput ToTableMapOutputWithContext(context.Context) TableMapOutput }
TableMapInput is an input type that accepts TableMap and TableMapOutput values. You can construct a concrete instance of `TableMapInput` via:
TableMap{ "key": TableArgs{...} }
type TableMapOutput ¶
type TableMapOutput struct{ *pulumi.OutputState }
func (TableMapOutput) ElementType ¶
func (TableMapOutput) ElementType() reflect.Type
func (TableMapOutput) MapIndex ¶
func (o TableMapOutput) MapIndex(k pulumi.StringInput) TableOutput
func (TableMapOutput) ToTableMapOutput ¶
func (o TableMapOutput) ToTableMapOutput() TableMapOutput
func (TableMapOutput) ToTableMapOutputWithContext ¶
func (o TableMapOutput) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput
type TableOutput ¶
type TableOutput struct {
*pulumi.OutputState
}
func (TableOutput) ElementType ¶
func (TableOutput) ElementType() reflect.Type
func (TableOutput) ToTableOutput ¶
func (o TableOutput) ToTableOutput() TableOutput
func (TableOutput) ToTableOutputWithContext ¶
func (o TableOutput) ToTableOutputWithContext(ctx context.Context) TableOutput
func (TableOutput) ToTablePtrOutput ¶
func (o TableOutput) ToTablePtrOutput() TablePtrOutput
func (TableOutput) ToTablePtrOutputWithContext ¶
func (o TableOutput) ToTablePtrOutputWithContext(ctx context.Context) TablePtrOutput
type TablePtrInput ¶
type TablePtrInput interface { pulumi.Input ToTablePtrOutput() TablePtrOutput ToTablePtrOutputWithContext(ctx context.Context) TablePtrOutput }
type TablePtrOutput ¶
type TablePtrOutput struct {
*pulumi.OutputState
}
func (TablePtrOutput) ElementType ¶
func (TablePtrOutput) ElementType() reflect.Type
func (TablePtrOutput) ToTablePtrOutput ¶
func (o TablePtrOutput) ToTablePtrOutput() TablePtrOutput
func (TablePtrOutput) ToTablePtrOutputWithContext ¶
func (o TablePtrOutput) ToTablePtrOutputWithContext(ctx context.Context) TablePtrOutput
type TableState ¶
type TableState struct { // The name of the Cosmos DB Table to create the table within. Changing this forces a new resource to be created. AccountName pulumi.StringPtrInput // An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. AutoscaleSettings TableAutoscaleSettingsPtrInput // Specifies the name of the Cosmos DB Table. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the Cosmos DB Table is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The throughput of Table (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply. Throughput pulumi.IntPtrInput }
func (TableState) ElementType ¶
func (TableState) ElementType() reflect.Type