datasources

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppServiceSchema

func AppServiceSchema() schema.Schema

func BackupSchema

func BackupSchema() schema.Schema

func BuildQueryParams added in v1.3.0

func BuildQueryParams(params map[string][]string) string

BuildQueryParams builds a query string from the given parameters.

func ClusterSchema

func ClusterSchema() schema.Schema

func ConvertIncidents added in v1.3.0

func ConvertIncidents(ctx context.Context, incidentIds *[]uuid.UUID) (types.Set, error)

ConvertIncidents converts a slice of UUID incident IDs into a types.Set of strings.

func ConvertKV added in v1.3.0

func ConvertKV(mp *map[string]interface{}) (types.String, error)

ConvertKV converts a map to a JSON string.

func ConvertToList added in v1.3.0

func ConvertToList(ctx context.Context, inputSet types.Set) ([]string, error)

ConvertToList converts a types.Set into a slice of strings.

func EventSchema added in v1.3.0

func EventSchema() schema.Schema

EventSchema returns the schema for the Event data source.

func EventsSchema added in v1.3.0

func EventsSchema() schema.Schema

EventsSchema returns the schema for the Events data source.

func MapEventResponseBody added in v1.3.0

func MapEventResponseBody(ctx context.Context, event api.GetEventResponse, state providerschema.Event) (*providerschema.Event, error)

MapEventResponseBody maps the response body from a call to the event API to an Event.

func MapResponseEventsBody added in v1.3.0

func MapResponseEventsBody(
	ctx context.Context,
	events []api.GetEventResponse,
) ([]providerschema.EventItem, error)

MapResponseEventsBody maps the response body from a call to events API to a slice of EventItem.

func NetworkPeerSchema added in v1.3.0

func NetworkPeerSchema() schema.Schema

func NewAWSPrivateEndpointCommand added in v1.3.0

func NewAWSPrivateEndpointCommand() datasource.DataSource

NewAWSPrivateEndpointCommand is a helper function to simplify the provider implementation.

func NewAllowLists

func NewAllowLists() datasource.DataSource

NewAllowLists is a helper function to simplify the provider implementation.

func NewApiKeys

func NewApiKeys() datasource.DataSource

NewApiKeys is a helper function to simplify the provider implementation.

func NewAppServices

func NewAppServices() datasource.DataSource

NewAppServices is a helper function to simplify the provider implementation.

func NewAuditLogEventIDs added in v1.2.0

func NewAuditLogEventIDs() datasource.DataSource

NewAuditLogEventIDs is a helper function to simplify the provider implementation.

func NewAuditLogExport added in v1.2.0

func NewAuditLogExport() datasource.DataSource

NewAuditLogExport is a helper function to simplify the provider implementation.

func NewAuditLogSettings added in v1.2.0

func NewAuditLogSettings() datasource.DataSource

NewAuditLogSettings is a helper function to simplify the provider implementation.

func NewAzurePrivateEndpointCommand added in v1.3.0

func NewAzurePrivateEndpointCommand() datasource.DataSource

NewAzurePrivateEndpointCommand is a helper function to simplify the provider implementation.

func NewBackups

func NewBackups() datasource.DataSource

NewBackups is a helper function to simplify the provider implementation.

func NewBuckets

func NewBuckets() datasource.DataSource

NewBuckets is a helper function to simplify the provider implementation.

func NewCertificate

func NewCertificate() datasource.DataSource

NewCertificate is a helper function to simplify the provider implementation.

func NewClusterOnOffSchedule added in v1.1.0

func NewClusterOnOffSchedule() datasource.DataSource

NewClusterOnOffSchedule is a helper function to simplify the provider implementation.

func NewClusters

func NewClusters() datasource.DataSource

NewClusters is a helper function to simplify the provider implementation.

func NewCollections added in v1.1.0

func NewCollections() datasource.DataSource

NewCollections is a helper function to simplify the provider implementation.

func NewDatabaseCredentials

func NewDatabaseCredentials() datasource.DataSource

