advancedcomputersearches

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

advancedcomputersearches_data_source.go

advancedcomputersearches_resource.go

advancedcomputersearches_resource.go

advancedcomputersearches_state.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceJamfProAdvancedComputerSearches added in v0.0.19

func DataSourceJamfProAdvancedComputerSearches() *schema.Resource

DataSourceJamfProAdvancedComputerSearches provides information about a specific API integration by its ID or Name.

func DataSourceJamfProAdvancedComputerSearchesRead added in v0.0.19

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

DataSourceJamfProAdvancedComputerSearchesRead fetches the details of a specific API integration from Jamf Pro using either its unique Name or its Id. The function prioritizes the 'display_name' attribute over the 'id' attribute for fetching details. If neither 'display_name' nor 'id' is provided, it returns an error. Once the details are fetched, they are set in the data source's state.

Parameters: - ctx: The context within which the function is called. It's used for timeouts and cancellation. - d: The current state of the data source. - meta: The meta object that can be used to retrieve the API client connection.

Returns: - diag.Diagnostics: Returns any diagnostics (errors or warnings) encountered during the function's execution.

func ResourceJamfProAdvancedComputerSearchCreate

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

ResourceJamfProAdvancedComputerSearchCreate is responsible for creating a new Jamf Pro Advanced Computer Search in the remote system.

func ResourceJamfProAdvancedComputerSearchDelete

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

ResourceJamfProAdvancedComputerSearchDelete is responsible for deleting a Jamf Pro AdvancedComputerSearch.

func ResourceJamfProAdvancedComputerSearchRead

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

ResourceJamfProAdvancedComputerSearchRead is responsible for reading the current state of a Jamf Pro Advanced Computer Search from the remote system.

func ResourceJamfProAdvancedComputerSearchUpdate

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

ResourceJamfProAdvancedComputerSearchUpdate is responsible for updating an existing Jamf Pro Advanced Computer Search on the remote system.

func ResourceJamfProAdvancedComputerSearches

func ResourceJamfProAdvancedComputerSearches() *schema.Resource

ResourceJamfProAdvancedComputerSearches defines the schema for managing Advanced Computer Searches in Terraform.

Types

This section is empty.

Jump to

Keyboard shortcuts

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