Documentation ¶
Overview ¶
webhooks_object.go
webhooks_data_source.go
webhooks_data_validator.go
webhooks_resource.go
webhooks_state.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceJamfProWebhooks ¶
DataSourceJamfProWebhooks provides information about a specific Jamf Pro Webhook by its ID or Name.
func DataSourceJamfProWebhooksRead ¶
func DataSourceJamfProWebhooksRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
DataSourceJamfProWebhooksRead fetches the details of a specific Jamf Pro Webhook from Jamf Pro using either its unique Name or its Id. The function prioritizes the 'name' attribute over the 'id' attribute for fetching details. If neither '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 ResourceJamfProWebhooks ¶
resourceJamfProWebhooks defines the schema and CRUD operations for managing Jamf Pro Webhooks in Terraform.
Types ¶
This section is empty.