Documentation ¶
Overview ¶
computerprestageenrollments_data_source.go
computerprestageenrollments_object.go
computerprestages_resource.go
computerprestageenrollments_state.go
Index ¶
- func DataSourceJamfProComputerPrestageEnrollmentEnrollment() *schema.Resource
- func DataSourceJamfProComputerPrestageEnrollmentEnrollmentRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceJamfProComputerPrestageEnrollmentCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceJamfProComputerPrestageEnrollmentDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceJamfProComputerPrestageEnrollmentEnrollment() *schema.Resource
- func ResourceJamfProComputerPrestageEnrollmentRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceJamfProComputerPrestageEnrollmentUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceJamfProComputerPrestageEnrollmentEnrollment ¶
DataSourceJamfProComputerPrestageEnrollmentEnrollment provides information about a specific department in Jamf Pro.
func DataSourceJamfProComputerPrestageEnrollmentEnrollmentRead ¶
func DataSourceJamfProComputerPrestageEnrollmentEnrollmentRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
DataSourceJamfProComputerPrestageEnrollmentEnrollmentRead fetches the details of a specific department from Jamf Pro using its unique ID.
func ResourceJamfProComputerPrestageEnrollmentCreate ¶
func ResourceJamfProComputerPrestageEnrollmentCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
ResourceJamfProComputerPrestageEnrollmentCreate is responsible for creating a new computer prestage in Jamf Pro with terraform. The function: 1. Constructs the computer prestage data using the provided Terraform configuration. 2. Calls the API to create the computer prestage in Jamf Pro. 3. Updates the Terraform state with the ID of the newly created computer prestage. 4. Initiates a read operation to synchronize the Terraform state with the actual state in Jamf Pro.
func ResourceJamfProComputerPrestageEnrollmentDelete ¶
func ResourceJamfProComputerPrestageEnrollmentDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
ResourceJamfProComputerPrestageEnrollmentDelete is responsible for deleting a Jamf Pro Computer Prestage.
func ResourceJamfProComputerPrestageEnrollmentEnrollment ¶
ResourceJamfProComputerPrestageEnrollmentEnrollment defines the schema for managing Jamf Pro Computer Prestages in Terraform.
func ResourceJamfProComputerPrestageEnrollmentRead ¶
func ResourceJamfProComputerPrestageEnrollmentRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
ResourceJamfProComputerPrestageEnrollmentRead is responsible for reading the current state of a Building Resource from the remote system. The function: 1. Fetches the building's current state using its ID. If it fails, then obtain the building'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 building being deleted outside of Terraform, to keep the Terraform state synchronized.
func ResourceJamfProComputerPrestageEnrollmentUpdate ¶
func ResourceJamfProComputerPrestageEnrollmentUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
ResourceJamfProComputerPrestageEnrollmentUpdate is responsible for updating an existing Jamf Pro Department on the remote system.
Types ¶
This section is empty.