NewDatabaseCredentials is a helper function to simplify the provider implementation.

func NewEvent added in v1.3.0

func NewEvent() datasource.DataSource

NewEvent is a helper function to simplify the provider implementation.

func NewEvents added in v1.3.0

func NewEvents() datasource.DataSource

NewEvents is a helper function to simplify the provider implementation.

func NewNetworkPeers added in v1.3.0

func NewNetworkPeers() datasource.DataSource

NewNetworkPeers is a helper function to simplify the provider implementation.

func NewOrganization

func NewOrganization() datasource.DataSource

func NewPrivateEndpointService added in v1.3.0

func NewPrivateEndpointService() datasource.DataSource

NewPrivateEndpointService is a helper function to simplify the provider implementation.

func NewPrivateEndpoints added in v1.3.0

func NewPrivateEndpoints() datasource.DataSource

NewPrivateEndpoints is a helper function to simplify the provider implementation.

func NewProjectEvent added in v1.3.0

func NewProjectEvent() datasource.DataSource

NewProjectEvent is a helper function to simplify the provider implementation.

func NewProjectEvents added in v1.3.0

func NewProjectEvents() datasource.DataSource

NewProjectEvents is a helper function to simplify the provider implementation.

func NewProjects

func NewProjects() datasource.DataSource

NewProjects is a helper function to simplify the provider implementation.

func NewSampleBuckets added in v1.1.0

func NewSampleBuckets() datasource.DataSource

NewSampleBuckets is a helper function to simplify the provider implementation.

func NewScopes added in v1.1.0

func NewScopes() datasource.DataSource

NewScopes is a helper function to simplify the provider implementation.

func NewUsers

func NewUsers() datasource.DataSource

NewUsers is a helper function to simplify the provider implementation.

func ProjectEventSchema added in v1.3.0

func ProjectEventSchema() schema.Schema

ProjectEventSchema returns the schema for the ProjectEvent data source.

func ProjectEventsSchema added in v1.3.0

func ProjectEventsSchema() schema.Schema

ProjectEventsSchema returns the schema for the ProjectEvents data source.

Types

type AWSPrivateEndpointCommand added in v1.3.0

type AWSPrivateEndpointCommand struct {
	*providerschema.Data
}

AWSPrivateEndpointCommand is the data source implementation.

func (*AWSPrivateEndpointCommand) Configure added in v1.3.0

Configure adds the provider configured client to the private endpoint command data source.

func (*AWSPrivateEndpointCommand) Metadata added in v1.3.0

Metadata returns the data source type name.

func (*AWSPrivateEndpointCommand) Read added in v1.3.0

Read refreshes the Terraform state with the latest data of private endpoint.

func (*AWSPrivateEndpointCommand) Schema added in v1.3.0

Schema defines the schema for the private endpoint command data source.

type AllowLists

type AllowLists struct {
	*providerschema.Data
}

AllowLists is the allow list data source implementation.

func (*AllowLists) Configure

Configure adds the provider configured client to the allowlist data source.

func (*AllowLists) Metadata

Metadata returns the allow list data source type name.

func (*AllowLists) Read

Read refreshes the Terraform state with the latest data of allowlists.

func (*AllowLists) Schema

Schema defines the schema for the allowlist data source.

type ApiKeys

type ApiKeys struct {
	*providerschema.Data
}

ApiKeys is the api key data source implementation.

func (*ApiKeys) Configure

Configure adds the provider configured client to the api key data source.

func (*ApiKeys) Metadata

Metadata returns the api key data source type name.

func (*ApiKeys) Read

Read refreshes the Terraform state with the latest data of api keys.

func (*ApiKeys) Schema

Schema defines the schema for the api key data source.

type AppServices

type AppServices struct {
	*providerschema.Data
}

AppServices is the AppServices data source implementation.

func (*AppServices) Configure

Configure adds the provider configured client to the cluster data source.

func (*AppServices) Metadata

Metadata returns the app services data source type name.

func (*AppServices) Read

