provider

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MPL-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpontentialBackoff

func ExpontentialBackoff(sleepTime int, maxSleepTime int) int

ExpontentialBackoff is a function that takes in a sleepTime and maxSleepTime and returns a new sleepTime

func IntUseStateForUnknown

func IntUseStateForUnknown() planmodifier.Int64

IntUseStateForUnknown is the wrapper function returns the plan modifier

func New

func New(version string) func() provider.Provider

New creates a provider instance.

func NewAggregateResource

func NewAggregateResource() resource.Resource

NewAggregateResource is a helper function to simplify the provider implementation.

func NewClusterDataSource

func NewClusterDataSource() datasource.DataSource

NewClusterDataSource is a helper function to simplify the provider implementation.

func NewClusterLicensingLicenseDataSource

func NewClusterLicensingLicenseDataSource() datasource.DataSource

NewClusterLicensingLicenseDataSource is a helper function to simplify the provider implementation.

func NewClusterLicensingLicenseResource

func NewClusterLicensingLicenseResource() resource.Resource

NewClusterLicensingLicenseResource is a helper function to simplify the provider implementation.

func NewClusterLicensingLicensesDataSource

func NewClusterLicensingLicensesDataSource() datasource.DataSource

NewClusterLicensingLicensesDataSource is a helper function to simplify the provider implementation.

func NewClusterScheduleDataSource

func NewClusterScheduleDataSource() datasource.DataSource

NewClusterScheduleDataSource is a helper function to simplify the provider implementation.

func NewClusterScheduleResource

func NewClusterScheduleResource() resource.Resource

NewClusterScheduleResource is a helper function to simplify the provider implementation.

func NewClusterSchedulesDataSource

func NewClusterSchedulesDataSource() datasource.DataSource

NewClusterSchedulesDataSource is a helper function to simplify the provider implementation.

func NewExampleDataSource

func NewExampleDataSource() datasource.DataSource

NewExampleDataSource is a helper function to simplify the provider implementation.

func NewExampleResource

func NewExampleResource() resource.Resource

NewExampleResource is a helper function to simplify the provider implementation.

func NewExportPoliciesDataSource

func NewExportPoliciesDataSource() datasource.DataSource

NewExportPoliciesDataSource is a helper function to simplify the provider implementation.

func NewExportPolicyDataSource

func NewExportPolicyDataSource() datasource.DataSource

NewExportPolicyDataSource is a helper function to simplify the provider implementation.

func NewExportPolicyResource

func NewExportPolicyResource() resource.Resource

NewExportPolicyResource is a helper function to simplify the provider implementation.

func NewExportPolicyRuleDataSource

func NewExportPolicyRuleDataSource() datasource.DataSource

NewExportPolicyRuleDataSource is a helper function to simplify the provider implementation.

func NewExportPolicyRuleResource

func NewExportPolicyRuleResource() resource.Resource

NewExportPolicyRuleResource is a helper function to simplify the provider implementation.

func NewExportPolicyRulesDataSource

func NewExportPolicyRulesDataSource() datasource.DataSource

NewExportPolicyRulesDataSource is a helper function to simplify the provider implementation.

func NewGoAllPrefixDataSource

func NewGoAllPrefixDataSource() datasource.DataSource

NewGoAllPrefixDataSource is a helper function to simplify the provider implementation.

func NewGoPrefixDataSource

func NewGoPrefixDataSource() datasource.DataSource

NewGoPrefixDataSource is a helper function to simplify the provider implementation.

func NewGoPrefixResource

func NewGoPrefixResource() resource.Resource

NewGoPrefixResource is a helper function to simplify the provider implementation.

func NewIPInterfaceDataSource

func NewIPInterfaceDataSource() datasource.DataSource

NewIPInterfaceDataSource is a helper function to simplify the provider implementation.

func NewIPInterfaceResource

func NewIPInterfaceResource() resource.Resource

NewIPInterfaceResource is a helper function to simplify the provider implementation.

func NewIPInterfacesDataSource

func NewIPInterfacesDataSource() datasource.DataSource

NewIPInterfacesDataSource is a helper function to simplify the provider implementation.

func NewIPRouteDataSource

func NewIPRouteDataSource() datasource.DataSource

NewIPRouteDataSource is a helper function to simplify the provider implementation.

func NewIPRouteResource

func NewIPRouteResource() resource.Resource

NewIPRouteResource is a helper function to simplify the provider implementation.

func NewIPRoutesDataSource

func NewIPRoutesDataSource() datasource.DataSource

NewIPRoutesDataSource is a helper function to simplify the provider implementation.

func NewNameServicesDNSDataSource

func NewNameServicesDNSDataSource() datasource.DataSource

NewNameServicesDNSDataSource is a helper function to simplify the provider implementation.

func NewNameServicesDNSResource

func NewNameServicesDNSResource() resource.Resource

NewNameServicesDNSResource is a helper function to simplify the provider implementation.

func NewNameServicesDNSsDataSource

func NewNameServicesDNSsDataSource() datasource.DataSource

NewNameServicesDNSsDataSource is a helper function to simplify the provider implementation.

func NewProtocolsNfsServiceDataSource

func NewProtocolsNfsServiceDataSource() datasource.DataSource

NewProtocolsNfsServiceDataSource is a helper function to simplify the provider implementation.

func NewProtocolsNfsServiceResource

func NewProtocolsNfsServiceResource() resource.Resource

NewProtocolsNfsServiceResource is a helper function to simplify the provider implementation.

func NewProtocolsNfsServicesDataSource

func NewProtocolsNfsServicesDataSource() datasource.DataSource

NewProtocolsNfsServicesDataSource is a helper function to simplify the provider implementation.

func NewSnapmirrorDataSource

func NewSnapmirrorDataSource() datasource.DataSource

NewSnapmirrorDataSource is a helper function to simplify the provider implementation.

func NewSnapmirrorPoliciesDataSource

func NewSnapmirrorPoliciesDataSource() datasource.DataSource

NewSnapmirrorPoliciesDataSource is a helper function to simplify the provider implementation.

func NewSnapmirrorPolicyDataSource

func NewSnapmirrorPolicyDataSource() datasource.DataSource

NewSnapmirrorPolicyDataSource is a helper function to simplify the provider implementation.

func NewSnapmirrorPolicyResource

func NewSnapmirrorPolicyResource() resource.Resource

NewSnapmirrorPolicyResource is a helper function to simplify the provider implementation.

func NewSnapmirrorResource

func NewSnapmirrorResource() resource.Resource

NewSnapmirrorResource is a helper function to simplify the provider implementation.

func NewSnapmirrorsDataSource

func NewSnapmirrorsDataSource() datasource.DataSource

NewSnapmirrorsDataSource is a helper function to simplify the provider implementation.

func NewSnapshotPoliciesDataSource

func NewSnapshotPoliciesDataSource() datasource.DataSource

NewSnapshotPoliciesDataSource is a helper function to simplify the provider implementation.

func NewSnapshotPolicyDataSource

func NewSnapshotPolicyDataSource() datasource.DataSource

NewSnapshotPolicyDataSource is a helper function to simplify the provider implementation.

func NewSnapshotPolicyResource

func NewSnapshotPolicyResource() resource.Resource

NewSnapshotPolicyResource is a helper function to simplify the provider implementation.

func NewStorageAggregateDataSource

func NewStorageAggregateDataSource() datasource.DataSource

NewStorageAggregateDataSource is a helper function to simplify the provider implementation.

func NewStorageAggregatesDataSource

func NewStorageAggregatesDataSource() datasource.DataSource

NewStorageAggregatesDataSource is a helper function to simplify the provider implementation.

func NewStorageVolumeDataSource

func NewStorageVolumeDataSource() datasource.DataSource

NewStorageVolumeDataSource is a helper function to simplify the provider implementation.

func NewStorageVolumeResource

func NewStorageVolumeResource() resource.Resource

NewStorageVolumeResource is a helper function to simplify the provider implementation.

func NewStorageVolumeSnapshotDataSource

func NewStorageVolumeSnapshotDataSource() datasource.DataSource

NewStorageVolumeSnapshotDataSource is a helper function to simplify the provider implementation.

func NewStorageVolumeSnapshotResource

func NewStorageVolumeSnapshotResource() resource.Resource

NewStorageVolumeSnapshotResource is a helper function to simplify the provider implementation.

func NewStorageVolumeSnapshotsDataSource

func NewStorageVolumeSnapshotsDataSource() datasource.DataSource

NewStorageVolumeSnapshotsDataSource is a helper function to simplify the provider implementation.

func NewStorageVolumesDataSource

func NewStorageVolumesDataSource() datasource.DataSource

NewStorageVolumesDataSource is a helper function to simplify the provider implementation.

func NewSvmDataSource

func NewSvmDataSource() datasource.DataSource

NewSvmDataSource is a helper function to simplify the provider implementation.

func NewSvmResource

func NewSvmResource() resource.Resource

NewSvmResource is a helper function to simplify the provider implementation.

func NewSvmsDataSource

func NewSvmsDataSource() datasource.DataSource

NewSvmsDataSource is a helper function to simplify the provider implementation.

func StringInSlice added in v1.0.1

func StringInSlice(str string, list []types.String) bool

StringInSlice checks if a string is in a slice of strings

Types

type AggregateResource

type AggregateResource struct {
	// contains filtered or unexported fields
}

AggregateResource defines the resource implementation.

func (*AggregateResource) Configure

Configure adds the provider configured client to the resource.

func (*AggregateResource) Create

Create creates the resource and sets the initial Terraform state.

func (*AggregateResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*AggregateResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*AggregateResource) Metadata

Metadata returns the resource type name.

func (*AggregateResource) Read

Read refreshes the Terraform state with the latest data.

func (*AggregateResource) Schema

Schema defines the schema for the resource.

func (*AggregateResource) Update

Update updates the resource and sets the updated Terraform state on success.

type AggregateResourceModel

type AggregateResourceModel struct {
	CxProfileName types.String `tfsdk:"cx_profile_name"`
	Name          types.String `tfsdk:"name"`
	ID            types.String `tfsdk:"id"`
	State         types.String `tfsdk:"state"`
	Node          types.String `tfsdk:"node"`
	DiskClass     types.String `tfsdk:"disk_class"`
	DiskCount     types.Int64  `tfsdk:"disk_count"`
	DiskSize      types.Int64  `tfsdk:"disk_size"`
	DiskSizeUnit  types.String `tfsdk:"disk_size_unit"`
	RaidSize      types.Int64  `tfsdk:"raid_size"`
	RaidType      types.String `tfsdk:"raid_type"`
	IsMirrored    types.Bool   `tfsdk:"is_mirrored"`
	SnaplockType  types.String `tfsdk:"snaplock_type"`
	Encryption    types.Bool   `tfsdk:"encryption"`
}

AggregateResourceModel describes the resource data model.

type Capacity

type Capacity struct {
	MaximumSize types.Int64 `tfsdk:"maximum_size"`
	UsedSize    types.Int64 `tfsdk:"used_size"`
}

Capacity describes data source model.

type Cluster

type Cluster struct {
	Name types.String `tfsdk:"name"`
}

Cluster describes Cluster data model.

type ClusterDataSource

type ClusterDataSource struct {
	// contains filtered or unexported fields
}

ClusterDataSource defines the data source implementation.

func (*ClusterDataSource) Configure

Configure adds the provider configured client to the data source.

func (*ClusterDataSource) Metadata

Metadata returns the data source type name.

func (*ClusterDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*ClusterDataSource) Schema

Schema defines the schema for the data source.

type ClusterDataSourceModel

type ClusterDataSourceModel struct {
	// ConfigurableAttribute types.String `tfsdk:"configurable_attribute"`
	// ID                    types.String `tfsdk:"id"`
	CxProfileName types.String          `tfsdk:"cx_profile_name"`
	Name          types.String          `tfsdk:"name"`
	Version       *versionModel         `tfsdk:"version"`
	Nodes         []NodeDataSourceModel `tfsdk:"nodes"`
}

