cosmos

package
v1.44.1-0...-2cd6497 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MPL-2.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CosmosDbAccountResourceName = "azurerm_cosmosdb_account"
View Source
var CosmosDbPostgreSQLClusterResourceName = "azurerm_cosmosdb_postgresql_cluster"

Functions

This section is empty.

Types

type CosmosDbMongoRoleDefinitionResource

type CosmosDbMongoRoleDefinitionResource struct{}

func (CosmosDbMongoRoleDefinitionResource) Arguments

func (CosmosDbMongoRoleDefinitionResource) Attributes

func (CosmosDbMongoRoleDefinitionResource) Create

func (CosmosDbMongoRoleDefinitionResource) Delete

func (CosmosDbMongoRoleDefinitionResource) IDValidationFunc

func (CosmosDbMongoRoleDefinitionResource) ModelObject

func (r CosmosDbMongoRoleDefinitionResource) ModelObject() interface{}

func (CosmosDbMongoRoleDefinitionResource) Read

func (CosmosDbMongoRoleDefinitionResource) ResourceType

func (CosmosDbMongoRoleDefinitionResource) Update

type CosmosDbMongoRoleDefinitionResourceModel

type CosmosDbMongoRoleDefinitionResourceModel struct {
	CosmosMongoDatabaseId string      `tfschema:"cosmos_mongo_database_id"`
	RoleName              string      `tfschema:"role_name"`
	InheritedRoleNames    []string    `tfschema:"inherited_role_names"`
	Privileges            []Privilege `tfschema:"privilege"`
}

type CosmosDbMongoUserDefinitionResource

type CosmosDbMongoUserDefinitionResource struct{}

func (CosmosDbMongoUserDefinitionResource) Arguments

func (CosmosDbMongoUserDefinitionResource) Attributes

func (CosmosDbMongoUserDefinitionResource) Create

func (CosmosDbMongoUserDefinitionResource) Delete

func (CosmosDbMongoUserDefinitionResource) IDValidationFunc

func (CosmosDbMongoUserDefinitionResource) ModelObject

func (r CosmosDbMongoUserDefinitionResource) ModelObject() interface{}

func (CosmosDbMongoUserDefinitionResource) Read

func (CosmosDbMongoUserDefinitionResource) ResourceType

func (CosmosDbMongoUserDefinitionResource) Update

type CosmosDbMongoUserDefinitionResourceModel

type CosmosDbMongoUserDefinitionResourceModel struct {
	CosmosMongoDatabaseId string   `tfschema:"cosmos_mongo_database_id"`
	Username              string   `tfschema:"username"`
	Password              string   `tfschema:"password"`
	InheritedRoleNames    []string `tfschema:"inherited_role_names"`
}

type CosmosDbPostgreSQLClusterModel

type CosmosDbPostgreSQLClusterModel struct {
	Name                             string              `tfschema:"name"`
	ResourceGroupName                string              `tfschema:"resource_group_name"`
	Location                         string              `tfschema:"location"`
	AdministratorLoginPassword       string              `tfschema:"administrator_login_password"`
	CitusVersion                     string              `tfschema:"citus_version"`
	CoordinatorPublicIPAccessEnabled bool                `tfschema:"coordinator_public_ip_access_enabled"`
	CoordinatorServerEdition         string              `tfschema:"coordinator_server_edition"`
	CoordinatorStorageQuotaInMb      int64               `tfschema:"coordinator_storage_quota_in_mb"`
	CoordinatorVCoreCount            int64               `tfschema:"coordinator_vcore_count"`
	HaEnabled                        bool                `tfschema:"ha_enabled"`
	ShardsOnCoordinatorEnabled       bool                `tfschema:"shards_on_coordinator_enabled"`
	SourceLocation                   string              `tfschema:"source_location"`
	SourceResourceId                 string              `tfschema:"source_resource_id"`
	MaintenanceWindow                []MaintenanceWindow `tfschema:"maintenance_window"`
	ServerNames                      []ServerNameItem    `tfschema:"servers"`
	NodeCount                        int64               `tfschema:"node_count"`
	NodePublicIPAccessEnabled        bool                `tfschema:"node_public_ip_access_enabled"`
	NodeServerEdition                string              `tfschema:"node_server_edition"`
	NodeStorageQuotaInMb             int64               `tfschema:"node_storage_quota_in_mb"`
	NodeVCores                       int64               `tfschema:"node_vcores"`
	PointInTimeInUTC                 string              `tfschema:"point_in_time_in_utc"`
	PreferredPrimaryZone             string              `tfschema:"preferred_primary_zone"`
	SqlVersion                       string              `tfschema:"sql_version"`
	Tags                             map[string]string   `tfschema:"tags"`
	EarliestRestoreTime              string              `tfschema:"earliest_restore_time"`
}