Read refreshes the Terraform state with the latest data of app services.

func (*AppServices) Schema

Schema defines the schema for the AppServices data source.

type AuditLogEventIDs added in v1.2.0

type AuditLogEventIDs struct {
	*providerschema.Data
}

AuditLogEventIDs is a list of audit log event ids.

func (*AuditLogEventIDs) Configure added in v1.2.0

Configure adds the provider configured client to the project data source.

func (*AuditLogEventIDs) Metadata added in v1.2.0

Metadata returns the certificates data source type name.

func (*AuditLogEventIDs) Read added in v1.2.0

Read refreshes the Terraform state with the latest data of projects.

func (*AuditLogEventIDs) Schema added in v1.2.0

Schema defines the schema for the audit log event ids data source.

type AuditLogExport added in v1.2.0

type AuditLogExport struct {
	*providerschema.Data
}

AuditLogExport is the data source implementation.

func (*AuditLogExport) Configure added in v1.2.0

Configure adds the provider configured client to the audit log export data source.

func (*AuditLogExport) Metadata added in v1.2.0

Metadata returns the audit log export data source type name.

func (*AuditLogExport) Read added in v1.2.0

Read refreshes the Terraform state with the latest data of audit log export.

func (*AuditLogExport) Schema added in v1.2.0

Schema defines the schema for the audit log export data source.

type AuditLogSettings added in v1.2.0

type AuditLogSettings struct {
	*providerschema.Data
}

AuditLogSettings is the data source implementation.

func (*AuditLogSettings) Configure added in v1.2.0

func (*AuditLogSettings) Metadata added in v1.2.0

Metadata returns the certificates data source type name.

func (*AuditLogSettings) Read added in v1.2.0

Read refreshes the Terraform state with the latest audit log settings.

func (*AuditLogSettings) Schema added in v1.2.0

type AzurePrivateEndpointCommand added in v1.3.0

type AzurePrivateEndpointCommand struct {
	*providerschema.Data
}

AzurePrivateEndpointCommand is the data source implementation.

func (*AzurePrivateEndpointCommand) Configure added in v1.3.0

Configure adds the provider configured client to the private endpoint command data source.

func (*AzurePrivateEndpointCommand) Metadata added in v1.3.0

Metadata returns the data source type name.

func (*AzurePrivateEndpointCommand) Read added in v1.3.0

Read refreshes the Terraform state with the latest data of private endpoint command .

func (*AzurePrivateEndpointCommand) Schema added in v1.3.0

Schema defines the schema for the private endpoint command data source.

type Backups

type Backups struct {
	*providerschema.Data
}

Backups is the Backups data source implementation.

func (*Backups) Configure

Configure adds the provider configured client to the cluster data source.

func (*Backups) Metadata

Metadata returns the backup data source type name.

func (*Backups) Read

Read refreshes the Terraform state with the latest data of backups.

func (*Backups) Schema

Schema defines the schema for the Backups data source.

type Buckets

type Buckets struct {
	*providerschema.Data
}

Buckets is the bucket data source implementation.

func (*Buckets) Configure

Configure adds the provider configured client to the bucket data source.

func (*Buckets) Metadata

Metadata returns the bucket data source type name.

func (*Buckets) Read

Read refreshes the Terraform state with the latest data of buckets.

func (*Buckets) Schema

Schema defines the schema for the bucket data source.

type Certificate

type Certificate struct {
	*providerschema.Data
}

Certificate is the certificate data source implementation.

func (*Certificate) Configure

Configure adds the provider configured client to the project data source.

func (*Certificate) Metadata

Metadata returns the certificates data source type name.

func (*Certificate) Read

Read refreshes the Terraform state with the latest data of projects.

func (*Certificate) Schema

Schema defines the schema for the allowlist data source.

type ClusterOnOffSchedule added in v1.1.0

type ClusterOnOffSchedule struct {
	*providerschema.Data
}

ClusterOnOffSchedule is the OnOffSchedule data source implementation.