ClusterDataSourceModel describes the data source data model.

type ClusterLicensingLicenseDataSource

type ClusterLicensingLicenseDataSource struct {
	// contains filtered or unexported fields
}

ClusterLicensingLicenseDataSource defines the data source implementation.

func (*ClusterLicensingLicenseDataSource) Configure

Configure adds the provider configured client to the data source.

func (*ClusterLicensingLicenseDataSource) Metadata

Metadata returns the data source type name.

func (*ClusterLicensingLicenseDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*ClusterLicensingLicenseDataSource) Schema

Schema defines the schema for the data source.

type ClusterLicensingLicenseDataSourceFilterModel

type ClusterLicensingLicenseDataSourceFilterModel struct {
	Name types.String `tfsdk:"name"`
}

ClusterLicensingLicenseDataSourceFilterModel describes the data source data model for queries.

type ClusterLicensingLicenseDataSourceModel

type ClusterLicensingLicenseDataSourceModel struct {
	CxProfileName types.String    `tfsdk:"cx_profile_name"`
	Name          types.String    `tfsdk:"name"`
	Licenses      []LicensesModel `tfsdk:"licenses"`
	State         types.String    `tfsdk:"state"`
	Scope         types.String    `tfsdk:"scope"`
}

ClusterLicensingLicenseDataSourceModel describes the data source data model.

type ClusterLicensingLicenseResource

type ClusterLicensingLicenseResource struct {
	// contains filtered or unexported fields
}

ClusterLicensingLicenseResource defines the resource implementation.

func (*ClusterLicensingLicenseResource) Configure

Configure adds the provider configured client to the resource.

func (*ClusterLicensingLicenseResource) Create

Create a resource and retrieve UUID

func (*ClusterLicensingLicenseResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*ClusterLicensingLicenseResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*ClusterLicensingLicenseResource) Metadata

Metadata returns the resource type name.

func (*ClusterLicensingLicenseResource) Read

Read refreshes the Terraform state with the latest data.

func (*ClusterLicensingLicenseResource) Schema

Schema defines the schema for the resource.

func (*ClusterLicensingLicenseResource) Update

Update updates the resource and sets the updated Terraform state on success.

type ClusterLicensingLicenseResourceModel

type ClusterLicensingLicenseResourceModel struct {
	CxProfileName types.String   `tfsdk:"cx_profile_name"`
	Keys          []types.String `tfsdk:"keys"`
	ID            types.String   `tfsdk:"id"`
	Name          types.String   `tfsdk:"name"`
	Scope         types.String   `tfsdk:"scope"`
	State         types.String   `tfsdk:"state"`
	SerialNumber  types.String   `tfsdk:"serial_number"`
}

ClusterLicensingLicenseResourceModel describes the resource data model.

type ClusterLicensingLicensesDataSource

type ClusterLicensingLicensesDataSource struct {
	// contains filtered or unexported fields
}

ClusterLicensingLicensesDataSource defines the data source implementation.

func (*ClusterLicensingLicensesDataSource) Configure

Configure adds the provider configured client to the data source.

func (*ClusterLicensingLicensesDataSource) Metadata

Metadata returns the data source type name.

func (*ClusterLicensingLicensesDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*ClusterLicensingLicensesDataSource) Schema

Schema defines the schema for the data source.

type ClusterLicensingLicensesDataSourceFilterModel

type ClusterLicensingLicensesDataSourceFilterModel struct {
	Name types.String `tfsdk:"name"`
}

ClusterLicensingLicensesDataSourceFilterModel describes the data source data model for queries.

type ClusterLicensingLicensesDataSourceModel

type ClusterLicensingLicensesDataSourceModel struct {
	CxProfileName            types.String                                   `tfsdk:"cx_profile_name"`
	ClusterLicensingLicenses []ClusterLicensingLicenseDataSourceModel       `tfsdk:"cluster_licensing_licenses"`
	Filter                   *ClusterLicensingLicensesDataSourceFilterModel `tfsdk:"filter"`
}

ClusterLicensingLicensesDataSourceModel describes the data source data model.

type ClusterScheduleDataSource

type ClusterScheduleDataSource struct {
	// contains filtered or unexported fields
}

ClusterScheduleDataSource defines the data source implementation.

func (*ClusterScheduleDataSource) Configure

Configure adds the provider configured client to the data source.

func (*ClusterScheduleDataSource) Metadata

Metadata returns the data source type name.

func (*ClusterScheduleDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*ClusterScheduleDataSource) Schema

Schema defines the schema for the data source.

type ClusterScheduleDataSourceFilterModel

type ClusterScheduleDataSourceFilterModel struct {
	Type types.String `tfsdk:"type"`
}

ClusterScheduleDataSourceFilterModel describes the data source data model for queries.

type ClusterScheduleDataSourceModel

type ClusterScheduleDataSourceModel struct {
	CxProfileName types.String       `tfsdk:"cx_profile_name"`
	Name          types.String       `tfsdk:"name"`
	ID            types.String       `tfsdk:"id"`
	Type          types.String       `tfsdk:"type"`
	Interval      types.String       `tfsdk:"interval"`
	Scope         types.String       `tfsdk:"scope"`
	Cron          *CronScheduleModel `tfsdk:"cron"`
}

ClusterScheduleDataSourceModel describes the data source data model.

type ClusterScheduleResource

type ClusterScheduleResource struct {
	// contains filtered or unexported fields
}

ClusterScheduleResource defines the resource implementation.

func (*ClusterScheduleResource) Configure

Configure adds the provider configured client to the resource.

func (*ClusterScheduleResource) Create

Create a resource and retrieve UUID

func (*ClusterScheduleResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*ClusterScheduleResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*ClusterScheduleResource) Metadata

Metadata returns the resource type name.

func (*ClusterScheduleResource) Read

Read refreshes the Terraform state with the latest data.

func (*ClusterScheduleResource) Schema

Schema defines the schema for the resource.

func (*ClusterScheduleResource) Update

Update updates the resource and sets the updated Terraform state on success.

type ClusterScheduleResourceModel

type ClusterScheduleResourceModel struct {
	CxProfileName types.String               `tfsdk:"cx_profile_name"`
	Name          types.String               `tfsdk:"name"`
	ID            types.String               `tfsdk:"id"`
	Interval      types.String               `tfsdk:"interval"`
	Cron          *CronScheduleResourceModel `tfsdk:"cron"`
}

ClusterScheduleResourceModel describes the resource data model.

type ClusterSchedulesDataSource

type ClusterSchedulesDataSource struct {
	// contains filtered or unexported fields
}

ClusterSchedulesDataSource defines the data source implementation.

func (*ClusterSchedulesDataSource) Configure

Configure adds the provider configured client to the data source.

func (*ClusterSchedulesDataSource) Metadata

Metadata returns the data source type name.

func (*ClusterSchedulesDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*ClusterSchedulesDataSource) Schema

Schema defines the schema for the data source.

type ClusterSchedulesDataSourceModel

type ClusterSchedulesDataSourceModel struct {
	CxProfileName    types.String                          `tfsdk:"cx_profile_name"`
	ClusterSchedules []ClusterScheduleDataSourceModel      `tfsdk:"cluster_schedules"`
	Filter           *ClusterScheduleDataSourceFilterModel `tfsdk:"filter"`
}

ClusterSchedulesDataSourceModel describes the data source data model.

type Compliance

type Compliance struct {
	State types.String `tfsdk:"state"`
}

Compliance describes data source model.

type Config

type Config struct {
	ConnectionProfiles   map[string]ConnectionProfile
	Version              string
	JobCompletionTimeOut int
}

Config is created by the provide configure method

func (*Config) GetConnectionProfile

func (c *Config) GetConnectionProfile(name string) (*ConnectionProfile, error)

GetConnectionProfile retrieves a connection profile based on name If name is empty and only one profile is defined, it is returned

func (*Config) NewClient

func (c *Config) NewClient(errorHandler *utils.ErrorHandler, cxProfileName string, resName string) (*restclient.RestClient, error)

NewClient creates a RestClient based on the connection profile identified by cxProfileName

type ConnectionProfile

type ConnectionProfile struct {
	// TODO: add certs in addition to basic authentication
	// TODO: Add Timeout (currently hardcoded to 10 seconds)
	Hostname              string
	Username              string
	Password              string
	ValidateCerts         bool
	MaxConcurrentRequests int
}

ConnectionProfile describes how to reach a cluster or svm

type ConnectionProfileModel

type ConnectionProfileModel struct {
	Name          types.String `tfsdk:"name"`
	Hostname      types.String `tfsdk:"hostname"`
	Username      types.String `tfsdk:"username"`
	Password      types.String `tfsdk:"password"`
	ValidateCerts types.Bool   `tfsdk:"validate_certs"`
}

ConnectionProfileModel associate a connection profile with a name TODO: augment address with hostname, ...

type CopyResourceModel

type CopyResourceModel struct {
	Count           types.Int64           `tfsdk:"count"`
	Schedule        ScheduleResourceModel `tfsdk:"schedule"`
	RetentionPeriod types.String          `tfsdk:"retention_period"`
	SnapmirrorLabel types.String          `tfsdk:"snapmirror_label"`
	Prefix          types.String          `tfsdk:"prefix"`
}

CopyResourceModel describe the snapshot copies data model

type CreateDestination

type CreateDestination struct {
	Enabled types.Bool `tfsdk:"enabled"`
}

CreateDestination describes CreateDestination data model.

type CronScheduleModel

type CronScheduleModel struct {
	Minutes  []types.Int64 `tfsdk:"minutes"`
	Hours    []types.Int64 `tfsdk:"hours"`
	Days     []types.Int64 `tfsdk:"days"`
	Weekdays []types.Int64 `tfsdk:"weekdays"`
	Months   []types.Int64 `tfsdk:"months"`
}

CronScheduleModel describe the cron data model

type CronScheduleResourceModel

type CronScheduleResourceModel struct {
	Minutes  []types.Int64 `tfsdk:"minutes"`
	Hours    []types.Int64 `tfsdk:"hours"`
	Days     []types.Int64 `tfsdk:"days"`
	Weekdays []types.Int64 `tfsdk:"weekdays"`
	Months   []types.Int64 `tfsdk:"months"`
}

CronScheduleResourceModel describe the cron data model

type Destination

type Destination struct {
	Path types.String `tfsdk:"path"`
	Svm  *Svm         `tfsdk:"svm"`
}

Destination describes data source model

type DestinationDataSourceModel

type DestinationDataSourceModel struct {
	Address types.String `tfsdk:"address"`
	Netmask types.String `tfsdk:"netmask"`
}

DestinationDataSourceModel describes the data source of Protocols

type EndPoint

type EndPoint struct {
	Cluster *Cluster     `tfsdk:"cluster"`
	Path    types.String `tfsdk:"path"`
}

EndPoint describes source/destination endpoint data model.

type Entitlement

type Entitlement struct {
	Action types.String `tfsdk:"action"`
	Risk   types.String `tfsdk:"risk"`
}

Entitlement describes data source model.

type ExampleDataSource

type ExampleDataSource struct {
	// contains filtered or unexported fields
}

ExampleDataSource defines the data source implementation.

func (*ExampleDataSource) Configure

Configure adds the provider configured client to the data source.

func (*ExampleDataSource) Metadata

Metadata returns the data source type name.

func (*ExampleDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*ExampleDataSource) Schema

Schema defines the schema for the data source.

type ExampleDataSourceModel

type ExampleDataSourceModel struct {
	ConfigurableAttribute types.String `tfsdk:"configurable_attribute"`
	ID                    types.String `tfsdk:"id"`
}

ExampleDataSourceModel describes the data source data model.

type ExampleResource

type ExampleResource struct {
	// contains filtered or unexported fields
}

ExampleResource defines the resource implementation.

func (*ExampleResource) Configure

