mobiledeviceconfigurationprofiles

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: 17 Imported by: 0

Documentation

Overview

mobiledeviceconfigurationprofiles_data_source.go

mobiledeviceconfigurationprofiles_resource.go

mobiledeviceconfigurationprofiles_resource.go

mobiledeviceconfigurationprofiles_state.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceJamfProMobileDeviceConfigurationProfileRead

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

DataSourceJamfProMobileDeviceConfigurationProfileRead fetches the details of a specific department from Jamf Pro using its unique ID.

func DataSourceJamfProMobileDeviceConfigurationProfiles

func DataSourceJamfProMobileDeviceConfigurationProfiles() *schema.Resource

DataSourceJamfProMobileDeviceConfigurationProfiles provides information about a specific department in Jamf Pro.

func ResourceJamfProMobileDeviceConfigurationProfileCreate

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

ResourceJamfProMobileDeviceConfigurationProfileCreate is responsible for creating a new Jamf Pro Mobile Device Configuration Profile in the remote system. The function: 1. Constructs the attribute data using the provided Terraform configuration. 2. Calls the API to create the attribute in Jamf Pro. 3. Updates the Terraform state with the ID of the newly created attribute. 4. Initiates a read operation to synchronize the Terraform state with the actual state in Jamf Pro. ResourceJamfProMobileDeviceConfigurationProfileCreate is responsible for creating a new Jamf Pro Mobile Device Configuration Profile in the remote system.

func ResourceJamfProMobileDeviceConfigurationProfileDelete

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

ResourceJamfProMobileDeviceConfigurationProfileDelete is responsible for deleting a Jamf Pro Mobile Device Configuration Profile.

func ResourceJamfProMobileDeviceConfigurationProfileRead

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

ResourceJamfProMobileDeviceConfigurationProfileRead is responsible for reading the current state of a Jamf Pro Mobile Device Configuration Profile Resource from the remote system. The function: 1. Fetches the attribute's current state using its ID. If it fails then obtain attribute'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 attribute being deleted outside of Terraform, to keep the Terraform state synchronized.

func ResourceJamfProMobileDeviceConfigurationProfileUpdate

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

ResourceJamfProMobileDeviceConfigurationProfileUpdate is responsible for updating an existing Jamf Pro Mobile Device Configuration Profile on the remote system.

func ResourceJamfProMobileDeviceConfigurationProfiles

func ResourceJamfProMobileDeviceConfigurationProfiles() *schema.Resource

ResourceJamfProMobileDeviceConfigurationProfile defines the schema for mobile device configuration profiles 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