apiroles

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Overview

apiroles_data_source.go

apiroles_data_validation.go

apiroles_resource.go

apiroles_state.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceJamfProAPIRoles

func DataSourceJamfProAPIRoles() *schema.Resource

DataSourceJamfProAPIRoles provides information about a specific Jamf Pro API role by its ID or Name.

func DataSourceJamfProAPIRolesRead added in v0.0.18

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

DataSourceJamfProAPIRolesRead fetches the details of a specific API role 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.

func ResourceJamfProAPIRoles

func ResourceJamfProAPIRoles() *schema.Resource

resourceJamfProAPIRoles defines the schema for managing Jamf Pro API Roles 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