Configure adds the provider configured client to the resource.

func (*ExampleResource) Create

Create creates the resource and sets the initial Terraform state.

func (*ExampleResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*ExampleResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*ExampleResource) Metadata

Metadata returns the resource type name.

func (*ExampleResource) Read

Read refreshes the Terraform state with the latest data.

func (*ExampleResource) Schema

Schema defines the schema for the resource.

func (*ExampleResource) Update

Update updates the resource and sets the updated Terraform state on success.

type ExampleResourceModel

type ExampleResourceModel struct {
	ConfigurableAttribute types.String `tfsdk:"configurable_attribute"`
	ID                    types.String `tfsdk:"id"`
}

ExampleResourceModel describes the resource data model.

type ExportPoliciesDataSource

type ExportPoliciesDataSource struct {
	// contains filtered or unexported fields
}

ExportPoliciesDataSource defines the data source implementation.

func (*ExportPoliciesDataSource) Configure

Configure adds the provider configured client to the data source.

func (*ExportPoliciesDataSource) Metadata

Metadata returns the data source type name.

func (*ExportPoliciesDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*ExportPoliciesDataSource) Schema

Schema defines the schema for the data source.

type ExportPoliciesDataSourceModel

type ExportPoliciesDataSourceModel struct {
	CxProfileName  types.String                          `tfsdk:"cx_profile_name"`
	ExportPolicies []ExportPolicyGetDataSourceModelONTAP `tfsdk:"protocols_nfs_export_policies"`
	Filter         *ExportPolicyDataSourceFilterModel    `tfsdk:"filter"`
}

ExportPoliciesDataSourceModel describes the data source data model.

type ExportPolicyDataSource

type ExportPolicyDataSource struct {
	// contains filtered or unexported fields
}

ExportPolicyDataSource defines the source implementation.

func (*ExportPolicyDataSource) Configure

Configure adds the provider configured client to the data source.

func (*ExportPolicyDataSource) Metadata

Metadata returns the resource type name.

func (*ExportPolicyDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*ExportPolicyDataSource) Schema

Schema defines the schema for the resource.

type ExportPolicyDataSourceFilterModel

type ExportPolicyDataSourceFilterModel struct {
	Name    types.String `tfsdk:"name"`
	SVMName types.String `tfsdk:"svm_name"`
}

ExportPolicyDataSourceFilterModel describes the data source data model for queries.

type ExportPolicyDataSourceModel

type ExportPolicyDataSourceModel struct {
	CxProfileName types.String `tfsdk:"cx_profile_name"`
	SVMName       types.String `tfsdk:"svm_name"`
	Name          types.String `tfsdk:"name"`
	ID            types.String `tfsdk:"id"`
}

ExportPolicyDataSourceModel describes the source data model.

type ExportPolicyGetDataSourceModelONTAP

type ExportPolicyGetDataSourceModelONTAP struct {
	CxProfileName types.String `tfsdk:"cx_profile_name"`
	Name          types.String `tfsdk:"name"`
	ID            types.Int64  `tfsdk:"id"`
	SVMName       types.String `tfsdk:"svm_name"`
	SVMUUID       types.String `tfsdk:"svm_uuid"`
}

ExportPolicyGetDataSourceModelONTAP describes the source data model.

type ExportPolicyResource

type ExportPolicyResource struct {
	// contains filtered or unexported fields
}

ExportPolicyResource defines the resource implementation.

func (*ExportPolicyResource) Configure

Configure adds the provider configured client to the resource.

func (*ExportPolicyResource) Create

Create creates the resource and sets the initial Terraform state.

func (*ExportPolicyResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*ExportPolicyResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*ExportPolicyResource) Metadata

Metadata returns the resource type name.

func (*ExportPolicyResource) Read

Read refreshes the Terraform state with the latest data.

func (*ExportPolicyResource) Schema

Schema defines the schema for the resource.

func (*ExportPolicyResource) Update

Update updates the resource and sets the updated Terraform state on success.

type ExportPolicyResourceModel

type ExportPolicyResourceModel struct {
	CxProfileName types.String `tfsdk:"cx_profile_name"`
	Name          types.String `tfsdk:"name"`
	SVMName       types.String `tfsdk:"svm_name"`
	ID            types.String `tfsdk:"id"`
}

ExportPolicyResourceModel describes the resource data model.

type ExportPolicyRuleDataSource

type ExportPolicyRuleDataSource struct {
	// contains filtered or unexported fields
}

ExportPolicyRuleDataSource defines the source implementation.

func (*ExportPolicyRuleDataSource) Configure

Configure adds the provider configured client to the data source.

func (*ExportPolicyRuleDataSource) Metadata

Metadata returns the resource type name.

func (*ExportPolicyRuleDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*ExportPolicyRuleDataSource) Schema

Schema defines the schema for the resource.

type ExportPolicyRuleDataSourceFilterModel

type ExportPolicyRuleDataSourceFilterModel struct {
	SVMName types.String `tfsdk:"svm_name"`
}

ExportPolicyRuleDataSourceFilterModel describes the data source data model for queries.

type ExportPolicyRuleDataSourceModel

type ExportPolicyRuleDataSourceModel struct {
	CxProfileName       types.String   `tfsdk:"cx_profile_name"`
	ExportPolicyID      types.String   `tfsdk:"export_policy_id"`
	SVMName             types.String   `tfsdk:"svm_name"`
	ExportPolicyName    types.String   `tfsdk:"export_policy_name"`
	RoRule              []types.String `tfsdk:"ro_rule"`
	RwRule              []types.String `tfsdk:"rw_rule"`
	Protocols           []types.String `tfsdk:"protocols"`
	AnonymousUser       types.String   `tfsdk:"anonymous_user"`
	Superuser           []types.String `tfsdk:"superuser"`
	AllowDeviceCreation types.Bool     `tfsdk:"allow_device_creation"`
	NtfsUnixSecurity    types.String   `tfsdk:"ntfs_unix_security"`
	ChownMode           types.String   `tfsdk:"chown_mode"`
	AllowSuid           types.Bool     `tfsdk:"allow_suid"`
	ClientsMatch        []types.String `tfsdk:"clients_match"`
	Index               types.Int64    `tfsdk:"index"`
}

ExportPolicyRuleDataSourceModel describes the source data model.

type ExportPolicyRuleResource

type ExportPolicyRuleResource struct {
	// contains filtered or unexported fields
}

ExportPolicyRuleResource defines the resource implementation.

func (*ExportPolicyRuleResource) Configure

Configure adds the provider configured client to the resource.

func (*ExportPolicyRuleResource) Create

Create creates the resource and sets the initial Terraform state.

func (*ExportPolicyRuleResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*ExportPolicyRuleResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*ExportPolicyRuleResource) Metadata

Metadata returns the resource type name.

func (*ExportPolicyRuleResource) Read

Read refreshes the Terraform state with the latest data.

func (*ExportPolicyRuleResource) Schema

Schema defines the schema for the resource.

func (*ExportPolicyRuleResource) Update

Update updates the resource and sets the updated Terraform state on success.

type ExportPolicyRuleResourceModel

type ExportPolicyRuleResourceModel struct {
	CxProfileName       types.String   `tfsdk:"cx_profile_name"`
	ExportPolicyID      types.String   `tfsdk:"export_policy_id"`
	SVMName             types.String   `tfsdk:"svm_name"`
	RoRule              []types.String `tfsdk:"ro_rule"`
	RwRule              []types.String `tfsdk:"rw_rule"`
	Protocols           []types.String `tfsdk:"protocols"`
	AnonymousUser       types.String   `tfsdk:"anonymous_user"`
	Superuser           []types.String `tfsdk:"superuser"`
	AllowDeviceCreation types.Bool     `tfsdk:"allow_device_creation"`
	NtfsUnixSecurity    types.String   `tfsdk:"ntfs_unix_security"`
	ChownMode           types.String   `tfsdk:"chown_mode"`
	AllowSuid           types.Bool     `tfsdk:"allow_suid"`
	ClientsMatch        []types.String `tfsdk:"clients_match"`
	Index               types.Int64    `tfsdk:"index"`
	ExportPolicyName    types.String   `tfsdk:"export_policy_name"`
	ID                  types.String   `tfsdk:"id"`
}

ExportPolicyRuleResourceModel describes the resource data model.

type ExportPolicyRulesDataSourceModel

type ExportPolicyRulesDataSourceModel struct {
	CxProfileName                 types.String                           `tfsdk:"cx_profile_name"`
	SVMName                       types.String                           `tfsdk:"svm_name"`
	ExportPolicyName              types.String                           `tfsdk:"export_policy_name"`
	ProtocolsNFSExportPolicyRules []ExportPolicyRuleDataSourceModel      `tfsdk:"protocols_nfs_export_policy_rules"`
	Filter                        *ExportPolicyRuleDataSourceFilterModel `tfsdk:"filter"`
}

ExportPolicyRulesDataSourceModel describes the data source data model.

type GoAllPrefixDataSource

type GoAllPrefixDataSource struct {
	// contains filtered or unexported fields
}

GoAllPrefixDataSource defines the data source implementation.

func (*GoAllPrefixDataSource) Configure

Configure adds the provider configured client to the data source.

func (*GoAllPrefixDataSource) Metadata

Metadata returns the data source type name.

func (*GoAllPrefixDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*GoAllPrefixDataSource) Schema

Schema defines the schema for the data source.

type GoAllPrefixDataSourceModel

type GoAllPrefixDataSourceModel struct {
	CxProfileName types.String                   `tfsdk:"cx_profile_name"`
	GoAllPrefix   []GoPrefixDataSourceModel      `tfsdk:"tag_all_prefix"`
	Filter        *GoPrefixDataSourceFilterModel `tfsdk:"filter"`
}

GoAllPrefixDataSourceModel describes the data source data model.

type GoPrefixDataSource

type GoPrefixDataSource struct {
	// contains filtered or unexported fields
}

GoPrefixDataSource defines the data source implementation.

func (*GoPrefixDataSource) Configure

Configure adds the provider configured client to the data source.

func (*GoPrefixDataSource) Metadata

Metadata returns the data source type name.

func (*GoPrefixDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*GoPrefixDataSource) Schema

Schema defines the schema for the data source.

type GoPrefixDataSourceFilterModel

type GoPrefixDataSourceFilterModel struct {
	Name    types.String `tfsdk:"name"`
	SVMName types.String `tfsdk:"svm.name"`
}

GoPrefixDataSourceFilterModel describes the data source data model for queries.

type GoPrefixDataSourceModel

type GoPrefixDataSourceModel struct {
	CxProfileName types.String `tfsdk:"cx_profile_name"`
	Name          types.String `tfsdk:"name"`
	SVMName       types.String `tfsdk:"svm_name"`
}

GoPrefixDataSourceModel describes the data source data model.

type GoPrefixResource

type GoPrefixResource struct {
	// contains filtered or unexported fields
}

GoPrefixResource defines the resource implementation.

func (*GoPrefixResource) Configure

Configure adds the provider configured client to the resource.

func (*GoPrefixResource) Create

Create a resource and retrieve UUID

func (*GoPrefixResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*GoPrefixResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*GoPrefixResource) Metadata

Metadata returns the resource type name.

func (*GoPrefixResource) Read

Read refreshes the Terraform state with the latest data.

func (*GoPrefixResource) Schema

Schema defines the schema for the resource.

func (*GoPrefixResource) Update

Update updates the resource and sets the updated Terraform state on success.

type GoPrefixResourceModel

type GoPrefixResourceModel struct {
	CxProfileName types.String `tfsdk:"cx_profile_name"`
	Name          types.String `tfsdk:"name"`
	SVMName       types.String `tfsdk:"svm_name"` // if needed or relevant
	UUID          types.String `tfsdk:"uuid"`
}

GoPrefixResourceModel describes the resource data model.

type IPDataSourceModel

