Documentation ¶
Index ¶
- type ManagedDevice
- func (o ManagedDevice) DataSourceAttributes() map[string]dataSourceSchema.Attribute
- func (o ManagedDevice) DataSourceFilterAttributes() map[string]dataSourceSchema.Attribute
- func (o *ManagedDevice) GetDeviceKey(ctx context.Context, client *apstra.Client, diags *diag.Diagnostics)
- func (o *ManagedDevice) IpNetFromManagementIp(_ context.Context, diags *diag.Diagnostics) *net.IPNet
- func (o *ManagedDevice) LoadApiData(_ context.Context, in *apstra.SystemAgent, _ *diag.Diagnostics)
- func (o *ManagedDevice) LoadUserConfig(_ context.Context, in apstra.SystemUserConfig, _ *diag.Diagnostics)
- func (o *ManagedDevice) Request(_ context.Context, _ *diag.Diagnostics) *apstra.SystemAgentRequest
- func (o ManagedDevice) ResourceAttributes() map[string]resourceSchema.Attribute
- func (o *ManagedDevice) SetUserConfig(ctx context.Context, si *apstra.ManagedSystemInfo, client *apstra.Client, ...)
- func (o *ManagedDevice) ValidateAgentProfile(ctx context.Context, client *apstra.Client, diags *diag.Diagnostics)
- type SystemAck
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagedDevice ¶
type ManagedDevice struct { AgentId types.String `tfsdk:"agent_id"` SystemId types.String `tfsdk:"system_id"` ManagementIp types.String `tfsdk:"management_ip"` DeviceKey types.String `tfsdk:"device_key"` AgentProfileId types.String `tfsdk:"agent_profile_id"` OffBox types.Bool `tfsdk:"off_box"` Location types.String `tfsdk:"location"` }
func (ManagedDevice) DataSourceAttributes ¶
func (o ManagedDevice) DataSourceAttributes() map[string]dataSourceSchema.Attribute
func (ManagedDevice) DataSourceFilterAttributes ¶
func (o ManagedDevice) DataSourceFilterAttributes() map[string]dataSourceSchema.Attribute
func (*ManagedDevice) GetDeviceKey ¶
func (o *ManagedDevice) GetDeviceKey(ctx context.Context, client *apstra.Client, diags *diag.Diagnostics)
func (*ManagedDevice) IpNetFromManagementIp ¶
func (o *ManagedDevice) IpNetFromManagementIp(_ context.Context, diags *diag.Diagnostics) *net.IPNet
IpNetFromManagementIp is generally called when a ManagedDevice object is used as a filter for matching other ManagedDevice objects. In that case, the ManagementIp element might contain a CIDR block rather than an individual host address. In either case, returns a *net.IPNet representing the ManagementIp element. nil is returned if the ManagementIp element is null.
func (*ManagedDevice) LoadApiData ¶
func (o *ManagedDevice) LoadApiData(_ context.Context, in *apstra.SystemAgent, _ *diag.Diagnostics)
func (*ManagedDevice) LoadUserConfig ¶ added in v0.77.0
func (o *ManagedDevice) LoadUserConfig(_ context.Context, in apstra.SystemUserConfig, _ *diag.Diagnostics)
func (*ManagedDevice) Request ¶
func (o *ManagedDevice) Request(_ context.Context, _ *diag.Diagnostics) *apstra.SystemAgentRequest
func (ManagedDevice) ResourceAttributes ¶
func (o ManagedDevice) ResourceAttributes() map[string]resourceSchema.Attribute
func (*ManagedDevice) SetUserConfig ¶ added in v0.77.0
func (o *ManagedDevice) SetUserConfig(ctx context.Context, si *apstra.ManagedSystemInfo, client *apstra.Client, diags *diag.Diagnostics)
func (*ManagedDevice) ValidateAgentProfile ¶
func (o *ManagedDevice) ValidateAgentProfile(ctx context.Context, client *apstra.Client, diags *diag.Diagnostics)
type SystemAck ¶
type SystemAck struct { AgentId types.String `tfsdk:"agent_id"` DeviceKey types.String `tfsdk:"device_key"` SystemId types.String `tfsdk:"system_id"` }
func (*SystemAck) Acknowledge ¶
func (o *SystemAck) Acknowledge(ctx context.Context, si *apstra.ManagedSystemInfo, client *apstra.Client, diags *diag.Diagnostics)
func (SystemAck) ResourceAttributes ¶
func (o SystemAck) ResourceAttributes() map[string]resourceSchema.Attribute
Click to show internal directories.
Click to hide internal directories.