Documentation ¶
Index ¶
- Constants
- type AsnPool
- func (o AsnPool) DataSourceAttributes() map[string]dataSourceSchema.Attribute
- func (o *AsnPool) LoadApiData(ctx context.Context, in *apstra.AsnPool, diags *diag.Diagnostics)
- func (o *AsnPool) Request(ctx context.Context, diags *diag.Diagnostics) *apstra.AsnPoolRequest
- func (o AsnPool) ResourceAttributes() map[string]resourceSchema.Attribute
- func (o *AsnPool) SetMutablesToNull(ctx context.Context, diags *diag.Diagnostics)
- type AsnPoolRange
- func (o AsnPoolRange) AttrTypes() map[string]attr.Type
- func (o AsnPoolRange) DataSourceAttributes() map[string]dataSourceSchema.Attribute
- func (o *AsnPoolRange) LoadApiData(_ context.Context, in *apstra.IntRange, _ *diag.Diagnostics)
- func (o *AsnPoolRange) Request(_ context.Context, _ *diag.Diagnostics) apstra.IntfIntRange
- func (o AsnPoolRange) ResourceAttributes() map[string]resourceSchema.Attribute
- type IntegerPool
- func (o IntegerPool) DataSourceAttributes() map[string]dataSourceSchema.Attribute
- func (o *IntegerPool) LoadApiData(ctx context.Context, in *apstra.IntPool, diags *diag.Diagnostics)
- func (o *IntegerPool) Request(ctx context.Context, diags *diag.Diagnostics) *apstra.IntPoolRequest
- func (o IntegerPool) ResourceAttributes() map[string]resourceSchema.Attribute
- func (o *IntegerPool) SetMutablesToNull(ctx context.Context, diags *diag.Diagnostics)
- type IntegerPoolRange
- func (o IntegerPoolRange) AttrTypes() map[string]attr.Type
- func (o IntegerPoolRange) DataSourceAttributes() map[string]dataSourceSchema.Attribute
- func (o *IntegerPoolRange) LoadApiData(_ context.Context, in *apstra.IntRange, _ *diag.Diagnostics)
- func (o *IntegerPoolRange) Request(_ context.Context, _ *diag.Diagnostics) apstra.IntfIntRange
- func (o IntegerPoolRange) ResourceAttributes() map[string]resourceSchema.Attribute
- type Ipv4Pool
- func (o Ipv4Pool) DataSourceAttributes() map[string]dataSourceSchema.Attribute
- func (o *Ipv4Pool) LoadApiData(ctx context.Context, in *apstra.IpPool, diags *diag.Diagnostics)
- func (o *Ipv4Pool) Request(ctx context.Context, diags *diag.Diagnostics) *apstra.NewIpPoolRequest
- func (o Ipv4Pool) ResourceAttributes() map[string]resourceSchema.Attribute
- func (o *Ipv4Pool) SetMutablesToNull(ctx context.Context, diags *diag.Diagnostics)
- type Ipv4PoolSubnet
- func (o Ipv4PoolSubnet) AttrTypes() map[string]attr.Type
- func (o Ipv4PoolSubnet) DataSourceAttributes() map[string]dataSourceSchema.Attribute
- func (o *Ipv4PoolSubnet) LoadApiData(_ context.Context, in *apstra.IpSubnet, _ *diag.Diagnostics)
- func (o *Ipv4PoolSubnet) Request(_ context.Context, _ *diag.Diagnostics) *apstra.NewIpSubnet
- func (o Ipv4PoolSubnet) ResourceAttributes() map[string]resourceSchema.Attribute
- type Ipv6Pool
- func (o Ipv6Pool) DataSourceAttributes() map[string]dataSourceSchema.Attribute
- func (o *Ipv6Pool) LoadApiData(ctx context.Context, in *apstra.IpPool, diags *diag.Diagnostics)
- func (o *Ipv6Pool) Request(ctx context.Context, diags *diag.Diagnostics) *apstra.NewIpPoolRequest
- func (o Ipv6Pool) ResourceAttributes() map[string]resourceSchema.Attribute
- func (o *Ipv6Pool) SetMutablesToNull(ctx context.Context, diags *diag.Diagnostics)
- type Ipv6PoolSubnet
- func (o Ipv6PoolSubnet) AttrTypes() map[string]attr.Type
- func (o Ipv6PoolSubnet) DataSourceAttributes() map[string]dataSourceSchema.Attribute
- func (o *Ipv6PoolSubnet) LoadApiData(_ context.Context, in *apstra.IpSubnet, _ *diag.Diagnostics)
- func (o *Ipv6PoolSubnet) Request(_ context.Context, _ *diag.Diagnostics) *apstra.NewIpSubnet
- func (o Ipv6PoolSubnet) ResourceAttributes() map[string]resourceSchema.Attribute
- type VniPool
- func (o VniPool) DataSourceAttributes() map[string]dataSourceSchema.Attribute
- func (o *VniPool) LoadApiData(ctx context.Context, in *apstra.VniPool, diags *diag.Diagnostics)
- func (o *VniPool) Request(ctx context.Context, diags *diag.Diagnostics) *apstra.VniPoolRequest
- func (o VniPool) ResourceAttributes() map[string]resourceSchema.Attribute
- func (o *VniPool) SetMutablesToNull(ctx context.Context, diags *diag.Diagnostics)
- type VniPoolRange
- func (o VniPoolRange) AttrTypes() map[string]attr.Type
- func (o VniPoolRange) DataSourceAttributes() map[string]dataSourceSchema.Attribute
- func (o *VniPoolRange) LoadApiData(_ context.Context, in *apstra.IntRange, _ *diag.Diagnostics)
- func (o *VniPoolRange) Request(_ context.Context, _ *diag.Diagnostics) apstra.IntfIntRange
- func (o VniPoolRange) ResourceAttributes() map[string]resourceSchema.Attribute
Constants ¶
View Source
const ( IntegerPoolMin = 1 IntegerPoolMax = math.MaxUint32 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsnPool ¶
type AsnPool struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Ranges types.Set `tfsdk:"ranges"` Total types.Int64 `tfsdk:"total"` Status types.String `tfsdk:"status"` Used types.Int64 `tfsdk:"used"` UsedPercentage types.Float64 `tfsdk:"used_percentage"` }
func (AsnPool) DataSourceAttributes ¶
func (o AsnPool) DataSourceAttributes() map[string]dataSourceSchema.Attribute
func (*AsnPool) LoadApiData ¶
func (*AsnPool) Request ¶
func (o *AsnPool) Request(ctx context.Context, diags *diag.Diagnostics) *apstra.AsnPoolRequest
func (AsnPool) ResourceAttributes ¶
func (o AsnPool) ResourceAttributes() map[string]resourceSchema.Attribute
func (*AsnPool) SetMutablesToNull ¶ added in v0.62.0
func (o *AsnPool) SetMutablesToNull(ctx context.Context, diags *diag.Diagnostics)
type AsnPoolRange ¶
type AsnPoolRange struct { Status types.String `tfsdk:"status"` First types.Int64 `tfsdk:"first"` Last types.Int64 `tfsdk:"last"` Total types.Int64 `tfsdk:"total"` Used types.Int64 `tfsdk:"used"` UsedPercentage types.Float64 `tfsdk:"used_percentage"` }
func (AsnPoolRange) DataSourceAttributes ¶
func (o AsnPoolRange) DataSourceAttributes() map[string]dataSourceSchema.Attribute
func (*AsnPoolRange) LoadApiData ¶
func (o *AsnPoolRange) LoadApiData(_ context.Context, in *apstra.IntRange, _ *diag.Diagnostics)
func (*AsnPoolRange) Request ¶
func (o *AsnPoolRange) Request(_ context.Context, _ *diag.Diagnostics) apstra.IntfIntRange
func (AsnPoolRange) ResourceAttributes ¶
func (o AsnPoolRange) ResourceAttributes() map[string]resourceSchema.Attribute
type IntegerPool ¶
type IntegerPool struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Ranges types.Set `tfsdk:"ranges"` Total types.Int64 `tfsdk:"total"` Status types.String `tfsdk:"status"` Used types.Int64 `tfsdk:"used"` UsedPercentage types.Float64 `tfsdk:"used_percentage"` }
func (IntegerPool) DataSourceAttributes ¶
func (o IntegerPool) DataSourceAttributes() map[string]dataSourceSchema.Attribute
func (*IntegerPool) LoadApiData ¶
func (o *IntegerPool) LoadApiData(ctx context.Context, in *apstra.IntPool, diags *diag.Diagnostics)
func (*IntegerPool) Request ¶
func (o *IntegerPool) Request(ctx context.Context, diags *diag.Diagnostics) *apstra.IntPoolRequest
func (IntegerPool) ResourceAttributes ¶
func (o IntegerPool) ResourceAttributes() map[string]resourceSchema.Attribute
func (*IntegerPool) SetMutablesToNull ¶ added in v0.62.0
func (o *IntegerPool) SetMutablesToNull(ctx context.Context, diags *diag.Diagnostics)
type IntegerPoolRange ¶
type IntegerPoolRange struct { Status types.String `tfsdk:"status"` First types.Int64 `tfsdk:"first"` Last types.Int64 `tfsdk:"last"` Total types.Int64 `tfsdk:"total"` Used types.Int64 `tfsdk:"used"` UsedPercentage types.Float64 `tfsdk:"used_percentage"` }
func (IntegerPoolRange) DataSourceAttributes ¶
func (o IntegerPoolRange) DataSourceAttributes() map[string]dataSourceSchema.Attribute
func (*IntegerPoolRange) LoadApiData ¶
func (o *IntegerPoolRange) LoadApiData(_ context.Context, in *apstra.IntRange, _ *diag.Diagnostics)
func (*IntegerPoolRange) Request ¶
func (o *IntegerPoolRange) Request(_ context.Context, _ *diag.Diagnostics) apstra.IntfIntRange
func (IntegerPoolRange) ResourceAttributes ¶
func (o IntegerPoolRange) ResourceAttributes() map[string]resourceSchema.Attribute
type Ipv4Pool ¶
type Ipv4Pool struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Subnets types.Set `tfsdk:"subnets"` Total types.Number `tfsdk:"total"` Status types.String `tfsdk:"status"` Used types.Number `tfsdk:"used"` UsedPercentage types.Float64 `tfsdk:"used_percentage"` }
func (Ipv4Pool) DataSourceAttributes ¶
func (o Ipv4Pool) DataSourceAttributes() map[string]dataSourceSchema.Attribute
func (*Ipv4Pool) LoadApiData ¶
func (*Ipv4Pool) Request ¶
func (o *Ipv4Pool) Request(ctx context.Context, diags *diag.Diagnostics) *apstra.NewIpPoolRequest
func (Ipv4Pool) ResourceAttributes ¶
func (o Ipv4Pool) ResourceAttributes() map[string]resourceSchema.Attribute
func (*Ipv4Pool) SetMutablesToNull ¶ added in v0.62.0
func (o *Ipv4Pool) SetMutablesToNull(ctx context.Context, diags *diag.Diagnostics)
type Ipv4PoolSubnet ¶
type Ipv4PoolSubnet struct { Status types.String `tfsdk:"status"` Network cidrtypes.IPv4Prefix `tfsdk:"network"` Total types.Number `tfsdk:"total"` Used types.Number `tfsdk:"used"` UsedPercentage types.Float64 `tfsdk:"used_percentage"` }
func (Ipv4PoolSubnet) DataSourceAttributes ¶
func (o Ipv4PoolSubnet) DataSourceAttributes() map[string]dataSourceSchema.Attribute
func (*Ipv4PoolSubnet) LoadApiData ¶
func (o *Ipv4PoolSubnet) LoadApiData(_ context.Context, in *apstra.IpSubnet, _ *diag.Diagnostics)
func (*Ipv4PoolSubnet) Request ¶
func (o *Ipv4PoolSubnet) Request(_ context.Context, _ *diag.Diagnostics) *apstra.NewIpSubnet
func (Ipv4PoolSubnet) ResourceAttributes ¶
func (o Ipv4PoolSubnet) ResourceAttributes() map[string]resourceSchema.Attribute
type Ipv6Pool ¶
type Ipv6Pool struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Subnets types.Set `tfsdk:"subnets"` Total types.Number `tfsdk:"total"` Status types.String `tfsdk:"status"` Used types.Number `tfsdk:"used"` UsedPercentage types.Float64 `tfsdk:"used_percentage"` }
func (Ipv6Pool) DataSourceAttributes ¶
func (o Ipv6Pool) DataSourceAttributes() map[string]dataSourceSchema.Attribute
func (*Ipv6Pool) LoadApiData ¶
func (*Ipv6Pool) Request ¶
func (o *Ipv6Pool) Request(ctx context.Context, diags *diag.Diagnostics) *apstra.NewIpPoolRequest
func (Ipv6Pool) ResourceAttributes ¶
func (o Ipv6Pool) ResourceAttributes() map[string]resourceSchema.Attribute
func (*Ipv6Pool) SetMutablesToNull ¶ added in v0.62.0
func (o *Ipv6Pool) SetMutablesToNull(ctx context.Context, diags *diag.Diagnostics)
type Ipv6PoolSubnet ¶
type Ipv6PoolSubnet struct { Status types.String `tfsdk:"status"` Network cidrtypes.IPv6Prefix `tfsdk:"network"` Total types.Number `tfsdk:"total"` Used types.Number `tfsdk:"used"` UsedPercentage types.Float64 `tfsdk:"used_percentage"` }
func (Ipv6PoolSubnet) DataSourceAttributes ¶
func (o Ipv6PoolSubnet) DataSourceAttributes() map[string]dataSourceSchema.Attribute
func (*Ipv6PoolSubnet) LoadApiData ¶
func (o *Ipv6PoolSubnet) LoadApiData(_ context.Context, in *apstra.IpSubnet, _ *diag.Diagnostics)
func (*Ipv6PoolSubnet) Request ¶
func (o *Ipv6PoolSubnet) Request(_ context.Context, _ *diag.Diagnostics) *apstra.NewIpSubnet
func (Ipv6PoolSubnet) ResourceAttributes ¶
func (o Ipv6PoolSubnet) ResourceAttributes() map[string]resourceSchema.Attribute
type VniPool ¶
type VniPool struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Ranges types.Set `tfsdk:"ranges"` Total types.Int64 `tfsdk:"total"` Status types.String `tfsdk:"status"` Used types.Int64 `tfsdk:"used"` UsedPercentage types.Float64 `tfsdk:"used_percentage"` }
func (VniPool) DataSourceAttributes ¶
func (o VniPool) DataSourceAttributes() map[string]dataSourceSchema.Attribute
func (*VniPool) LoadApiData ¶
func (*VniPool) Request ¶
func (o *VniPool) Request(ctx context.Context, diags *diag.Diagnostics) *apstra.VniPoolRequest
func (VniPool) ResourceAttributes ¶
func (o VniPool) ResourceAttributes() map[string]resourceSchema.Attribute
func (*VniPool) SetMutablesToNull ¶ added in v0.62.0
func (o *VniPool) SetMutablesToNull(ctx context.Context, diags *diag.Diagnostics)
type VniPoolRange ¶
type VniPoolRange struct { Status types.String `tfsdk:"status"` First types.Int64 `tfsdk:"first"` Last types.Int64 `tfsdk:"last"` Total types.Int64 `tfsdk:"total"` Used types.Int64 `tfsdk:"used"` UsedPercentage types.Float64 `tfsdk:"used_percentage"` }
func (VniPoolRange) DataSourceAttributes ¶
func (o VniPoolRange) DataSourceAttributes() map[string]dataSourceSchema.Attribute
func (*VniPoolRange) LoadApiData ¶
func (o *VniPoolRange) LoadApiData(_ context.Context, in *apstra.IntRange, _ *diag.Diagnostics)
func (*VniPoolRange) Request ¶
func (o *VniPoolRange) Request(_ context.Context, _ *diag.Diagnostics) apstra.IntfIntRange
func (VniPoolRange) ResourceAttributes ¶
func (o VniPoolRange) ResourceAttributes() map[string]resourceSchema.Attribute
Click to show internal directories.
Click to hide internal directories.