policyassignments

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package policyassignments contains methods related to PolicyAssignments

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PolicyAssignmentsV1

type PolicyAssignmentsV1 struct {
	// contains filtered or unexported fields
}

PolicyAssignmentsV1 represents a custom type struct

func (*PolicyAssignmentsV1) SetPolicyAssignments

func (p *PolicyAssignmentsV1) SetPolicyAssignments(
	body *models.SetPolicyAssignmentsV1Request) (
	*models.SetAssignmentsResponse, *apiutils.APIError)

SetPolicyAssignments Assign (or unassign) policies on up to 100 entities. This endpoint returns a task ID and queues a task in the background to execute the request. Use the task ID to monitor task completion.

type PolicyAssignmentsV1Client

type PolicyAssignmentsV1Client interface {
	//  Assign (or unassign) policies on up to 100 entities. This endpoint returns a task
	//  ID and queues a task in the background to execute the request. Use the task ID to
	//  monitor task completion.
	SetPolicyAssignments(
		body *models.SetPolicyAssignmentsV1Request) (
		*models.SetAssignmentsResponse, *apiutils.APIError)
}

PolicyAssignmentsV1Client represents a custom type interface

func NewPolicyAssignmentsV1

func NewPolicyAssignmentsV1(config config.Config) PolicyAssignmentsV1Client

NewPolicyAssignmentsV1 returns PolicyAssignmentsV1Client

Jump to

Keyboard shortcuts

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