type CosmosDbPostgreSQLClusterResource

type CosmosDbPostgreSQLClusterResource struct{}

func (CosmosDbPostgreSQLClusterResource) Arguments

func (CosmosDbPostgreSQLClusterResource) Attributes

func (CosmosDbPostgreSQLClusterResource) Create

func (CosmosDbPostgreSQLClusterResource) Delete

func (CosmosDbPostgreSQLClusterResource) IDValidationFunc

func (CosmosDbPostgreSQLClusterResource) ModelObject

func (r CosmosDbPostgreSQLClusterResource) ModelObject() interface{}

func (CosmosDbPostgreSQLClusterResource) Read

func (CosmosDbPostgreSQLClusterResource) ResourceType

func (r CosmosDbPostgreSQLClusterResource) ResourceType() string

func (CosmosDbPostgreSQLClusterResource) Update

type CosmosDbPostgreSQLCoordinatorConfigurationModel

type CosmosDbPostgreSQLCoordinatorConfigurationModel struct {
	Name      string `tfschema:"name"`
	ClusterId string `tfschema:"cluster_id"`
	Value     string `tfschema:"value"`
}

type CosmosDbPostgreSQLCoordinatorConfigurationResource

type CosmosDbPostgreSQLCoordinatorConfigurationResource struct{}

func (CosmosDbPostgreSQLCoordinatorConfigurationResource) Arguments

func (CosmosDbPostgreSQLCoordinatorConfigurationResource) Attributes

func (CosmosDbPostgreSQLCoordinatorConfigurationResource) Create

func (CosmosDbPostgreSQLCoordinatorConfigurationResource) Delete

func (CosmosDbPostgreSQLCoordinatorConfigurationResource) IDValidationFunc

func (CosmosDbPostgreSQLCoordinatorConfigurationResource) ModelObject

func (r CosmosDbPostgreSQLCoordinatorConfigurationResource) ModelObject() interface{}

func (CosmosDbPostgreSQLCoordinatorConfigurationResource) Read

func (CosmosDbPostgreSQLCoordinatorConfigurationResource) ResourceType

func (CosmosDbPostgreSQLCoordinatorConfigurationResource) Update

type CosmosDbPostgreSQLFirewallRuleResource

type CosmosDbPostgreSQLFirewallRuleResource struct{}

func (CosmosDbPostgreSQLFirewallRuleResource) Arguments

func (CosmosDbPostgreSQLFirewallRuleResource) Attributes

func (CosmosDbPostgreSQLFirewallRuleResource) Create

func (CosmosDbPostgreSQLFirewallRuleResource) Delete

func (CosmosDbPostgreSQLFirewallRuleResource) IDValidationFunc

func (CosmosDbPostgreSQLFirewallRuleResource) ModelObject

func (r CosmosDbPostgreSQLFirewallRuleResource) ModelObject() interface{}

func (CosmosDbPostgreSQLFirewallRuleResource) Read

func (CosmosDbPostgreSQLFirewallRuleResource) ResourceType

func (CosmosDbPostgreSQLFirewallRuleResource) Update

type CosmosDbPostgreSQLFirewallRuleResourceModel

type CosmosDbPostgreSQLFirewallRuleResourceModel struct {
	Name           string `tfschema:"name"`
	ClusterId      string `tfschema:"cluster_id"`
	EndIPAddress   string `tfschema:"end_ip_address"`
	StartIPAddress string `tfschema:"start_ip_address"`
}

type CosmosDbPostgreSQLNodeConfigurationModel

type CosmosDbPostgreSQLNodeConfigurationModel struct {
	Name      string `tfschema:"name"`
	ClusterId string `tfschema:"cluster_id"`
	Value     string `tfschema:"value"`
}

type CosmosDbPostgreSQLNodeConfigurationResource

type CosmosDbPostgreSQLNodeConfigurationResource struct{}

func (CosmosDbPostgreSQLNodeConfigurationResource) Arguments

func (CosmosDbPostgreSQLNodeConfigurationResource) Attributes

func (CosmosDbPostgreSQLNodeConfigurationResource) Create

