Documentation ¶
Index ¶
- type Account
- type AccountAnalyticalStorage
- type AccountAnalyticalStorageArgs
- func (AccountAnalyticalStorageArgs) ElementType() reflect.Type
- func (i AccountAnalyticalStorageArgs) ToAccountAnalyticalStorageOutput() AccountAnalyticalStorageOutput
- func (i AccountAnalyticalStorageArgs) ToAccountAnalyticalStorageOutputWithContext(ctx context.Context) AccountAnalyticalStorageOutput
- func (i AccountAnalyticalStorageArgs) ToAccountAnalyticalStoragePtrOutput() AccountAnalyticalStoragePtrOutput
- func (i AccountAnalyticalStorageArgs) ToAccountAnalyticalStoragePtrOutputWithContext(ctx context.Context) AccountAnalyticalStoragePtrOutput
- type AccountAnalyticalStorageInput
- type AccountAnalyticalStorageOutput
- func (AccountAnalyticalStorageOutput) ElementType() reflect.Type
- func (o AccountAnalyticalStorageOutput) SchemaType() pulumi.StringOutput
- func (o AccountAnalyticalStorageOutput) ToAccountAnalyticalStorageOutput() AccountAnalyticalStorageOutput
- func (o AccountAnalyticalStorageOutput) ToAccountAnalyticalStorageOutputWithContext(ctx context.Context) AccountAnalyticalStorageOutput
- func (o AccountAnalyticalStorageOutput) ToAccountAnalyticalStoragePtrOutput() AccountAnalyticalStoragePtrOutput
- func (o AccountAnalyticalStorageOutput) ToAccountAnalyticalStoragePtrOutputWithContext(ctx context.Context) AccountAnalyticalStoragePtrOutput
- type AccountAnalyticalStoragePtrInput
- type AccountAnalyticalStoragePtrOutput
- func (o AccountAnalyticalStoragePtrOutput) Elem() AccountAnalyticalStorageOutput
- func (AccountAnalyticalStoragePtrOutput) ElementType() reflect.Type
- func (o AccountAnalyticalStoragePtrOutput) SchemaType() pulumi.StringPtrOutput
- func (o AccountAnalyticalStoragePtrOutput) ToAccountAnalyticalStoragePtrOutput() AccountAnalyticalStoragePtrOutput
- func (o AccountAnalyticalStoragePtrOutput) ToAccountAnalyticalStoragePtrOutputWithContext(ctx context.Context) AccountAnalyticalStoragePtrOutput
- 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) StorageRedundancy() pulumi.StringPtrOutput
- 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) StorageRedundancy() pulumi.StringPtrOutput
- 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 AccountCapacity
- type AccountCapacityArgs
- func (AccountCapacityArgs) ElementType() reflect.Type
- func (i AccountCapacityArgs) ToAccountCapacityOutput() AccountCapacityOutput
- func (i AccountCapacityArgs) ToAccountCapacityOutputWithContext(ctx context.Context) AccountCapacityOutput
- func (i AccountCapacityArgs) ToAccountCapacityPtrOutput() AccountCapacityPtrOutput
- func (i AccountCapacityArgs) ToAccountCapacityPtrOutputWithContext(ctx context.Context) AccountCapacityPtrOutput
- type AccountCapacityInput
- type AccountCapacityOutput
- func (AccountCapacityOutput) ElementType() reflect.Type
- func (o AccountCapacityOutput) ToAccountCapacityOutput() AccountCapacityOutput
- func (o AccountCapacityOutput) ToAccountCapacityOutputWithContext(ctx context.Context) AccountCapacityOutput
- func (o AccountCapacityOutput) ToAccountCapacityPtrOutput() AccountCapacityPtrOutput
- func (o AccountCapacityOutput) ToAccountCapacityPtrOutputWithContext(ctx context.Context) AccountCapacityPtrOutput
- func (o AccountCapacityOutput) TotalThroughputLimit() pulumi.IntOutput
- type AccountCapacityPtrInput
- type AccountCapacityPtrOutput
- func (o AccountCapacityPtrOutput) Elem() AccountCapacityOutput
- func (AccountCapacityPtrOutput) ElementType() reflect.Type
- func (o AccountCapacityPtrOutput) ToAccountCapacityPtrOutput() AccountCapacityPtrOutput
- func (o AccountCapacityPtrOutput) ToAccountCapacityPtrOutputWithContext(ctx context.Context) AccountCapacityPtrOutput
- func (o AccountCapacityPtrOutput) TotalThroughputLimit() pulumi.IntPtrOutput
- 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
- type AccountRestore
- type AccountRestoreArgs
- func (AccountRestoreArgs) ElementType() reflect.Type
- func (i AccountRestoreArgs) ToAccountRestoreOutput() AccountRestoreOutput
- func (i AccountRestoreArgs) ToAccountRestoreOutputWithContext(ctx context.Context) AccountRestoreOutput
- func (i AccountRestoreArgs) ToAccountRestorePtrOutput() AccountRestorePtrOutput
- func (i AccountRestoreArgs) ToAccountRestorePtrOutputWithContext(ctx context.Context) AccountRestorePtrOutput
- type AccountRestoreDatabase
- type AccountRestoreDatabaseArgs
- type AccountRestoreDatabaseArray
- func (AccountRestoreDatabaseArray) ElementType() reflect.Type
- func (i AccountRestoreDatabaseArray) ToAccountRestoreDatabaseArrayOutput() AccountRestoreDatabaseArrayOutput
- func (i AccountRestoreDatabaseArray) ToAccountRestoreDatabaseArrayOutputWithContext(ctx context.Context) AccountRestoreDatabaseArrayOutput
- type AccountRestoreDatabaseArrayInput
- type AccountRestoreDatabaseArrayOutput
- func (AccountRestoreDatabaseArrayOutput) ElementType() reflect.Type
- func (o AccountRestoreDatabaseArrayOutput) Index(i pulumi.IntInput) AccountRestoreDatabaseOutput
- func (o AccountRestoreDatabaseArrayOutput) ToAccountRestoreDatabaseArrayOutput() AccountRestoreDatabaseArrayOutput
- func (o AccountRestoreDatabaseArrayOutput) ToAccountRestoreDatabaseArrayOutputWithContext(ctx context.Context) AccountRestoreDatabaseArrayOutput
- type AccountRestoreDatabaseInput
- type AccountRestoreDatabaseOutput
- func (o AccountRestoreDatabaseOutput) CollectionNames() pulumi.StringArrayOutput
- func (AccountRestoreDatabaseOutput) ElementType() reflect.Type
- func (o AccountRestoreDatabaseOutput) Name() pulumi.StringOutput
- func (o AccountRestoreDatabaseOutput) ToAccountRestoreDatabaseOutput() AccountRestoreDatabaseOutput
- func (o AccountRestoreDatabaseOutput) ToAccountRestoreDatabaseOutputWithContext(ctx context.Context) AccountRestoreDatabaseOutput
- type AccountRestoreInput
- type AccountRestoreOutput
- func (o AccountRestoreOutput) Databases() AccountRestoreDatabaseArrayOutput
- func (AccountRestoreOutput) ElementType() reflect.Type
- func (o AccountRestoreOutput) RestoreTimestampInUtc() pulumi.StringOutput
- func (o AccountRestoreOutput) SourceCosmosdbAccountId() pulumi.StringOutput
- func (o AccountRestoreOutput) ToAccountRestoreOutput() AccountRestoreOutput
- func (o AccountRestoreOutput) ToAccountRestoreOutputWithContext(ctx context.Context) AccountRestoreOutput
- func (o AccountRestoreOutput) ToAccountRestorePtrOutput() AccountRestorePtrOutput
- func (o AccountRestoreOutput) ToAccountRestorePtrOutputWithContext(ctx context.Context) AccountRestorePtrOutput
- type AccountRestorePtrInput
- type AccountRestorePtrOutput
- func (o AccountRestorePtrOutput) Databases() AccountRestoreDatabaseArrayOutput
- func (o AccountRestorePtrOutput) Elem() AccountRestoreOutput
- func (AccountRestorePtrOutput) ElementType() reflect.Type
- func (o AccountRestorePtrOutput) RestoreTimestampInUtc() pulumi.StringPtrOutput
- func (o AccountRestorePtrOutput) SourceCosmosdbAccountId() pulumi.StringPtrOutput
- func (o AccountRestorePtrOutput) ToAccountRestorePtrOutput() AccountRestorePtrOutput
- func (o AccountRestorePtrOutput) ToAccountRestorePtrOutputWithContext(ctx context.Context) AccountRestorePtrOutput
- 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 CassandraCluster
- type CassandraClusterArgs
- type CassandraClusterArray
- type CassandraClusterArrayInput
- type CassandraClusterArrayOutput
- func (CassandraClusterArrayOutput) ElementType() reflect.Type
- func (o CassandraClusterArrayOutput) Index(i pulumi.IntInput) CassandraClusterOutput
- func (o CassandraClusterArrayOutput) ToCassandraClusterArrayOutput() CassandraClusterArrayOutput
- func (o CassandraClusterArrayOutput) ToCassandraClusterArrayOutputWithContext(ctx context.Context) CassandraClusterArrayOutput
- type CassandraClusterInput
- type CassandraClusterMap
- type CassandraClusterMapInput
- type CassandraClusterMapOutput
- func (CassandraClusterMapOutput) ElementType() reflect.Type
- func (o CassandraClusterMapOutput) MapIndex(k pulumi.StringInput) CassandraClusterOutput
- func (o CassandraClusterMapOutput) ToCassandraClusterMapOutput() CassandraClusterMapOutput
- func (o CassandraClusterMapOutput) ToCassandraClusterMapOutputWithContext(ctx context.Context) CassandraClusterMapOutput
- type CassandraClusterOutput
- type CassandraClusterState
- type CassandraDatacenter
- type CassandraDatacenterArgs
- type CassandraDatacenterArray
- type CassandraDatacenterArrayInput
- type CassandraDatacenterArrayOutput
- func (CassandraDatacenterArrayOutput) ElementType() reflect.Type
- func (o CassandraDatacenterArrayOutput) Index(i pulumi.IntInput) CassandraDatacenterOutput
- func (o CassandraDatacenterArrayOutput) ToCassandraDatacenterArrayOutput() CassandraDatacenterArrayOutput
- func (o CassandraDatacenterArrayOutput) ToCassandraDatacenterArrayOutputWithContext(ctx context.Context) CassandraDatacenterArrayOutput
- type CassandraDatacenterInput
- type CassandraDatacenterMap
- type CassandraDatacenterMapInput
- type CassandraDatacenterMapOutput
- func (CassandraDatacenterMapOutput) ElementType() reflect.Type
- func (o CassandraDatacenterMapOutput) MapIndex(k pulumi.StringInput) CassandraDatacenterOutput
- func (o CassandraDatacenterMapOutput) ToCassandraDatacenterMapOutput() CassandraDatacenterMapOutput
- func (o CassandraDatacenterMapOutput) ToCassandraDatacenterMapOutputWithContext(ctx context.Context) CassandraDatacenterMapOutput
- type CassandraDatacenterOutput
- type CassandraDatacenterState
- type CassandraKeyspace
- 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
- type CassandraKeyspaceState
- type CassandraTable
- 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
- 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 GetRestorableDatabaseAccountsAccount
- type GetRestorableDatabaseAccountsAccountArgs
- func (GetRestorableDatabaseAccountsAccountArgs) ElementType() reflect.Type
- func (i GetRestorableDatabaseAccountsAccountArgs) ToGetRestorableDatabaseAccountsAccountOutput() GetRestorableDatabaseAccountsAccountOutput
- func (i GetRestorableDatabaseAccountsAccountArgs) ToGetRestorableDatabaseAccountsAccountOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountOutput
- type GetRestorableDatabaseAccountsAccountArray
- func (GetRestorableDatabaseAccountsAccountArray) ElementType() reflect.Type
- func (i GetRestorableDatabaseAccountsAccountArray) ToGetRestorableDatabaseAccountsAccountArrayOutput() GetRestorableDatabaseAccountsAccountArrayOutput
- func (i GetRestorableDatabaseAccountsAccountArray) ToGetRestorableDatabaseAccountsAccountArrayOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountArrayOutput
- type GetRestorableDatabaseAccountsAccountArrayInput
- type GetRestorableDatabaseAccountsAccountArrayOutput
- func (GetRestorableDatabaseAccountsAccountArrayOutput) ElementType() reflect.Type
- func (o GetRestorableDatabaseAccountsAccountArrayOutput) Index(i pulumi.IntInput) GetRestorableDatabaseAccountsAccountOutput
- func (o GetRestorableDatabaseAccountsAccountArrayOutput) ToGetRestorableDatabaseAccountsAccountArrayOutput() GetRestorableDatabaseAccountsAccountArrayOutput
- func (o GetRestorableDatabaseAccountsAccountArrayOutput) ToGetRestorableDatabaseAccountsAccountArrayOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountArrayOutput
- type GetRestorableDatabaseAccountsAccountInput
- type GetRestorableDatabaseAccountsAccountOutput
- func (o GetRestorableDatabaseAccountsAccountOutput) ApiType() pulumi.StringOutput
- func (o GetRestorableDatabaseAccountsAccountOutput) CreationTime() pulumi.StringOutput
- func (o GetRestorableDatabaseAccountsAccountOutput) DeletionTime() pulumi.StringOutput
- func (GetRestorableDatabaseAccountsAccountOutput) ElementType() reflect.Type
- func (o GetRestorableDatabaseAccountsAccountOutput) Id() pulumi.StringOutput
- func (o GetRestorableDatabaseAccountsAccountOutput) RestorableLocations() GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput
- func (o GetRestorableDatabaseAccountsAccountOutput) ToGetRestorableDatabaseAccountsAccountOutput() GetRestorableDatabaseAccountsAccountOutput
- func (o GetRestorableDatabaseAccountsAccountOutput) ToGetRestorableDatabaseAccountsAccountOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountOutput
- type GetRestorableDatabaseAccountsAccountRestorableLocation
- type GetRestorableDatabaseAccountsAccountRestorableLocationArgs
- func (GetRestorableDatabaseAccountsAccountRestorableLocationArgs) ElementType() reflect.Type
- func (i GetRestorableDatabaseAccountsAccountRestorableLocationArgs) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutput() GetRestorableDatabaseAccountsAccountRestorableLocationOutput
- func (i GetRestorableDatabaseAccountsAccountRestorableLocationArgs) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountRestorableLocationOutput
- type GetRestorableDatabaseAccountsAccountRestorableLocationArray
- func (GetRestorableDatabaseAccountsAccountRestorableLocationArray) ElementType() reflect.Type
- func (i GetRestorableDatabaseAccountsAccountRestorableLocationArray) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput() GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput
- func (i GetRestorableDatabaseAccountsAccountRestorableLocationArray) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput
- type GetRestorableDatabaseAccountsAccountRestorableLocationArrayInput
- type GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput
- func (GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput) ElementType() reflect.Type
- func (o GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput) Index(i pulumi.IntInput) GetRestorableDatabaseAccountsAccountRestorableLocationOutput
- func (o GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput() GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput
- func (o GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput
- type GetRestorableDatabaseAccountsAccountRestorableLocationInput
- type GetRestorableDatabaseAccountsAccountRestorableLocationOutput
- func (o GetRestorableDatabaseAccountsAccountRestorableLocationOutput) CreationTime() pulumi.StringOutput
- func (o GetRestorableDatabaseAccountsAccountRestorableLocationOutput) DeletionTime() pulumi.StringOutput
- func (GetRestorableDatabaseAccountsAccountRestorableLocationOutput) ElementType() reflect.Type
- func (o GetRestorableDatabaseAccountsAccountRestorableLocationOutput) Location() pulumi.StringOutput
- func (o GetRestorableDatabaseAccountsAccountRestorableLocationOutput) RegionalDatabaseAccountInstanceId() pulumi.StringOutput
- func (o GetRestorableDatabaseAccountsAccountRestorableLocationOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutput() GetRestorableDatabaseAccountsAccountRestorableLocationOutput
- func (o GetRestorableDatabaseAccountsAccountRestorableLocationOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountRestorableLocationOutput
- type GetRestorableDatabaseAccountsArgs
- type GetRestorableDatabaseAccountsOutputArgs
- type GetRestorableDatabaseAccountsResult
- type GetRestorableDatabaseAccountsResultOutput
- func (o GetRestorableDatabaseAccountsResultOutput) Accounts() GetRestorableDatabaseAccountsAccountArrayOutput
- func (GetRestorableDatabaseAccountsResultOutput) ElementType() reflect.Type
- func (o GetRestorableDatabaseAccountsResultOutput) Id() pulumi.StringOutput
- func (o GetRestorableDatabaseAccountsResultOutput) Location() pulumi.StringOutput
- func (o GetRestorableDatabaseAccountsResultOutput) Name() pulumi.StringOutput
- func (o GetRestorableDatabaseAccountsResultOutput) ToGetRestorableDatabaseAccountsResultOutput() GetRestorableDatabaseAccountsResultOutput
- func (o GetRestorableDatabaseAccountsResultOutput) ToGetRestorableDatabaseAccountsResultOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsResultOutput
- type GremlinDatabase
- 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
- type GremlinDatabaseState
- type GremlinGraph
- 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 GremlinGraphIndexPolicyCompositeIndex
- type GremlinGraphIndexPolicyCompositeIndexArgs
- func (GremlinGraphIndexPolicyCompositeIndexArgs) ElementType() reflect.Type
- func (i GremlinGraphIndexPolicyCompositeIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexOutput() GremlinGraphIndexPolicyCompositeIndexOutput
- func (i GremlinGraphIndexPolicyCompositeIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexOutput
- type GremlinGraphIndexPolicyCompositeIndexArray
- func (GremlinGraphIndexPolicyCompositeIndexArray) ElementType() reflect.Type
- func (i GremlinGraphIndexPolicyCompositeIndexArray) ToGremlinGraphIndexPolicyCompositeIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexArrayOutput
- func (i GremlinGraphIndexPolicyCompositeIndexArray) ToGremlinGraphIndexPolicyCompositeIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexArrayOutput
- type GremlinGraphIndexPolicyCompositeIndexArrayInput
- type GremlinGraphIndexPolicyCompositeIndexArrayOutput
- func (GremlinGraphIndexPolicyCompositeIndexArrayOutput) ElementType() reflect.Type
- func (o GremlinGraphIndexPolicyCompositeIndexArrayOutput) Index(i pulumi.IntInput) GremlinGraphIndexPolicyCompositeIndexOutput
- func (o GremlinGraphIndexPolicyCompositeIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexArrayOutput
- func (o GremlinGraphIndexPolicyCompositeIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexArrayOutput
- type GremlinGraphIndexPolicyCompositeIndexIndex
- type GremlinGraphIndexPolicyCompositeIndexIndexArgs
- func (GremlinGraphIndexPolicyCompositeIndexIndexArgs) ElementType() reflect.Type
- func (i GremlinGraphIndexPolicyCompositeIndexIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexIndexOutput() GremlinGraphIndexPolicyCompositeIndexIndexOutput
- func (i GremlinGraphIndexPolicyCompositeIndexIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexIndexOutput
- type GremlinGraphIndexPolicyCompositeIndexIndexArray
- func (GremlinGraphIndexPolicyCompositeIndexIndexArray) ElementType() reflect.Type
- func (i GremlinGraphIndexPolicyCompositeIndexIndexArray) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput
- func (i GremlinGraphIndexPolicyCompositeIndexIndexArray) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput
- type GremlinGraphIndexPolicyCompositeIndexIndexArrayInput
- type GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput
- func (GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) ElementType() reflect.Type
- func (o GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) Index(i pulumi.IntInput) GremlinGraphIndexPolicyCompositeIndexIndexOutput
- func (o GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput
- func (o GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput
- type GremlinGraphIndexPolicyCompositeIndexIndexInput
- type GremlinGraphIndexPolicyCompositeIndexIndexOutput
- func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) ElementType() reflect.Type
- func (o GremlinGraphIndexPolicyCompositeIndexIndexOutput) Order() pulumi.StringOutput
- func (o GremlinGraphIndexPolicyCompositeIndexIndexOutput) Path() pulumi.StringOutput
- func (o GremlinGraphIndexPolicyCompositeIndexIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexOutput() GremlinGraphIndexPolicyCompositeIndexIndexOutput
- func (o GremlinGraphIndexPolicyCompositeIndexIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexIndexOutput
- type GremlinGraphIndexPolicyCompositeIndexInput
- type GremlinGraphIndexPolicyCompositeIndexOutput
- func (GremlinGraphIndexPolicyCompositeIndexOutput) ElementType() reflect.Type
- func (o GremlinGraphIndexPolicyCompositeIndexOutput) Indices() GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput
- func (o GremlinGraphIndexPolicyCompositeIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexOutput() GremlinGraphIndexPolicyCompositeIndexOutput
- func (o GremlinGraphIndexPolicyCompositeIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexOutput
- type GremlinGraphIndexPolicyInput
- type GremlinGraphIndexPolicyOutput
- func (o GremlinGraphIndexPolicyOutput) Automatic() pulumi.BoolPtrOutput
- func (o GremlinGraphIndexPolicyOutput) CompositeIndices() GremlinGraphIndexPolicyCompositeIndexArrayOutput
- 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) SpatialIndices() GremlinGraphIndexPolicySpatialIndexArrayOutput
- func (o GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutput() GremlinGraphIndexPolicyOutput
- func (o GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyOutput
- type GremlinGraphIndexPolicySpatialIndex
- type GremlinGraphIndexPolicySpatialIndexArgs
- func (GremlinGraphIndexPolicySpatialIndexArgs) ElementType() reflect.Type
- func (i GremlinGraphIndexPolicySpatialIndexArgs) ToGremlinGraphIndexPolicySpatialIndexOutput() GremlinGraphIndexPolicySpatialIndexOutput
- func (i GremlinGraphIndexPolicySpatialIndexArgs) ToGremlinGraphIndexPolicySpatialIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicySpatialIndexOutput
- type GremlinGraphIndexPolicySpatialIndexArray
- func (GremlinGraphIndexPolicySpatialIndexArray) ElementType() reflect.Type
- func (i GremlinGraphIndexPolicySpatialIndexArray) ToGremlinGraphIndexPolicySpatialIndexArrayOutput() GremlinGraphIndexPolicySpatialIndexArrayOutput
- func (i GremlinGraphIndexPolicySpatialIndexArray) ToGremlinGraphIndexPolicySpatialIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicySpatialIndexArrayOutput
- type GremlinGraphIndexPolicySpatialIndexArrayInput
- type GremlinGraphIndexPolicySpatialIndexArrayOutput
- func (GremlinGraphIndexPolicySpatialIndexArrayOutput) ElementType() reflect.Type
- func (o GremlinGraphIndexPolicySpatialIndexArrayOutput) Index(i pulumi.IntInput) GremlinGraphIndexPolicySpatialIndexOutput
- func (o GremlinGraphIndexPolicySpatialIndexArrayOutput) ToGremlinGraphIndexPolicySpatialIndexArrayOutput() GremlinGraphIndexPolicySpatialIndexArrayOutput
- func (o GremlinGraphIndexPolicySpatialIndexArrayOutput) ToGremlinGraphIndexPolicySpatialIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicySpatialIndexArrayOutput
- type GremlinGraphIndexPolicySpatialIndexInput
- type GremlinGraphIndexPolicySpatialIndexOutput
- func (GremlinGraphIndexPolicySpatialIndexOutput) ElementType() reflect.Type
- func (o GremlinGraphIndexPolicySpatialIndexOutput) Path() pulumi.StringOutput
- func (o GremlinGraphIndexPolicySpatialIndexOutput) ToGremlinGraphIndexPolicySpatialIndexOutput() GremlinGraphIndexPolicySpatialIndexOutput
- func (o GremlinGraphIndexPolicySpatialIndexOutput) ToGremlinGraphIndexPolicySpatialIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicySpatialIndexOutput
- func (o GremlinGraphIndexPolicySpatialIndexOutput) Types() pulumi.StringArrayOutput
- 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
- 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 LookupAccountOutputArgs
- type LookupAccountResult
- type LookupAccountResultOutput
- func (o LookupAccountResultOutput) Capabilities() GetAccountCapabilityArrayOutput
- func (o LookupAccountResultOutput) ConsistencyPolicies() GetAccountConsistencyPolicyArrayOutput
- func (LookupAccountResultOutput) ElementType() reflect.Type
- func (o LookupAccountResultOutput) EnableAutomaticFailover() pulumi.BoolOutput
- func (o LookupAccountResultOutput) EnableFreeTier() pulumi.BoolOutput
- func (o LookupAccountResultOutput) EnableMultipleWriteLocations() pulumi.BoolOutput
- func (o LookupAccountResultOutput) Endpoint() pulumi.StringOutput
- func (o LookupAccountResultOutput) GeoLocations() GetAccountGeoLocationArrayOutput
- func (o LookupAccountResultOutput) Id() pulumi.StringOutput
- func (o LookupAccountResultOutput) IpRangeFilter() pulumi.StringOutput
- func (o LookupAccountResultOutput) IsVirtualNetworkFilterEnabled() pulumi.BoolOutput
- func (o LookupAccountResultOutput) KeyVaultKeyId() pulumi.StringOutput
- func (o LookupAccountResultOutput) Kind() pulumi.StringOutput
- func (o LookupAccountResultOutput) Location() pulumi.StringOutput
- func (o LookupAccountResultOutput) Name() pulumi.StringOutput
- func (o LookupAccountResultOutput) OfferType() pulumi.StringOutput
- func (o LookupAccountResultOutput) PrimaryKey() pulumi.StringOutput
- func (o LookupAccountResultOutput) PrimaryMasterKey() pulumi.StringOutputdeprecated
- func (o LookupAccountResultOutput) PrimaryReadonlyKey() pulumi.StringOutput
- func (o LookupAccountResultOutput) PrimaryReadonlyMasterKey() pulumi.StringOutputdeprecated
- func (o LookupAccountResultOutput) ReadEndpoints() pulumi.StringArrayOutput
- func (o LookupAccountResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupAccountResultOutput) SecondaryKey() pulumi.StringOutput
- func (o LookupAccountResultOutput) SecondaryMasterKey() pulumi.StringOutputdeprecated
- func (o LookupAccountResultOutput) SecondaryReadonlyKey() pulumi.StringOutput
- func (o LookupAccountResultOutput) SecondaryReadonlyMasterKey() pulumi.StringOutputdeprecated
- func (o LookupAccountResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupAccountResultOutput) ToLookupAccountResultOutput() LookupAccountResultOutput
- func (o LookupAccountResultOutput) ToLookupAccountResultOutputWithContext(ctx context.Context) LookupAccountResultOutput
- func (o LookupAccountResultOutput) VirtualNetworkRules() GetAccountVirtualNetworkRuleArrayOutput
- func (o LookupAccountResultOutput) WriteEndpoints() pulumi.StringArrayOutput
- type LookupMongoDatabaseArgs
- type LookupMongoDatabaseOutputArgs
- type LookupMongoDatabaseResult
- type LookupMongoDatabaseResultOutput
- func (o LookupMongoDatabaseResultOutput) AccountName() pulumi.StringOutput
- func (LookupMongoDatabaseResultOutput) ElementType() reflect.Type
- func (o LookupMongoDatabaseResultOutput) Id() pulumi.StringOutput
- func (o LookupMongoDatabaseResultOutput) Name() pulumi.StringOutput
- func (o LookupMongoDatabaseResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupMongoDatabaseResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupMongoDatabaseResultOutput) ToLookupMongoDatabaseResultOutput() LookupMongoDatabaseResultOutput
- func (o LookupMongoDatabaseResultOutput) ToLookupMongoDatabaseResultOutputWithContext(ctx context.Context) LookupMongoDatabaseResultOutput
- type MongoCollection
- 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
- 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
- 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
- type MongoDatabaseState
- type NotebookWorkspace
- 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
- type NotebookWorkspaceState
- type SqlContainer
- 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) SpatialIndices() SqlContainerIndexingPolicySpatialIndexArrayOutput
- 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) SpatialIndices() SqlContainerIndexingPolicySpatialIndexArrayOutput
- func (o SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutput() SqlContainerIndexingPolicyPtrOutput
- func (o SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyPtrOutput
- type SqlContainerIndexingPolicySpatialIndex
- type SqlContainerIndexingPolicySpatialIndexArgs
- func (SqlContainerIndexingPolicySpatialIndexArgs) ElementType() reflect.Type
- func (i SqlContainerIndexingPolicySpatialIndexArgs) ToSqlContainerIndexingPolicySpatialIndexOutput() SqlContainerIndexingPolicySpatialIndexOutput
- func (i SqlContainerIndexingPolicySpatialIndexArgs) ToSqlContainerIndexingPolicySpatialIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicySpatialIndexOutput
- type SqlContainerIndexingPolicySpatialIndexArray
- func (SqlContainerIndexingPolicySpatialIndexArray) ElementType() reflect.Type
- func (i SqlContainerIndexingPolicySpatialIndexArray) ToSqlContainerIndexingPolicySpatialIndexArrayOutput() SqlContainerIndexingPolicySpatialIndexArrayOutput
- func (i SqlContainerIndexingPolicySpatialIndexArray) ToSqlContainerIndexingPolicySpatialIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicySpatialIndexArrayOutput
- type SqlContainerIndexingPolicySpatialIndexArrayInput
- type SqlContainerIndexingPolicySpatialIndexArrayOutput
- func (SqlContainerIndexingPolicySpatialIndexArrayOutput) ElementType() reflect.Type
- func (o SqlContainerIndexingPolicySpatialIndexArrayOutput) Index(i pulumi.IntInput) SqlContainerIndexingPolicySpatialIndexOutput
- func (o SqlContainerIndexingPolicySpatialIndexArrayOutput) ToSqlContainerIndexingPolicySpatialIndexArrayOutput() SqlContainerIndexingPolicySpatialIndexArrayOutput
- func (o SqlContainerIndexingPolicySpatialIndexArrayOutput) ToSqlContainerIndexingPolicySpatialIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicySpatialIndexArrayOutput
- type SqlContainerIndexingPolicySpatialIndexInput
- type SqlContainerIndexingPolicySpatialIndexOutput
- func (SqlContainerIndexingPolicySpatialIndexOutput) ElementType() reflect.Type
- func (o SqlContainerIndexingPolicySpatialIndexOutput) Path() pulumi.StringOutput
- func (o SqlContainerIndexingPolicySpatialIndexOutput) ToSqlContainerIndexingPolicySpatialIndexOutput() SqlContainerIndexingPolicySpatialIndexOutput
- func (o SqlContainerIndexingPolicySpatialIndexOutput) ToSqlContainerIndexingPolicySpatialIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicySpatialIndexOutput
- func (o SqlContainerIndexingPolicySpatialIndexOutput) Types() pulumi.StringArrayOutput
- 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
- 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
- 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
- type SqlDatabaseState
- type SqlFunction
- 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
- type SqlFunctionState
- type SqlRoleAssignment
- type SqlRoleAssignmentArgs
- type SqlRoleAssignmentArray
- type SqlRoleAssignmentArrayInput
- type SqlRoleAssignmentArrayOutput
- func (SqlRoleAssignmentArrayOutput) ElementType() reflect.Type
- func (o SqlRoleAssignmentArrayOutput) Index(i pulumi.IntInput) SqlRoleAssignmentOutput
- func (o SqlRoleAssignmentArrayOutput) ToSqlRoleAssignmentArrayOutput() SqlRoleAssignmentArrayOutput
- func (o SqlRoleAssignmentArrayOutput) ToSqlRoleAssignmentArrayOutputWithContext(ctx context.Context) SqlRoleAssignmentArrayOutput
- type SqlRoleAssignmentInput
- type SqlRoleAssignmentMap
- type SqlRoleAssignmentMapInput
- type SqlRoleAssignmentMapOutput
- func (SqlRoleAssignmentMapOutput) ElementType() reflect.Type
- func (o SqlRoleAssignmentMapOutput) MapIndex(k pulumi.StringInput) SqlRoleAssignmentOutput
- func (o SqlRoleAssignmentMapOutput) ToSqlRoleAssignmentMapOutput() SqlRoleAssignmentMapOutput
- func (o SqlRoleAssignmentMapOutput) ToSqlRoleAssignmentMapOutputWithContext(ctx context.Context) SqlRoleAssignmentMapOutput
- type SqlRoleAssignmentOutput
- type SqlRoleAssignmentState
- type SqlRoleDefinition
- type SqlRoleDefinitionArgs
- type SqlRoleDefinitionArray
- type SqlRoleDefinitionArrayInput
- type SqlRoleDefinitionArrayOutput
- func (SqlRoleDefinitionArrayOutput) ElementType() reflect.Type
- func (o SqlRoleDefinitionArrayOutput) Index(i pulumi.IntInput) SqlRoleDefinitionOutput
- func (o SqlRoleDefinitionArrayOutput) ToSqlRoleDefinitionArrayOutput() SqlRoleDefinitionArrayOutput
- func (o SqlRoleDefinitionArrayOutput) ToSqlRoleDefinitionArrayOutputWithContext(ctx context.Context) SqlRoleDefinitionArrayOutput
- type SqlRoleDefinitionInput
- type SqlRoleDefinitionMap
- type SqlRoleDefinitionMapInput
- type SqlRoleDefinitionMapOutput
- func (SqlRoleDefinitionMapOutput) ElementType() reflect.Type
- func (o SqlRoleDefinitionMapOutput) MapIndex(k pulumi.StringInput) SqlRoleDefinitionOutput
- func (o SqlRoleDefinitionMapOutput) ToSqlRoleDefinitionMapOutput() SqlRoleDefinitionMapOutput
- func (o SqlRoleDefinitionMapOutput) ToSqlRoleDefinitionMapOutputWithContext(ctx context.Context) SqlRoleDefinitionMapOutput
- type SqlRoleDefinitionOutput
- type SqlRoleDefinitionPermission
- type SqlRoleDefinitionPermissionArgs
- func (SqlRoleDefinitionPermissionArgs) ElementType() reflect.Type
- func (i SqlRoleDefinitionPermissionArgs) ToSqlRoleDefinitionPermissionOutput() SqlRoleDefinitionPermissionOutput
- func (i SqlRoleDefinitionPermissionArgs) ToSqlRoleDefinitionPermissionOutputWithContext(ctx context.Context) SqlRoleDefinitionPermissionOutput
- type SqlRoleDefinitionPermissionArray
- func (SqlRoleDefinitionPermissionArray) ElementType() reflect.Type
- func (i SqlRoleDefinitionPermissionArray) ToSqlRoleDefinitionPermissionArrayOutput() SqlRoleDefinitionPermissionArrayOutput
- func (i SqlRoleDefinitionPermissionArray) ToSqlRoleDefinitionPermissionArrayOutputWithContext(ctx context.Context) SqlRoleDefinitionPermissionArrayOutput
- type SqlRoleDefinitionPermissionArrayInput
- type SqlRoleDefinitionPermissionArrayOutput
- func (SqlRoleDefinitionPermissionArrayOutput) ElementType() reflect.Type
- func (o SqlRoleDefinitionPermissionArrayOutput) Index(i pulumi.IntInput) SqlRoleDefinitionPermissionOutput
- func (o SqlRoleDefinitionPermissionArrayOutput) ToSqlRoleDefinitionPermissionArrayOutput() SqlRoleDefinitionPermissionArrayOutput
- func (o SqlRoleDefinitionPermissionArrayOutput) ToSqlRoleDefinitionPermissionArrayOutputWithContext(ctx context.Context) SqlRoleDefinitionPermissionArrayOutput
- type SqlRoleDefinitionPermissionInput
- type SqlRoleDefinitionPermissionOutput
- func (o SqlRoleDefinitionPermissionOutput) DataActions() pulumi.StringArrayOutput
- func (SqlRoleDefinitionPermissionOutput) ElementType() reflect.Type
- func (o SqlRoleDefinitionPermissionOutput) ToSqlRoleDefinitionPermissionOutput() SqlRoleDefinitionPermissionOutput
- func (o SqlRoleDefinitionPermissionOutput) ToSqlRoleDefinitionPermissionOutputWithContext(ctx context.Context) SqlRoleDefinitionPermissionOutput
- type SqlRoleDefinitionState
- type SqlStoredProcedure
- 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
- type SqlStoredProcedureState
- type SqlTrigger
- 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
- 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
- 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"` // An `analyticalStorage` block as defined below. AnalyticalStorage AccountAnalyticalStorageOutput `pulumi:"analyticalStorage"` // 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. Changing this forces a new resource to be created. Capabilities AccountCapabilityArrayOutput `pulumi:"capabilities"` // A `capacity` block as defined below. Capacity AccountCapacityOutput `pulumi:"capacity"` // 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"` // The creation mode for the CosmosDB Account. Possible values are `Default` and `Restore`. Changing this forces a new resource to be created. CreateMode pulumi.StringOutput `pulumi:"createMode"` // The default identity for accessing Key Vault. Possible values are `FirstPartyIdentity`, `SystemAssignedIdentity` or start with `UserAssignedIdentity`. Defaults to `FirstPartyIdentity`. DefaultIdentityType pulumi.StringPtrOutput `pulumi:"defaultIdentityType"` // 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 multiple write locations 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"` // Disable local authentication and ensure only MSI and AAD can be used exclusively for authentication. Defaults to `false`. Can be set only when using the SQL API. LocalAuthenticationDisabled pulumi.BoolPtrOutput `pulumi:"localAuthenticationDisabled"` // 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`. 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 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 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"` // A `restore` block as defined below. Restore AccountRestorePtrOutput `pulumi:"restore"` // The Secondary 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 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("MongoDB"), 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"), }, &cosmosdb.AccountCapabilityArgs{ Name: pulumi.String("EnableMongo"), }, }, ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{ ConsistencyLevel: pulumi.String("BoundedStaleness"), MaxIntervalInSeconds: pulumi.Int(300), MaxStalenessPrefix: pulumi.Int(100000), }, 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
type AccountAnalyticalStorage ¶ added in v4.29.0
type AccountAnalyticalStorage struct { // The schema type of the Analytical Storage for this Cosmos DB account. Possible values are `FullFidelity` and `WellDefined`. SchemaType string `pulumi:"schemaType"` }
type AccountAnalyticalStorageArgs ¶ added in v4.29.0
type AccountAnalyticalStorageArgs struct { // The schema type of the Analytical Storage for this Cosmos DB account. Possible values are `FullFidelity` and `WellDefined`. SchemaType pulumi.StringInput `pulumi:"schemaType"` }
func (AccountAnalyticalStorageArgs) ElementType ¶ added in v4.29.0
func (AccountAnalyticalStorageArgs) ElementType() reflect.Type
func (AccountAnalyticalStorageArgs) ToAccountAnalyticalStorageOutput ¶ added in v4.29.0
func (i AccountAnalyticalStorageArgs) ToAccountAnalyticalStorageOutput() AccountAnalyticalStorageOutput
func (AccountAnalyticalStorageArgs) ToAccountAnalyticalStorageOutputWithContext ¶ added in v4.29.0
func (i AccountAnalyticalStorageArgs) ToAccountAnalyticalStorageOutputWithContext(ctx context.Context) AccountAnalyticalStorageOutput
func (AccountAnalyticalStorageArgs) ToAccountAnalyticalStoragePtrOutput ¶ added in v4.29.0
func (i AccountAnalyticalStorageArgs) ToAccountAnalyticalStoragePtrOutput() AccountAnalyticalStoragePtrOutput
func (AccountAnalyticalStorageArgs) ToAccountAnalyticalStoragePtrOutputWithContext ¶ added in v4.29.0
func (i AccountAnalyticalStorageArgs) ToAccountAnalyticalStoragePtrOutputWithContext(ctx context.Context) AccountAnalyticalStoragePtrOutput
type AccountAnalyticalStorageInput ¶ added in v4.29.0
type AccountAnalyticalStorageInput interface { pulumi.Input ToAccountAnalyticalStorageOutput() AccountAnalyticalStorageOutput ToAccountAnalyticalStorageOutputWithContext(context.Context) AccountAnalyticalStorageOutput }
AccountAnalyticalStorageInput is an input type that accepts AccountAnalyticalStorageArgs and AccountAnalyticalStorageOutput values. You can construct a concrete instance of `AccountAnalyticalStorageInput` via:
AccountAnalyticalStorageArgs{...}
type AccountAnalyticalStorageOutput ¶ added in v4.29.0
type AccountAnalyticalStorageOutput struct{ *pulumi.OutputState }
func (AccountAnalyticalStorageOutput) ElementType ¶ added in v4.29.0
func (AccountAnalyticalStorageOutput) ElementType() reflect.Type
func (AccountAnalyticalStorageOutput) SchemaType ¶ added in v4.29.0
func (o AccountAnalyticalStorageOutput) SchemaType() pulumi.StringOutput
The schema type of the Analytical Storage for this Cosmos DB account. Possible values are `FullFidelity` and `WellDefined`.
func (AccountAnalyticalStorageOutput) ToAccountAnalyticalStorageOutput ¶ added in v4.29.0
func (o AccountAnalyticalStorageOutput) ToAccountAnalyticalStorageOutput() AccountAnalyticalStorageOutput
func (AccountAnalyticalStorageOutput) ToAccountAnalyticalStorageOutputWithContext ¶ added in v4.29.0
func (o AccountAnalyticalStorageOutput) ToAccountAnalyticalStorageOutputWithContext(ctx context.Context) AccountAnalyticalStorageOutput
func (AccountAnalyticalStorageOutput) ToAccountAnalyticalStoragePtrOutput ¶ added in v4.29.0
func (o AccountAnalyticalStorageOutput) ToAccountAnalyticalStoragePtrOutput() AccountAnalyticalStoragePtrOutput
func (AccountAnalyticalStorageOutput) ToAccountAnalyticalStoragePtrOutputWithContext ¶ added in v4.29.0
func (o AccountAnalyticalStorageOutput) ToAccountAnalyticalStoragePtrOutputWithContext(ctx context.Context) AccountAnalyticalStoragePtrOutput
type AccountAnalyticalStoragePtrInput ¶ added in v4.29.0
type AccountAnalyticalStoragePtrInput interface { pulumi.Input ToAccountAnalyticalStoragePtrOutput() AccountAnalyticalStoragePtrOutput ToAccountAnalyticalStoragePtrOutputWithContext(context.Context) AccountAnalyticalStoragePtrOutput }
AccountAnalyticalStoragePtrInput is an input type that accepts AccountAnalyticalStorageArgs, AccountAnalyticalStoragePtr and AccountAnalyticalStoragePtrOutput values. You can construct a concrete instance of `AccountAnalyticalStoragePtrInput` via:
AccountAnalyticalStorageArgs{...} or: nil
func AccountAnalyticalStoragePtr ¶ added in v4.29.0
func AccountAnalyticalStoragePtr(v *AccountAnalyticalStorageArgs) AccountAnalyticalStoragePtrInput
type AccountAnalyticalStoragePtrOutput ¶ added in v4.29.0
type AccountAnalyticalStoragePtrOutput struct{ *pulumi.OutputState }
func (AccountAnalyticalStoragePtrOutput) Elem ¶ added in v4.29.0
func (o AccountAnalyticalStoragePtrOutput) Elem() AccountAnalyticalStorageOutput
func (AccountAnalyticalStoragePtrOutput) ElementType ¶ added in v4.29.0
func (AccountAnalyticalStoragePtrOutput) ElementType() reflect.Type
func (AccountAnalyticalStoragePtrOutput) SchemaType ¶ added in v4.29.0
func (o AccountAnalyticalStoragePtrOutput) SchemaType() pulumi.StringPtrOutput
The schema type of the Analytical Storage for this Cosmos DB account. Possible values are `FullFidelity` and `WellDefined`.
func (AccountAnalyticalStoragePtrOutput) ToAccountAnalyticalStoragePtrOutput ¶ added in v4.29.0
func (o AccountAnalyticalStoragePtrOutput) ToAccountAnalyticalStoragePtrOutput() AccountAnalyticalStoragePtrOutput
func (AccountAnalyticalStoragePtrOutput) ToAccountAnalyticalStoragePtrOutputWithContext ¶ added in v4.29.0
func (o AccountAnalyticalStoragePtrOutput) ToAccountAnalyticalStoragePtrOutputWithContext(ctx context.Context) AccountAnalyticalStoragePtrOutput
type AccountArgs ¶
type AccountArgs struct { // Is write operations on metadata resources (databases, containers, throughput) via account keys enabled? Defaults to `true`. AccessKeyMetadataWritesEnabled pulumi.BoolPtrInput // An `analyticalStorage` block as defined below. AnalyticalStorage AccountAnalyticalStoragePtrInput // 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. Changing this forces a new resource to be created. Capabilities AccountCapabilityArrayInput // A `capacity` block as defined below. Capacity AccountCapacityPtrInput // Specifies a `consistencyPolicy` resource, used to define the consistency policy for this CosmosDB account. ConsistencyPolicy AccountConsistencyPolicyInput // A `corsRule` block as defined below. CorsRule AccountCorsRulePtrInput // The creation mode for the CosmosDB Account. Possible values are `Default` and `Restore`. Changing this forces a new resource to be created. CreateMode pulumi.StringPtrInput // The default identity for accessing Key Vault. Possible values are `FirstPartyIdentity`, `SystemAssignedIdentity` or start with `UserAssignedIdentity`. Defaults to `FirstPartyIdentity`. DefaultIdentityType pulumi.StringPtrInput // 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 multiple write locations 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 // Disable local authentication and ensure only MSI and AAD can be used exclusively for authentication. Defaults to `false`. Can be set only when using the SQL API. LocalAuthenticationDisabled pulumi.BoolPtrInput // 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`. 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 `restore` block as defined below. Restore AccountRestorePtrInput // 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 storage redundancy which is used to indicate type of backup residency. This is configurable only when `type` is `Periodic`. Possible values are `Geo`, `Local` and `Zone`. StorageRedundancy *string `pulumi:"storageRedundancy"` // The type of the `backup`. Possible values are `Continuous` and `Periodic`. Defaults to `Periodic`. Migration of `Periodic` to `Continuous` is one-way, changing `Continuous` to `Periodic` forces a new resource to be created. 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 storage redundancy which is used to indicate type of backup residency. This is configurable only when `type` is `Periodic`. Possible values are `Geo`, `Local` and `Zone`. StorageRedundancy pulumi.StringPtrInput `pulumi:"storageRedundancy"` // The type of the `backup`. Possible values are `Continuous` and `Periodic`. Defaults to `Periodic`. Migration of `Periodic` to `Continuous` is one-way, changing `Continuous` to `Periodic` forces a new resource to be created. 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) StorageRedundancy ¶ added in v4.29.0
func (o AccountBackupOutput) StorageRedundancy() pulumi.StringPtrOutput
The storage redundancy which is used to indicate type of backup residency. This is configurable only when `type` is `Periodic`. Possible values are `Geo`, `Local` and `Zone`.
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`. Migration of `Periodic` to `Continuous` is one-way, changing `Continuous` to `Periodic` forces a new resource to be created.
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) StorageRedundancy ¶ added in v4.29.0
func (o AccountBackupPtrOutput) StorageRedundancy() pulumi.StringPtrOutput
The storage redundancy which is used to indicate type of backup residency. This is configurable only when `type` is `Periodic`. Possible values are `Geo`, `Local` and `Zone`.
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`. Migration of `Periodic` to `Continuous` is one-way, changing `Continuous` to `Periodic` forces a new resource to be created.
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 AccountCapacity ¶ added in v4.29.0
type AccountCapacity struct { // The total throughput limit imposed on this Cosmos DB account (RU/s). Possible values are at least `-1`. `-1` means no limit. TotalThroughputLimit int `pulumi:"totalThroughputLimit"` }
type AccountCapacityArgs ¶ added in v4.29.0
type AccountCapacityArgs struct { // The total throughput limit imposed on this Cosmos DB account (RU/s). Possible values are at least `-1`. `-1` means no limit. TotalThroughputLimit pulumi.IntInput `pulumi:"totalThroughputLimit"` }
func (AccountCapacityArgs) ElementType ¶ added in v4.29.0
func (AccountCapacityArgs) ElementType() reflect.Type
func (AccountCapacityArgs) ToAccountCapacityOutput ¶ added in v4.29.0
func (i AccountCapacityArgs) ToAccountCapacityOutput() AccountCapacityOutput
func (AccountCapacityArgs) ToAccountCapacityOutputWithContext ¶ added in v4.29.0
func (i AccountCapacityArgs) ToAccountCapacityOutputWithContext(ctx context.Context) AccountCapacityOutput
func (AccountCapacityArgs) ToAccountCapacityPtrOutput ¶ added in v4.29.0
func (i AccountCapacityArgs) ToAccountCapacityPtrOutput() AccountCapacityPtrOutput
func (AccountCapacityArgs) ToAccountCapacityPtrOutputWithContext ¶ added in v4.29.0
func (i AccountCapacityArgs) ToAccountCapacityPtrOutputWithContext(ctx context.Context) AccountCapacityPtrOutput
type AccountCapacityInput ¶ added in v4.29.0
type AccountCapacityInput interface { pulumi.Input ToAccountCapacityOutput() AccountCapacityOutput ToAccountCapacityOutputWithContext(context.Context) AccountCapacityOutput }
AccountCapacityInput is an input type that accepts AccountCapacityArgs and AccountCapacityOutput values. You can construct a concrete instance of `AccountCapacityInput` via:
AccountCapacityArgs{...}
type AccountCapacityOutput ¶ added in v4.29.0
type AccountCapacityOutput struct{ *pulumi.OutputState }
func (AccountCapacityOutput) ElementType ¶ added in v4.29.0
func (AccountCapacityOutput) ElementType() reflect.Type
func (AccountCapacityOutput) ToAccountCapacityOutput ¶ added in v4.29.0
func (o AccountCapacityOutput) ToAccountCapacityOutput() AccountCapacityOutput
func (AccountCapacityOutput) ToAccountCapacityOutputWithContext ¶ added in v4.29.0
func (o AccountCapacityOutput) ToAccountCapacityOutputWithContext(ctx context.Context) AccountCapacityOutput
func (AccountCapacityOutput) ToAccountCapacityPtrOutput ¶ added in v4.29.0
func (o AccountCapacityOutput) ToAccountCapacityPtrOutput() AccountCapacityPtrOutput
func (AccountCapacityOutput) ToAccountCapacityPtrOutputWithContext ¶ added in v4.29.0
func (o AccountCapacityOutput) ToAccountCapacityPtrOutputWithContext(ctx context.Context) AccountCapacityPtrOutput
func (AccountCapacityOutput) TotalThroughputLimit ¶ added in v4.29.0
func (o AccountCapacityOutput) TotalThroughputLimit() pulumi.IntOutput
The total throughput limit imposed on this Cosmos DB account (RU/s). Possible values are at least `-1`. `-1` means no limit.
type AccountCapacityPtrInput ¶ added in v4.29.0
type AccountCapacityPtrInput interface { pulumi.Input ToAccountCapacityPtrOutput() AccountCapacityPtrOutput ToAccountCapacityPtrOutputWithContext(context.Context) AccountCapacityPtrOutput }
AccountCapacityPtrInput is an input type that accepts AccountCapacityArgs, AccountCapacityPtr and AccountCapacityPtrOutput values. You can construct a concrete instance of `AccountCapacityPtrInput` via:
AccountCapacityArgs{...} or: nil
func AccountCapacityPtr ¶ added in v4.29.0
func AccountCapacityPtr(v *AccountCapacityArgs) AccountCapacityPtrInput
type AccountCapacityPtrOutput ¶ added in v4.29.0
type AccountCapacityPtrOutput struct{ *pulumi.OutputState }
func (AccountCapacityPtrOutput) Elem ¶ added in v4.29.0
func (o AccountCapacityPtrOutput) Elem() AccountCapacityOutput
func (AccountCapacityPtrOutput) ElementType ¶ added in v4.29.0
func (AccountCapacityPtrOutput) ElementType() reflect.Type
func (AccountCapacityPtrOutput) ToAccountCapacityPtrOutput ¶ added in v4.29.0
func (o AccountCapacityPtrOutput) ToAccountCapacityPtrOutput() AccountCapacityPtrOutput
func (AccountCapacityPtrOutput) ToAccountCapacityPtrOutputWithContext ¶ added in v4.29.0
func (o AccountCapacityPtrOutput) ToAccountCapacityPtrOutputWithContext(ctx context.Context) AccountCapacityPtrOutput
func (AccountCapacityPtrOutput) TotalThroughputLimit ¶ added in v4.29.0
func (o AccountCapacityPtrOutput) TotalThroughputLimit() pulumi.IntPtrOutput
The total throughput limit imposed on this Cosmos DB account (RU/s). Possible values are at least `-1`. `-1` means no limit.
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
type AccountRestore ¶ added in v4.32.0
type AccountRestore struct { // A `database` block as defined below. Changing this forces a new resource to be created. Databases []AccountRestoreDatabase `pulumi:"databases"` // The creation time of the database or the collection (Datetime Format `RFC 3339`). Changing this forces a new resource to be created. RestoreTimestampInUtc string `pulumi:"restoreTimestampInUtc"` // The resource ID of the restorable database account from which the restore has to be initiated. The example is `/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}`. Changing this forces a new resource to be created. SourceCosmosdbAccountId string `pulumi:"sourceCosmosdbAccountId"` }
type AccountRestoreArgs ¶ added in v4.32.0
type AccountRestoreArgs struct { // A `database` block as defined below. Changing this forces a new resource to be created. Databases AccountRestoreDatabaseArrayInput `pulumi:"databases"` // The creation time of the database or the collection (Datetime Format `RFC 3339`). Changing this forces a new resource to be created. RestoreTimestampInUtc pulumi.StringInput `pulumi:"restoreTimestampInUtc"` // The resource ID of the restorable database account from which the restore has to be initiated. The example is `/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}`. Changing this forces a new resource to be created. SourceCosmosdbAccountId pulumi.StringInput `pulumi:"sourceCosmosdbAccountId"` }
func (AccountRestoreArgs) ElementType ¶ added in v4.32.0
func (AccountRestoreArgs) ElementType() reflect.Type
func (AccountRestoreArgs) ToAccountRestoreOutput ¶ added in v4.32.0
func (i AccountRestoreArgs) ToAccountRestoreOutput() AccountRestoreOutput
func (AccountRestoreArgs) ToAccountRestoreOutputWithContext ¶ added in v4.32.0
func (i AccountRestoreArgs) ToAccountRestoreOutputWithContext(ctx context.Context) AccountRestoreOutput
func (AccountRestoreArgs) ToAccountRestorePtrOutput ¶ added in v4.32.0
func (i AccountRestoreArgs) ToAccountRestorePtrOutput() AccountRestorePtrOutput
func (AccountRestoreArgs) ToAccountRestorePtrOutputWithContext ¶ added in v4.32.0
func (i AccountRestoreArgs) ToAccountRestorePtrOutputWithContext(ctx context.Context) AccountRestorePtrOutput
type AccountRestoreDatabase ¶ added in v4.32.0
type AccountRestoreDatabase struct { // A list of the collection names for the restore request. Changing this forces a new resource to be created. CollectionNames []string `pulumi:"collectionNames"` // The database name for the restore request. Changing this forces a new resource to be created. Name string `pulumi:"name"` }
type AccountRestoreDatabaseArgs ¶ added in v4.32.0
type AccountRestoreDatabaseArgs struct { // A list of the collection names for the restore request. Changing this forces a new resource to be created. CollectionNames pulumi.StringArrayInput `pulumi:"collectionNames"` // The database name for the restore request. Changing this forces a new resource to be created. Name pulumi.StringInput `pulumi:"name"` }
func (AccountRestoreDatabaseArgs) ElementType ¶ added in v4.32.0
func (AccountRestoreDatabaseArgs) ElementType() reflect.Type
func (AccountRestoreDatabaseArgs) ToAccountRestoreDatabaseOutput ¶ added in v4.32.0
func (i AccountRestoreDatabaseArgs) ToAccountRestoreDatabaseOutput() AccountRestoreDatabaseOutput
func (AccountRestoreDatabaseArgs) ToAccountRestoreDatabaseOutputWithContext ¶ added in v4.32.0
func (i AccountRestoreDatabaseArgs) ToAccountRestoreDatabaseOutputWithContext(ctx context.Context) AccountRestoreDatabaseOutput
type AccountRestoreDatabaseArray ¶ added in v4.32.0
type AccountRestoreDatabaseArray []AccountRestoreDatabaseInput
func (AccountRestoreDatabaseArray) ElementType ¶ added in v4.32.0
func (AccountRestoreDatabaseArray) ElementType() reflect.Type
func (AccountRestoreDatabaseArray) ToAccountRestoreDatabaseArrayOutput ¶ added in v4.32.0
func (i AccountRestoreDatabaseArray) ToAccountRestoreDatabaseArrayOutput() AccountRestoreDatabaseArrayOutput
func (AccountRestoreDatabaseArray) ToAccountRestoreDatabaseArrayOutputWithContext ¶ added in v4.32.0
func (i AccountRestoreDatabaseArray) ToAccountRestoreDatabaseArrayOutputWithContext(ctx context.Context) AccountRestoreDatabaseArrayOutput
type AccountRestoreDatabaseArrayInput ¶ added in v4.32.0
type AccountRestoreDatabaseArrayInput interface { pulumi.Input ToAccountRestoreDatabaseArrayOutput() AccountRestoreDatabaseArrayOutput ToAccountRestoreDatabaseArrayOutputWithContext(context.Context) AccountRestoreDatabaseArrayOutput }
AccountRestoreDatabaseArrayInput is an input type that accepts AccountRestoreDatabaseArray and AccountRestoreDatabaseArrayOutput values. You can construct a concrete instance of `AccountRestoreDatabaseArrayInput` via:
AccountRestoreDatabaseArray{ AccountRestoreDatabaseArgs{...} }
type AccountRestoreDatabaseArrayOutput ¶ added in v4.32.0
type AccountRestoreDatabaseArrayOutput struct{ *pulumi.OutputState }
func (AccountRestoreDatabaseArrayOutput) ElementType ¶ added in v4.32.0
func (AccountRestoreDatabaseArrayOutput) ElementType() reflect.Type
func (AccountRestoreDatabaseArrayOutput) Index ¶ added in v4.32.0
func (o AccountRestoreDatabaseArrayOutput) Index(i pulumi.IntInput) AccountRestoreDatabaseOutput
func (AccountRestoreDatabaseArrayOutput) ToAccountRestoreDatabaseArrayOutput ¶ added in v4.32.0
func (o AccountRestoreDatabaseArrayOutput) ToAccountRestoreDatabaseArrayOutput() AccountRestoreDatabaseArrayOutput
func (AccountRestoreDatabaseArrayOutput) ToAccountRestoreDatabaseArrayOutputWithContext ¶ added in v4.32.0
func (o AccountRestoreDatabaseArrayOutput) ToAccountRestoreDatabaseArrayOutputWithContext(ctx context.Context) AccountRestoreDatabaseArrayOutput
type AccountRestoreDatabaseInput ¶ added in v4.32.0
type AccountRestoreDatabaseInput interface { pulumi.Input ToAccountRestoreDatabaseOutput() AccountRestoreDatabaseOutput ToAccountRestoreDatabaseOutputWithContext(context.Context) AccountRestoreDatabaseOutput }
AccountRestoreDatabaseInput is an input type that accepts AccountRestoreDatabaseArgs and AccountRestoreDatabaseOutput values. You can construct a concrete instance of `AccountRestoreDatabaseInput` via:
AccountRestoreDatabaseArgs{...}
type AccountRestoreDatabaseOutput ¶ added in v4.32.0
type AccountRestoreDatabaseOutput struct{ *pulumi.OutputState }
func (AccountRestoreDatabaseOutput) CollectionNames ¶ added in v4.32.0
func (o AccountRestoreDatabaseOutput) CollectionNames() pulumi.StringArrayOutput
A list of the collection names for the restore request. Changing this forces a new resource to be created.
func (AccountRestoreDatabaseOutput) ElementType ¶ added in v4.32.0
func (AccountRestoreDatabaseOutput) ElementType() reflect.Type
func (AccountRestoreDatabaseOutput) Name ¶ added in v4.32.0
func (o AccountRestoreDatabaseOutput) Name() pulumi.StringOutput
The database name for the restore request. Changing this forces a new resource to be created.
func (AccountRestoreDatabaseOutput) ToAccountRestoreDatabaseOutput ¶ added in v4.32.0
func (o AccountRestoreDatabaseOutput) ToAccountRestoreDatabaseOutput() AccountRestoreDatabaseOutput
func (AccountRestoreDatabaseOutput) ToAccountRestoreDatabaseOutputWithContext ¶ added in v4.32.0
func (o AccountRestoreDatabaseOutput) ToAccountRestoreDatabaseOutputWithContext(ctx context.Context) AccountRestoreDatabaseOutput
type AccountRestoreInput ¶ added in v4.32.0
type AccountRestoreInput interface { pulumi.Input ToAccountRestoreOutput() AccountRestoreOutput ToAccountRestoreOutputWithContext(context.Context) AccountRestoreOutput }
AccountRestoreInput is an input type that accepts AccountRestoreArgs and AccountRestoreOutput values. You can construct a concrete instance of `AccountRestoreInput` via:
AccountRestoreArgs{...}
type AccountRestoreOutput ¶ added in v4.32.0
type AccountRestoreOutput struct{ *pulumi.OutputState }
func (AccountRestoreOutput) Databases ¶ added in v4.32.0
func (o AccountRestoreOutput) Databases() AccountRestoreDatabaseArrayOutput
A `database` block as defined below. Changing this forces a new resource to be created.
func (AccountRestoreOutput) ElementType ¶ added in v4.32.0
func (AccountRestoreOutput) ElementType() reflect.Type
func (AccountRestoreOutput) RestoreTimestampInUtc ¶ added in v4.32.0
func (o AccountRestoreOutput) RestoreTimestampInUtc() pulumi.StringOutput
The creation time of the database or the collection (Datetime Format `RFC 3339`). Changing this forces a new resource to be created.
func (AccountRestoreOutput) SourceCosmosdbAccountId ¶ added in v4.32.0
func (o AccountRestoreOutput) SourceCosmosdbAccountId() pulumi.StringOutput
The resource ID of the restorable database account from which the restore has to be initiated. The example is `/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}`. Changing this forces a new resource to be created.
func (AccountRestoreOutput) ToAccountRestoreOutput ¶ added in v4.32.0
func (o AccountRestoreOutput) ToAccountRestoreOutput() AccountRestoreOutput
func (AccountRestoreOutput) ToAccountRestoreOutputWithContext ¶ added in v4.32.0
func (o AccountRestoreOutput) ToAccountRestoreOutputWithContext(ctx context.Context) AccountRestoreOutput
func (AccountRestoreOutput) ToAccountRestorePtrOutput ¶ added in v4.32.0
func (o AccountRestoreOutput) ToAccountRestorePtrOutput() AccountRestorePtrOutput
func (AccountRestoreOutput) ToAccountRestorePtrOutputWithContext ¶ added in v4.32.0
func (o AccountRestoreOutput) ToAccountRestorePtrOutputWithContext(ctx context.Context) AccountRestorePtrOutput
type AccountRestorePtrInput ¶ added in v4.32.0
type AccountRestorePtrInput interface { pulumi.Input ToAccountRestorePtrOutput() AccountRestorePtrOutput ToAccountRestorePtrOutputWithContext(context.Context) AccountRestorePtrOutput }
AccountRestorePtrInput is an input type that accepts AccountRestoreArgs, AccountRestorePtr and AccountRestorePtrOutput values. You can construct a concrete instance of `AccountRestorePtrInput` via:
AccountRestoreArgs{...} or: nil
func AccountRestorePtr ¶ added in v4.32.0
func AccountRestorePtr(v *AccountRestoreArgs) AccountRestorePtrInput
type AccountRestorePtrOutput ¶ added in v4.32.0
type AccountRestorePtrOutput struct{ *pulumi.OutputState }
func (AccountRestorePtrOutput) Databases ¶ added in v4.32.0
func (o AccountRestorePtrOutput) Databases() AccountRestoreDatabaseArrayOutput
A `database` block as defined below. Changing this forces a new resource to be created.
func (AccountRestorePtrOutput) Elem ¶ added in v4.32.0
func (o AccountRestorePtrOutput) Elem() AccountRestoreOutput
func (AccountRestorePtrOutput) ElementType ¶ added in v4.32.0
func (AccountRestorePtrOutput) ElementType() reflect.Type
func (AccountRestorePtrOutput) RestoreTimestampInUtc ¶ added in v4.32.0
func (o AccountRestorePtrOutput) RestoreTimestampInUtc() pulumi.StringPtrOutput
The creation time of the database or the collection (Datetime Format `RFC 3339`). Changing this forces a new resource to be created.
func (AccountRestorePtrOutput) SourceCosmosdbAccountId ¶ added in v4.32.0
func (o AccountRestorePtrOutput) SourceCosmosdbAccountId() pulumi.StringPtrOutput
The resource ID of the restorable database account from which the restore has to be initiated. The example is `/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}`. Changing this forces a new resource to be created.
func (AccountRestorePtrOutput) ToAccountRestorePtrOutput ¶ added in v4.32.0
func (o AccountRestorePtrOutput) ToAccountRestorePtrOutput() AccountRestorePtrOutput
func (AccountRestorePtrOutput) ToAccountRestorePtrOutputWithContext ¶ added in v4.32.0
func (o AccountRestorePtrOutput) ToAccountRestorePtrOutputWithContext(ctx context.Context) AccountRestorePtrOutput
type AccountState ¶
type AccountState struct { // Is write operations on metadata resources (databases, containers, throughput) via account keys enabled? Defaults to `true`. AccessKeyMetadataWritesEnabled pulumi.BoolPtrInput // An `analyticalStorage` block as defined below. AnalyticalStorage AccountAnalyticalStoragePtrInput // 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. Changing this forces a new resource to be created. Capabilities AccountCapabilityArrayInput // A `capacity` block as defined below. Capacity AccountCapacityPtrInput // 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 // The creation mode for the CosmosDB Account. Possible values are `Default` and `Restore`. Changing this forces a new resource to be created. CreateMode pulumi.StringPtrInput // The default identity for accessing Key Vault. Possible values are `FirstPartyIdentity`, `SystemAssignedIdentity` or start with `UserAssignedIdentity`. Defaults to `FirstPartyIdentity`. DefaultIdentityType pulumi.StringPtrInput // 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 multiple write locations 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 // Disable local authentication and ensure only MSI and AAD can be used exclusively for authentication. Defaults to `false`. Can be set only when using the SQL API. LocalAuthenticationDisabled pulumi.BoolPtrInput // 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`. 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 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 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 // A `restore` block as defined below. Restore AccountRestorePtrInput // The Secondary 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 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 CassandraCluster ¶ added in v4.26.0
type CassandraCluster struct { pulumi.CustomResourceState // The initial admin password for this Cassandra Cluster. DefaultAdminPassword pulumi.StringOutput `pulumi:"defaultAdminPassword"` // The ID of the delegated management subnet for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created. DelegatedManagementSubnetId pulumi.StringOutput `pulumi:"delegatedManagementSubnetId"` // The Azure Region where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created. Location pulumi.StringOutput `pulumi:"location"` // The name which should be used for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the Resource Group where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
Manages a Cassandra Cluster.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network" "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 } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.1.0/24"), }, }) if err != nil { return err } _, err = authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{ Scope: exampleVirtualNetwork.ID(), RoleDefinitionName: pulumi.String("Network Contributor"), PrincipalId: pulumi.String("e5007d2c-4b13-4a74-9b6a-605d99f03501"), }) if err != nil { return err } _, err = cosmosdb.NewCassandraCluster(ctx, "exampleCassandraCluster", &cosmosdb.CassandraClusterArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, DelegatedManagementSubnetId: exampleSubnet.ID(), DefaultAdminPassword: pulumi.String("Password1234"), }) if err != nil { return err } return nil }) }
```
## Import
Cassandra Clusters can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/cassandraCluster:CassandraCluster example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.DocumentDB/cassandraClusters/cluster1
```
func GetCassandraCluster ¶ added in v4.26.0
func GetCassandraCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CassandraClusterState, opts ...pulumi.ResourceOption) (*CassandraCluster, error)
GetCassandraCluster gets an existing CassandraCluster 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 NewCassandraCluster ¶ added in v4.26.0
func NewCassandraCluster(ctx *pulumi.Context, name string, args *CassandraClusterArgs, opts ...pulumi.ResourceOption) (*CassandraCluster, error)
NewCassandraCluster registers a new resource with the given unique name, arguments, and options.
func (*CassandraCluster) ElementType ¶ added in v4.26.0
func (*CassandraCluster) ElementType() reflect.Type
func (*CassandraCluster) ToCassandraClusterOutput ¶ added in v4.26.0
func (i *CassandraCluster) ToCassandraClusterOutput() CassandraClusterOutput
func (*CassandraCluster) ToCassandraClusterOutputWithContext ¶ added in v4.26.0
func (i *CassandraCluster) ToCassandraClusterOutputWithContext(ctx context.Context) CassandraClusterOutput
type CassandraClusterArgs ¶ added in v4.26.0
type CassandraClusterArgs struct { // The initial admin password for this Cassandra Cluster. DefaultAdminPassword pulumi.StringInput // The ID of the delegated management subnet for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created. DelegatedManagementSubnetId pulumi.StringInput // The Azure Region where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created. Location pulumi.StringPtrInput // The name which should be used for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a CassandraCluster resource.
func (CassandraClusterArgs) ElementType ¶ added in v4.26.0
func (CassandraClusterArgs) ElementType() reflect.Type
type CassandraClusterArray ¶ added in v4.26.0
type CassandraClusterArray []CassandraClusterInput
func (CassandraClusterArray) ElementType ¶ added in v4.26.0
func (CassandraClusterArray) ElementType() reflect.Type
func (CassandraClusterArray) ToCassandraClusterArrayOutput ¶ added in v4.26.0
func (i CassandraClusterArray) ToCassandraClusterArrayOutput() CassandraClusterArrayOutput
func (CassandraClusterArray) ToCassandraClusterArrayOutputWithContext ¶ added in v4.26.0
func (i CassandraClusterArray) ToCassandraClusterArrayOutputWithContext(ctx context.Context) CassandraClusterArrayOutput
type CassandraClusterArrayInput ¶ added in v4.26.0
type CassandraClusterArrayInput interface { pulumi.Input ToCassandraClusterArrayOutput() CassandraClusterArrayOutput ToCassandraClusterArrayOutputWithContext(context.Context) CassandraClusterArrayOutput }
CassandraClusterArrayInput is an input type that accepts CassandraClusterArray and CassandraClusterArrayOutput values. You can construct a concrete instance of `CassandraClusterArrayInput` via:
CassandraClusterArray{ CassandraClusterArgs{...} }
type CassandraClusterArrayOutput ¶ added in v4.26.0
type CassandraClusterArrayOutput struct{ *pulumi.OutputState }
func (CassandraClusterArrayOutput) ElementType ¶ added in v4.26.0
func (CassandraClusterArrayOutput) ElementType() reflect.Type
func (CassandraClusterArrayOutput) Index ¶ added in v4.26.0
func (o CassandraClusterArrayOutput) Index(i pulumi.IntInput) CassandraClusterOutput
func (CassandraClusterArrayOutput) ToCassandraClusterArrayOutput ¶ added in v4.26.0
func (o CassandraClusterArrayOutput) ToCassandraClusterArrayOutput() CassandraClusterArrayOutput
func (CassandraClusterArrayOutput) ToCassandraClusterArrayOutputWithContext ¶ added in v4.26.0
func (o CassandraClusterArrayOutput) ToCassandraClusterArrayOutputWithContext(ctx context.Context) CassandraClusterArrayOutput
type CassandraClusterInput ¶ added in v4.26.0
type CassandraClusterInput interface { pulumi.Input ToCassandraClusterOutput() CassandraClusterOutput ToCassandraClusterOutputWithContext(ctx context.Context) CassandraClusterOutput }
type CassandraClusterMap ¶ added in v4.26.0
type CassandraClusterMap map[string]CassandraClusterInput
func (CassandraClusterMap) ElementType ¶ added in v4.26.0
func (CassandraClusterMap) ElementType() reflect.Type
func (CassandraClusterMap) ToCassandraClusterMapOutput ¶ added in v4.26.0
func (i CassandraClusterMap) ToCassandraClusterMapOutput() CassandraClusterMapOutput
func (CassandraClusterMap) ToCassandraClusterMapOutputWithContext ¶ added in v4.26.0
func (i CassandraClusterMap) ToCassandraClusterMapOutputWithContext(ctx context.Context) CassandraClusterMapOutput
type CassandraClusterMapInput ¶ added in v4.26.0
type CassandraClusterMapInput interface { pulumi.Input ToCassandraClusterMapOutput() CassandraClusterMapOutput ToCassandraClusterMapOutputWithContext(context.Context) CassandraClusterMapOutput }
CassandraClusterMapInput is an input type that accepts CassandraClusterMap and CassandraClusterMapOutput values. You can construct a concrete instance of `CassandraClusterMapInput` via:
CassandraClusterMap{ "key": CassandraClusterArgs{...} }
type CassandraClusterMapOutput ¶ added in v4.26.0
type CassandraClusterMapOutput struct{ *pulumi.OutputState }
func (CassandraClusterMapOutput) ElementType ¶ added in v4.26.0
func (CassandraClusterMapOutput) ElementType() reflect.Type
func (CassandraClusterMapOutput) MapIndex ¶ added in v4.26.0
func (o CassandraClusterMapOutput) MapIndex(k pulumi.StringInput) CassandraClusterOutput
func (CassandraClusterMapOutput) ToCassandraClusterMapOutput ¶ added in v4.26.0
func (o CassandraClusterMapOutput) ToCassandraClusterMapOutput() CassandraClusterMapOutput
func (CassandraClusterMapOutput) ToCassandraClusterMapOutputWithContext ¶ added in v4.26.0
func (o CassandraClusterMapOutput) ToCassandraClusterMapOutputWithContext(ctx context.Context) CassandraClusterMapOutput
type CassandraClusterOutput ¶ added in v4.26.0
type CassandraClusterOutput struct{ *pulumi.OutputState }
func (CassandraClusterOutput) ElementType ¶ added in v4.26.0
func (CassandraClusterOutput) ElementType() reflect.Type
func (CassandraClusterOutput) ToCassandraClusterOutput ¶ added in v4.26.0
func (o CassandraClusterOutput) ToCassandraClusterOutput() CassandraClusterOutput
func (CassandraClusterOutput) ToCassandraClusterOutputWithContext ¶ added in v4.26.0
func (o CassandraClusterOutput) ToCassandraClusterOutputWithContext(ctx context.Context) CassandraClusterOutput
type CassandraClusterState ¶ added in v4.26.0
type CassandraClusterState struct { // The initial admin password for this Cassandra Cluster. DefaultAdminPassword pulumi.StringPtrInput // The ID of the delegated management subnet for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created. DelegatedManagementSubnetId pulumi.StringPtrInput // The Azure Region where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created. Location pulumi.StringPtrInput // The name which should be used for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created. ResourceGroupName pulumi.StringPtrInput }
func (CassandraClusterState) ElementType ¶ added in v4.26.0
func (CassandraClusterState) ElementType() reflect.Type
type CassandraDatacenter ¶ added in v4.26.0
type CassandraDatacenter struct { pulumi.CustomResourceState // Determines whether availability zones are enabled. Defaults to `true`. AvailabilityZonesEnabled pulumi.BoolPtrOutput `pulumi:"availabilityZonesEnabled"` // The ID of the Cassandra Cluster. Changing this forces a new Cassandra Datacenter to be created. CassandraClusterId pulumi.StringOutput `pulumi:"cassandraClusterId"` // The ID of the delegated management subnet for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created. DelegatedManagementSubnetId pulumi.StringOutput `pulumi:"delegatedManagementSubnetId"` // Determines the number of p30 disks that are attached to each node. Defaults to `4`. DiskCount pulumi.IntPtrOutput `pulumi:"diskCount"` // The Azure Region where the Cassandra Datacenter should exist. Changing this forces a new Cassandra Datacenter to be created. Location pulumi.StringOutput `pulumi:"location"` // The name which should be used for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created. Name pulumi.StringOutput `pulumi:"name"` // The number of nodes the Cassandra Datacenter should have. The number should be equal or greater than `3`. Defaults to `3`. NodeCount pulumi.IntPtrOutput `pulumi:"nodeCount"` // Determines the selected sku. Defaults to Standard_DS14_v2. SkuName pulumi.StringPtrOutput `pulumi:"skuName"` }
Manages a Cassandra Datacenter.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network" "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 } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.1.0/24"), }, }) if err != nil { return err } _, err = authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{ Scope: exampleVirtualNetwork.ID(), RoleDefinitionName: pulumi.String("Network Contributor"), PrincipalId: pulumi.String("e5007d2c-4b13-4a74-9b6a-605d99f03501"), }) if err != nil { return err } exampleCassandraCluster, err := cosmosdb.NewCassandraCluster(ctx, "exampleCassandraCluster", &cosmosdb.CassandraClusterArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, DelegatedManagementSubnetId: exampleSubnet.ID(), DefaultAdminPassword: pulumi.String("Password1234"), }) if err != nil { return err } _, err = cosmosdb.NewCassandraDatacenter(ctx, "exampleCassandraDatacenter", &cosmosdb.CassandraDatacenterArgs{ Location: exampleCassandraCluster.Location, CassandraClusterId: exampleCassandraCluster.ID(), DelegatedManagementSubnetId: exampleSubnet.ID(), NodeCount: pulumi.Int(3), DiskCount: pulumi.Int(4), SkuName: pulumi.String("Standard_DS14_v2"), AvailabilityZonesEnabled: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
## Import
Cassandra Datacenters can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/cassandraDatacenter:CassandraDatacenter example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.DocumentDB/cassandraClusters/cluster1/dataCenters/dc1
```
func GetCassandraDatacenter ¶ added in v4.26.0
func GetCassandraDatacenter(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CassandraDatacenterState, opts ...pulumi.ResourceOption) (*CassandraDatacenter, error)
GetCassandraDatacenter gets an existing CassandraDatacenter 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 NewCassandraDatacenter ¶ added in v4.26.0
func NewCassandraDatacenter(ctx *pulumi.Context, name string, args *CassandraDatacenterArgs, opts ...pulumi.ResourceOption) (*CassandraDatacenter, error)
NewCassandraDatacenter registers a new resource with the given unique name, arguments, and options.
func (*CassandraDatacenter) ElementType ¶ added in v4.26.0
func (*CassandraDatacenter) ElementType() reflect.Type
func (*CassandraDatacenter) ToCassandraDatacenterOutput ¶ added in v4.26.0
func (i *CassandraDatacenter) ToCassandraDatacenterOutput() CassandraDatacenterOutput
func (*CassandraDatacenter) ToCassandraDatacenterOutputWithContext ¶ added in v4.26.0
func (i *CassandraDatacenter) ToCassandraDatacenterOutputWithContext(ctx context.Context) CassandraDatacenterOutput
type CassandraDatacenterArgs ¶ added in v4.26.0
type CassandraDatacenterArgs struct { // Determines whether availability zones are enabled. Defaults to `true`. AvailabilityZonesEnabled pulumi.BoolPtrInput // The ID of the Cassandra Cluster. Changing this forces a new Cassandra Datacenter to be created. CassandraClusterId pulumi.StringInput // The ID of the delegated management subnet for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created. DelegatedManagementSubnetId pulumi.StringInput // Determines the number of p30 disks that are attached to each node. Defaults to `4`. DiskCount pulumi.IntPtrInput // The Azure Region where the Cassandra Datacenter should exist. Changing this forces a new Cassandra Datacenter to be created. Location pulumi.StringPtrInput // The name which should be used for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created. Name pulumi.StringPtrInput // The number of nodes the Cassandra Datacenter should have. The number should be equal or greater than `3`. Defaults to `3`. NodeCount pulumi.IntPtrInput // Determines the selected sku. Defaults to Standard_DS14_v2. SkuName pulumi.StringPtrInput }
The set of arguments for constructing a CassandraDatacenter resource.
func (CassandraDatacenterArgs) ElementType ¶ added in v4.26.0
func (CassandraDatacenterArgs) ElementType() reflect.Type
type CassandraDatacenterArray ¶ added in v4.26.0
type CassandraDatacenterArray []CassandraDatacenterInput
func (CassandraDatacenterArray) ElementType ¶ added in v4.26.0
func (CassandraDatacenterArray) ElementType() reflect.Type
func (CassandraDatacenterArray) ToCassandraDatacenterArrayOutput ¶ added in v4.26.0
func (i CassandraDatacenterArray) ToCassandraDatacenterArrayOutput() CassandraDatacenterArrayOutput
func (CassandraDatacenterArray) ToCassandraDatacenterArrayOutputWithContext ¶ added in v4.26.0
func (i CassandraDatacenterArray) ToCassandraDatacenterArrayOutputWithContext(ctx context.Context) CassandraDatacenterArrayOutput
type CassandraDatacenterArrayInput ¶ added in v4.26.0
type CassandraDatacenterArrayInput interface { pulumi.Input ToCassandraDatacenterArrayOutput() CassandraDatacenterArrayOutput ToCassandraDatacenterArrayOutputWithContext(context.Context) CassandraDatacenterArrayOutput }
CassandraDatacenterArrayInput is an input type that accepts CassandraDatacenterArray and CassandraDatacenterArrayOutput values. You can construct a concrete instance of `CassandraDatacenterArrayInput` via:
CassandraDatacenterArray{ CassandraDatacenterArgs{...} }
type CassandraDatacenterArrayOutput ¶ added in v4.26.0
type CassandraDatacenterArrayOutput struct{ *pulumi.OutputState }
func (CassandraDatacenterArrayOutput) ElementType ¶ added in v4.26.0
func (CassandraDatacenterArrayOutput) ElementType() reflect.Type
func (CassandraDatacenterArrayOutput) Index ¶ added in v4.26.0
func (o CassandraDatacenterArrayOutput) Index(i pulumi.IntInput) CassandraDatacenterOutput
func (CassandraDatacenterArrayOutput) ToCassandraDatacenterArrayOutput ¶ added in v4.26.0
func (o CassandraDatacenterArrayOutput) ToCassandraDatacenterArrayOutput() CassandraDatacenterArrayOutput
func (CassandraDatacenterArrayOutput) ToCassandraDatacenterArrayOutputWithContext ¶ added in v4.26.0
func (o CassandraDatacenterArrayOutput) ToCassandraDatacenterArrayOutputWithContext(ctx context.Context) CassandraDatacenterArrayOutput
type CassandraDatacenterInput ¶ added in v4.26.0
type CassandraDatacenterInput interface { pulumi.Input ToCassandraDatacenterOutput() CassandraDatacenterOutput ToCassandraDatacenterOutputWithContext(ctx context.Context) CassandraDatacenterOutput }
type CassandraDatacenterMap ¶ added in v4.26.0
type CassandraDatacenterMap map[string]CassandraDatacenterInput
func (CassandraDatacenterMap) ElementType ¶ added in v4.26.0
func (CassandraDatacenterMap) ElementType() reflect.Type
func (CassandraDatacenterMap) ToCassandraDatacenterMapOutput ¶ added in v4.26.0
func (i CassandraDatacenterMap) ToCassandraDatacenterMapOutput() CassandraDatacenterMapOutput
func (CassandraDatacenterMap) ToCassandraDatacenterMapOutputWithContext ¶ added in v4.26.0
func (i CassandraDatacenterMap) ToCassandraDatacenterMapOutputWithContext(ctx context.Context) CassandraDatacenterMapOutput
type CassandraDatacenterMapInput ¶ added in v4.26.0
type CassandraDatacenterMapInput interface { pulumi.Input ToCassandraDatacenterMapOutput() CassandraDatacenterMapOutput ToCassandraDatacenterMapOutputWithContext(context.Context) CassandraDatacenterMapOutput }
CassandraDatacenterMapInput is an input type that accepts CassandraDatacenterMap and CassandraDatacenterMapOutput values. You can construct a concrete instance of `CassandraDatacenterMapInput` via:
CassandraDatacenterMap{ "key": CassandraDatacenterArgs{...} }
type CassandraDatacenterMapOutput ¶ added in v4.26.0
type CassandraDatacenterMapOutput struct{ *pulumi.OutputState }
func (CassandraDatacenterMapOutput) ElementType ¶ added in v4.26.0
func (CassandraDatacenterMapOutput) ElementType() reflect.Type
func (CassandraDatacenterMapOutput) MapIndex ¶ added in v4.26.0
func (o CassandraDatacenterMapOutput) MapIndex(k pulumi.StringInput) CassandraDatacenterOutput
func (CassandraDatacenterMapOutput) ToCassandraDatacenterMapOutput ¶ added in v4.26.0
func (o CassandraDatacenterMapOutput) ToCassandraDatacenterMapOutput() CassandraDatacenterMapOutput
func (CassandraDatacenterMapOutput) ToCassandraDatacenterMapOutputWithContext ¶ added in v4.26.0
func (o CassandraDatacenterMapOutput) ToCassandraDatacenterMapOutputWithContext(ctx context.Context) CassandraDatacenterMapOutput
type CassandraDatacenterOutput ¶ added in v4.26.0
type CassandraDatacenterOutput struct{ *pulumi.OutputState }
func (CassandraDatacenterOutput) ElementType ¶ added in v4.26.0
func (CassandraDatacenterOutput) ElementType() reflect.Type
func (CassandraDatacenterOutput) ToCassandraDatacenterOutput ¶ added in v4.26.0
func (o CassandraDatacenterOutput) ToCassandraDatacenterOutput() CassandraDatacenterOutput
func (CassandraDatacenterOutput) ToCassandraDatacenterOutputWithContext ¶ added in v4.26.0
func (o CassandraDatacenterOutput) ToCassandraDatacenterOutputWithContext(ctx context.Context) CassandraDatacenterOutput
type CassandraDatacenterState ¶ added in v4.26.0
type CassandraDatacenterState struct { // Determines whether availability zones are enabled. Defaults to `true`. AvailabilityZonesEnabled pulumi.BoolPtrInput // The ID of the Cassandra Cluster. Changing this forces a new Cassandra Datacenter to be created. CassandraClusterId pulumi.StringPtrInput // The ID of the delegated management subnet for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created. DelegatedManagementSubnetId pulumi.StringPtrInput // Determines the number of p30 disks that are attached to each node. Defaults to `4`. DiskCount pulumi.IntPtrInput // The Azure Region where the Cassandra Datacenter should exist. Changing this forces a new Cassandra Datacenter to be created. Location pulumi.StringPtrInput // The name which should be used for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created. Name pulumi.StringPtrInput // The number of nodes the Cassandra Datacenter should have. The number should be equal or greater than `3`. Defaults to `3`. NodeCount pulumi.IntPtrInput // Determines the selected sku. Defaults to Standard_DS14_v2. SkuName pulumi.StringPtrInput }
func (CassandraDatacenterState) ElementType ¶ added in v4.26.0
func (CassandraDatacenterState) ElementType() reflect.Type
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
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
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
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
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 GetRestorableDatabaseAccountsAccount ¶ added in v4.32.0
type GetRestorableDatabaseAccountsAccount struct { // The API type of the Cosmos DB Restorable Database Account. ApiType string `pulumi:"apiType"` // The creation time of the regional Cosmos DB Restorable Database Account. CreationTime string `pulumi:"creationTime"` // The deletion time of the regional Cosmos DB Restorable Database Account. DeletionTime string `pulumi:"deletionTime"` // The ID of the Cosmos DB Restorable Database Account. Id string `pulumi:"id"` // One or more `restorableLocations` blocks as defined below. RestorableLocations []GetRestorableDatabaseAccountsAccountRestorableLocation `pulumi:"restorableLocations"` }
type GetRestorableDatabaseAccountsAccountArgs ¶ added in v4.32.0
type GetRestorableDatabaseAccountsAccountArgs struct { // The API type of the Cosmos DB Restorable Database Account. ApiType pulumi.StringInput `pulumi:"apiType"` // The creation time of the regional Cosmos DB Restorable Database Account. CreationTime pulumi.StringInput `pulumi:"creationTime"` // The deletion time of the regional Cosmos DB Restorable Database Account. DeletionTime pulumi.StringInput `pulumi:"deletionTime"` // The ID of the Cosmos DB Restorable Database Account. Id pulumi.StringInput `pulumi:"id"` // One or more `restorableLocations` blocks as defined below. RestorableLocations GetRestorableDatabaseAccountsAccountRestorableLocationArrayInput `pulumi:"restorableLocations"` }
func (GetRestorableDatabaseAccountsAccountArgs) ElementType ¶ added in v4.32.0
func (GetRestorableDatabaseAccountsAccountArgs) ElementType() reflect.Type
func (GetRestorableDatabaseAccountsAccountArgs) ToGetRestorableDatabaseAccountsAccountOutput ¶ added in v4.32.0
func (i GetRestorableDatabaseAccountsAccountArgs) ToGetRestorableDatabaseAccountsAccountOutput() GetRestorableDatabaseAccountsAccountOutput
func (GetRestorableDatabaseAccountsAccountArgs) ToGetRestorableDatabaseAccountsAccountOutputWithContext ¶ added in v4.32.0
func (i GetRestorableDatabaseAccountsAccountArgs) ToGetRestorableDatabaseAccountsAccountOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountOutput
type GetRestorableDatabaseAccountsAccountArray ¶ added in v4.32.0
type GetRestorableDatabaseAccountsAccountArray []GetRestorableDatabaseAccountsAccountInput
func (GetRestorableDatabaseAccountsAccountArray) ElementType ¶ added in v4.32.0
func (GetRestorableDatabaseAccountsAccountArray) ElementType() reflect.Type
func (GetRestorableDatabaseAccountsAccountArray) ToGetRestorableDatabaseAccountsAccountArrayOutput ¶ added in v4.32.0
func (i GetRestorableDatabaseAccountsAccountArray) ToGetRestorableDatabaseAccountsAccountArrayOutput() GetRestorableDatabaseAccountsAccountArrayOutput
func (GetRestorableDatabaseAccountsAccountArray) ToGetRestorableDatabaseAccountsAccountArrayOutputWithContext ¶ added in v4.32.0
func (i GetRestorableDatabaseAccountsAccountArray) ToGetRestorableDatabaseAccountsAccountArrayOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountArrayOutput
type GetRestorableDatabaseAccountsAccountArrayInput ¶ added in v4.32.0
type GetRestorableDatabaseAccountsAccountArrayInput interface { pulumi.Input ToGetRestorableDatabaseAccountsAccountArrayOutput() GetRestorableDatabaseAccountsAccountArrayOutput ToGetRestorableDatabaseAccountsAccountArrayOutputWithContext(context.Context) GetRestorableDatabaseAccountsAccountArrayOutput }
GetRestorableDatabaseAccountsAccountArrayInput is an input type that accepts GetRestorableDatabaseAccountsAccountArray and GetRestorableDatabaseAccountsAccountArrayOutput values. You can construct a concrete instance of `GetRestorableDatabaseAccountsAccountArrayInput` via:
GetRestorableDatabaseAccountsAccountArray{ GetRestorableDatabaseAccountsAccountArgs{...} }
type GetRestorableDatabaseAccountsAccountArrayOutput ¶ added in v4.32.0
type GetRestorableDatabaseAccountsAccountArrayOutput struct{ *pulumi.OutputState }
func (GetRestorableDatabaseAccountsAccountArrayOutput) ElementType ¶ added in v4.32.0
func (GetRestorableDatabaseAccountsAccountArrayOutput) ElementType() reflect.Type
func (GetRestorableDatabaseAccountsAccountArrayOutput) ToGetRestorableDatabaseAccountsAccountArrayOutput ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountArrayOutput) ToGetRestorableDatabaseAccountsAccountArrayOutput() GetRestorableDatabaseAccountsAccountArrayOutput
func (GetRestorableDatabaseAccountsAccountArrayOutput) ToGetRestorableDatabaseAccountsAccountArrayOutputWithContext ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountArrayOutput) ToGetRestorableDatabaseAccountsAccountArrayOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountArrayOutput
type GetRestorableDatabaseAccountsAccountInput ¶ added in v4.32.0
type GetRestorableDatabaseAccountsAccountInput interface { pulumi.Input ToGetRestorableDatabaseAccountsAccountOutput() GetRestorableDatabaseAccountsAccountOutput ToGetRestorableDatabaseAccountsAccountOutputWithContext(context.Context) GetRestorableDatabaseAccountsAccountOutput }
GetRestorableDatabaseAccountsAccountInput is an input type that accepts GetRestorableDatabaseAccountsAccountArgs and GetRestorableDatabaseAccountsAccountOutput values. You can construct a concrete instance of `GetRestorableDatabaseAccountsAccountInput` via:
GetRestorableDatabaseAccountsAccountArgs{...}
type GetRestorableDatabaseAccountsAccountOutput ¶ added in v4.32.0
type GetRestorableDatabaseAccountsAccountOutput struct{ *pulumi.OutputState }
func (GetRestorableDatabaseAccountsAccountOutput) ApiType ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountOutput) ApiType() pulumi.StringOutput
The API type of the Cosmos DB Restorable Database Account.
func (GetRestorableDatabaseAccountsAccountOutput) CreationTime ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountOutput) CreationTime() pulumi.StringOutput
The creation time of the regional Cosmos DB Restorable Database Account.
func (GetRestorableDatabaseAccountsAccountOutput) DeletionTime ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountOutput) DeletionTime() pulumi.StringOutput
The deletion time of the regional Cosmos DB Restorable Database Account.
func (GetRestorableDatabaseAccountsAccountOutput) ElementType ¶ added in v4.32.0
func (GetRestorableDatabaseAccountsAccountOutput) ElementType() reflect.Type
func (GetRestorableDatabaseAccountsAccountOutput) Id ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountOutput) Id() pulumi.StringOutput
The ID of the Cosmos DB Restorable Database Account.
func (GetRestorableDatabaseAccountsAccountOutput) RestorableLocations ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountOutput) RestorableLocations() GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput
One or more `restorableLocations` blocks as defined below.
func (GetRestorableDatabaseAccountsAccountOutput) ToGetRestorableDatabaseAccountsAccountOutput ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountOutput) ToGetRestorableDatabaseAccountsAccountOutput() GetRestorableDatabaseAccountsAccountOutput
func (GetRestorableDatabaseAccountsAccountOutput) ToGetRestorableDatabaseAccountsAccountOutputWithContext ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountOutput) ToGetRestorableDatabaseAccountsAccountOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountOutput
type GetRestorableDatabaseAccountsAccountRestorableLocation ¶ added in v4.32.0
type GetRestorableDatabaseAccountsAccountRestorableLocation struct { // The creation time of the regional Cosmos DB Restorable Database Account. CreationTime string `pulumi:"creationTime"` // The deletion time of the regional Cosmos DB Restorable Database Account. DeletionTime string `pulumi:"deletionTime"` // The location where the Cosmos DB Database Account. Location string `pulumi:"location"` // The instance ID of the regional Cosmos DB Restorable Database Account. RegionalDatabaseAccountInstanceId string `pulumi:"regionalDatabaseAccountInstanceId"` }
type GetRestorableDatabaseAccountsAccountRestorableLocationArgs ¶ added in v4.32.0
type GetRestorableDatabaseAccountsAccountRestorableLocationArgs struct { // The creation time of the regional Cosmos DB Restorable Database Account. CreationTime pulumi.StringInput `pulumi:"creationTime"` // The deletion time of the regional Cosmos DB Restorable Database Account. DeletionTime pulumi.StringInput `pulumi:"deletionTime"` // The location where the Cosmos DB Database Account. Location pulumi.StringInput `pulumi:"location"` // The instance ID of the regional Cosmos DB Restorable Database Account. RegionalDatabaseAccountInstanceId pulumi.StringInput `pulumi:"regionalDatabaseAccountInstanceId"` }
func (GetRestorableDatabaseAccountsAccountRestorableLocationArgs) ElementType ¶ added in v4.32.0
func (GetRestorableDatabaseAccountsAccountRestorableLocationArgs) ElementType() reflect.Type
func (GetRestorableDatabaseAccountsAccountRestorableLocationArgs) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutput ¶ added in v4.32.0
func (i GetRestorableDatabaseAccountsAccountRestorableLocationArgs) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutput() GetRestorableDatabaseAccountsAccountRestorableLocationOutput
func (GetRestorableDatabaseAccountsAccountRestorableLocationArgs) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutputWithContext ¶ added in v4.32.0
func (i GetRestorableDatabaseAccountsAccountRestorableLocationArgs) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountRestorableLocationOutput
type GetRestorableDatabaseAccountsAccountRestorableLocationArray ¶ added in v4.32.0
type GetRestorableDatabaseAccountsAccountRestorableLocationArray []GetRestorableDatabaseAccountsAccountRestorableLocationInput
func (GetRestorableDatabaseAccountsAccountRestorableLocationArray) ElementType ¶ added in v4.32.0
func (GetRestorableDatabaseAccountsAccountRestorableLocationArray) ElementType() reflect.Type
func (GetRestorableDatabaseAccountsAccountRestorableLocationArray) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput ¶ added in v4.32.0
func (i GetRestorableDatabaseAccountsAccountRestorableLocationArray) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput() GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput
func (GetRestorableDatabaseAccountsAccountRestorableLocationArray) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutputWithContext ¶ added in v4.32.0
func (i GetRestorableDatabaseAccountsAccountRestorableLocationArray) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput
type GetRestorableDatabaseAccountsAccountRestorableLocationArrayInput ¶ added in v4.32.0
type GetRestorableDatabaseAccountsAccountRestorableLocationArrayInput interface { pulumi.Input ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput() GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutputWithContext(context.Context) GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput }
GetRestorableDatabaseAccountsAccountRestorableLocationArrayInput is an input type that accepts GetRestorableDatabaseAccountsAccountRestorableLocationArray and GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput values. You can construct a concrete instance of `GetRestorableDatabaseAccountsAccountRestorableLocationArrayInput` via:
GetRestorableDatabaseAccountsAccountRestorableLocationArray{ GetRestorableDatabaseAccountsAccountRestorableLocationArgs{...} }
type GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput ¶ added in v4.32.0
type GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput struct{ *pulumi.OutputState }
func (GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput) ElementType ¶ added in v4.32.0
func (GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput) ElementType() reflect.Type
func (GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput() GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput
func (GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutputWithContext ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput
type GetRestorableDatabaseAccountsAccountRestorableLocationInput ¶ added in v4.32.0
type GetRestorableDatabaseAccountsAccountRestorableLocationInput interface { pulumi.Input ToGetRestorableDatabaseAccountsAccountRestorableLocationOutput() GetRestorableDatabaseAccountsAccountRestorableLocationOutput ToGetRestorableDatabaseAccountsAccountRestorableLocationOutputWithContext(context.Context) GetRestorableDatabaseAccountsAccountRestorableLocationOutput }
GetRestorableDatabaseAccountsAccountRestorableLocationInput is an input type that accepts GetRestorableDatabaseAccountsAccountRestorableLocationArgs and GetRestorableDatabaseAccountsAccountRestorableLocationOutput values. You can construct a concrete instance of `GetRestorableDatabaseAccountsAccountRestorableLocationInput` via:
GetRestorableDatabaseAccountsAccountRestorableLocationArgs{...}
type GetRestorableDatabaseAccountsAccountRestorableLocationOutput ¶ added in v4.32.0
type GetRestorableDatabaseAccountsAccountRestorableLocationOutput struct{ *pulumi.OutputState }
func (GetRestorableDatabaseAccountsAccountRestorableLocationOutput) CreationTime ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountRestorableLocationOutput) CreationTime() pulumi.StringOutput
The creation time of the regional Cosmos DB Restorable Database Account.
func (GetRestorableDatabaseAccountsAccountRestorableLocationOutput) DeletionTime ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountRestorableLocationOutput) DeletionTime() pulumi.StringOutput
The deletion time of the regional Cosmos DB Restorable Database Account.
func (GetRestorableDatabaseAccountsAccountRestorableLocationOutput) ElementType ¶ added in v4.32.0
func (GetRestorableDatabaseAccountsAccountRestorableLocationOutput) ElementType() reflect.Type
func (GetRestorableDatabaseAccountsAccountRestorableLocationOutput) Location ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountRestorableLocationOutput) Location() pulumi.StringOutput
The location where the Cosmos DB Database Account.
func (GetRestorableDatabaseAccountsAccountRestorableLocationOutput) RegionalDatabaseAccountInstanceId ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountRestorableLocationOutput) RegionalDatabaseAccountInstanceId() pulumi.StringOutput
The instance ID of the regional Cosmos DB Restorable Database Account.
func (GetRestorableDatabaseAccountsAccountRestorableLocationOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutput ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountRestorableLocationOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutput() GetRestorableDatabaseAccountsAccountRestorableLocationOutput
func (GetRestorableDatabaseAccountsAccountRestorableLocationOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutputWithContext ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsAccountRestorableLocationOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountRestorableLocationOutput
type GetRestorableDatabaseAccountsArgs ¶ added in v4.32.0
type GetRestorableDatabaseAccountsArgs struct { // The location where the Cosmos DB Database Account. Location string `pulumi:"location"` // The name of this Cosmos DB Database Account. Name string `pulumi:"name"` }
A collection of arguments for invoking getRestorableDatabaseAccounts.
type GetRestorableDatabaseAccountsOutputArgs ¶ added in v4.32.0
type GetRestorableDatabaseAccountsOutputArgs struct { // The location where the Cosmos DB Database Account. Location pulumi.StringInput `pulumi:"location"` // The name of this Cosmos DB Database Account. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getRestorableDatabaseAccounts.
func (GetRestorableDatabaseAccountsOutputArgs) ElementType ¶ added in v4.32.0
func (GetRestorableDatabaseAccountsOutputArgs) ElementType() reflect.Type
type GetRestorableDatabaseAccountsResult ¶ added in v4.32.0
type GetRestorableDatabaseAccountsResult struct { // One or more `accounts` blocks as defined below. Accounts []GetRestorableDatabaseAccountsAccount `pulumi:"accounts"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The location of the regional Cosmos DB Restorable Database Account. Location string `pulumi:"location"` Name string `pulumi:"name"` }
A collection of values returned by getRestorableDatabaseAccounts.
func GetRestorableDatabaseAccounts ¶ added in v4.32.0
func GetRestorableDatabaseAccounts(ctx *pulumi.Context, args *GetRestorableDatabaseAccountsArgs, opts ...pulumi.InvokeOption) (*GetRestorableDatabaseAccountsResult, error)
Use this data source to access information about Cosmos DB Restorable Database Accounts.
## 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 { example, err := cosmosdb.GetRestorableDatabaseAccounts(ctx, &cosmosdb.GetRestorableDatabaseAccountsArgs{ Name: "example-ca", Location: "West Europe", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type GetRestorableDatabaseAccountsResultOutput ¶ added in v4.32.0
type GetRestorableDatabaseAccountsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRestorableDatabaseAccounts.
func GetRestorableDatabaseAccountsOutput ¶ added in v4.32.0
func GetRestorableDatabaseAccountsOutput(ctx *pulumi.Context, args GetRestorableDatabaseAccountsOutputArgs, opts ...pulumi.InvokeOption) GetRestorableDatabaseAccountsResultOutput
func (GetRestorableDatabaseAccountsResultOutput) Accounts ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsResultOutput) Accounts() GetRestorableDatabaseAccountsAccountArrayOutput
One or more `accounts` blocks as defined below.
func (GetRestorableDatabaseAccountsResultOutput) ElementType ¶ added in v4.32.0
func (GetRestorableDatabaseAccountsResultOutput) ElementType() reflect.Type
func (GetRestorableDatabaseAccountsResultOutput) Id ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRestorableDatabaseAccountsResultOutput) Location ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsResultOutput) Location() pulumi.StringOutput
The location of the regional Cosmos DB Restorable Database Account.
func (GetRestorableDatabaseAccountsResultOutput) Name ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsResultOutput) Name() pulumi.StringOutput
func (GetRestorableDatabaseAccountsResultOutput) ToGetRestorableDatabaseAccountsResultOutput ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsResultOutput) ToGetRestorableDatabaseAccountsResultOutput() GetRestorableDatabaseAccountsResultOutput
func (GetRestorableDatabaseAccountsResultOutput) ToGetRestorableDatabaseAccountsResultOutputWithContext ¶ added in v4.32.0
func (o GetRestorableDatabaseAccountsResultOutput) ToGetRestorableDatabaseAccountsResultOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsResultOutput
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
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
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. 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"` // 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 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 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
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. 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 // 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 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 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"` // One or more `compositeIndex` blocks as defined below. CompositeIndices []GremlinGraphIndexPolicyCompositeIndex `pulumi:"compositeIndices"` // 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"` // One or more `spatialIndex` blocks as defined below. SpatialIndices []GremlinGraphIndexPolicySpatialIndex `pulumi:"spatialIndices"` }
type GremlinGraphIndexPolicyArgs ¶
type GremlinGraphIndexPolicyArgs struct { // Indicates if the indexing policy is automatic. Defaults to `true`. Automatic pulumi.BoolPtrInput `pulumi:"automatic"` // One or more `compositeIndex` blocks as defined below. CompositeIndices GremlinGraphIndexPolicyCompositeIndexArrayInput `pulumi:"compositeIndices"` // 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"` // One or more `spatialIndex` blocks as defined below. SpatialIndices GremlinGraphIndexPolicySpatialIndexArrayInput `pulumi:"spatialIndices"` }
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 GremlinGraphIndexPolicyCompositeIndex ¶ added in v4.7.0
type GremlinGraphIndexPolicyCompositeIndex struct { // One or more `index` blocks as defined below. Indices []GremlinGraphIndexPolicyCompositeIndexIndex `pulumi:"indices"` }
type GremlinGraphIndexPolicyCompositeIndexArgs ¶ added in v4.7.0
type GremlinGraphIndexPolicyCompositeIndexArgs struct { // One or more `index` blocks as defined below. Indices GremlinGraphIndexPolicyCompositeIndexIndexArrayInput `pulumi:"indices"` }
func (GremlinGraphIndexPolicyCompositeIndexArgs) ElementType ¶ added in v4.7.0
func (GremlinGraphIndexPolicyCompositeIndexArgs) ElementType() reflect.Type
func (GremlinGraphIndexPolicyCompositeIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexOutput ¶ added in v4.7.0
func (i GremlinGraphIndexPolicyCompositeIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexOutput() GremlinGraphIndexPolicyCompositeIndexOutput
func (GremlinGraphIndexPolicyCompositeIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexOutputWithContext ¶ added in v4.7.0
func (i GremlinGraphIndexPolicyCompositeIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexOutput
type GremlinGraphIndexPolicyCompositeIndexArray ¶ added in v4.7.0
type GremlinGraphIndexPolicyCompositeIndexArray []GremlinGraphIndexPolicyCompositeIndexInput
func (GremlinGraphIndexPolicyCompositeIndexArray) ElementType ¶ added in v4.7.0
func (GremlinGraphIndexPolicyCompositeIndexArray) ElementType() reflect.Type
func (GremlinGraphIndexPolicyCompositeIndexArray) ToGremlinGraphIndexPolicyCompositeIndexArrayOutput ¶ added in v4.7.0
func (i GremlinGraphIndexPolicyCompositeIndexArray) ToGremlinGraphIndexPolicyCompositeIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexArrayOutput
func (GremlinGraphIndexPolicyCompositeIndexArray) ToGremlinGraphIndexPolicyCompositeIndexArrayOutputWithContext ¶ added in v4.7.0
func (i GremlinGraphIndexPolicyCompositeIndexArray) ToGremlinGraphIndexPolicyCompositeIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexArrayOutput
type GremlinGraphIndexPolicyCompositeIndexArrayInput ¶ added in v4.7.0
type GremlinGraphIndexPolicyCompositeIndexArrayInput interface { pulumi.Input ToGremlinGraphIndexPolicyCompositeIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexArrayOutput ToGremlinGraphIndexPolicyCompositeIndexArrayOutputWithContext(context.Context) GremlinGraphIndexPolicyCompositeIndexArrayOutput }
GremlinGraphIndexPolicyCompositeIndexArrayInput is an input type that accepts GremlinGraphIndexPolicyCompositeIndexArray and GremlinGraphIndexPolicyCompositeIndexArrayOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicyCompositeIndexArrayInput` via:
GremlinGraphIndexPolicyCompositeIndexArray{ GremlinGraphIndexPolicyCompositeIndexArgs{...} }
type GremlinGraphIndexPolicyCompositeIndexArrayOutput ¶ added in v4.7.0
type GremlinGraphIndexPolicyCompositeIndexArrayOutput struct{ *pulumi.OutputState }
func (GremlinGraphIndexPolicyCompositeIndexArrayOutput) ElementType ¶ added in v4.7.0
func (GremlinGraphIndexPolicyCompositeIndexArrayOutput) ElementType() reflect.Type
func (GremlinGraphIndexPolicyCompositeIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexArrayOutput ¶ added in v4.7.0
func (o GremlinGraphIndexPolicyCompositeIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexArrayOutput
func (GremlinGraphIndexPolicyCompositeIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexArrayOutputWithContext ¶ added in v4.7.0
func (o GremlinGraphIndexPolicyCompositeIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexArrayOutput
type GremlinGraphIndexPolicyCompositeIndexIndex ¶ added in v4.7.0
type GremlinGraphIndexPolicyCompositeIndexIndexArgs ¶ added in v4.7.0
type GremlinGraphIndexPolicyCompositeIndexIndexArgs 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 (GremlinGraphIndexPolicyCompositeIndexIndexArgs) ElementType ¶ added in v4.7.0
func (GremlinGraphIndexPolicyCompositeIndexIndexArgs) ElementType() reflect.Type
func (GremlinGraphIndexPolicyCompositeIndexIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexIndexOutput ¶ added in v4.7.0
func (i GremlinGraphIndexPolicyCompositeIndexIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexIndexOutput() GremlinGraphIndexPolicyCompositeIndexIndexOutput
func (GremlinGraphIndexPolicyCompositeIndexIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexIndexOutputWithContext ¶ added in v4.7.0
func (i GremlinGraphIndexPolicyCompositeIndexIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexIndexOutput
type GremlinGraphIndexPolicyCompositeIndexIndexArray ¶ added in v4.7.0
type GremlinGraphIndexPolicyCompositeIndexIndexArray []GremlinGraphIndexPolicyCompositeIndexIndexInput
func (GremlinGraphIndexPolicyCompositeIndexIndexArray) ElementType ¶ added in v4.7.0
func (GremlinGraphIndexPolicyCompositeIndexIndexArray) ElementType() reflect.Type
func (GremlinGraphIndexPolicyCompositeIndexIndexArray) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutput ¶ added in v4.7.0
func (i GremlinGraphIndexPolicyCompositeIndexIndexArray) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput
func (GremlinGraphIndexPolicyCompositeIndexIndexArray) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutputWithContext ¶ added in v4.7.0
func (i GremlinGraphIndexPolicyCompositeIndexIndexArray) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput
type GremlinGraphIndexPolicyCompositeIndexIndexArrayInput ¶ added in v4.7.0
type GremlinGraphIndexPolicyCompositeIndexIndexArrayInput interface { pulumi.Input ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutputWithContext(context.Context) GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput }
GremlinGraphIndexPolicyCompositeIndexIndexArrayInput is an input type that accepts GremlinGraphIndexPolicyCompositeIndexIndexArray and GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicyCompositeIndexIndexArrayInput` via:
GremlinGraphIndexPolicyCompositeIndexIndexArray{ GremlinGraphIndexPolicyCompositeIndexIndexArgs{...} }
type GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput ¶ added in v4.7.0
type GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput struct{ *pulumi.OutputState }
func (GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) ElementType ¶ added in v4.7.0
func (GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) ElementType() reflect.Type
func (GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutput ¶ added in v4.7.0
func (o GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput
func (GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutputWithContext ¶ added in v4.7.0
func (o GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput
type GremlinGraphIndexPolicyCompositeIndexIndexInput ¶ added in v4.7.0
type GremlinGraphIndexPolicyCompositeIndexIndexInput interface { pulumi.Input ToGremlinGraphIndexPolicyCompositeIndexIndexOutput() GremlinGraphIndexPolicyCompositeIndexIndexOutput ToGremlinGraphIndexPolicyCompositeIndexIndexOutputWithContext(context.Context) GremlinGraphIndexPolicyCompositeIndexIndexOutput }
GremlinGraphIndexPolicyCompositeIndexIndexInput is an input type that accepts GremlinGraphIndexPolicyCompositeIndexIndexArgs and GremlinGraphIndexPolicyCompositeIndexIndexOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicyCompositeIndexIndexInput` via:
GremlinGraphIndexPolicyCompositeIndexIndexArgs{...}
type GremlinGraphIndexPolicyCompositeIndexIndexOutput ¶ added in v4.7.0
type GremlinGraphIndexPolicyCompositeIndexIndexOutput struct{ *pulumi.OutputState }
func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) ElementType ¶ added in v4.7.0
func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) ElementType() reflect.Type
func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) Order ¶ added in v4.7.0
func (o GremlinGraphIndexPolicyCompositeIndexIndexOutput) Order() pulumi.StringOutput
Order of the index. Possible values are `Ascending` or `Descending`.
func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) Path ¶ added in v4.7.0
func (o GremlinGraphIndexPolicyCompositeIndexIndexOutput) Path() pulumi.StringOutput
Path for which the indexing behaviour applies to.
func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexOutput ¶ added in v4.7.0
func (o GremlinGraphIndexPolicyCompositeIndexIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexOutput() GremlinGraphIndexPolicyCompositeIndexIndexOutput
func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexOutputWithContext ¶ added in v4.7.0
func (o GremlinGraphIndexPolicyCompositeIndexIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexIndexOutput
type GremlinGraphIndexPolicyCompositeIndexInput ¶ added in v4.7.0
type GremlinGraphIndexPolicyCompositeIndexInput interface { pulumi.Input ToGremlinGraphIndexPolicyCompositeIndexOutput() GremlinGraphIndexPolicyCompositeIndexOutput ToGremlinGraphIndexPolicyCompositeIndexOutputWithContext(context.Context) GremlinGraphIndexPolicyCompositeIndexOutput }
GremlinGraphIndexPolicyCompositeIndexInput is an input type that accepts GremlinGraphIndexPolicyCompositeIndexArgs and GremlinGraphIndexPolicyCompositeIndexOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicyCompositeIndexInput` via:
GremlinGraphIndexPolicyCompositeIndexArgs{...}
type GremlinGraphIndexPolicyCompositeIndexOutput ¶ added in v4.7.0
type GremlinGraphIndexPolicyCompositeIndexOutput struct{ *pulumi.OutputState }
func (GremlinGraphIndexPolicyCompositeIndexOutput) ElementType ¶ added in v4.7.0
func (GremlinGraphIndexPolicyCompositeIndexOutput) ElementType() reflect.Type
func (GremlinGraphIndexPolicyCompositeIndexOutput) Indices ¶ added in v4.7.0
func (o GremlinGraphIndexPolicyCompositeIndexOutput) Indices() GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput
One or more `index` blocks as defined below.
func (GremlinGraphIndexPolicyCompositeIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexOutput ¶ added in v4.7.0
func (o GremlinGraphIndexPolicyCompositeIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexOutput() GremlinGraphIndexPolicyCompositeIndexOutput
func (GremlinGraphIndexPolicyCompositeIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexOutputWithContext ¶ added in v4.7.0
func (o GremlinGraphIndexPolicyCompositeIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexOutput
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) CompositeIndices ¶ added in v4.7.0
func (o GremlinGraphIndexPolicyOutput) CompositeIndices() GremlinGraphIndexPolicyCompositeIndexArrayOutput
One or more `compositeIndex` blocks as defined below.
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) SpatialIndices ¶ added in v4.8.0
func (o GremlinGraphIndexPolicyOutput) SpatialIndices() GremlinGraphIndexPolicySpatialIndexArrayOutput
One or more `spatialIndex` blocks as defined below.
func (GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutput ¶
func (o GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutput() GremlinGraphIndexPolicyOutput
func (GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutputWithContext ¶
func (o GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyOutput
type GremlinGraphIndexPolicySpatialIndex ¶ added in v4.8.0
type GremlinGraphIndexPolicySpatialIndex struct { // Path for which the indexing behaviour applies to. According to the service design, all spatial types including `LineString`, `MultiPolygon`, `Point`, and `Polygon` will be applied to the path. Path string `pulumi:"path"` Types []string `pulumi:"types"` }
type GremlinGraphIndexPolicySpatialIndexArgs ¶ added in v4.8.0
type GremlinGraphIndexPolicySpatialIndexArgs struct { // Path for which the indexing behaviour applies to. According to the service design, all spatial types including `LineString`, `MultiPolygon`, `Point`, and `Polygon` will be applied to the path. Path pulumi.StringInput `pulumi:"path"` Types pulumi.StringArrayInput `pulumi:"types"` }
func (GremlinGraphIndexPolicySpatialIndexArgs) ElementType ¶ added in v4.8.0
func (GremlinGraphIndexPolicySpatialIndexArgs) ElementType() reflect.Type
func (GremlinGraphIndexPolicySpatialIndexArgs) ToGremlinGraphIndexPolicySpatialIndexOutput ¶ added in v4.8.0
func (i GremlinGraphIndexPolicySpatialIndexArgs) ToGremlinGraphIndexPolicySpatialIndexOutput() GremlinGraphIndexPolicySpatialIndexOutput
func (GremlinGraphIndexPolicySpatialIndexArgs) ToGremlinGraphIndexPolicySpatialIndexOutputWithContext ¶ added in v4.8.0
func (i GremlinGraphIndexPolicySpatialIndexArgs) ToGremlinGraphIndexPolicySpatialIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicySpatialIndexOutput
type GremlinGraphIndexPolicySpatialIndexArray ¶ added in v4.8.0
type GremlinGraphIndexPolicySpatialIndexArray []GremlinGraphIndexPolicySpatialIndexInput
func (GremlinGraphIndexPolicySpatialIndexArray) ElementType ¶ added in v4.8.0
func (GremlinGraphIndexPolicySpatialIndexArray) ElementType() reflect.Type
func (GremlinGraphIndexPolicySpatialIndexArray) ToGremlinGraphIndexPolicySpatialIndexArrayOutput ¶ added in v4.8.0
func (i GremlinGraphIndexPolicySpatialIndexArray) ToGremlinGraphIndexPolicySpatialIndexArrayOutput() GremlinGraphIndexPolicySpatialIndexArrayOutput
func (GremlinGraphIndexPolicySpatialIndexArray) ToGremlinGraphIndexPolicySpatialIndexArrayOutputWithContext ¶ added in v4.8.0
func (i GremlinGraphIndexPolicySpatialIndexArray) ToGremlinGraphIndexPolicySpatialIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicySpatialIndexArrayOutput
type GremlinGraphIndexPolicySpatialIndexArrayInput ¶ added in v4.8.0
type GremlinGraphIndexPolicySpatialIndexArrayInput interface { pulumi.Input ToGremlinGraphIndexPolicySpatialIndexArrayOutput() GremlinGraphIndexPolicySpatialIndexArrayOutput ToGremlinGraphIndexPolicySpatialIndexArrayOutputWithContext(context.Context) GremlinGraphIndexPolicySpatialIndexArrayOutput }
GremlinGraphIndexPolicySpatialIndexArrayInput is an input type that accepts GremlinGraphIndexPolicySpatialIndexArray and GremlinGraphIndexPolicySpatialIndexArrayOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicySpatialIndexArrayInput` via:
GremlinGraphIndexPolicySpatialIndexArray{ GremlinGraphIndexPolicySpatialIndexArgs{...} }
type GremlinGraphIndexPolicySpatialIndexArrayOutput ¶ added in v4.8.0
type GremlinGraphIndexPolicySpatialIndexArrayOutput struct{ *pulumi.OutputState }
func (GremlinGraphIndexPolicySpatialIndexArrayOutput) ElementType ¶ added in v4.8.0
func (GremlinGraphIndexPolicySpatialIndexArrayOutput) ElementType() reflect.Type
func (GremlinGraphIndexPolicySpatialIndexArrayOutput) ToGremlinGraphIndexPolicySpatialIndexArrayOutput ¶ added in v4.8.0
func (o GremlinGraphIndexPolicySpatialIndexArrayOutput) ToGremlinGraphIndexPolicySpatialIndexArrayOutput() GremlinGraphIndexPolicySpatialIndexArrayOutput
func (GremlinGraphIndexPolicySpatialIndexArrayOutput) ToGremlinGraphIndexPolicySpatialIndexArrayOutputWithContext ¶ added in v4.8.0
func (o GremlinGraphIndexPolicySpatialIndexArrayOutput) ToGremlinGraphIndexPolicySpatialIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicySpatialIndexArrayOutput
type GremlinGraphIndexPolicySpatialIndexInput ¶ added in v4.8.0
type GremlinGraphIndexPolicySpatialIndexInput interface { pulumi.Input ToGremlinGraphIndexPolicySpatialIndexOutput() GremlinGraphIndexPolicySpatialIndexOutput ToGremlinGraphIndexPolicySpatialIndexOutputWithContext(context.Context) GremlinGraphIndexPolicySpatialIndexOutput }
GremlinGraphIndexPolicySpatialIndexInput is an input type that accepts GremlinGraphIndexPolicySpatialIndexArgs and GremlinGraphIndexPolicySpatialIndexOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicySpatialIndexInput` via:
GremlinGraphIndexPolicySpatialIndexArgs{...}
type GremlinGraphIndexPolicySpatialIndexOutput ¶ added in v4.8.0
type GremlinGraphIndexPolicySpatialIndexOutput struct{ *pulumi.OutputState }
func (GremlinGraphIndexPolicySpatialIndexOutput) ElementType ¶ added in v4.8.0
func (GremlinGraphIndexPolicySpatialIndexOutput) ElementType() reflect.Type
func (GremlinGraphIndexPolicySpatialIndexOutput) Path ¶ added in v4.8.0
func (o GremlinGraphIndexPolicySpatialIndexOutput) Path() pulumi.StringOutput
Path for which the indexing behaviour applies to. According to the service design, all spatial types including `LineString`, `MultiPolygon`, `Point`, and `Polygon` will be applied to the path.
func (GremlinGraphIndexPolicySpatialIndexOutput) ToGremlinGraphIndexPolicySpatialIndexOutput ¶ added in v4.8.0
func (o GremlinGraphIndexPolicySpatialIndexOutput) ToGremlinGraphIndexPolicySpatialIndexOutput() GremlinGraphIndexPolicySpatialIndexOutput
func (GremlinGraphIndexPolicySpatialIndexOutput) ToGremlinGraphIndexPolicySpatialIndexOutputWithContext ¶ added in v4.8.0
func (o GremlinGraphIndexPolicySpatialIndexOutput) ToGremlinGraphIndexPolicySpatialIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicySpatialIndexOutput
func (GremlinGraphIndexPolicySpatialIndexOutput) Types ¶ added in v4.8.0
func (o GremlinGraphIndexPolicySpatialIndexOutput) Types() pulumi.StringArrayOutput
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
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. 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 // 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 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 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 LookupAccountOutputArgs ¶ added in v4.20.0
type LookupAccountOutputArgs struct { // Specifies the name of the CosmosDB Account. Name pulumi.StringInput `pulumi:"name"` // Specifies the name of the resource group in which the CosmosDB Account resides. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getAccount.
func (LookupAccountOutputArgs) ElementType ¶ added in v4.20.0
func (LookupAccountOutputArgs) ElementType() reflect.Type
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 multiple write locations are 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 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 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 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 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 { example, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{ Name: "tfex-cosmosdb-account", ResourceGroupName: "tfex-cosmosdb-account-rg", }, nil) if err != nil { return err } ctx.Export("cosmosdbAccountEndpoint", example.Endpoint) return nil }) }
```
type LookupAccountResultOutput ¶ added in v4.20.0
type LookupAccountResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAccount.
func LookupAccountOutput ¶ added in v4.20.0
func LookupAccountOutput(ctx *pulumi.Context, args LookupAccountOutputArgs, opts ...pulumi.InvokeOption) LookupAccountResultOutput
func (LookupAccountResultOutput) Capabilities ¶ added in v4.20.0
func (o LookupAccountResultOutput) Capabilities() GetAccountCapabilityArrayOutput
Capabilities enabled on this Cosmos DB account.
func (LookupAccountResultOutput) ConsistencyPolicies ¶ added in v4.20.0
func (o LookupAccountResultOutput) ConsistencyPolicies() GetAccountConsistencyPolicyArrayOutput
func (LookupAccountResultOutput) ElementType ¶ added in v4.20.0
func (LookupAccountResultOutput) ElementType() reflect.Type
func (LookupAccountResultOutput) EnableAutomaticFailover ¶ added in v4.20.0
func (o LookupAccountResultOutput) EnableAutomaticFailover() pulumi.BoolOutput
If automatic failover is enabled for this CosmosDB Account.
func (LookupAccountResultOutput) EnableFreeTier ¶ added in v4.20.0
func (o LookupAccountResultOutput) EnableFreeTier() pulumi.BoolOutput
If Free Tier pricing option is enabled for this CosmosDB Account.
func (LookupAccountResultOutput) EnableMultipleWriteLocations ¶ added in v4.20.0
func (o LookupAccountResultOutput) EnableMultipleWriteLocations() pulumi.BoolOutput
If multiple write locations are enabled for this Cosmos DB account.
func (LookupAccountResultOutput) Endpoint ¶ added in v4.20.0
func (o LookupAccountResultOutput) Endpoint() pulumi.StringOutput
The endpoint used to connect to the CosmosDB account.
func (LookupAccountResultOutput) GeoLocations ¶ added in v4.20.0
func (o LookupAccountResultOutput) GeoLocations() GetAccountGeoLocationArrayOutput
func (LookupAccountResultOutput) Id ¶ added in v4.20.0
func (o LookupAccountResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAccountResultOutput) IpRangeFilter ¶ added in v4.20.0
func (o LookupAccountResultOutput) IpRangeFilter() pulumi.StringOutput
The current IP Filter for this CosmosDB account
func (LookupAccountResultOutput) IsVirtualNetworkFilterEnabled ¶ added in v4.20.0
func (o LookupAccountResultOutput) IsVirtualNetworkFilterEnabled() pulumi.BoolOutput
If virtual network filtering is enabled for this Cosmos DB account.
func (LookupAccountResultOutput) KeyVaultKeyId ¶ added in v4.20.0
func (o LookupAccountResultOutput) KeyVaultKeyId() pulumi.StringOutput
The Key Vault key URI for CMK encryption.
func (LookupAccountResultOutput) Kind ¶ added in v4.20.0
func (o LookupAccountResultOutput) Kind() pulumi.StringOutput
The Kind of the CosmosDB account.
func (LookupAccountResultOutput) Location ¶ added in v4.20.0
func (o LookupAccountResultOutput) Location() pulumi.StringOutput
The name of the Azure region hosting replicated data.
func (LookupAccountResultOutput) Name ¶ added in v4.20.0
func (o LookupAccountResultOutput) Name() pulumi.StringOutput
func (LookupAccountResultOutput) OfferType ¶ added in v4.20.0
func (o LookupAccountResultOutput) OfferType() pulumi.StringOutput
The Offer Type to used by this CosmosDB Account.
func (LookupAccountResultOutput) PrimaryKey ¶ added in v4.20.0
func (o LookupAccountResultOutput) PrimaryKey() pulumi.StringOutput
The Primary key for the CosmosDB Account.
func (LookupAccountResultOutput) PrimaryMasterKey
deprecated
added in
v4.20.0
func (o LookupAccountResultOutput) PrimaryMasterKey() pulumi.StringOutput
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
func (LookupAccountResultOutput) PrimaryReadonlyKey ¶ added in v4.20.0
func (o LookupAccountResultOutput) PrimaryReadonlyKey() pulumi.StringOutput
The Primary read-only Key for the CosmosDB Account.
func (LookupAccountResultOutput) PrimaryReadonlyMasterKey
deprecated
added in
v4.20.0
func (o LookupAccountResultOutput) PrimaryReadonlyMasterKey() pulumi.StringOutput
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
func (LookupAccountResultOutput) ReadEndpoints ¶ added in v4.20.0
func (o LookupAccountResultOutput) ReadEndpoints() pulumi.StringArrayOutput
A list of read endpoints available for this CosmosDB account.
func (LookupAccountResultOutput) ResourceGroupName ¶ added in v4.20.0
func (o LookupAccountResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupAccountResultOutput) SecondaryKey ¶ added in v4.20.0
func (o LookupAccountResultOutput) SecondaryKey() pulumi.StringOutput
The Secondary key for the CosmosDB Account.
func (LookupAccountResultOutput) SecondaryMasterKey
deprecated
added in
v4.20.0
func (o LookupAccountResultOutput) SecondaryMasterKey() pulumi.StringOutput
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
func (LookupAccountResultOutput) SecondaryReadonlyKey ¶ added in v4.20.0
func (o LookupAccountResultOutput) SecondaryReadonlyKey() pulumi.StringOutput
The Secondary read-only key for the CosmosDB Account.
func (LookupAccountResultOutput) SecondaryReadonlyMasterKey
deprecated
added in
v4.20.0
func (o LookupAccountResultOutput) SecondaryReadonlyMasterKey() pulumi.StringOutput
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
func (LookupAccountResultOutput) Tags ¶ added in v4.20.0
func (o LookupAccountResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (LookupAccountResultOutput) ToLookupAccountResultOutput ¶ added in v4.20.0
func (o LookupAccountResultOutput) ToLookupAccountResultOutput() LookupAccountResultOutput
func (LookupAccountResultOutput) ToLookupAccountResultOutputWithContext ¶ added in v4.20.0
func (o LookupAccountResultOutput) ToLookupAccountResultOutputWithContext(ctx context.Context) LookupAccountResultOutput
func (LookupAccountResultOutput) VirtualNetworkRules ¶ added in v4.20.0
func (o LookupAccountResultOutput) VirtualNetworkRules() GetAccountVirtualNetworkRuleArrayOutput
Subnets that are allowed to access this CosmosDB account.
func (LookupAccountResultOutput) WriteEndpoints ¶ added in v4.20.0
func (o LookupAccountResultOutput) WriteEndpoints() pulumi.StringArrayOutput
A list of write endpoints available for this CosmosDB account.
type LookupMongoDatabaseArgs ¶ added in v4.17.0
type LookupMongoDatabaseArgs struct { // The name of the Cosmos DB Account where the Mongo Database exists. AccountName string `pulumi:"accountName"` // The name of this Cosmos DB Mongo Database. Name string `pulumi:"name"` // The name of the Resource Group where the Cosmos DB Mongo Database exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getMongoDatabase.
type LookupMongoDatabaseOutputArgs ¶ added in v4.20.0
type LookupMongoDatabaseOutputArgs struct { // The name of the Cosmos DB Account where the Mongo Database exists. AccountName pulumi.StringInput `pulumi:"accountName"` // The name of this Cosmos DB Mongo Database. Name pulumi.StringInput `pulumi:"name"` // The name of the Resource Group where the Cosmos DB Mongo Database exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getMongoDatabase.
func (LookupMongoDatabaseOutputArgs) ElementType ¶ added in v4.20.0
func (LookupMongoDatabaseOutputArgs) ElementType() reflect.Type
type LookupMongoDatabaseResult ¶ added in v4.17.0
type LookupMongoDatabaseResult struct { AccountName string `pulumi:"accountName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the Cosmos DB Mongo Database. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getMongoDatabase.
func LookupMongoDatabase ¶ added in v4.17.0
func LookupMongoDatabase(ctx *pulumi.Context, args *LookupMongoDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupMongoDatabaseResult, error)
Use this data source to access information about an existing Cosmos DB Mongo 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 { example, err := cosmosdb.LookupMongoDatabase(ctx, &cosmosdb.LookupMongoDatabaseArgs{ Name: "test-cosmosdb-mongo-db", ResourceGroupName: "test-cosmosdb-account-rg", AccountName: "test-cosmosdb-account", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupMongoDatabaseResultOutput ¶ added in v4.20.0
type LookupMongoDatabaseResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getMongoDatabase.
func LookupMongoDatabaseOutput ¶ added in v4.20.0
func LookupMongoDatabaseOutput(ctx *pulumi.Context, args LookupMongoDatabaseOutputArgs, opts ...pulumi.InvokeOption) LookupMongoDatabaseResultOutput
func (LookupMongoDatabaseResultOutput) AccountName ¶ added in v4.20.0
func (o LookupMongoDatabaseResultOutput) AccountName() pulumi.StringOutput
func (LookupMongoDatabaseResultOutput) ElementType ¶ added in v4.20.0
func (LookupMongoDatabaseResultOutput) ElementType() reflect.Type
func (LookupMongoDatabaseResultOutput) Id ¶ added in v4.20.0
func (o LookupMongoDatabaseResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupMongoDatabaseResultOutput) Name ¶ added in v4.20.0
func (o LookupMongoDatabaseResultOutput) Name() pulumi.StringOutput
func (LookupMongoDatabaseResultOutput) ResourceGroupName ¶ added in v4.20.0
func (o LookupMongoDatabaseResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupMongoDatabaseResultOutput) Tags ¶ added in v4.20.0
func (o LookupMongoDatabaseResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the Cosmos DB Mongo Database.
func (LookupMongoDatabaseResultOutput) ToLookupMongoDatabaseResultOutput ¶ added in v4.20.0
func (o LookupMongoDatabaseResultOutput) ToLookupMongoDatabaseResultOutput() LookupMongoDatabaseResultOutput
func (LookupMongoDatabaseResultOutput) ToLookupMongoDatabaseResultOutputWithContext ¶ added in v4.20.0
func (o LookupMongoDatabaseResultOutput) ToLookupMongoDatabaseResultOutputWithContext(ctx context.Context) LookupMongoDatabaseResultOutput
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 destroy/create. 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 destroy/create. 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), Indices: cosmosdb.MongoCollectionIndexArray{ &cosmosdb.MongoCollectionIndexArgs{ Keys: pulumi.StringArray{ pulumi.String("_id"), }, Unique: pulumi.Bool(true), }, }, }) 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
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 destroy/create. 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 destroy/create. 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
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 destroy/create. 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 destroy/create. 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
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
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
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
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
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"` // One or more `spatialIndex` blocks as defined below. SpatialIndices []SqlContainerIndexingPolicySpatialIndex `pulumi:"spatialIndices"` }
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"` // One or more `spatialIndex` blocks as defined below. SpatialIndices SqlContainerIndexingPolicySpatialIndexArrayInput `pulumi:"spatialIndices"` }
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) SpatialIndices ¶ added in v4.8.0
func (o SqlContainerIndexingPolicyOutput) SpatialIndices() SqlContainerIndexingPolicySpatialIndexArrayOutput
One or more `spatialIndex` blocks as defined below.
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) SpatialIndices ¶ added in v4.8.0
func (o SqlContainerIndexingPolicyPtrOutput) SpatialIndices() SqlContainerIndexingPolicySpatialIndexArrayOutput
One or more `spatialIndex` blocks as defined below.
func (SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutput ¶
func (o SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutput() SqlContainerIndexingPolicyPtrOutput
func (SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutputWithContext ¶
func (o SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyPtrOutput
type SqlContainerIndexingPolicySpatialIndex ¶ added in v4.8.0
type SqlContainerIndexingPolicySpatialIndex struct { // Path for which the indexing behaviour applies to. According to the service design, all spatial types including `LineString`, `MultiPolygon`, `Point`, and `Polygon` will be applied to the path. Path string `pulumi:"path"` // A set of spatial types of the path. Types []string `pulumi:"types"` }
type SqlContainerIndexingPolicySpatialIndexArgs ¶ added in v4.8.0
type SqlContainerIndexingPolicySpatialIndexArgs struct { // Path for which the indexing behaviour applies to. According to the service design, all spatial types including `LineString`, `MultiPolygon`, `Point`, and `Polygon` will be applied to the path. Path pulumi.StringInput `pulumi:"path"` // A set of spatial types of the path. Types pulumi.StringArrayInput `pulumi:"types"` }
func (SqlContainerIndexingPolicySpatialIndexArgs) ElementType ¶ added in v4.8.0
func (SqlContainerIndexingPolicySpatialIndexArgs) ElementType() reflect.Type
func (SqlContainerIndexingPolicySpatialIndexArgs) ToSqlContainerIndexingPolicySpatialIndexOutput ¶ added in v4.8.0
func (i SqlContainerIndexingPolicySpatialIndexArgs) ToSqlContainerIndexingPolicySpatialIndexOutput() SqlContainerIndexingPolicySpatialIndexOutput
func (SqlContainerIndexingPolicySpatialIndexArgs) ToSqlContainerIndexingPolicySpatialIndexOutputWithContext ¶ added in v4.8.0
func (i SqlContainerIndexingPolicySpatialIndexArgs) ToSqlContainerIndexingPolicySpatialIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicySpatialIndexOutput
type SqlContainerIndexingPolicySpatialIndexArray ¶ added in v4.8.0
type SqlContainerIndexingPolicySpatialIndexArray []SqlContainerIndexingPolicySpatialIndexInput
func (SqlContainerIndexingPolicySpatialIndexArray) ElementType ¶ added in v4.8.0
func (SqlContainerIndexingPolicySpatialIndexArray) ElementType() reflect.Type
func (SqlContainerIndexingPolicySpatialIndexArray) ToSqlContainerIndexingPolicySpatialIndexArrayOutput ¶ added in v4.8.0
func (i SqlContainerIndexingPolicySpatialIndexArray) ToSqlContainerIndexingPolicySpatialIndexArrayOutput() SqlContainerIndexingPolicySpatialIndexArrayOutput
func (SqlContainerIndexingPolicySpatialIndexArray) ToSqlContainerIndexingPolicySpatialIndexArrayOutputWithContext ¶ added in v4.8.0
func (i SqlContainerIndexingPolicySpatialIndexArray) ToSqlContainerIndexingPolicySpatialIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicySpatialIndexArrayOutput
type SqlContainerIndexingPolicySpatialIndexArrayInput ¶ added in v4.8.0
type SqlContainerIndexingPolicySpatialIndexArrayInput interface { pulumi.Input ToSqlContainerIndexingPolicySpatialIndexArrayOutput() SqlContainerIndexingPolicySpatialIndexArrayOutput ToSqlContainerIndexingPolicySpatialIndexArrayOutputWithContext(context.Context) SqlContainerIndexingPolicySpatialIndexArrayOutput }
SqlContainerIndexingPolicySpatialIndexArrayInput is an input type that accepts SqlContainerIndexingPolicySpatialIndexArray and SqlContainerIndexingPolicySpatialIndexArrayOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicySpatialIndexArrayInput` via:
SqlContainerIndexingPolicySpatialIndexArray{ SqlContainerIndexingPolicySpatialIndexArgs{...} }
type SqlContainerIndexingPolicySpatialIndexArrayOutput ¶ added in v4.8.0
type SqlContainerIndexingPolicySpatialIndexArrayOutput struct{ *pulumi.OutputState }
func (SqlContainerIndexingPolicySpatialIndexArrayOutput) ElementType ¶ added in v4.8.0
func (SqlContainerIndexingPolicySpatialIndexArrayOutput) ElementType() reflect.Type
func (SqlContainerIndexingPolicySpatialIndexArrayOutput) ToSqlContainerIndexingPolicySpatialIndexArrayOutput ¶ added in v4.8.0
func (o SqlContainerIndexingPolicySpatialIndexArrayOutput) ToSqlContainerIndexingPolicySpatialIndexArrayOutput() SqlContainerIndexingPolicySpatialIndexArrayOutput
func (SqlContainerIndexingPolicySpatialIndexArrayOutput) ToSqlContainerIndexingPolicySpatialIndexArrayOutputWithContext ¶ added in v4.8.0
func (o SqlContainerIndexingPolicySpatialIndexArrayOutput) ToSqlContainerIndexingPolicySpatialIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicySpatialIndexArrayOutput
type SqlContainerIndexingPolicySpatialIndexInput ¶ added in v4.8.0
type SqlContainerIndexingPolicySpatialIndexInput interface { pulumi.Input ToSqlContainerIndexingPolicySpatialIndexOutput() SqlContainerIndexingPolicySpatialIndexOutput ToSqlContainerIndexingPolicySpatialIndexOutputWithContext(context.Context) SqlContainerIndexingPolicySpatialIndexOutput }
SqlContainerIndexingPolicySpatialIndexInput is an input type that accepts SqlContainerIndexingPolicySpatialIndexArgs and SqlContainerIndexingPolicySpatialIndexOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicySpatialIndexInput` via:
SqlContainerIndexingPolicySpatialIndexArgs{...}
type SqlContainerIndexingPolicySpatialIndexOutput ¶ added in v4.8.0
type SqlContainerIndexingPolicySpatialIndexOutput struct{ *pulumi.OutputState }
func (SqlContainerIndexingPolicySpatialIndexOutput) ElementType ¶ added in v4.8.0
func (SqlContainerIndexingPolicySpatialIndexOutput) ElementType() reflect.Type
func (SqlContainerIndexingPolicySpatialIndexOutput) Path ¶ added in v4.8.0
func (o SqlContainerIndexingPolicySpatialIndexOutput) Path() pulumi.StringOutput
Path for which the indexing behaviour applies to. According to the service design, all spatial types including `LineString`, `MultiPolygon`, `Point`, and `Polygon` will be applied to the path.
func (SqlContainerIndexingPolicySpatialIndexOutput) ToSqlContainerIndexingPolicySpatialIndexOutput ¶ added in v4.8.0
func (o SqlContainerIndexingPolicySpatialIndexOutput) ToSqlContainerIndexingPolicySpatialIndexOutput() SqlContainerIndexingPolicySpatialIndexOutput
func (SqlContainerIndexingPolicySpatialIndexOutput) ToSqlContainerIndexingPolicySpatialIndexOutputWithContext ¶ added in v4.8.0
func (o SqlContainerIndexingPolicySpatialIndexOutput) ToSqlContainerIndexingPolicySpatialIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicySpatialIndexOutput
func (SqlContainerIndexingPolicySpatialIndexOutput) Types ¶ added in v4.8.0
func (o SqlContainerIndexingPolicySpatialIndexOutput) Types() pulumi.StringArrayOutput
A set of spatial types of the path.
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
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
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
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 of the User Defined Function. Body pulumi.StringOutput `pulumi:"body"` // The id of the Cosmos DB SQL Container to create the SQL User Defined Function within. Changing this forces a new SQL User Defined Function to be created. ContainerId pulumi.StringOutput `pulumi:"containerId"` // The name which should be used for this SQL User Defined Function. Changing this forces a new SQL User Defined Function to be created. Name pulumi.StringOutput `pulumi:"name"` }
Manages an SQL User Defined Function.
## 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.NewSqlFunction(ctx, "exampleSqlFunction", &cosmosdb.SqlFunctionArgs{ ContainerId: exampleSqlContainer.ID(), Body: pulumi.String("function trigger(){}"), }) if err != nil { return err } return nil }) }
```
## Import
SQL User Defined Functions can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/sqlFunction:SqlFunction example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlDatabases/database1/containers/container1/userDefinedFunctions/userDefinedFunction1
```
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
type SqlFunctionArgs ¶ added in v4.2.0
type SqlFunctionArgs struct { // Body of the User Defined Function. Body pulumi.StringInput // The id of the Cosmos DB SQL Container to create the SQL User Defined Function within. Changing this forces a new SQL User Defined Function to be created. ContainerId pulumi.StringInput // The name which should be used for this SQL User Defined Function. Changing this forces a new SQL User Defined Function to be created. 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
type SqlFunctionState ¶ added in v4.2.0
type SqlFunctionState struct { // Body of the User Defined Function. Body pulumi.StringPtrInput // The id of the Cosmos DB SQL Container to create the SQL User Defined Function within. Changing this forces a new SQL User Defined Function to be created. ContainerId pulumi.StringPtrInput // The name which should be used for this SQL User Defined Function. Changing this forces a new SQL User Defined Function to be created. Name pulumi.StringPtrInput }
func (SqlFunctionState) ElementType ¶ added in v4.2.0
func (SqlFunctionState) ElementType() reflect.Type
type SqlRoleAssignment ¶ added in v4.42.0
type SqlRoleAssignment struct { pulumi.CustomResourceState // The name of the Cosmos DB Account. Changing this forces a new resource to be created. AccountName pulumi.StringOutput `pulumi:"accountName"` // The GUID as the name of the Cosmos DB SQL Role Assignment - one will be generated if not specified. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The ID of the Principal (Client) in Azure Active Directory. Changing this forces a new resource to be created. PrincipalId pulumi.StringOutput `pulumi:"principalId"` // The name of the Resource Group in which the Cosmos DB SQL Role Assignment is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The resource ID of the Cosmos DB SQL Role Definition. RoleDefinitionId pulumi.StringOutput `pulumi:"roleDefinitionId"` // The data plane resource path for which access is being granted through this Cosmos DB SQL Role Assignment. Changing this forces a new resource to be created. Scope pulumi.StringOutput `pulumi:"scope"` }
Manages a Cosmos DB SQL Role Assignment.
## Example Usage
```go package main
import (
"fmt" "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 { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } 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("Strong"), }, GeoLocations: cosmosdb.AccountGeoLocationArray{ &cosmosdb.AccountGeoLocationArgs{ Location: exampleResourceGroup.Location, FailoverPriority: pulumi.Int(0), }, }, }) if err != nil { return err } exampleSqlRoleDefinition, err := cosmosdb.NewSqlRoleDefinition(ctx, "exampleSqlRoleDefinition", &cosmosdb.SqlRoleDefinitionArgs{ ResourceGroupName: exampleResourceGroup.Name, AccountName: exampleAccount.Name, Type: pulumi.String("CustomRole"), AssignableScopes: pulumi.StringArray{ pulumi.All(exampleResourceGroup.Name, exampleAccount.Name).ApplyT(func(_args []interface{}) (string, error) { exampleResourceGroupName := _args[0].(string) exampleAccountName := _args[1].(string) return fmt.Sprintf("%v%v%v%v%v%v", "/subscriptions/", current.SubscriptionId, "/resourceGroups/", exampleResourceGroupName, "/providers/Microsoft.DocumentDB/databaseAccounts/", exampleAccountName), nil }).(pulumi.StringOutput), }, Permissions: cosmosdb.SqlRoleDefinitionPermissionArray{ &cosmosdb.SqlRoleDefinitionPermissionArgs{ DataActions: pulumi.StringArray{ pulumi.String("Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read"), }, }, }, }) if err != nil { return err } _, err = cosmosdb.NewSqlRoleAssignment(ctx, "exampleSqlRoleAssignment", &cosmosdb.SqlRoleAssignmentArgs{ ResourceGroupName: exampleResourceGroup.Name, AccountName: exampleAccount.Name, RoleDefinitionId: exampleSqlRoleDefinition.ID(), PrincipalId: pulumi.String(current.ObjectId), Scope: pulumi.All(exampleResourceGroup.Name, exampleAccount.Name).ApplyT(func(_args []interface{}) (string, error) { exampleResourceGroupName := _args[0].(string) exampleAccountName := _args[1].(string) return fmt.Sprintf("%v%v%v%v%v%v", "/subscriptions/", current.SubscriptionId, "/resourceGroups/", exampleResourceGroupName, "/providers/Microsoft.DocumentDB/databaseAccounts/", exampleAccountName), nil }).(pulumi.StringOutput), }) if err != nil { return err } return nil }) }
```
## Import
Cosmos DB SQL Role Assignments can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/sqlRoleAssignment:SqlRoleAssignment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlRoleAssignments/9e007587-dbcd-4190-84cb-fcab5a09ca39
```
func GetSqlRoleAssignment ¶ added in v4.42.0
func GetSqlRoleAssignment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SqlRoleAssignmentState, opts ...pulumi.ResourceOption) (*SqlRoleAssignment, error)
GetSqlRoleAssignment gets an existing SqlRoleAssignment 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 NewSqlRoleAssignment ¶ added in v4.42.0
func NewSqlRoleAssignment(ctx *pulumi.Context, name string, args *SqlRoleAssignmentArgs, opts ...pulumi.ResourceOption) (*SqlRoleAssignment, error)
NewSqlRoleAssignment registers a new resource with the given unique name, arguments, and options.
func (*SqlRoleAssignment) ElementType ¶ added in v4.42.0
func (*SqlRoleAssignment) ElementType() reflect.Type
func (*SqlRoleAssignment) ToSqlRoleAssignmentOutput ¶ added in v4.42.0
func (i *SqlRoleAssignment) ToSqlRoleAssignmentOutput() SqlRoleAssignmentOutput
func (*SqlRoleAssignment) ToSqlRoleAssignmentOutputWithContext ¶ added in v4.42.0
func (i *SqlRoleAssignment) ToSqlRoleAssignmentOutputWithContext(ctx context.Context) SqlRoleAssignmentOutput
type SqlRoleAssignmentArgs ¶ added in v4.42.0
type SqlRoleAssignmentArgs struct { // The name of the Cosmos DB Account. Changing this forces a new resource to be created. AccountName pulumi.StringInput // The GUID as the name of the Cosmos DB SQL Role Assignment - one will be generated if not specified. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Principal (Client) in Azure Active Directory. Changing this forces a new resource to be created. PrincipalId pulumi.StringInput // The name of the Resource Group in which the Cosmos DB SQL Role Assignment is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The resource ID of the Cosmos DB SQL Role Definition. RoleDefinitionId pulumi.StringInput // The data plane resource path for which access is being granted through this Cosmos DB SQL Role Assignment. Changing this forces a new resource to be created. Scope pulumi.StringInput }
The set of arguments for constructing a SqlRoleAssignment resource.
func (SqlRoleAssignmentArgs) ElementType ¶ added in v4.42.0
func (SqlRoleAssignmentArgs) ElementType() reflect.Type
type SqlRoleAssignmentArray ¶ added in v4.42.0
type SqlRoleAssignmentArray []SqlRoleAssignmentInput
func (SqlRoleAssignmentArray) ElementType ¶ added in v4.42.0
func (SqlRoleAssignmentArray) ElementType() reflect.Type
func (SqlRoleAssignmentArray) ToSqlRoleAssignmentArrayOutput ¶ added in v4.42.0
func (i SqlRoleAssignmentArray) ToSqlRoleAssignmentArrayOutput() SqlRoleAssignmentArrayOutput
func (SqlRoleAssignmentArray) ToSqlRoleAssignmentArrayOutputWithContext ¶ added in v4.42.0
func (i SqlRoleAssignmentArray) ToSqlRoleAssignmentArrayOutputWithContext(ctx context.Context) SqlRoleAssignmentArrayOutput
type SqlRoleAssignmentArrayInput ¶ added in v4.42.0
type SqlRoleAssignmentArrayInput interface { pulumi.Input ToSqlRoleAssignmentArrayOutput() SqlRoleAssignmentArrayOutput ToSqlRoleAssignmentArrayOutputWithContext(context.Context) SqlRoleAssignmentArrayOutput }
SqlRoleAssignmentArrayInput is an input type that accepts SqlRoleAssignmentArray and SqlRoleAssignmentArrayOutput values. You can construct a concrete instance of `SqlRoleAssignmentArrayInput` via:
SqlRoleAssignmentArray{ SqlRoleAssignmentArgs{...} }
type SqlRoleAssignmentArrayOutput ¶ added in v4.42.0
type SqlRoleAssignmentArrayOutput struct{ *pulumi.OutputState }
func (SqlRoleAssignmentArrayOutput) ElementType ¶ added in v4.42.0
func (SqlRoleAssignmentArrayOutput) ElementType() reflect.Type
func (SqlRoleAssignmentArrayOutput) Index ¶ added in v4.42.0
func (o SqlRoleAssignmentArrayOutput) Index(i pulumi.IntInput) SqlRoleAssignmentOutput
func (SqlRoleAssignmentArrayOutput) ToSqlRoleAssignmentArrayOutput ¶ added in v4.42.0
func (o SqlRoleAssignmentArrayOutput) ToSqlRoleAssignmentArrayOutput() SqlRoleAssignmentArrayOutput
func (SqlRoleAssignmentArrayOutput) ToSqlRoleAssignmentArrayOutputWithContext ¶ added in v4.42.0
func (o SqlRoleAssignmentArrayOutput) ToSqlRoleAssignmentArrayOutputWithContext(ctx context.Context) SqlRoleAssignmentArrayOutput
type SqlRoleAssignmentInput ¶ added in v4.42.0
type SqlRoleAssignmentInput interface { pulumi.Input ToSqlRoleAssignmentOutput() SqlRoleAssignmentOutput ToSqlRoleAssignmentOutputWithContext(ctx context.Context) SqlRoleAssignmentOutput }
type SqlRoleAssignmentMap ¶ added in v4.42.0
type SqlRoleAssignmentMap map[string]SqlRoleAssignmentInput
func (SqlRoleAssignmentMap) ElementType ¶ added in v4.42.0
func (SqlRoleAssignmentMap) ElementType() reflect.Type
func (SqlRoleAssignmentMap) ToSqlRoleAssignmentMapOutput ¶ added in v4.42.0
func (i SqlRoleAssignmentMap) ToSqlRoleAssignmentMapOutput() SqlRoleAssignmentMapOutput
func (SqlRoleAssignmentMap) ToSqlRoleAssignmentMapOutputWithContext ¶ added in v4.42.0
func (i SqlRoleAssignmentMap) ToSqlRoleAssignmentMapOutputWithContext(ctx context.Context) SqlRoleAssignmentMapOutput
type SqlRoleAssignmentMapInput ¶ added in v4.42.0
type SqlRoleAssignmentMapInput interface { pulumi.Input ToSqlRoleAssignmentMapOutput() SqlRoleAssignmentMapOutput ToSqlRoleAssignmentMapOutputWithContext(context.Context) SqlRoleAssignmentMapOutput }
SqlRoleAssignmentMapInput is an input type that accepts SqlRoleAssignmentMap and SqlRoleAssignmentMapOutput values. You can construct a concrete instance of `SqlRoleAssignmentMapInput` via:
SqlRoleAssignmentMap{ "key": SqlRoleAssignmentArgs{...} }
type SqlRoleAssignmentMapOutput ¶ added in v4.42.0
type SqlRoleAssignmentMapOutput struct{ *pulumi.OutputState }
func (SqlRoleAssignmentMapOutput) ElementType ¶ added in v4.42.0
func (SqlRoleAssignmentMapOutput) ElementType() reflect.Type
func (SqlRoleAssignmentMapOutput) MapIndex ¶ added in v4.42.0
func (o SqlRoleAssignmentMapOutput) MapIndex(k pulumi.StringInput) SqlRoleAssignmentOutput
func (SqlRoleAssignmentMapOutput) ToSqlRoleAssignmentMapOutput ¶ added in v4.42.0
func (o SqlRoleAssignmentMapOutput) ToSqlRoleAssignmentMapOutput() SqlRoleAssignmentMapOutput
func (SqlRoleAssignmentMapOutput) ToSqlRoleAssignmentMapOutputWithContext ¶ added in v4.42.0
func (o SqlRoleAssignmentMapOutput) ToSqlRoleAssignmentMapOutputWithContext(ctx context.Context) SqlRoleAssignmentMapOutput
type SqlRoleAssignmentOutput ¶ added in v4.42.0
type SqlRoleAssignmentOutput struct{ *pulumi.OutputState }
func (SqlRoleAssignmentOutput) ElementType ¶ added in v4.42.0
func (SqlRoleAssignmentOutput) ElementType() reflect.Type
func (SqlRoleAssignmentOutput) ToSqlRoleAssignmentOutput ¶ added in v4.42.0
func (o SqlRoleAssignmentOutput) ToSqlRoleAssignmentOutput() SqlRoleAssignmentOutput
func (SqlRoleAssignmentOutput) ToSqlRoleAssignmentOutputWithContext ¶ added in v4.42.0
func (o SqlRoleAssignmentOutput) ToSqlRoleAssignmentOutputWithContext(ctx context.Context) SqlRoleAssignmentOutput
type SqlRoleAssignmentState ¶ added in v4.42.0
type SqlRoleAssignmentState struct { // The name of the Cosmos DB Account. Changing this forces a new resource to be created. AccountName pulumi.StringPtrInput // The GUID as the name of the Cosmos DB SQL Role Assignment - one will be generated if not specified. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Principal (Client) in Azure Active Directory. Changing this forces a new resource to be created. PrincipalId pulumi.StringPtrInput // The name of the Resource Group in which the Cosmos DB SQL Role Assignment is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The resource ID of the Cosmos DB SQL Role Definition. RoleDefinitionId pulumi.StringPtrInput // The data plane resource path for which access is being granted through this Cosmos DB SQL Role Assignment. Changing this forces a new resource to be created. Scope pulumi.StringPtrInput }
func (SqlRoleAssignmentState) ElementType ¶ added in v4.42.0
func (SqlRoleAssignmentState) ElementType() reflect.Type
type SqlRoleDefinition ¶ added in v4.42.0
type SqlRoleDefinition struct { pulumi.CustomResourceState // The name of the Cosmos DB Account. Changing this forces a new resource to be created. AccountName pulumi.StringOutput `pulumi:"accountName"` // A list of fully qualified scopes at or below which Role Assignments may be created using this Cosmos DB SQL Role Definition. It will allow application of this Cosmos DB SQL Role Definition on the entire Database Account or any underlying Database/Collection. Scopes higher than Database Account are not enforceable as assignable scopes. AssignableScopes pulumi.StringArrayOutput `pulumi:"assignableScopes"` // An user-friendly name for the Cosmos DB SQL Role Definition which must be unique for the Database Account. Name pulumi.StringOutput `pulumi:"name"` // A `permissions` block as defined below. Permissions SqlRoleDefinitionPermissionArrayOutput `pulumi:"permissions"` // The name of the Resource Group in which the Cosmos DB SQL Role Definition is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The GUID as the name of the Cosmos DB SQL Role Definition - one will be generated if not specified. Changing this forces a new resource to be created. RoleDefinitionId pulumi.StringOutput `pulumi:"roleDefinitionId"` // The type of the Cosmos DB SQL Role Definition. Possible values are `BuiltInRole` and `CustomRole`. Defaults to `CustomRole`. Changing this forces a new resource to be created. Type pulumi.StringPtrOutput `pulumi:"type"` }
Manages a Cosmos DB SQL Role Definition.
## Example Usage
```go package main
import (
"fmt" "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 { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } 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("Strong"), }, GeoLocations: cosmosdb.AccountGeoLocationArray{ &cosmosdb.AccountGeoLocationArgs{ Location: exampleResourceGroup.Location, FailoverPriority: pulumi.Int(0), }, }, }) if err != nil { return err } _, err = cosmosdb.NewSqlRoleDefinition(ctx, "exampleSqlRoleDefinition", &cosmosdb.SqlRoleDefinitionArgs{ RoleDefinitionId: pulumi.String("84cf3a8b-4122-4448-bce2-fa423cfe0a15"), ResourceGroupName: exampleResourceGroup.Name, AccountName: exampleAccount.Name, AssignableScopes: pulumi.StringArray{ pulumi.All(exampleResourceGroup.Name, exampleAccount.Name).ApplyT(func(_args []interface{}) (string, error) { exampleResourceGroupName := _args[0].(string) exampleAccountName := _args[1].(string) return fmt.Sprintf("%v%v%v%v%v%v%v", "/subscriptions/", current.SubscriptionId, "/resourceGroups/", exampleResourceGroupName, "/providers/Microsoft.DocumentDB/databaseAccounts/", exampleAccountName, "/dbs/sales"), nil }).(pulumi.StringOutput), }, Permissions: cosmosdb.SqlRoleDefinitionPermissionArray{ &cosmosdb.SqlRoleDefinitionPermissionArgs{ DataActions: pulumi.StringArray{ pulumi.String("Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Cosmos DB SQL Role Definitions can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:cosmosdb/sqlRoleDefinition:SqlRoleDefinition example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlRoleDefinitions/28b3c337-f436-482b-a167-c2618dc52033
```
func GetSqlRoleDefinition ¶ added in v4.42.0
func GetSqlRoleDefinition(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SqlRoleDefinitionState, opts ...pulumi.ResourceOption) (*SqlRoleDefinition, error)
GetSqlRoleDefinition gets an existing SqlRoleDefinition 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 NewSqlRoleDefinition ¶ added in v4.42.0
func NewSqlRoleDefinition(ctx *pulumi.Context, name string, args *SqlRoleDefinitionArgs, opts ...pulumi.ResourceOption) (*SqlRoleDefinition, error)
NewSqlRoleDefinition registers a new resource with the given unique name, arguments, and options.
func (*SqlRoleDefinition) ElementType ¶ added in v4.42.0
func (*SqlRoleDefinition) ElementType() reflect.Type
func (*SqlRoleDefinition) ToSqlRoleDefinitionOutput ¶ added in v4.42.0
func (i *SqlRoleDefinition) ToSqlRoleDefinitionOutput() SqlRoleDefinitionOutput
func (*SqlRoleDefinition) ToSqlRoleDefinitionOutputWithContext ¶ added in v4.42.0
func (i *SqlRoleDefinition) ToSqlRoleDefinitionOutputWithContext(ctx context.Context) SqlRoleDefinitionOutput
type SqlRoleDefinitionArgs ¶ added in v4.42.0
type SqlRoleDefinitionArgs struct { // The name of the Cosmos DB Account. Changing this forces a new resource to be created. AccountName pulumi.StringInput // A list of fully qualified scopes at or below which Role Assignments may be created using this Cosmos DB SQL Role Definition. It will allow application of this Cosmos DB SQL Role Definition on the entire Database Account or any underlying Database/Collection. Scopes higher than Database Account are not enforceable as assignable scopes. AssignableScopes pulumi.StringArrayInput // An user-friendly name for the Cosmos DB SQL Role Definition which must be unique for the Database Account. Name pulumi.StringPtrInput // A `permissions` block as defined below. Permissions SqlRoleDefinitionPermissionArrayInput // The name of the Resource Group in which the Cosmos DB SQL Role Definition is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The GUID as the name of the Cosmos DB SQL Role Definition - one will be generated if not specified. Changing this forces a new resource to be created. RoleDefinitionId pulumi.StringPtrInput // The type of the Cosmos DB SQL Role Definition. Possible values are `BuiltInRole` and `CustomRole`. Defaults to `CustomRole`. Changing this forces a new resource to be created. Type pulumi.StringPtrInput }
The set of arguments for constructing a SqlRoleDefinition resource.
func (SqlRoleDefinitionArgs) ElementType ¶ added in v4.42.0
func (SqlRoleDefinitionArgs) ElementType() reflect.Type
type SqlRoleDefinitionArray ¶ added in v4.42.0
type SqlRoleDefinitionArray []SqlRoleDefinitionInput
func (SqlRoleDefinitionArray) ElementType ¶ added in v4.42.0
func (SqlRoleDefinitionArray) ElementType() reflect.Type
func (SqlRoleDefinitionArray) ToSqlRoleDefinitionArrayOutput ¶ added in v4.42.0
func (i SqlRoleDefinitionArray) ToSqlRoleDefinitionArrayOutput() SqlRoleDefinitionArrayOutput
func (SqlRoleDefinitionArray) ToSqlRoleDefinitionArrayOutputWithContext ¶ added in v4.42.0
func (i SqlRoleDefinitionArray) ToSqlRoleDefinitionArrayOutputWithContext(ctx context.Context) SqlRoleDefinitionArrayOutput
type SqlRoleDefinitionArrayInput ¶ added in v4.42.0
type SqlRoleDefinitionArrayInput interface { pulumi.Input ToSqlRoleDefinitionArrayOutput() SqlRoleDefinitionArrayOutput ToSqlRoleDefinitionArrayOutputWithContext(context.Context) SqlRoleDefinitionArrayOutput }
SqlRoleDefinitionArrayInput is an input type that accepts SqlRoleDefinitionArray and SqlRoleDefinitionArrayOutput values. You can construct a concrete instance of `SqlRoleDefinitionArrayInput` via:
SqlRoleDefinitionArray{ SqlRoleDefinitionArgs{...} }
type SqlRoleDefinitionArrayOutput ¶ added in v4.42.0
type SqlRoleDefinitionArrayOutput struct{ *pulumi.OutputState }
func (SqlRoleDefinitionArrayOutput) ElementType ¶ added in v4.42.0
func (SqlRoleDefinitionArrayOutput) ElementType() reflect.Type
func (SqlRoleDefinitionArrayOutput) Index ¶ added in v4.42.0
func (o SqlRoleDefinitionArrayOutput) Index(i pulumi.IntInput) SqlRoleDefinitionOutput
func (SqlRoleDefinitionArrayOutput) ToSqlRoleDefinitionArrayOutput ¶ added in v4.42.0
func (o SqlRoleDefinitionArrayOutput) ToSqlRoleDefinitionArrayOutput() SqlRoleDefinitionArrayOutput
func (SqlRoleDefinitionArrayOutput) ToSqlRoleDefinitionArrayOutputWithContext ¶ added in v4.42.0
func (o SqlRoleDefinitionArrayOutput) ToSqlRoleDefinitionArrayOutputWithContext(ctx context.Context) SqlRoleDefinitionArrayOutput
type SqlRoleDefinitionInput ¶ added in v4.42.0
type SqlRoleDefinitionInput interface { pulumi.Input ToSqlRoleDefinitionOutput() SqlRoleDefinitionOutput ToSqlRoleDefinitionOutputWithContext(ctx context.Context) SqlRoleDefinitionOutput }
type SqlRoleDefinitionMap ¶ added in v4.42.0
type SqlRoleDefinitionMap map[string]SqlRoleDefinitionInput
func (SqlRoleDefinitionMap) ElementType ¶ added in v4.42.0
func (SqlRoleDefinitionMap) ElementType() reflect.Type
func (SqlRoleDefinitionMap) ToSqlRoleDefinitionMapOutput ¶ added in v4.42.0
func (i SqlRoleDefinitionMap) ToSqlRoleDefinitionMapOutput() SqlRoleDefinitionMapOutput
func (SqlRoleDefinitionMap) ToSqlRoleDefinitionMapOutputWithContext ¶ added in v4.42.0
func (i SqlRoleDefinitionMap) ToSqlRoleDefinitionMapOutputWithContext(ctx context.Context) SqlRoleDefinitionMapOutput
type SqlRoleDefinitionMapInput ¶ added in v4.42.0
type SqlRoleDefinitionMapInput interface { pulumi.Input ToSqlRoleDefinitionMapOutput() SqlRoleDefinitionMapOutput ToSqlRoleDefinitionMapOutputWithContext(context.Context) SqlRoleDefinitionMapOutput }
SqlRoleDefinitionMapInput is an input type that accepts SqlRoleDefinitionMap and SqlRoleDefinitionMapOutput values. You can construct a concrete instance of `SqlRoleDefinitionMapInput` via:
SqlRoleDefinitionMap{ "key": SqlRoleDefinitionArgs{...} }
type SqlRoleDefinitionMapOutput ¶ added in v4.42.0
type SqlRoleDefinitionMapOutput struct{ *pulumi.OutputState }
func (SqlRoleDefinitionMapOutput) ElementType ¶ added in v4.42.0
func (SqlRoleDefinitionMapOutput) ElementType() reflect.Type
func (SqlRoleDefinitionMapOutput) MapIndex ¶ added in v4.42.0
func (o SqlRoleDefinitionMapOutput) MapIndex(k pulumi.StringInput) SqlRoleDefinitionOutput
func (SqlRoleDefinitionMapOutput) ToSqlRoleDefinitionMapOutput ¶ added in v4.42.0
func (o SqlRoleDefinitionMapOutput) ToSqlRoleDefinitionMapOutput() SqlRoleDefinitionMapOutput
func (SqlRoleDefinitionMapOutput) ToSqlRoleDefinitionMapOutputWithContext ¶ added in v4.42.0
func (o SqlRoleDefinitionMapOutput) ToSqlRoleDefinitionMapOutputWithContext(ctx context.Context) SqlRoleDefinitionMapOutput
type SqlRoleDefinitionOutput ¶ added in v4.42.0
type SqlRoleDefinitionOutput struct{ *pulumi.OutputState }
func (SqlRoleDefinitionOutput) ElementType ¶ added in v4.42.0
func (SqlRoleDefinitionOutput) ElementType() reflect.Type
func (SqlRoleDefinitionOutput) ToSqlRoleDefinitionOutput ¶ added in v4.42.0
func (o SqlRoleDefinitionOutput) ToSqlRoleDefinitionOutput() SqlRoleDefinitionOutput
func (SqlRoleDefinitionOutput) ToSqlRoleDefinitionOutputWithContext ¶ added in v4.42.0
func (o SqlRoleDefinitionOutput) ToSqlRoleDefinitionOutputWithContext(ctx context.Context) SqlRoleDefinitionOutput
type SqlRoleDefinitionPermission ¶ added in v4.42.0
type SqlRoleDefinitionPermission struct { // A list of data actions that are allowed for the Cosmos DB SQL Role Definition. DataActions []string `pulumi:"dataActions"` }
type SqlRoleDefinitionPermissionArgs ¶ added in v4.42.0
type SqlRoleDefinitionPermissionArgs struct { // A list of data actions that are allowed for the Cosmos DB SQL Role Definition. DataActions pulumi.StringArrayInput `pulumi:"dataActions"` }
func (SqlRoleDefinitionPermissionArgs) ElementType ¶ added in v4.42.0
func (SqlRoleDefinitionPermissionArgs) ElementType() reflect.Type
func (SqlRoleDefinitionPermissionArgs) ToSqlRoleDefinitionPermissionOutput ¶ added in v4.42.0
func (i SqlRoleDefinitionPermissionArgs) ToSqlRoleDefinitionPermissionOutput() SqlRoleDefinitionPermissionOutput
func (SqlRoleDefinitionPermissionArgs) ToSqlRoleDefinitionPermissionOutputWithContext ¶ added in v4.42.0
func (i SqlRoleDefinitionPermissionArgs) ToSqlRoleDefinitionPermissionOutputWithContext(ctx context.Context) SqlRoleDefinitionPermissionOutput
type SqlRoleDefinitionPermissionArray ¶ added in v4.42.0
type SqlRoleDefinitionPermissionArray []SqlRoleDefinitionPermissionInput
func (SqlRoleDefinitionPermissionArray) ElementType ¶ added in v4.42.0
func (SqlRoleDefinitionPermissionArray) ElementType() reflect.Type
func (SqlRoleDefinitionPermissionArray) ToSqlRoleDefinitionPermissionArrayOutput ¶ added in v4.42.0
func (i SqlRoleDefinitionPermissionArray) ToSqlRoleDefinitionPermissionArrayOutput() SqlRoleDefinitionPermissionArrayOutput
func (SqlRoleDefinitionPermissionArray) ToSqlRoleDefinitionPermissionArrayOutputWithContext ¶ added in v4.42.0
func (i SqlRoleDefinitionPermissionArray) ToSqlRoleDefinitionPermissionArrayOutputWithContext(ctx context.Context) SqlRoleDefinitionPermissionArrayOutput
type SqlRoleDefinitionPermissionArrayInput ¶ added in v4.42.0
type SqlRoleDefinitionPermissionArrayInput interface { pulumi.Input ToSqlRoleDefinitionPermissionArrayOutput() SqlRoleDefinitionPermissionArrayOutput ToSqlRoleDefinitionPermissionArrayOutputWithContext(context.Context) SqlRoleDefinitionPermissionArrayOutput }
SqlRoleDefinitionPermissionArrayInput is an input type that accepts SqlRoleDefinitionPermissionArray and SqlRoleDefinitionPermissionArrayOutput values. You can construct a concrete instance of `SqlRoleDefinitionPermissionArrayInput` via:
SqlRoleDefinitionPermissionArray{ SqlRoleDefinitionPermissionArgs{...} }
type SqlRoleDefinitionPermissionArrayOutput ¶ added in v4.42.0
type SqlRoleDefinitionPermissionArrayOutput struct{ *pulumi.OutputState }
func (SqlRoleDefinitionPermissionArrayOutput) ElementType ¶ added in v4.42.0
func (SqlRoleDefinitionPermissionArrayOutput) ElementType() reflect.Type
func (SqlRoleDefinitionPermissionArrayOutput) ToSqlRoleDefinitionPermissionArrayOutput ¶ added in v4.42.0
func (o SqlRoleDefinitionPermissionArrayOutput) ToSqlRoleDefinitionPermissionArrayOutput() SqlRoleDefinitionPermissionArrayOutput
func (SqlRoleDefinitionPermissionArrayOutput) ToSqlRoleDefinitionPermissionArrayOutputWithContext ¶ added in v4.42.0
func (o SqlRoleDefinitionPermissionArrayOutput) ToSqlRoleDefinitionPermissionArrayOutputWithContext(ctx context.Context) SqlRoleDefinitionPermissionArrayOutput
type SqlRoleDefinitionPermissionInput ¶ added in v4.42.0
type SqlRoleDefinitionPermissionInput interface { pulumi.Input ToSqlRoleDefinitionPermissionOutput() SqlRoleDefinitionPermissionOutput ToSqlRoleDefinitionPermissionOutputWithContext(context.Context) SqlRoleDefinitionPermissionOutput }
SqlRoleDefinitionPermissionInput is an input type that accepts SqlRoleDefinitionPermissionArgs and SqlRoleDefinitionPermissionOutput values. You can construct a concrete instance of `SqlRoleDefinitionPermissionInput` via:
SqlRoleDefinitionPermissionArgs{...}
type SqlRoleDefinitionPermissionOutput ¶ added in v4.42.0
type SqlRoleDefinitionPermissionOutput struct{ *pulumi.OutputState }
func (SqlRoleDefinitionPermissionOutput) DataActions ¶ added in v4.42.0
func (o SqlRoleDefinitionPermissionOutput) DataActions() pulumi.StringArrayOutput
A list of data actions that are allowed for the Cosmos DB SQL Role Definition.
func (SqlRoleDefinitionPermissionOutput) ElementType ¶ added in v4.42.0
func (SqlRoleDefinitionPermissionOutput) ElementType() reflect.Type
func (SqlRoleDefinitionPermissionOutput) ToSqlRoleDefinitionPermissionOutput ¶ added in v4.42.0
func (o SqlRoleDefinitionPermissionOutput) ToSqlRoleDefinitionPermissionOutput() SqlRoleDefinitionPermissionOutput
func (SqlRoleDefinitionPermissionOutput) ToSqlRoleDefinitionPermissionOutputWithContext ¶ added in v4.42.0
func (o SqlRoleDefinitionPermissionOutput) ToSqlRoleDefinitionPermissionOutputWithContext(ctx context.Context) SqlRoleDefinitionPermissionOutput
type SqlRoleDefinitionState ¶ added in v4.42.0
type SqlRoleDefinitionState struct { // The name of the Cosmos DB Account. Changing this forces a new resource to be created. AccountName pulumi.StringPtrInput // A list of fully qualified scopes at or below which Role Assignments may be created using this Cosmos DB SQL Role Definition. It will allow application of this Cosmos DB SQL Role Definition on the entire Database Account or any underlying Database/Collection. Scopes higher than Database Account are not enforceable as assignable scopes. AssignableScopes pulumi.StringArrayInput // An user-friendly name for the Cosmos DB SQL Role Definition which must be unique for the Database Account. Name pulumi.StringPtrInput // A `permissions` block as defined below. Permissions SqlRoleDefinitionPermissionArrayInput // The name of the Resource Group in which the Cosmos DB SQL Role Definition is created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The GUID as the name of the Cosmos DB SQL Role Definition - one will be generated if not specified. Changing this forces a new resource to be created. RoleDefinitionId pulumi.StringPtrInput // The type of the Cosmos DB SQL Role Definition. Possible values are `BuiltInRole` and `CustomRole`. Defaults to `CustomRole`. Changing this forces a new resource to be created. Type pulumi.StringPtrInput }
func (SqlRoleDefinitionState) ElementType ¶ added in v4.42.0
func (SqlRoleDefinitionState) 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
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
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
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
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
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
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
Source Files ¶
- account.go
- cassandraCluster.go
- cassandraDatacenter.go
- cassandraKeyspace.go
- cassandraTable.go
- getAccount.go
- getMongoDatabase.go
- getRestorableDatabaseAccounts.go
- gremlinDatabase.go
- gremlinGraph.go
- init.go
- mongoCollection.go
- mongoDatabase.go
- notebookWorkspace.go
- pulumiTypes.go
- sqlContainer.go
- sqlDatabase.go
- sqlFunction.go
- sqlRoleAssignment.go
- sqlRoleDefinition.go
- sqlStoredProcedure.go
- sqlTrigger.go
- table.go