type IPDataSourceModel struct {
	Address types.String `tfsdk:"address"`
	Netmask types.Int64  `tfsdk:"netmask"`
}

IPDataSourceModel describes the data source model for IP address and mask.

type IPInterfaceDataSource

type IPInterfaceDataSource struct {
	// contains filtered or unexported fields
}

IPInterfaceDataSource defines the data source implementation.

func (*IPInterfaceDataSource) Configure

Configure adds the provider configured client to the data source.

func (*IPInterfaceDataSource) Metadata

Metadata returns the data source type name.

func (*IPInterfaceDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*IPInterfaceDataSource) Schema

Schema defines the schema for the data source.

type IPInterfaceDataSourceFilterModel

type IPInterfaceDataSourceFilterModel struct {
	Name    types.String `tfsdk:"name"`
	SVMName types.String `tfsdk:"svm_name"`
	Scope   types.String `tfsdk:"scope"`
}

IPInterfaceDataSourceFilterModel describes the data source data model for queries.

type IPInterfaceDataSourceModel

type IPInterfaceDataSourceModel struct {
	CxProfileName types.String             `tfsdk:"cx_profile_name"`
	Name          types.String             `tfsdk:"name"`
	SVMName       types.String             `tfsdk:"svm_name"`
	Scope         types.String             `tfsdk:"scope"`
	IP            *IPDataSourceModel       `tfsdk:"ip"`
	Location      *LocationDataSourceModel `tfsdk:"location"`
}

IPInterfaceDataSourceModel describes the data source data model.

type IPInterfaceResource

type IPInterfaceResource struct {
	// contains filtered or unexported fields
}

IPInterfaceResource defines the resource implementation.

func (*IPInterfaceResource) Configure

Configure adds the provider configured client to the resource.

func (*IPInterfaceResource) Create

Create a resource and retrieve UUID

func (*IPInterfaceResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*IPInterfaceResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*IPInterfaceResource) Metadata

Metadata returns the resource type name.

func (*IPInterfaceResource) Read

Read refreshes the Terraform state with the latest data.

func (*IPInterfaceResource) Schema

Schema defines the schema for the resource.

func (*IPInterfaceResource) Update

Update updates the resource and sets the updated Terraform state on success.

type IPInterfaceResourceIP

type IPInterfaceResourceIP struct {
	Address types.String `tfsdk:"address"`
	Netmask types.Int64  `tfsdk:"netmask"`
}

IPInterfaceResourceIP describes the resource data model for IP address and mask.

type IPInterfaceResourceLocation

type IPInterfaceResourceLocation struct {
	HomeNode types.String `tfsdk:"home_node"`
	HomePort types.String `tfsdk:"home_port"`
}

IPInterfaceResourceLocation describes the resource data model for home node/port.

type IPInterfaceResourceModel

type IPInterfaceResourceModel struct {
	CxProfileName types.String                 `tfsdk:"cx_profile_name"`
	Name          types.String                 `tfsdk:"name"`
	SVMName       types.String                 `tfsdk:"svm_name"`
	IP            *IPInterfaceResourceIP       `tfsdk:"ip"`
	Location      *IPInterfaceResourceLocation `tfsdk:"location"`
	UUID          types.String                 `tfsdk:"id"`
}

IPInterfaceResourceModel describes the resource data model.

type IPInterfacesDataSource

type IPInterfacesDataSource struct {
	// contains filtered or unexported fields
}

IPInterfacesDataSource defines the data source implementation.

func (*IPInterfacesDataSource) Configure

Configure adds the provider configured client to the data source.

func (*IPInterfacesDataSource) Metadata

Metadata returns the data source type name.

func (*IPInterfacesDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*IPInterfacesDataSource) Schema

Schema defines the schema for the data source.

type IPInterfacesDataSourceModel

type IPInterfacesDataSourceModel struct {
	CxProfileName types.String                      `tfsdk:"cx_profile_name"`
	IPInterfaces  []IPInterfaceDataSourceModel      `tfsdk:"ip_interfaces"`
	Filter        *IPInterfaceDataSourceFilterModel `tfsdk:"filter"`
}

IPInterfacesDataSourceModel describes the data source data model.

type IPRouteDataSource

type IPRouteDataSource struct {
	// contains filtered or unexported fields
}

IPRouteDataSource defines the data source implementation.

func (*IPRouteDataSource) Configure

Configure adds the provider configured client to the data source.

func (*IPRouteDataSource) Metadata

Metadata returns the data source type name.

func (*IPRouteDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*IPRouteDataSource) Schema

Schema defines the schema for the data source.

type IPRouteDataSourceFilterModel

type IPRouteDataSourceFilterModel struct {
	SVMName     types.String               `tfsdk:"svm_name"`
	Destination DestinationDataSourceModel `tfsdk:"destination"`
	Gateway     types.String               `tfsdk:"gateway"`
}

IPRouteDataSourceFilterModel describes the data source data model for queries.

type IPRouteDataSourceModel

type IPRouteDataSourceModel struct {
	CxProfileName types.String                `tfsdk:"cx_profile_name"`
	SVMName       types.String                `tfsdk:"svm_name"`
	Destination   *DestinationDataSourceModel `tfsdk:"destination"`
	Gateway       types.String                `tfsdk:"gateway"`
	Metric        types.Int64                 `tfsdk:"metric"`
}

IPRouteDataSourceModel describes the data source data model.

type IPRouteResource

type IPRouteResource struct {
	// contains filtered or unexported fields
}

IPRouteResource defines the resource implementation.

func (*IPRouteResource) Configure

Configure adds the provider configured client to the resource.

func (*IPRouteResource) Create

Create a resource and retrieve UUID

func (*IPRouteResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*IPRouteResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*IPRouteResource) Metadata

Metadata returns the resource type name.

func (*IPRouteResource) Read

Read refreshes the Terraform state with the latest data.

func (*IPRouteResource) Schema

Schema defines the schema for the resource.

func (*IPRouteResource) Update

Update updates the resource and sets the updated Terraform state on success.

type IPRouteResourceModel

type IPRouteResourceModel struct {
	CxProfileName types.String                `tfsdk:"cx_profile_name"`
	SVMName       types.String                `tfsdk:"svm_name"`
	Destination   *DestinationDataSourceModel `tfsdk:"destination"`
	Gateway       types.String                `tfsdk:"gateway"`
	Metric        types.Int64                 `tfsdk:"metric"`
	ID            types.String                `tfsdk:"id"`
}

IPRouteResourceModel describes the resource data model.

type IPRoutesDataSource

type IPRoutesDataSource struct {
	// contains filtered or unexported fields
}

IPRoutesDataSource defines the data source implementation.

func (*IPRoutesDataSource) Configure

Configure adds the provider configured client to the data source.

func (*IPRoutesDataSource) Metadata

Metadata returns the data source type name.

func (*IPRoutesDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*IPRoutesDataSource) Schema

Schema defines the schema for the data source.

type IPRoutesDataSourceModel

type IPRoutesDataSourceModel struct {
	CxProfileName types.String                  `tfsdk:"cx_profile_name"`
	Gateway       types.String                  `tfsdk:"gateway"`
	IPRoutes      []IPRouteDataSourceModel      `tfsdk:"ip_routes"`
	Filter        *IPRouteDataSourceFilterModel `tfsdk:"filter"`
}

IPRoutesDataSourceModel describes the data source data model.

type IntPlanModify

type IntPlanModify struct {
}

IntPlanModify implements planmodifier.Int64

func (IntPlanModify) Description

func (s IntPlanModify) Description(_ context.Context) string

Description is the method required to implement planmodifier.Int64

func (IntPlanModify) MarkdownDescription

func (s IntPlanModify) MarkdownDescription(_ context.Context) string

MarkdownDescription is the method required to implement planmodifier.Int64

func (IntPlanModify) PlanModifyInt64

PlanModifyInt64 is the method required to implement planmodifier.Int64

type LicensesModel

type LicensesModel struct {
	SerialNumber     types.String `tfsdk:"serial_number"`
	Owner            types.String `tfsdk:"owner"`
	Compliance       *Compliance  `tfsdk:"compliance"`
	Active           types.Bool   `tfsdk:"active"`
	Evaluation       types.Bool   `tfsdk:"evaluation"`
	InstalledLicense types.String `tfsdk:"installed_license"`
}

LicensesModel describes data source model.

type LocationDataSourceModel

type LocationDataSourceModel struct {
	HomeNode types.String `tfsdk:"home_node"`
	HomePort types.String `tfsdk:"home_port"`
}

LocationDataSourceModel describes the data source model for home node/port.

type NameResourceModel

type NameResourceModel struct {
	Name types.String `tfsdk:"name"`
}

NameResourceModel Name module for names

type NameServicesDNSDataSource

type NameServicesDNSDataSource struct {
	// contains filtered or unexported fields
}

NameServicesDNSDataSource defines the data source implementation.

func (*NameServicesDNSDataSource) Configure

Configure adds the provider configured client to the data source.

func (*NameServicesDNSDataSource) Metadata

Metadata returns the data source type name.

func (*NameServicesDNSDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*NameServicesDNSDataSource) Schema

Schema defines the schema for the data source.

type NameServicesDNSDataSourceFilterModel

type NameServicesDNSDataSourceFilterModel struct {
	SVMName types.String `tfsdk:"svm_name"`
	Domains types.String `tfsdk:"dns_domains"`
	Servers types.String `tfsdk:"name_servers"`
}

NameServicesDNSDataSourceFilterModel describes the data source data model for queries.

type NameServicesDNSDataSourceModel

type NameServicesDNSDataSourceModel struct {
	CxProfileName types.String   `tfsdk:"cx_profile_name"`
	SVMName       types.String   `tfsdk:"svm_name"`
	SVMUUID       types.String   `tfsdk:"svm_uuid"`
	Domains       []types.String `tfsdk:"dns_domains"`
	NameServers   []types.String `tfsdk:"name_servers"`
}

NameServicesDNSDataSourceModel describes the data source data model.

type NameServicesDNSResource

type NameServicesDNSResource struct {
	// contains filtered or unexported fields
}

NameServicesDNSResource defines the resource implementation.

func (*NameServicesDNSResource) Configure

Configure adds the provider configured client to the resource.

func (*NameServicesDNSResource) Create

Create a resource and retrieve UUID

func (*NameServicesDNSResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*NameServicesDNSResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*NameServicesDNSResource) Metadata

Metadata returns the resource type name.

func (*NameServicesDNSResource) Read

Read refreshes the Terraform state with the latest data.

func (*NameServicesDNSResource) Schema

Schema defines the schema for the resource.

func (*NameServicesDNSResource) Update

Update updates the resource and sets the updated Terraform state on success.

type NameServicesDNSResourceModel

type NameServicesDNSResourceModel struct {
	CxProfileName types.String   `tfsdk:"cx_profile_name"`
	SVMName       types.String   `tfsdk:"svm_name"`
	ID            types.String   `tfsdk:"id"`
	Domains       []types.String `tfsdk:"dns_domains"`
	NameServers   []types.String `tfsdk:"name_servers"`
}

NameServicesDNSResourceModel describes the resource data model.

type NameServicesDNSsDataSource

type NameServicesDNSsDataSource struct {
	// contains filtered or unexported fields
}

NameServicesDNSsDataSource defines the data source implementation.

func (*NameServicesDNSsDataSource) Configure

Configure adds the provider configured client to the data source.

func (*NameServicesDNSsDataSource) Metadata

Metadata returns the data source type name.

func (*NameServicesDNSsDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*NameServicesDNSsDataSource) Schema

Schema defines the schema for the data source.

type NameServicesDNSsDataSourceModel

type NameServicesDNSsDataSourceModel struct {
	CxProfileName    types.String                          `tfsdk:"cx_profile_name"`
	NameServicesDNSs []NameServicesDNSDataSourceModel      `tfsdk:"name_services_dnss"`
	Filter           *NameServicesDNSDataSourceFilterModel `tfsdk:"filter"`
}