func (*ClusterOnOffSchedule) Configure added in v1.1.0

Configure adds the provider configured client to the cluster on/off schedule data source.

func (*ClusterOnOffSchedule) Metadata added in v1.1.0

Metadata returns the cluster on/off schedule data source type name.

func (*ClusterOnOffSchedule) Read added in v1.1.0

Read refreshes the Terraform state with the latest data of cluster on/off schedules.

func (*ClusterOnOffSchedule) Schema added in v1.1.0

Schema defines the schema for the cluster on/off schedule data source.

type Clusters

type Clusters struct {
	*providerschema.Data
}

Clusters is the Clusters data source implementation.

func (*Clusters) Configure

Configure adds the provider configured client to the cluster data source.

func (*Clusters) Metadata

Metadata returns the cluster data source type name.

func (*Clusters) Read

Read refreshes the Terraform state with the latest data of clusters.

func (*Clusters) Schema

Schema defines the schema for the Clusters data source.

type Collections added in v1.1.0

type Collections struct {
	*providerschema.Data
}

Collections is the collections data source implementation.

func (*Collections) Configure added in v1.1.0

func (*Collections) Metadata added in v1.1.0

Metadata returns the collection data source type name.

func (*Collections) Read added in v1.1.0

Read refreshes the Terraform state with the latest data of collections.

func (*Collections) Schema added in v1.1.0

Schema defines the schema for the collection data source.

type DatabaseCredentials

type DatabaseCredentials struct {
	*providerschema.Data
}

DatabaseCredentials is the database credential data source implementation.

func (*DatabaseCredentials) Configure

Configure adds the provider configured client to the database credential data source.

func (*DatabaseCredentials) Metadata

Metadata returns the database credential data source type name.

func (*DatabaseCredentials) Read

Read refreshes the Terraform state with the latest data of database credentials.

func (*DatabaseCredentials) Schema

Schema defines the schema for the database credential data source.

type Event added in v1.3.0

type Event struct {
	*providerschema.Data
}

Event is the Event data source implementation.

func (*Event) Configure added in v1.3.0

Configure adds the provider configured client to the event data source.

func (*Event) Metadata added in v1.3.0

Metadata returns the backup data source type name.

func (*Event) Read added in v1.3.0

Read refreshes the Terraform state with the latest data of Event.

func (*Event) Schema added in v1.3.0

Schema defines the schema for the Event data source.

type Events added in v1.3.0

type Events struct {
	*providerschema.Data
}

Events is the Events data source implementation.

func (*Events) Configure added in v1.3.0

Configure adds the provider configured client to the events data source.

func (*Events) Metadata added in v1.3.0

Metadata returns the backup data source type name.

func (*Events) Read added in v1.3.0

Read refreshes the Terraform state with the latest data of Events.

func (*Events) Schema added in v1.3.0

Schema defines the schema for the Events data source.

type NetworkPeers added in v1.3.0

type NetworkPeers struct {
	*providerschema.Data
}

NetworkPeers is the NetworkPeers data source implementation.

func (*NetworkPeers) Configure added in v1.3.0

Configure adds the provider configured client to the cluster data source.

func (*NetworkPeers) Metadata added in v1.3.0

Metadata returns the network peers data source type name.

func (*NetworkPeers) Read added in v1.3.0

Read refreshes the Terraform state with the latest data of network peers.

func (*NetworkPeers) Schema added in v1.3.0

Schema defines the schema for the NetworkPeers data source.

type Organization

type Organization struct {
	*providerschema.Data
}

func (*Organization) Configure

Configure adds the provider configured client to the organization data source.

func (*Organization) Metadata

func (*Organization) Read

func (*Organization) Schema

type PrivateEndpointService added in v1.3.0

type PrivateEndpointService struct {
	*providerschema.Data
}

PrivateEndpointService is the data source implementation.

func (*PrivateEndpointService) Configure added in v1.3.0

Configure adds the provider configured client to the private endpoint service data source.

