Documentation ¶
Overview ¶
filesharedistributionpoints_data_source.go
filesharedistributionpoints_object.go
filesharedistributionpoints_resource.go
Index ¶
- Constants
- func DataSourceJamfProFileShareDistributionPoints() *schema.Resource
- func DataSourceJamfProFileShareDistributionPointsRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceJamfProFileShareDistributionPoints() *schema.Resource
- func ResourceJamfProFileShareDistributionPointsCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceJamfProFileShareDistributionPointsDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceJamfProFileShareDistributionPointsRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceJamfProFileShareDistributionPointsUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
Constants ¶
const (
JamfProResourceDistributionPoint = "Distribution Point"
)
Variables ¶
This section is empty.
Functions ¶
func DataSourceJamfProFileShareDistributionPoints ¶ added in v0.0.17
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 ¶
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.