NameServicesDNSsDataSourceModel describes the data source data model.

type NodeDataSourceModel

type NodeDataSourceModel struct {
	Name            types.String `tfsdk:"name"`
	MgmtIPAddresses types.List   `tfsdk:"management_ip_addresses"`
}

NodeDataSourceModel describes the data source data model.

type ONTAPProvider

type ONTAPProvider struct {
	// contains filtered or unexported fields
}

ONTAPProvider defines the provider implementation.

func (*ONTAPProvider) Configure

Configure shared clients for data source and resource implementations.

func (*ONTAPProvider) DataSources

func (p *ONTAPProvider) DataSources(ctx context.Context) []func() datasource.DataSource

DataSources defines the provider's data sources.

func (*ONTAPProvider) Metadata

Metadata defines the provider type name for inclusion in each data source and resource type name

func (*ONTAPProvider) Resources

func (p *ONTAPProvider) Resources(ctx context.Context) []func() resource.Resource

Resources defines the provider's resources.

func (*ONTAPProvider) Schema

Schema defines the schema for provider-level configuration.

type ONTAPProviderModel

type ONTAPProviderModel struct {
	Endpoint             types.String             `tfsdk:"endpoint"`
	JobCompletionTimeOut types.Int64              `tfsdk:"job_completion_timeout"`
	ConnectionProfiles   []ConnectionProfileModel `tfsdk:"connection_profiles"`
}

ONTAPProviderModel describes the provider data model.

type ProtocolDataSourceModel

type ProtocolDataSourceModel struct {
	V3Enabled   types.Bool                  `tfsdk:"v3_enabled"`
	V4IdDomain  types.String                `tfsdk:"v4_id_domain"`
	V40Enabled  types.Bool                  `tfsdk:"v40_enabled"`
	V40Features *V40FeaturesDataSourceModel `tfsdk:"v40_features"`
	V41Enabled  types.Bool                  `tfsdk:"v41_enabled"`
	V41Features *V41FeaturesDataSourceModel `tfsdk:"v41_features"`
}

ProtocolDataSourceModel describes the data source of Protocols

type ProtocolResourceModel

type ProtocolResourceModel struct {
	V3Enabled   types.Bool                `tfsdk:"v3_enabled"`
	V4IdDomain  types.String              `tfsdk:"v4_id_domain"`
	V40Enabled  types.Bool                `tfsdk:"v40_enabled"`
	V40Features *V40FeaturesResourceModel `tfsdk:"v40_features"`
	V41Enabled  types.Bool                `tfsdk:"v41_enabled"`
	V41Features *V41FeaturesResourceModel `tfsdk:"v41_features"`
}

ProtocolResourceModel describes the data source of Protocols

type ProtocolsNFSExportPolicyRulesDataSource

type ProtocolsNFSExportPolicyRulesDataSource struct {
	// contains filtered or unexported fields
}

ProtocolsNFSExportPolicyRulesDataSource defines the data source implementation.

func (*ProtocolsNFSExportPolicyRulesDataSource) Configure

Configure adds the provider configured client to the data source.

func (*ProtocolsNFSExportPolicyRulesDataSource) Metadata

Metadata returns the data source type name.

func (*ProtocolsNFSExportPolicyRulesDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*ProtocolsNFSExportPolicyRulesDataSource) Schema

Schema defines the schema for the data source.

type ProtocolsNfsServiceDataSource

type ProtocolsNfsServiceDataSource struct {
	// contains filtered or unexported fields
}

ProtocolsNfsServiceDataSource defines the data source implementation.

func (*ProtocolsNfsServiceDataSource) Configure

Configure adds the provider configured client to the data source.

func (*ProtocolsNfsServiceDataSource) Metadata

Metadata returns the data source type name.

func (*ProtocolsNfsServiceDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*ProtocolsNfsServiceDataSource) Schema

Schema defines the schema for the data source.

type ProtocolsNfsServiceDataSourceFilterModel

type ProtocolsNfsServiceDataSourceFilterModel struct {
	SVMName types.String `tfsdk:"svm_name"`
}

ProtocolsNfsServiceDataSourceFilterModel describes the data source data model for queries.

type ProtocolsNfsServiceDataSourceModel

type ProtocolsNfsServiceDataSourceModel struct {
	CxProfileName types.String `tfsdk:"cx_profile_name"`
	SVMName       types.String `tfsdk:"svm_name"`
	// Protocols Nfs Services specific
	Enabled          types.Bool                `tfsdk:"enabled"`
	Protocol         *ProtocolDataSourceModel  `tfsdk:"protocol"`
	Root             *RootDataSourceModel      `tfsdk:"root"`
	Security         *SecurityDataSourceModel  `tfsdk:"security"`
	ShowmountEnabled types.Bool                `tfsdk:"showmount_enabled"`
	Transport        *TransportDataSourceModel `tfsdk:"transport"`
	VstorageEnabled  types.Bool                `tfsdk:"vstorage_enabled"`
	Windows          *WindowsDataSourceModel   `tfsdk:"windows"`
}

ProtocolsNfsServiceDataSourceModel describes the data source data model.

type ProtocolsNfsServiceResource

type ProtocolsNfsServiceResource struct {
	// contains filtered or unexported fields
}

ProtocolsNfsServiceResource defines the resource implementation.

func (*ProtocolsNfsServiceResource) Configure

Configure adds the provider configured client to the resource.

func (*ProtocolsNfsServiceResource) Create

Create a resource and retrieve UUID

func (*ProtocolsNfsServiceResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*ProtocolsNfsServiceResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*ProtocolsNfsServiceResource) Metadata

Metadata returns the resource type name.

func (*ProtocolsNfsServiceResource) Read

Read refreshes the Terraform state with the latest data.

func (*ProtocolsNfsServiceResource) Schema

Schema defines the schema for the resource.

func (*ProtocolsNfsServiceResource) Update

Update updates the resource and sets the updated Terraform state on success.

type ProtocolsNfsServiceResourceModel

type ProtocolsNfsServiceResourceModel struct {
	CxProfileName types.String `tfsdk:"cx_profile_name"`
	SVMName       types.String `tfsdk:"svm_name"`
	// Protocols Nfs Services specific
	Enabled          types.Bool              `tfsdk:"enabled"`
	Protocol         *ProtocolResourceModel  `tfsdk:"protocol"`
	Root             *RootResourceModel      `tfsdk:"root"`
	Security         *SecurityResourceModel  `tfsdk:"security"`
	ShowmountEnabled types.Bool              `tfsdk:"showmount_enabled"`
	Transport        *TransportResourceModel `tfsdk:"transport"`
	VstorageEnabled  types.Bool              `tfsdk:"vstorage_enabled"`
	Windows          *WindowsResourceModel   `tfsdk:"windows"`
	ID               types.String            `tfsdk:"id"`
}

ProtocolsNfsServiceResourceModel describes the resource data model.

type ProtocolsNfsServicesDataSource

type ProtocolsNfsServicesDataSource struct {
	// contains filtered or unexported fields
}

ProtocolsNfsServicesDataSource defines the data source implementation.

func (*ProtocolsNfsServicesDataSource) Configure

Configure adds the provider configured client to the data source.

func (*ProtocolsNfsServicesDataSource) Metadata

Metadata returns the data source type name.

func (*ProtocolsNfsServicesDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*ProtocolsNfsServicesDataSource) Schema

Schema defines the schema for the data source.

type ProtocolsNfsServicesDataSourceModel

type ProtocolsNfsServicesDataSourceModel struct {
	CxProfileName        types.String                              `tfsdk:"cx_profile_name"`
	ProtocolsNfsServices []ProtocolsNfsServiceDataSourceModel      `tfsdk:"protocols_nfs_services"`
	Filter               *ProtocolsNfsServiceDataSourceFilterModel `tfsdk:"filter"`
}

ProtocolsNfsServicesDataSourceModel describes the data source data model.

type RetentionGetDataModel

type RetentionGetDataModel struct {
	CreationScheduleName types.String `tfsdk:"creation_schedule_name"`
	Count                types.Int64  `tfsdk:"count"`
	Label                types.String `tfsdk:"label"`
	Prefix               types.String `tfsdk:"prefix"`
}

RetentionGetDataModel defines the resource get retention model

type RetentionModel

type RetentionModel struct {
	CreationScheduleName types.String `tfsdk:"creation_schedule_name"`
	Count                types.Int64  `tfsdk:"count"`
	Label                types.String `tfsdk:"label"`
	Prefix               types.String `tfsdk:"prefix"`
}

RetentionModel describes retention data model.

type RootDataSourceModel

type RootDataSourceModel struct {
	IgnoreNtACL              types.Bool `tfsdk:"ignore_nt_acl"`
	SkipWritePermissionCheck types.Bool `tfsdk:"skip_write_permission_check"`
}

RootDataSourceModel describes the data source of Root

type RootResourceModel

type RootResourceModel struct {
	IgnoreNtACL              types.Bool `tfsdk:"ignore_nt_acl"`
	SkipWritePermissionCheck types.Bool `tfsdk:"skip_write_permission_check"`
}

RootResourceModel describes the data source of Root

type ScheduleResourceModel

type ScheduleResourceModel struct {
	Name types.String `tfsdk:"name"`
}

ScheduleResourceModel describes the schedule data source

type SecurityDataSourceModel

type SecurityDataSourceModel struct {
	ChownMode               types.String   `tfsdk:"chown_mode"`
	NtACLDisplayPermission  types.Bool     `tfsdk:"nt_acl_display_permission"`
	NtfsUnixSecurity        types.String   `tfsdk:"ntfs_unix_security"`
	PermittedEncrptionTypes []types.String `tfsdk:"permitted_encryption_types"`
	RpcsecContextIdel       types.Int64    `tfsdk:"rpcsec_context_idle"`
}

SecurityDataSourceModel describes the data source of Security

type SecurityResourceModel

type SecurityResourceModel struct {
	ChownMode              types.String `tfsdk:"chown_mode"`
	NtACLDisplayPermission types.Bool   `tfsdk:"nt_acl_display_permission"`
	NtfsUnixSecurity       types.String `tfsdk:"ntfs_unix_security"`
	RpcsecContextIdel      types.Int64  `tfsdk:"rpcsec_context_idle"`
}

SecurityResourceModel describes the data source of Security

type SnapmirrorCluster

type SnapmirrorCluster struct {
	Name types.String `tfsdk:"name"`
	UUID types.String `tfsdk:"uuid"`
}

SnapmirrorCluster describes data source model

type SnapmirrorDataSource

type SnapmirrorDataSource struct {
	// contains filtered or unexported fields
}

SnapmirrorDataSource defines the data source implementation.

func (*SnapmirrorDataSource) Configure

Configure adds the provider configured client to the data source.

func (*SnapmirrorDataSource) Metadata

Metadata returns the data source type name.

func (*SnapmirrorDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*SnapmirrorDataSource) Schema

Schema defines the schema for the data source.

type SnapmirrorDataSourceFilterModel

type SnapmirrorDataSourceFilterModel struct {
	DestinantionPath types.String `tfsdk:"destination_path"`
}

SnapmirrorDataSourceFilterModel describes the data source model.

type SnapmirrorDataSourceModel

type SnapmirrorDataSourceModel struct {
	CxProfileName types.String      `tfsdk:"cx_profile_name"`
	Source        *Source           `tfsdk:"source"`
	Destination   *Destination      `tfsdk:"destination"`
	Healthy       types.Bool        `tfsdk:"healthy"`
	Restore       types.Bool        `tfsdk:"restore"`
	ID            types.String      `tfsdk:"id"`
	State         types.String      `tfsdk:"state"`
	Policy        *SnapmirrorPolicy `tfsdk:"policy"`
	GroupType     types.String      `tfsdk:"group_type"`
	Throttle      types.Int64       `tfsdk:"throttle"`
}

SnapmirrorDataSourceModel describes the data source data model.

