Documentation
¶
Index ¶
- func New(version string) func() provider.Provider
- func NewQtreeDataSource() datasource.DataSource
- func NewQtreeResource() resource.Resource
- func NewSVMDataSource() datasource.DataSource
- func NewSVMResource() resource.Resource
- type ADDomainDataSourceModel
- type ADDomainResourceModel
- type AggregateDataSourceModel
- type CIFSDataSourceModel
- type CIFSResourceModel
- type DNSDataSourceModel
- type DNSResourceModel
- type FCInterfaceDataSourceModel
- type IPInterfaceDataSourceModel
- type IPInterfaceIPDataSourceModel
- type IPInterfaceIPResourceModel
- type IPInterfaceResourceModel
- type IPSpaceDataSourceModel
- type IPSpaceResourceModel
- type LDAPDataSourceModel
- type NISDataSourceModel
- type NSSwitchDataSourceModel
- type ONTAPProvider
- func (p *ONTAPProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *ONTAPProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *ONTAPProvider) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics)
- func (p *ONTAPProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *ONTAPProvider) Resources(ctx context.Context) []func() resource.Resource
- type ONTAPProviderModel
- type QtreeDataSource
- func (d *QtreeDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *QtreeDataSource) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics)
- func (d *QtreeDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *QtreeDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- type QtreeDataSourceModel
- type QtreeResource
- func (r *QtreeResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *QtreeResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *QtreeResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *QtreeResource) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics)
- func (r *QtreeResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *QtreeResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *QtreeResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *QtreeResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type QtreeResourceModel
- type RouteDataSourceModel
- type RouteDestinationDataSourceModel
- type RouteDestinationResourceModel
- type RouteResourceModel
- type S3DataSourceModel
- type SVMDataSource
- func (d *SVMDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *SVMDataSource) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics)
- func (d *SVMDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *SVMDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- type SVMDataSourceModel
- type SVMResource
- func (r *SVMResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *SVMResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *SVMResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *SVMResource) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics)
- func (r *SVMResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *SVMResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *SVMResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *SVMResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type SVMResourceModel
- type SnapmirrorDataSourceModel
- type SnapshotPolicyDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQtreeDataSource ¶
func NewQtreeDataSource() datasource.DataSource
func NewQtreeResource ¶
func NewSVMDataSource ¶
func NewSVMDataSource() datasource.DataSource
func NewSVMResource ¶
Types ¶
type ADDomainDataSourceModel ¶
type ADDomainResourceModel ¶
type AggregateDataSourceModel ¶
type AggregateDataSourceModel struct { Name types.String `tfsdk:"name"` UUID types.String `tfsdk:"uuid"` }
****************************
aggregates
*****************************
type CIFSDataSourceModel ¶
type CIFSDataSourceModel struct { ADDomain *ADDomainDataSourceModel `tfsdk:"ad_domain"` Enabled types.Bool `tfsdk:"enabled"` Name *types.String `tfsdk:"name"` }
func NewCIFSDataSourceModel ¶
func NewCIFSDataSourceModel() CIFSDataSourceModel
type CIFSResourceModel ¶
type CIFSResourceModel struct { ADDomain *ADDomainResourceModel `tfsdk:"ad_domain"` Enabled types.Bool `tfsdk:"enabled"` Name *types.String `tfsdk:"name"` }
func NewCIFSResourceModel ¶
func NewCIFSResourceModel() CIFSResourceModel
type DNSDataSourceModel ¶
type DNSResourceModel ¶
type FCInterfaceDataSourceModel ¶
type FCInterfaceDataSourceModel struct { DataProtocal types.String `tfsdk:"data_protocol"` Name types.String `tfsdk:"name"` UUID types.String `tfsdk:"uuid"` }
func NewFCInterfaceDataSourceModel ¶
func NewFCInterfaceDataSourceModel() FCInterfaceDataSourceModel
****************************
fc_interfaces
*****************************
type IPInterfaceDataSourceModel ¶
type IPInterfaceDataSourceModel struct { IP IPInterfaceIPDataSourceModel `tfsdk:"ip"` Name types.String `tfsdk:"name"` ServicePolicy types.String `tfsdk:"service_policy"` Services []types.String `tfsdk:"services"` UUID types.String `tfsdk:"uuid"` }
func NewIPInterfaceDataSourceModel ¶
func NewIPInterfaceDataSourceModel() IPInterfaceDataSourceModel
type IPInterfaceResourceModel ¶
type IPInterfaceResourceModel struct { IP IPInterfaceIPResourceModel `tfsdk:"ip"` Name types.String `tfsdk:"name"` ServicePolicy types.String `tfsdk:"service_policy"` Services []types.String `tfsdk:"services"` UUID types.String `tfsdk:"uuid"` }
func NewIPInterfaceResourceModel ¶
func NewIPInterfaceResourceModel() IPInterfaceResourceModel
type IPSpaceDataSourceModel ¶
type IPSpaceResourceModel ¶
type LDAPDataSourceModel ¶
type LDAPDataSourceModel struct { ADDomain types.String `tfsdk:"ad_domain"` BaseDN types.String `tfsdk:"base_dn"` BindDN types.String `tfsdk:"bind_dn"` Enabled types.Bool `tfsdk:"enabled"` Servers []types.String `tfsdk:"servers"` }
func NewLDAPDataSourceModel ¶
func NewLDAPDataSourceModel() LDAPDataSourceModel
****************************
ldap
*****************************
type NISDataSourceModel ¶
type NISDataSourceModel struct { Domain types.String `tfsdk:"domain"` Enabled types.Bool `tfsdk:"enabled"` Servers []types.String `tfsdk:"servers"` }
func NewNISDataSourceModel ¶
func NewNISDataSourceModel() NISDataSourceModel
****************************
nis
*****************************
type NSSwitchDataSourceModel ¶
type NSSwitchDataSourceModel struct { Group []types.String `tfsdk:"group"` Hosts []types.String `tfsdk:"hosts"` Namemap []types.String `tfsdk:"namemap"` Netgroup []types.String `tfsdk:"netgroup"` Passwd []types.String `tfsdk:"passwd"` }
****************************
nsswitch
*****************************
type ONTAPProvider ¶
type ONTAPProvider struct {
// contains filtered or unexported fields
}
ONTAPProvider defines the provider implementation.
func (*ONTAPProvider) Configure ¶
func (p *ONTAPProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*ONTAPProvider) DataSources ¶
func (p *ONTAPProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*ONTAPProvider) GetSchema ¶
func (p *ONTAPProvider) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics)
func (*ONTAPProvider) Metadata ¶
func (p *ONTAPProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
type ONTAPProviderModel ¶
type ONTAPProviderModel struct { Host types.String `tfsdk:"hostname"` Username types.String `tfsdk:"username"` Password types.String `tfsdk:"password"` IgnoreSSLErrors types.Bool `tfsdk:"ignore_ssl_errors"` }
ONTAPProviderModel describes the provider data model.
type QtreeDataSource ¶
type QtreeDataSource struct {
// contains filtered or unexported fields
}
ExampleDataSource defines the data source implementation.
func (*QtreeDataSource) Configure ¶
func (d *QtreeDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*QtreeDataSource) GetSchema ¶
func (d *QtreeDataSource) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics)
func (*QtreeDataSource) Metadata ¶
func (d *QtreeDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*QtreeDataSource) Read ¶
func (d *QtreeDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
type QtreeDataSourceModel ¶
type QtreeDataSourceModel struct { UUID types.String `tfsdk:"uuid"` VolumeUUID types.String `tfsdk:"volume_uuid"` Name types.String `tfsdk:"name"` Id types.Int64 `tfsdk:"id"` Path types.String `tfsdk:"path"` SecurityStyle types.String `tfsdk:"security_style"` UnixPermission types.Int64 `tfsdk:"unix_permissions"` }
ExampleDataSourceModel describes the data source data model.
type QtreeResource ¶
type QtreeResource struct {
// contains filtered or unexported fields
}
QtreeResource defines the resource implementation.
func (*QtreeResource) Configure ¶
func (r *QtreeResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*QtreeResource) Create ¶
func (r *QtreeResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*QtreeResource) Delete ¶
func (r *QtreeResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*QtreeResource) GetSchema ¶
func (r *QtreeResource) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics)
func (*QtreeResource) ImportState ¶
func (r *QtreeResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*QtreeResource) Metadata ¶
func (r *QtreeResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*QtreeResource) Read ¶
func (r *QtreeResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*QtreeResource) Update ¶
func (r *QtreeResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type QtreeResourceModel ¶
type QtreeResourceModel struct { Id types.String `tfsdk:"uuid"` SVMUUID types.String `tfsdk:"svm_uuid"` VolumeUUID types.String `tfsdk:"volume_uuid"` Name types.String `tfsdk:"name"` QtreeID types.Int64 `tfsdk:"id"` Path types.String `tfsdk:"path"` SecurityStyle types.String `tfsdk:"security_style"` UnixPermission types.Int64 `tfsdk:"unix_permissions"` }
QtreeResourceModel describes the resource data model.
type RouteDataSourceModel ¶
type RouteDataSourceModel struct { Destination RouteDestinationDataSourceModel `tfsdk:"destination"` Gateway types.String `tfsdk:"gateway"` }
****************************
routes
*****************************
type RouteResourceModel ¶
type RouteResourceModel struct { Destination RouteDestinationResourceModel `tfsdk:"destination"` Gateway types.String `tfsdk:"gateway"` }
****************************
routes
*****************************
type S3DataSourceModel ¶
type S3DataSourceModel struct { Enabled types.Bool `tfsdk:"enabled"` Name types.String `tfsdk:"name"` }
func NewS3DataSourceModel ¶
func NewS3DataSourceModel() S3DataSourceModel
****************************
s3
*****************************
type SVMDataSource ¶
type SVMDataSource struct {
// contains filtered or unexported fields
}
ExampleDataSource defines the data source implementation.
func (*SVMDataSource) Configure ¶
func (d *SVMDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*SVMDataSource) GetSchema ¶
func (d *SVMDataSource) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics)
func (*SVMDataSource) Metadata ¶
func (d *SVMDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*SVMDataSource) Read ¶
func (d *SVMDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
type SVMDataSourceModel ¶
type SVMDataSourceModel struct { UUID types.String `tfsdk:"uuid"` Aggregates []AggregateDataSourceModel `tfsdk:"aggregates"` AggregatesDelegated types.Bool `tfsdk:"aggregates_delegated"` Certificate types.String `tfsdk:"certificate"` CIFS *CIFSDataSourceModel `tfsdk:"cifs"` Comment types.String `tfsdk:"comment"` DNS *DNSDataSourceModel `tfsdk:"dns"` FCInterfaces []FCInterfaceDataSourceModel `tfsdk:"fc_interfaces"` FCP types.Bool `tfsdk:"fcp"` IPInterfaces []IPInterfaceDataSourceModel `tfsdk:"ip_interfaces"` IPSpace *IPSpaceDataSourceModel `tfsdk:"ipspace"` ISCSI types.Bool `tfsdk:"iscsi"` Language types.String `tfsdk:"language"` LDAP *LDAPDataSourceModel `tfsdk:"ldap"` Name types.String `tfsdk:"name"` NFS types.Bool `tfsdk:"nfs"` NIS *NISDataSourceModel `tfsdk:"nis"` NVME types.Bool `tfsdk:"nvme"` NSSwitch *NSSwitchDataSourceModel `tfsdk:"nsswitch"` Routes []RouteDataSourceModel `tfsdk:"routes"` S3 *S3DataSourceModel `tfsdk:"s3"` Snapmirror *SnapmirrorDataSourceModel `tfsdk:"snapmirror"` SnapshotPolicy *SnapshotPolicyDataSourceModel `tfsdk:"snapshot_policy"` State types.String `tfsdk:"state"` Subtype types.String `tfsdk:"subtype"` }
ExampleDataSourceModel describes the data source data model.
type SVMResource ¶
type SVMResource struct {
// contains filtered or unexported fields
}
SVMResource defines the resource implementation.
func (*SVMResource) Configure ¶
func (r *SVMResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*SVMResource) Create ¶
func (r *SVMResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*SVMResource) Delete ¶
func (r *SVMResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*SVMResource) GetSchema ¶
func (r *SVMResource) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics)
func (*SVMResource) ImportState ¶
func (r *SVMResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*SVMResource) Metadata ¶
func (r *SVMResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*SVMResource) Read ¶
func (r *SVMResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*SVMResource) Update ¶
func (r *SVMResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type SVMResourceModel ¶
type SVMResourceModel struct { UUID types.String `tfsdk:"uuid"` // Aggregates []AggregateResourceModel `tfsdk:"aggregates"` // AggregatesDelegated types.Bool `tfsdk:"aggregates_delegated"` // Certificate types.String `tfsdk:"certificate"` CIFS *CIFSResourceModel `tfsdk:"cifs"` Comment types.String `tfsdk:"comment"` DNS *DNSResourceModel `tfsdk:"dns"` // FCInterfaces []FCInterfaceResourceModel `tfsdk:"fc_interfaces"` // FCP types.Bool `tfsdk:"fcp"` IPInterfaces []IPInterfaceResourceModel `tfsdk:"ip_interfaces"` IPSpace *IPSpaceResourceModel `tfsdk:"ipspace"` // ISCSI types.Bool `tfsdk:"iscsi"` // Language types.String `tfsdk:"language"` // LDAP *LDAPResourceModel `tfsdk:"ldap"` Name types.String `tfsdk:"name"` NFS types.Bool `tfsdk:"nfs"` // NIS *NISResourceModel `tfsdk:"nis"` // NVME types.Bool `tfsdk:"nvme"` // NSSwitch *NSSwitchResourceModel `tfsdk:"nsswitch"` Routes []RouteResourceModel `tfsdk:"routes"` // S3 *S3ResourceModel `tfsdk:"s3"` // Snapmirror *SnapmirrorResourceModel `tfsdk:"snapmirror"` // SnapshotPolicy *SnapshotPolicyResourceModel `tfsdk:"snapshot_policy"` // State types.String `tfsdk:"state"` Subtype types.String `tfsdk:"subtype"` }
SVMResourceModel describes the resource data model.