filesharedistributionpoints

package
v0.0.52 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Overview

filesharedistributionpoints_data_source.go

filesharedistributionpoints_data_source.go

filesharedistributionpoints_object.go

filesharedistributionpoints_resource.go

filesharedistributionpoints_state.go

Index

Constants

View Source
const (
	JamfProResourceDistributionPoint = "Distribution Point"
)

Variables

This section is empty.

Functions

func DataSourceJamfProFileShareDistributionPoints added in v0.0.17

func DataSourceJamfProFileShareDistributionPoints() *schema.Resource

DataSourceJamfProFileShareDistributionPoints defines the schema and CRUD operations for managing Jamf Pro Distribution Point in Terraform.

func DataSourceJamfProFileShareDistributionPointsRead added in v0.0.17

func DataSourceJamfProFileShareDistributionPointsRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

DataSourceJamfProFileShareDistributionPointsRead is responsible for reading the current state of a Jamf Pro File Share Distribution Point Resource from the remote system. The function: 1. Fetches the dock item's current state using its ID. If it fails then obtain dock item's current state using its Name. 2. Updates the Terraform state with the fetched data to ensure it accurately reflects the current state in Jamf Pro. 3. Handles any discrepancies, such as the dock item being deleted outside of Terraform, to keep the Terraform state synchronized.

func ResourceJamfProFileShareDistributionPoints

func ResourceJamfProFileShareDistributionPoints() *schema.Resource

ResourceJamfProFileShareDistributionPoints defines the schema and CRUD operations for managing Jamf Pro Distribution Point in Terraform.

func ResourceJamfProFileShareDistributionPointsCreate

func ResourceJamfProFileShareDistributionPointsCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

ResourceJamfProFileShareDistributionPointsCreate is responsible for creating a new file share distribution point object in the remote system. The function: 1. Constructs the dock item data using the provided Terraform configuration. 2. Calls the API to create the dock item in Jamf Pro. 3. Updates the Terraform state with the ID of the newly created dock item. 4. Initiates a read operation to synchronize the Terraform state with the actual state in Jamf Pro.

func ResourceJamfProFileShareDistributionPointsDelete

func ResourceJamfProFileShareDistributionPointsDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

ResourceJamfProFileShareDistributionPointsDeleteis responsible for deleting a Jamf Pro file share distribution point from the remote system.

func ResourceJamfProFileShareDistributionPointsRead

func ResourceJamfProFileShareDistributionPointsRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

ResourceJamfProFileShareDistributionPointsRead is responsible for reading the current state of a Jamf Pro File Share Distribution Point Resource from the remote system. The function: 1. Fetches the dock item's current state using its ID. If it fails then obtain dock item's current state using its Name. 2. Updates the Terraform state with the fetched data to ensure it accurately reflects the current state in Jamf Pro. 3. Handles any discrepancies, such as the dock item being deleted outside of Terraform, to keep the Terraform state synchronized.

func ResourceJamfProFileShareDistributionPointsUpdate

func ResourceJamfProFileShareDistributionPointsUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

ResourceJamfProFileShareDistributionPointsUpdate is responsible for updating an existing Jamf Pro Site on the remote system.

Types

This section is empty.

Jump to

Keyboard shortcuts

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