type SnapmirrorPoliciesDataSource

type SnapmirrorPoliciesDataSource struct {
	// contains filtered or unexported fields
}

SnapmirrorPoliciesDataSource defines the data source implementation.

func (*SnapmirrorPoliciesDataSource) Configure

Configure adds the provider configured client to the data source.

func (*SnapmirrorPoliciesDataSource) Metadata

Metadata returns the data source type name.

func (*SnapmirrorPoliciesDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*SnapmirrorPoliciesDataSource) Schema

Schema defines the schema for the data source.

type SnapmirrorPoliciesDataSourceModel

type SnapmirrorPoliciesDataSourceModel struct {
	CxProfileName      types.String                           `tfsdk:"cx_profile_name"`
	SnapmirrorPolicies []SnapmirrorPolicyDataSourceModel      `tfsdk:"snapmirror_policies"`
	Filter             *SnapmirrorPolicyDataSourceFilterModel `tfsdk:"filter"`
}

SnapmirrorPoliciesDataSourceModel describes the data source data model.

type SnapmirrorPolicy

type SnapmirrorPolicy struct {
	UUID types.String `tfsdk:"uuid"`
}

SnapmirrorPolicy describes data source model

type SnapmirrorPolicyDataSource

type SnapmirrorPolicyDataSource struct {
	// contains filtered or unexported fields
}

SnapmirrorPolicyDataSource defines the data source implementation.

func (*SnapmirrorPolicyDataSource) Configure

Configure adds the provider configured client to the data source.

func (*SnapmirrorPolicyDataSource) Metadata

Metadata returns the data source type name.

func (*SnapmirrorPolicyDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*SnapmirrorPolicyDataSource) Schema

Schema defines the schema for the data source.

type SnapmirrorPolicyDataSourceFilterModel

type SnapmirrorPolicyDataSourceFilterModel struct {
	Name types.String `tfsdk:"name"`
}

SnapmirrorPolicyDataSourceFilterModel describes the data source data model for queries.

type SnapmirrorPolicyDataSourceModel

type SnapmirrorPolicyDataSourceModel struct {
	CxProfileName             types.String            `tfsdk:"cx_profile_name"`
	Name                      types.String            `tfsdk:"name"`
	SVMName                   types.String            `tfsdk:"svm_name"`
	Type                      types.String            `tfsdk:"type"`
	SyncType                  types.String            `tfsdk:"sync_type"`
	Comment                   types.String            `tfsdk:"comment"`
	TransferScheduleName      types.String            `tfsdk:"transfer_schedule_name"`
	NetworkCompressionEnabled types.Bool              `tfsdk:"network_compression_enabled"`
	Retention                 []RetentionGetDataModel `tfsdk:"retention"`
	IdentityPreservation      types.String            `tfsdk:"identity_preservation"`
	CopyAllSourceSnapshots    types.Bool              `tfsdk:"copy_all_source_snapshots"`
	CopyLatestSourceSnapshot  types.Bool              `tfsdk:"copy_latest_source_snapshot"`
	ID                        types.String            `tfsdk:"id"`
	CreateSnapshotOnSource    types.Bool              `tfsdk:"create_snapshot_on_source"`
}

SnapmirrorPolicyDataSourceModel describes the data source data model.

type SnapmirrorPolicyResource

type SnapmirrorPolicyResource struct {
	// contains filtered or unexported fields
}

SnapmirrorPolicyResource defines the resource implementation.

func (*SnapmirrorPolicyResource) Configure

Configure adds the provider configured client to the resource.

func (*SnapmirrorPolicyResource) Create

Create a resource and retrieve UUID

func (*SnapmirrorPolicyResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*SnapmirrorPolicyResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*SnapmirrorPolicyResource) Metadata

Metadata returns the resource type name

func (*SnapmirrorPolicyResource) Read

Read refreshes the Terraform state with the latest data.

func (*SnapmirrorPolicyResource) Schema

Schema defines the schema for the resource.

func (*SnapmirrorPolicyResource) Update

Update updates the resource and sets the updated Terraform state on success.

type SnapmirrorPolicyResourceModel

type SnapmirrorPolicyResourceModel struct {
	CxProfileName             types.String     `tfsdk:"cx_profile_name"`
	Name                      types.String     `tfsdk:"name"`
	SVMName                   types.String     `tfsdk:"svm_name"`
	Type                      types.String     `tfsdk:"type"`
	SyncType                  types.String     `tfsdk:"sync_type"`
	Comment                   types.String     `tfsdk:"comment"`
	TransferScheduleName      types.String     `tfsdk:"transfer_schedule_name"`
	NetworkCompressionEnabled types.Bool       `tfsdk:"network_compression_enabled"`
	Retention                 []RetentionModel `tfsdk:"retention"`
	IdentityPreservation      types.String     `tfsdk:"identity_preservation"`
	CopyAllSourceSnapshots    types.Bool       `tfsdk:"copy_all_source_snapshots"`
	CopyLatestSourceSnapshot  types.Bool       `tfsdk:"copy_latest_source_snapshot"`
	CreateSnapshotOnSource    types.Bool       `tfsdk:"create_snapshot_on_source"`
	ID                        types.String     `tfsdk:"id"`
}

SnapmirrorPolicyResourceModel describes the resource data model.

type SnapmirrorResource

type SnapmirrorResource struct {
	// contains filtered or unexported fields
}

SnapmirrorResource defines the resource implementation.

func (*SnapmirrorResource) Configure

Configure adds the provider configured client to the resource.

func (*SnapmirrorResource) Create

Create a resource and retrieve UUID

func (*SnapmirrorResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*SnapmirrorResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*SnapmirrorResource) Metadata

Metadata returns the resource type name

func (*SnapmirrorResource) Read

Read refreshes the Terraform state with the latest data.

func (*SnapmirrorResource) Schema

Schema defines the schema for the resource.

func (*SnapmirrorResource) Update

Update updates the resource and sets the updated Terraform state on success.

type SnapmirrorResourceModel

type SnapmirrorResourceModel struct {
	CxProfileName       types.String       `tfsdk:"cx_profile_name"`
	SourceEndPoint      *EndPoint          `tfsdk:"source_endpoint"`
	DestinationEndPoint *EndPoint          `tfsdk:"destination_endpoint"`
	CreateDestination   *CreateDestination `tfsdk:"create_destination"`
	Initialize          types.Bool         `tfsdk:"initialize"`
	Healthy             types.Bool         `tfsdk:"healthy"`
	State               types.String       `tfsdk:"state"`
	ID                  types.String       `tfsdk:"id"`
}

SnapmirrorResourceModel describes the resource data model.

type SnapmirrorsDataSource

type SnapmirrorsDataSource struct {
	// contains filtered or unexported fields
}

SnapmirrorsDataSource defines the data source implementation.

func (*SnapmirrorsDataSource) Configure

Configure adds the provider configured client to the data source.

func (*SnapmirrorsDataSource) Metadata

Metadata returns the data source type name.

func (*SnapmirrorsDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*SnapmirrorsDataSource) Schema

Schema defines the schema for the data source.

type SnapmirrorsDataSourceModel

type SnapmirrorsDataSourceModel struct {
	CxProfileName types.String                     `tfsdk:"cx_profile_name"`
	Snapmirrors   []SnapmirrorDataSourceModel      `tfsdk:"snapmirrors"`
	Filter        *SnapmirrorDataSourceFilterModel `tfsdk:"filter"`
}

SnapmirrorsDataSourceModel describes the data source data model.

type SnapshotPoliciesDataSource

type SnapshotPoliciesDataSource struct {
	// contains filtered or unexported fields
}

SnapshotPoliciesDataSource defines the data source implementation.

func (*SnapshotPoliciesDataSource) Configure

Configure adds the provider configured client to the data source.

func (*SnapshotPoliciesDataSource) Metadata

Metadata returns the data source type name.

func (*SnapshotPoliciesDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*SnapshotPoliciesDataSource) Schema

Schema defines the schema for the data source.

type SnapshotPoliciesDataSourceModel

type SnapshotPoliciesDataSourceModel struct {
	CxProfileName    types.String                         `tfsdk:"cx_profile_name"`
	SnapshotPolicies []SnapshotPolicyDataSourceModel      `tfsdk:"storage_snapshot_policies"`
	Filter           *SnapshotPolicyDataSourceFilterModel `tfsdk:"filter"`
}

SnapshotPoliciesDataSourceModel describes the data source data model.

type SnapshotPolicyDataSource

type SnapshotPolicyDataSource struct {
	// contains filtered or unexported fields
}

SnapshotPolicyDataSource defines the data source implementation.

func (*SnapshotPolicyDataSource) Configure

Configure adds the provider configured client to the data source.

func (*SnapshotPolicyDataSource) Metadata

Metadata returns the data source type name.

func (*SnapshotPolicyDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*SnapshotPolicyDataSource) Schema

Schema defines the schema for the data source.

type SnapshotPolicyDataSourceFilterModel

type SnapshotPolicyDataSourceFilterModel struct {
	Name    types.String `tfsdk:"name"`
	SVMName types.String `tfsdk:"svm_name"`
}

SnapshotPolicyDataSourceFilterModel describes the data source data model for queries.

type SnapshotPolicyDataSourceModel

type SnapshotPolicyDataSourceModel struct {
	CxProfileName types.String        `tfsdk:"cx_profile_name"`
	Name          types.String        `tfsdk:"name"`
	SVMName       types.String        `tfsdk:"svm_name"`
	ID            types.String        `tfsdk:"id"`
	Copies        []CopyResourceModel `tfsdk:"copies"`
	Comment       types.String        `tfsdk:"comment"`
	Enabled       types.Bool          `tfsdk:"enabled"`
}

SnapshotPolicyDataSourceModel describes the data source data model.

type SnapshotPolicyResource

type SnapshotPolicyResource struct {
	// contains filtered or unexported fields
}

SnapshotPolicyResource defines the resource implementation.

func (*SnapshotPolicyResource) Configure

Configure adds the provider configured client to the resource.

func (*SnapshotPolicyResource) Create

Create a resource and retrieve ID

func (*SnapshotPolicyResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*SnapshotPolicyResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*SnapshotPolicyResource) Metadata

Metadata returns the resource type name.

func (*SnapshotPolicyResource) Read

Read refreshes the Terraform state with the latest data.

func (*SnapshotPolicyResource) Schema

Schema defines the schema for the resource.

func (*SnapshotPolicyResource) Update

Update updates the resource and sets the updated Terraform state on success.

type SnapshotPolicyResourceModel

type SnapshotPolicyResourceModel struct {
	CxProfileName types.String        `tfsdk:"cx_profile_name"`
	Name          types.String        `tfsdk:"name"`
	SVMName       types.String        `tfsdk:"svm_name"` // if needed or relevant
	ID            types.String        `tfsdk:"id"`
	Copies        []CopyResourceModel `tfsdk:"copies"`
	Comment       types.String        `tfsdk:"comment"`
	Enabled       types.Bool          `tfsdk:"enabled"`
}

SnapshotPolicyResourceModel describes the resource data model.

type Source

type Source struct {
	Cluster *SnapmirrorCluster `tfsdk:"cluster"`
	Path    types.String       `tfsdk:"path"`
	Svm     *Svm               `tfsdk:"svm"`
}

Source describes data source model

type StorageAggregateDataSource

type StorageAggregateDataSource struct {
	// contains filtered or unexported fields
}

StorageAggregateDataSource defines the data source implementation.

func (*StorageAggregateDataSource) Configure

Configure adds the provider configured client to the data source.

func (*StorageAggregateDataSource) Metadata

Metadata returns the data source type name.

func (*StorageAggregateDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*StorageAggregateDataSource) Schema

Schema defines the schema for the data source.

type StorageAggregateDataSourceFilterModel

type StorageAggregateDataSourceFilterModel struct {
	Name    types.String `tfsdk:"name"`
	SVMName types.String `tfsdk:"svm_name"`
}