func (*PrivateEndpointService) Metadata added in v1.3.0

Metadata returns the data source type name.

func (*PrivateEndpointService) Read added in v1.3.0

Read refreshes the Terraform state with the latest data of the private endpoint service.

func (*PrivateEndpointService) Schema added in v1.3.0

Schema defines schema for private endpoint service resource.

type PrivateEndpoints added in v1.3.0

type PrivateEndpoints struct {
	*providerschema.Data
}

PrivateEndpoints is the data source implementation.

func (*PrivateEndpoints) Configure added in v1.3.0

Configure adds the provider configured client to the private endpoint data source.

func (*PrivateEndpoints) Metadata added in v1.3.0

Metadata returns the data source type name.

func (*PrivateEndpoints) Read added in v1.3.0

Read refreshes the Terraform state with the latest data of private endpoint.

func (*PrivateEndpoints) Schema added in v1.3.0

Schema defines the schema for the private endpoint data source.

type ProjectEvent added in v1.3.0

type ProjectEvent struct {
	*providerschema.Data
}

ProjectEvent is the ProjectEvent data source implementation.

func (*ProjectEvent) Configure added in v1.3.0

Configure adds the provider configured client to the ProjectEvent data source.

func (*ProjectEvent) Metadata added in v1.3.0

Metadata returns the backup data source type name.

func (*ProjectEvent) Read added in v1.3.0

Read refreshes the Terraform state with the latest data of ProjectEvent.

func (*ProjectEvent) Schema added in v1.3.0

Schema defines the schema for the ProjectEvent data source.

type ProjectEvents added in v1.3.0

type ProjectEvents struct {
	*providerschema.Data
}

ProjectEvents is the ProjectEvents data source implementation.

func (*ProjectEvents) Configure added in v1.3.0

Configure adds the provider configured client to the ProjectEvents data source.

func (*ProjectEvents) Metadata added in v1.3.0

Metadata returns the backup data source type name.

func (*ProjectEvents) Read added in v1.3.0

Read refreshes the Terraform state with the latest data of ProjectEvents.

func (*ProjectEvents) Schema added in v1.3.0

Schema defines the schema for the ProjectEvents data source.

type Projects

type Projects struct {
	*providerschema.Data
}

Projects is the project data source implementation.

func (*Projects) Configure

Configure adds the provider configured client to the project data source.

func (*Projects) Metadata

Metadata returns the project data source type name.

func (*Projects) Read

Read refreshes the Terraform state with the latest data of projects.

func (*Projects) Schema

Schema defines the schema for the project data source.

type SampleBuckets added in v1.1.0

type SampleBuckets struct {
	*providerschema.Data
}

Sample buckets is the sample bucket data source implementation.

func (*SampleBuckets) Configure added in v1.1.0

Configure adds the provider configured client to the bucket data source.

func (*SampleBuckets) Metadata added in v1.1.0

Metadata returns the sample bucket data source type name.

func (*SampleBuckets) Read added in v1.1.0

Read refreshes the Terraform state with the latest data of sample buckets.

func (*SampleBuckets) Schema added in v1.1.0

Schema defines the schema for the sample bucket data source.

type Scopes added in v1.1.0

type Scopes struct {
	*providerschema.Data
}

Scopes is the scope data source implementation.

func (*Scopes) Configure added in v1.1.0

func (*Scopes) Metadata added in v1.1.0

Metadata returns the api key data source type name.

func (*Scopes) Read added in v1.1.0

Read refreshes the Terraform state with the latest data of scopes.

func (*Scopes) Schema added in v1.1.0

Schema defines the schema for the scope data source.

type Users

type Users struct {
	*providerschema.Data
}

Users is the user data source implementation.

func (*Users) Configure

Configure adds the provider configured client to the User data source.

func (*Users) Metadata

Metadata returns the user data source type name.

func (*Users) Read

Read refreshes the Terraform state with the latest data of Users.

func (*Users) Schema

Schema defines the schema for the User data source.

Jump to

Keyboard shortcuts

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