func (CosmosDbPostgreSQLNodeConfigurationResource) Delete

func (CosmosDbPostgreSQLNodeConfigurationResource) IDValidationFunc

func (CosmosDbPostgreSQLNodeConfigurationResource) ModelObject

func (r CosmosDbPostgreSQLNodeConfigurationResource) ModelObject() interface{}

func (CosmosDbPostgreSQLNodeConfigurationResource) Read

func (CosmosDbPostgreSQLNodeConfigurationResource) ResourceType

func (CosmosDbPostgreSQLNodeConfigurationResource) Update

type CosmosDbPostgreSQLRoleResource

type CosmosDbPostgreSQLRoleResource struct{}

func (CosmosDbPostgreSQLRoleResource) Arguments

func (CosmosDbPostgreSQLRoleResource) Attributes

func (CosmosDbPostgreSQLRoleResource) Create

func (CosmosDbPostgreSQLRoleResource) Delete

func (CosmosDbPostgreSQLRoleResource) IDValidationFunc

func (CosmosDbPostgreSQLRoleResource) ModelObject

func (r CosmosDbPostgreSQLRoleResource) ModelObject() interface{}

func (CosmosDbPostgreSQLRoleResource) Read

func (CosmosDbPostgreSQLRoleResource) ResourceType

func (r CosmosDbPostgreSQLRoleResource) ResourceType() string

type CosmosDbPostgreSQLRoleResourceModel

type CosmosDbPostgreSQLRoleResourceModel struct {
	Name      string `tfschema:"name"`
	ClusterId string `tfschema:"cluster_id"`
	Password  string `tfschema:"password"`
}

type CosmosDbSqlDedicatedGatewayModel

type CosmosDbSqlDedicatedGatewayModel struct {
	CosmosDbAccountId string                          `tfschema:"cosmosdb_account_id"`
	InstanceCount     int64                           `tfschema:"instance_count"`
	InstanceSize      sqldedicatedgateway.ServiceSize `tfschema:"instance_size"`
}

type CosmosDbSqlDedicatedGatewayResource

type CosmosDbSqlDedicatedGatewayResource struct{}

func (CosmosDbSqlDedicatedGatewayResource) Arguments

func (CosmosDbSqlDedicatedGatewayResource) Attributes

func (CosmosDbSqlDedicatedGatewayResource) Create

func (CosmosDbSqlDedicatedGatewayResource) Delete

func (CosmosDbSqlDedicatedGatewayResource) IDValidationFunc

func (CosmosDbSqlDedicatedGatewayResource) ModelObject

func (r CosmosDbSqlDedicatedGatewayResource) ModelObject() interface{}

func (CosmosDbSqlDedicatedGatewayResource) Read

func (CosmosDbSqlDedicatedGatewayResource) ResourceType

func (CosmosDbSqlDedicatedGatewayResource) Update

type MaintenanceWindow

type MaintenanceWindow struct {
	DayOfWeek   int64 `tfschema:"day_of_week"`
	StartHour   int64 `tfschema:"start_hour"`
	StartMinute int64 `tfschema:"start_minute"`
}

type Privilege

type Privilege struct {
	Actions  []string   `tfschema:"actions"`
	Resource []Resource `tfschema:"resource"`
}

type Registration

type Registration struct{}

func (Registration) AssociatedGitHubLabel

func (r Registration) AssociatedGitHubLabel() string

func (Registration) DataSources

func (r Registration) DataSources() []sdk.DataSource

func (Registration) Name

func (r Registration) Name() string

Name is the name of this Service

func (Registration) Resources

func (r Registration) Resources() []sdk.Resource

func (Registration) SupportedDataSources

func (r Registration) SupportedDataSources() map[string]*pluginsdk.Resource

SupportedDataSources returns the supported Data Sources supported by this Service

func (Registration) SupportedResources

func (r Registration) SupportedResources() map[string]*pluginsdk.Resource

SupportedResources returns the supported Resources supported by this Service

func (Registration) WebsiteCategories

func (r Registration) WebsiteCategories() []string

WebsiteCategories returns a list of categories which can be used for the sidebar

type Resource

type Resource struct {
	CollectionName string `tfschema:"collection_name"`
	DbName         string `tfschema:"db_name"`
}

type ServerNameItem

type ServerNameItem struct {
	Name                     string `tfschema:"name"`
	FullyQualifiedDomainName string `tfschema:"fqdn"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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