StorageAggregateDataSourceFilterModel describes the data source data model for queries.

type StorageAggregateDataSourceModel

type StorageAggregateDataSourceModel struct {
	CxProfileName types.String `tfsdk:"cx_profile_name"`
	Name          types.String `tfsdk:"name"`
	ID            types.String `tfsdk:"id"`
	State         types.String `tfsdk:"state"`
	Node          types.String `tfsdk:"node"`
	DiskClass     types.String `tfsdk:"disk_class"`
	DiskCount     types.Int64  `tfsdk:"disk_count"`
	RaidSize      types.Int64  `tfsdk:"raid_size"`
	RaidType      types.String `tfsdk:"raid_type"`
	IsMirrored    types.Bool   `tfsdk:"is_mirrored"`
	SnaplockType  types.String `tfsdk:"snaplock_type"`
	Encryption    types.Bool   `tfsdk:"encryption"`
}

StorageAggregateDataSourceModel describes the data source data model.

type StorageAggregatesDataSource

type StorageAggregatesDataSource struct {
	// contains filtered or unexported fields
}

StorageAggregatesDataSource defines the data source implementation.

func (*StorageAggregatesDataSource) Configure

Configure adds the provider configured client to the data source.

func (*StorageAggregatesDataSource) Metadata

Metadata returns the data source type name.

func (*StorageAggregatesDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*StorageAggregatesDataSource) Schema

Schema defines the schema for the data source.

type StorageAggregatesDataSourceModel

type StorageAggregatesDataSourceModel struct {
	CxProfileName     types.String                           `tfsdk:"cx_profile_name"`
	StorageAggregates []StorageAggregateDataSourceModel      `tfsdk:"storage_aggregates"`
	Filter            *StorageAggregateDataSourceFilterModel `tfsdk:"filter"`
}

StorageAggregatesDataSourceModel describes the data source data model.

type StorageVolumeDataSource

type StorageVolumeDataSource struct {
	// contains filtered or unexported fields
}

StorageVolumeDataSource defines the data source implementation.

func (*StorageVolumeDataSource) Configure

Configure adds the provider configured client to the data source.

func (*StorageVolumeDataSource) Metadata

Metadata returns the data source type name.

func (*StorageVolumeDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*StorageVolumeDataSource) Schema

Schema defines the schema for the data source.

type StorageVolumeDataSourceAggregates

type StorageVolumeDataSourceAggregates struct {
	Name types.String `tfsdk:"name"`
}

StorageVolumeDataSourceAggregates describes the analytics model.

type StorageVolumeDataSourceAnalytics

type StorageVolumeDataSourceAnalytics struct {
	State types.String `tfsdk:"state"`
}

StorageVolumeDataSourceAnalytics describes the analytics model.

type StorageVolumeDataSourceEfficiency

type StorageVolumeDataSourceEfficiency struct {
	Policy      types.String `tfsdk:"policy_name"`
	Compression types.String `tfsdk:"compression"`
}

StorageVolumeDataSourceEfficiency describes the efficiency model.

type StorageVolumeDataSourceFilterModel

type StorageVolumeDataSourceFilterModel struct {
	Name    types.String `tfsdk:"name"`
	SVMName types.String `tfsdk:"svm_name"`
}

StorageVolumeDataSourceFilterModel describes the data source data model for queries.

type StorageVolumeDataSourceModel

type StorageVolumeDataSourceModel struct {
	CxProfileName  types.String                        `tfsdk:"cx_profile_name"`
	Name           types.String                        `tfsdk:"name"`
	SVMName        types.String                        `tfsdk:"svm_name"`
	State          types.String                        `tfsdk:"state"`
	Type           types.String                        `tfsdk:"type"`
	SpaceGuarantee types.String                        `tfsdk:"space_guarantee"`
	Encrypt        types.Bool                          `tfsdk:"encryption"`
	SnapshotPolicy types.String                        `tfsdk:"snapshot_policy"`
	Language       types.String                        `tfsdk:"language"`
	QOSPolicyGroup types.String                        `tfsdk:"qos_policy_group"`
	Comment        types.String                        `tfsdk:"comment"`
	Aggregates     []StorageVolumeDataSourceAggregates `tfsdk:"aggregates"`
	ID             types.String                        `tfsdk:"id"`
	Space          *StorageVolumeDataSourceSpace       `tfsdk:"space"`
	Nas            *StorageVolumeDataSourceNas         `tfsdk:"nas"`
	Tiering        *StorageVolumeDataSourceTiering     `tfsdk:"tiering"`
	Efficiency     *StorageVolumeDataSourceEfficiency  `tfsdk:"efficiency"`
	SnapLock       *StorageVolumeDataSourceSnapLock    `tfsdk:"snaplock"`
	Analytics      *StorageVolumeDataSourceAnalytics   `tfsdk:"analytics"`
}

StorageVolumeDataSourceModel describes the data source data model.

type StorageVolumeDataSourceNas

type StorageVolumeDataSourceNas struct {
	ExportPolicy    types.String `tfsdk:"export_policy_name"`
	JunctionPath    types.String `tfsdk:"junction_path"`
	GroupID         types.Int64  `tfsdk:"group_id"`
	UserID          types.Int64  `tfsdk:"user_id"`
	SecurityStyle   types.String `tfsdk:"security_style"`
	UnixPermissions types.Int64  `tfsdk:"unix_permissions"`
}

StorageVolumeDataSourceNas describes the Nas model.

type StorageVolumeDataSourceSnapLock

type StorageVolumeDataSourceSnapLock struct {
	SnaplockType types.String `tfsdk:"type"`
}

StorageVolumeDataSourceSnapLock describes the snaplock model.

type StorageVolumeDataSourceSpace

type StorageVolumeDataSourceSpace struct {
	Size                 types.Int64                               `tfsdk:"size"`
	SizeUnit             types.String                              `tfsdk:"size_unit"`
	PercentSnapshotSpace types.Int64                               `tfsdk:"percent_snapshot_space"`
	LogicalSpace         *StorageVolumeDataSourceSpaceLogicalSpace `tfsdk:"logical_space"`
}

StorageVolumeDataSourceSpace describes the space model.

type StorageVolumeDataSourceSpaceLogicalSpace

type StorageVolumeDataSourceSpaceLogicalSpace struct {
	Enforcement types.Bool `tfsdk:"enforcement"`
	Reporting   types.Bool `tfsdk:"reporting"`
}

StorageVolumeDataSourceSpaceLogicalSpace describes the logical space model within sapce model.

type StorageVolumeDataSourceTiering

type StorageVolumeDataSourceTiering struct {
	Policy             types.String `tfsdk:"policy_name"`
	MinimumCoolingDays types.Int64  `tfsdk:"minimum_cooling_days"`
}

StorageVolumeDataSourceTiering describes the tiering model.

type StorageVolumeResource

type StorageVolumeResource struct {
	// contains filtered or unexported fields
}

StorageVolumeResource defines the resource implementation.

func (*StorageVolumeResource) Configure

Configure adds the provider configured client to the resource.

func (*StorageVolumeResource) Create

Create creates the resource and sets the initial Terraform state.

func (*StorageVolumeResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*StorageVolumeResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*StorageVolumeResource) Metadata

Metadata returns the resource type name.

func (*StorageVolumeResource) ModifyPlan

ModifyPlan makes terraform errors if config or state sets state of the volume offline. TO DO: when offline, values change from API response.

func (*StorageVolumeResource) Read

Read refreshes the Terraform state with the latest data.

func (*StorageVolumeResource) Schema

Schema defines the schema for the resource.

func (*StorageVolumeResource) Update

Update updates the resource and sets the updated Terraform state on success.

type StorageVolumeResourceAggregates

type StorageVolumeResourceAggregates struct {
	Name types.String `tfsdk:"name"`
}

StorageVolumeResourceAggregates describes the analytics model.

type StorageVolumeResourceAnalytics

type StorageVolumeResourceAnalytics struct {
	State types.String `tfsdk:"state"`
}

StorageVolumeResourceAnalytics describes the analytics model.

type StorageVolumeResourceEfficiency

type StorageVolumeResourceEfficiency struct {
	Policy      types.String `tfsdk:"policy_name"`
	Compression types.String `tfsdk:"compression"`
}

StorageVolumeResourceEfficiency describes the efficiency model.

type StorageVolumeResourceModel

type StorageVolumeResourceModel struct {
	CxProfileName  types.String                      `tfsdk:"cx_profile_name"`
	Name           types.String                      `tfsdk:"name"`
	SVMName        types.String                      `tfsdk:"svm_name"`
	State          types.String                      `tfsdk:"state"`
	Type           types.String                      `tfsdk:"type"`
	SpaceGuarantee types.String                      `tfsdk:"space_guarantee"`
	Encrypt        types.Bool                        `tfsdk:"encryption"`
	SnapshotPolicy types.String                      `tfsdk:"snapshot_policy"`
	Language       types.String                      `tfsdk:"language"`
	QOSPolicyGroup types.String                      `tfsdk:"qos_policy_group"`
	Comment        types.String                      `tfsdk:"comment"`
	Aggregates     []StorageVolumeResourceAggregates `tfsdk:"aggregates"`
	ID             types.String                      `tfsdk:"id"`
	Space          types.Object                      `tfsdk:"space"`
	Nas            types.Object                      `tfsdk:"nas"`
	Tiering        types.Object                      `tfsdk:"tiering"`
	Efficiency     types.Object                      `tfsdk:"efficiency"`
	SnapLock       types.Object                      `tfsdk:"snaplock"`
	Analytics      types.Object                      `tfsdk:"analytics"`
}

StorageVolumeResourceModel describes the resource data model.

type StorageVolumeResourceNas

type StorageVolumeResourceNas struct {
	ExportPolicy    types.String `tfsdk:"export_policy_name"`
	JunctionPath    types.String `tfsdk:"junction_path"`
	GroupID         types.Int64  `tfsdk:"group_id"`
	UserID          types.Int64  `tfsdk:"user_id"`
	SecurityStyle   types.String `tfsdk:"security_style"`
	UnixPermissions types.Int64  `tfsdk:"unix_permissions"`
}

StorageVolumeResourceNas describes the Nas model.

type StorageVolumeResourceSnapLock

type StorageVolumeResourceSnapLock struct {
	SnaplockType types.String `tfsdk:"type"`
}

StorageVolumeResourceSnapLock describes the snaplock model.

type StorageVolumeResourceSpace

type StorageVolumeResourceSpace struct {
	Size                 types.Int64  `tfsdk:"size"`
	SizeUnit             types.String `tfsdk:"size_unit"`
	PercentSnapshotSpace types.Int64  `tfsdk:"percent_snapshot_space"`
	LogicalSpace         types.Object `tfsdk:"logical_space"`
}

StorageVolumeResourceSpace describes the space model.

type StorageVolumeResourceSpaceLogicalSpace

type StorageVolumeResourceSpaceLogicalSpace struct {
	Enforcement types.Bool `tfsdk:"enforcement"`
	Reporting   types.Bool `tfsdk:"reporting"`
}

StorageVolumeResourceSpaceLogicalSpace describes the logical space model within sapce model.

type StorageVolumeResourceTiering

type StorageVolumeResourceTiering struct {
	Policy             types.String `tfsdk:"policy_name"`
	MinimumCoolingDays types.Int64  `tfsdk:"minimum_cooling_days"`
}

StorageVolumeResourceTiering describes the tiering model.

type StorageVolumeSnapshotDataSource

type StorageVolumeSnapshotDataSource struct {
	// contains filtered or unexported fields
}

StorageVolumeSnapshotDataSource defines the data source implementation.

func (*StorageVolumeSnapshotDataSource) Configure

Configure adds the provider configured client to the data source.

func (*StorageVolumeSnapshotDataSource) Metadata

Metadata returns the data source type name.

func (*StorageVolumeSnapshotDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*StorageVolumeSnapshotDataSource) Schema

Schema defines the schema for the data source.

type StorageVolumeSnapshotDataSourceFilterModel

type StorageVolumeSnapshotDataSourceFilterModel struct {
	Name       types.String `tfsdk:"name"`
	SVMName    types.String `tfsdk:"svm_name"`
	VolumeName types.String `tfsdk:"volume_name"`
}

StorageVolumeSnapshotDataSourceFilterModel describes the data source data model for queries.

type StorageVolumeSnapshotDataSourceModel

type StorageVolumeSnapshotDataSourceModel struct {
	CxProfileName types.String `tfsdk:"cx_profile_name"`
	// Snapshot Variables
	CreateTime      types.String  `tfsdk:"create_time"`
	Comment         types.String  `tfsdk:"comment"`
	ExpiryTime      types.String  `tfsdk:"expiry_time"`
	Name            types.String  `tfsdk:"name"`
	Size            types.Float64 `tfsdk:"size"`
	SnapmirrorLabel types.String  `tfsdk:"snapmirror_label"`
	State           types.String  `tfsdk:"state"`
	VolumeName      types.String  `tfsdk:"volume_name"`
	SVMName         types.String  `tfsdk:"svm_name"`
	ID              types.String  `tfsdk:"id"`
}

StorageVolumeSnapshotDataSourceModel describes the data source data model.

type StorageVolumeSnapshotResource

type StorageVolumeSnapshotResource struct {
	// contains filtered or unexported fields
}

StorageVolumeSnapshotResource defines the resource implementation.

func (*StorageVolumeSnapshotResource) Configure

Configure adds the provider configured client to the data source.

func (*StorageVolumeSnapshotResource) Create

Create creates the resource and sets the initial Terraform state.

func (*StorageVolumeSnapshotResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*StorageVolumeSnapshotResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*StorageVolumeSnapshotResource) Metadata

Metadata returns the resource type name.

func (*StorageVolumeSnapshotResource) Read

Read refreshes the Terraform state with the latest data.

func (*StorageVolumeSnapshotResource) Schema

Schema defines the schema for the resource.

func (*StorageVolumeSnapshotResource) Update

Update updates the resource and sets the updated Terraform state on success.

type StorageVolumeSnapshotResourceModel

type StorageVolumeSnapshotResourceModel struct {
	CxProfileName      types.String `tfsdk:"cx_profile_name"`
	Name               types.String `tfsdk:"name"`
	VolumeName         types.String `tfsdk:"volume_name"`
	SVMName            types.String `tfsdk:"svm_name"`
	ExpiryTime         types.String `tfsdk:"expiry_time"`
	SnaplockExpiryTime types.String `tfsdk:"snaplock_expiry_time"`
	Comment            types.String `tfsdk:"comment"`
	SnapmirrorLabel    types.String `tfsdk:"snapmirror_label"`
	ID                 types.String `tfsdk:"id"`
}

StorageVolumeSnapshotResourceModel describes the resource data model.

type StorageVolumeSnapshotsDataSource

type StorageVolumeSnapshotsDataSource struct {
	// contains filtered or unexported fields
}

StorageVolumeSnapshotsDataSource defines the data source implementation.

func (*StorageVolumeSnapshotsDataSource) Configure

Configure adds the provider configured client to the data source.

func (*StorageVolumeSnapshotsDataSource) Metadata

Metadata returns the data source type name.

func (*StorageVolumeSnapshotsDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*StorageVolumeSnapshotsDataSource) Schema

Schema defines the schema for the data source.

type StorageVolumeSnapshotsDataSourceModel

type StorageVolumeSnapshotsDataSourceModel struct {
	CxProfileName          types.String                                `tfsdk:"cx_profile_name"`
	StorageVolumeSnapshots []StorageVolumeSnapshotDataSourceModel      `tfsdk:"storage_volume_snapshots"`
	Filter                 *StorageVolumeSnapshotDataSourceFilterModel `tfsdk:"filter"`
}

StorageVolumeSnapshotsDataSourceModel describes the data source data model.

type StorageVolumesDataSource

type StorageVolumesDataSource struct {
	// contains filtered or unexported fields
}

StorageVolumesDataSource defines the data source implementation.

func (*StorageVolumesDataSource) Configure

Configure adds the provider configured client to the data source.

func (*StorageVolumesDataSource) Metadata

Metadata returns the data source type name.

func (*StorageVolumesDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*StorageVolumesDataSource) Schema

Schema defines the schema for the data source.

type StorageVolumesDataSourceModel

type StorageVolumesDataSourceModel struct {
	CxProfileName  types.String                        `tfsdk:"cx_profile_name"`
	StorageVolumes []StorageVolumeDataSourceModel      `tfsdk:"storage_volumes"`
	Filter         *StorageVolumeDataSourceFilterModel `tfsdk:"filter"`
}

StorageVolumesDataSourceModel describes the data source data model.

type Svm

type Svm struct {
	Name types.String `tfsdk:"name"`
	UUID types.String `tfsdk:"uuid"`
}

Svm describes data source model

type SvmDataSource

type SvmDataSource struct {
	// contains filtered or unexported fields
}

SvmDataSource defines the data source implementation.

func (*SvmDataSource) Configure

Configure adds the provider configured client to the data source.

func (*SvmDataSource) Metadata

Metadata returns the data source type name.

func (*SvmDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*SvmDataSource) Schema

Schema defines the schema for the data source.

type SvmDataSourceFilterModel

type SvmDataSourceFilterModel struct {
	Name types.String `tfsdk:"name"`
}

SvmDataSourceFilterModel describes the data source data model for queries.

type SvmDataSourceModel

type SvmDataSourceModel struct {
	CxProfileName  types.String   `tfsdk:"cx_profile_name"`
	Name           types.String   `tfsdk:"name"`
	Ipspace        types.String   `tfsdk:"ipspace"`
	SnapshotPolicy types.String   `tfsdk:"snapshot_policy"`
	SubType        types.String   `tfsdk:"subtype"`
	Comment        types.String   `tfsdk:"comment"`
	Language       types.String   `tfsdk:"language"`
	Aggregates     []types.String `tfsdk:"aggregates"`
	MaxVolumes     types.String   `tfsdk:"max_volumes"`
	ID             types.String   `tfsdk:"id"`
}

SvmDataSourceModel describes the data source data model.

type SvmResource

type SvmResource struct {
	// contains filtered or unexported fields
}

SvmResource defines the resource implementation.

func (*SvmResource) Configure

Configure adds the provider configured client to the resource.

func (*SvmResource) Create

Create the resource and sets the initial Terraform state.

func (*SvmResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*SvmResource) ImportState

ImportState imports a resource using ID from terraform import command by calling the Read method.

func (*SvmResource) Metadata

Metadata returns the resource type name.

func (*SvmResource) Read

Read refreshes the Terraform state with the latest data.

func (*SvmResource) Schema

Schema defines the schema for the resource.

func (*SvmResource) Update

Update updates the resource and sets the updated Terraform state on success.

type SvmResourceModel

type SvmResourceModel struct {
	CxProfileName  types.String   `tfsdk:"cx_profile_name"`
	Name           types.String   `tfsdk:"name"`
	Ipspace        types.String   `tfsdk:"ipspace"`
	SnapshotPolicy types.String   `tfsdk:"snapshot_policy"`
	SubType        types.String   `tfsdk:"subtype"`
	Comment        types.String   `tfsdk:"comment"`
	Language       types.String   `tfsdk:"language"`
	Aggregates     []types.String `tfsdk:"aggregates"`
	MaxVolumes     types.String   `tfsdk:"max_volumes"`
	ID             types.String   `tfsdk:"id"`
}

SvmResourceModel describes the resource data model.

type SvmsDataSource

type SvmsDataSource struct {
	// contains filtered or unexported fields
}

SvmsDataSource defines the data source implementation.

func (*SvmsDataSource) Configure

Configure adds the provider configured client to the data source.

func (*SvmsDataSource) Metadata

Metadata returns the data source type name.

func (*SvmsDataSource) Read

Read refreshes the Terraform state with the latest data.

func (*SvmsDataSource) Schema

Schema defines the schema for the data source.

type SvmsDataSourceModel

type SvmsDataSourceModel struct {
	CxProfileName types.String              `tfsdk:"cx_profile_name"`
	Svms          []SvmDataSourceModel      `tfsdk:"svms"`
	Filter        *SvmDataSourceFilterModel `tfsdk:"filter"`
}

SvmsDataSourceModel describes the data source data model.

type TransportDataSourceModel

type TransportDataSourceModel struct {
	TCPEnabled     types.Bool  `tfsdk:"tcp_enabled"`
	TCPMaxXferSize types.Int64 `tfsdk:"tcp_max_transfer_size"`
	UDPEnabled     types.Bool  `tfsdk:"udp_enabled"`
}

TransportDataSourceModel describes the data source of Transport

type TransportResourceModel

type TransportResourceModel struct {
	TCPEnabled     types.Bool  `tfsdk:"tcp_enabled"`
	TCPMaxXferSize types.Int64 `tfsdk:"tcp_max_transfer_size"`
	UDPEnabled     types.Bool  `tfsdk:"udp_enabled"`
}

TransportResourceModel describes the data source of Transport

type V40FeaturesDataSourceModel

type V40FeaturesDataSourceModel struct {
	ACLEnabled             types.Bool `tfsdk:"acl_enabled"`
	ReadDelegationEnabled  types.Bool `tfsdk:"read_delegation_enabled"`
	WriteDelegationEnabled types.Bool `tfsdk:"write_delegation_enabled"`
}

V40FeaturesDataSourceModel describes the data source of V40 Features

type V40FeaturesResourceModel

type V40FeaturesResourceModel struct {
	ACLEnabled             types.Bool `tfsdk:"acl_enabled"`
	ReadDelegationEnabled  types.Bool `tfsdk:"read_delegation_enabled"`
	WriteDelegationEnabled types.Bool `tfsdk:"write_delegation_enabled"`
}

V40FeaturesResourceModel describes the data source of V40 Features

type V41FeaturesDataSourceModel

type V41FeaturesDataSourceModel struct {
	ACLEnabled             types.Bool `tfsdk:"acl_enabled"`
	PnfsEnabled            types.Bool `tfsdk:"pnfs_enabled"`
	ReadDelegationEnabled  types.Bool `tfsdk:"read_delegation_enabled"`
	WriteDelegationEnabled types.Bool `tfsdk:"write_delegation_enabled"`
}

V41FeaturesDataSourceModel describes the data source of V41 Features

type V41FeaturesResourceModel

type V41FeaturesResourceModel struct {
	ACLEnabled             types.Bool `tfsdk:"acl_enabled"`
	PnfsEnabled            types.Bool `tfsdk:"pnfs_enabled"`
	ReadDelegationEnabled  types.Bool `tfsdk:"read_delegation_enabled"`
	WriteDelegationEnabled types.Bool `tfsdk:"write_delegation_enabled"`
}

V41FeaturesResourceModel describes the data source of V41 Features

type WindowsDataSourceModel

type WindowsDataSourceModel struct {
	DefaultUser                types.String `tfsdk:"default_user"`
	MapUnknownUIDToDefaultUser types.Bool   `tfsdk:"map_unknown_uid_to_default_user"`
	V3MsDosClientEnabled       types.Bool   `tfsdk:"v3_ms_dos_client_enabled"`
}

WindowsDataSourceModel describes the data source of Windows

type WindowsResourceModel

type WindowsResourceModel struct {
	DefaultUser                types.String `tfsdk:"default_user"`
	MapUnknownUIDToDefaultUser types.Bool   `tfsdk:"map_unknown_uid_to_default_user"`
	V3MsDosClientEnabled       types.Bool   `tfsdk:"v3_ms_dos_client_enabled"`
}

WindowsResourceModel describes the data source of Windows

Source Files

Jump to

Keyboard shortcuts

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