globalUnprotectedResources

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ServiceName - The name of service.
	ServiceName = "GlobalUnprotectedResources"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddGlobalUnprotectedResourceCommandInput

type AddGlobalUnprotectedResourceCommandInput struct {
	Body models.GlobalUnprotectedResourceView
}

AddGlobalUnprotectedResourceCommandInput - Inputs for AddGlobalUnprotectedResourceCommand

type DeleteGlobalUnprotectedResourceCommandInput

type DeleteGlobalUnprotectedResourceCommandInput struct {
	Id string
}

DeleteGlobalUnprotectedResourceCommandInput - Inputs for DeleteGlobalUnprotectedResourceCommand

type GetGlobalUnprotectedResourceCommandInput

type GetGlobalUnprotectedResourceCommandInput struct {
	Id string
}

GetGlobalUnprotectedResourceCommandInput - Inputs for GetGlobalUnprotectedResourceCommand

type GetGlobalUnprotectedResourcesCommandInput

type GetGlobalUnprotectedResourcesCommandInput struct {
	Page          string
	NumberPerPage string
	Filter        string
	Name          string
	SortKey       string
	Order         string
}

GetGlobalUnprotectedResourcesCommandInput - Inputs for GetGlobalUnprotectedResourcesCommand

type GlobalUnprotectedResourcesAPI

type GlobalUnprotectedResourcesAPI interface {
	GetGlobalUnprotectedResourcesCommand(input *GetGlobalUnprotectedResourcesCommandInput) (output *models.GlobalUnprotectedResourcesView, resp *http.Response, err error)
	AddGlobalUnprotectedResourceCommand(input *AddGlobalUnprotectedResourceCommandInput) (output *models.GlobalUnprotectedResourceView, resp *http.Response, err error)
	DeleteGlobalUnprotectedResourceCommand(input *DeleteGlobalUnprotectedResourceCommandInput) (resp *http.Response, err error)
	GetGlobalUnprotectedResourceCommand(input *GetGlobalUnprotectedResourceCommandInput) (output *models.GlobalUnprotectedResourceView, resp *http.Response, err error)
	UpdateGlobalUnprotectedResourceCommand(input *UpdateGlobalUnprotectedResourceCommandInput) (output *models.GlobalUnprotectedResourceView, resp *http.Response, err error)
}

type GlobalUnprotectedResourcesService

type GlobalUnprotectedResourcesService struct {
	*client.Client
}

GlobalUnprotectedResourcesService provides the API operations for making requests to GlobalUnprotectedResources endpoint.

func New

New createa a new instance of the GlobalUnprotectedResourcesService client.

Example:

cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2FederateM0re").WithEndpoint(paURL.String())

//Create a GlobalUnprotectedResourcesService from the configuration
svc := globalUnprotectedResources.New(cfg)

func (*GlobalUnprotectedResourcesService) AddGlobalUnprotectedResourceCommand

func (s *GlobalUnprotectedResourcesService) AddGlobalUnprotectedResourceCommand(input *AddGlobalUnprotectedResourceCommandInput) (output *models.GlobalUnprotectedResourceView, resp *http.Response, err error)

AddGlobalUnprotectedResourceCommand - Add a Global Unprotected Resource RequestType: POST Input: input *AddGlobalUnprotectedResourceCommandInput

func (*GlobalUnprotectedResourcesService) DeleteGlobalUnprotectedResourceCommand

func (s *GlobalUnprotectedResourcesService) DeleteGlobalUnprotectedResourceCommand(input *DeleteGlobalUnprotectedResourceCommandInput) (resp *http.Response, err error)

DeleteGlobalUnprotectedResourceCommand - Delete a Global Unprotected Resource RequestType: DELETE Input: input *DeleteGlobalUnprotectedResourceCommandInput

func (*GlobalUnprotectedResourcesService) GetGlobalUnprotectedResourceCommand

func (s *GlobalUnprotectedResourcesService) GetGlobalUnprotectedResourceCommand(input *GetGlobalUnprotectedResourceCommandInput) (output *models.GlobalUnprotectedResourceView, resp *http.Response, err error)

GetGlobalUnprotectedResourceCommand - Get a Global Unprotected Resource RequestType: GET Input: input *GetGlobalUnprotectedResourceCommandInput

func (*GlobalUnprotectedResourcesService) GetGlobalUnprotectedResourcesCommand

func (s *GlobalUnprotectedResourcesService) GetGlobalUnprotectedResourcesCommand(input *GetGlobalUnprotectedResourcesCommandInput) (output *models.GlobalUnprotectedResourcesView, resp *http.Response, err error)

GetGlobalUnprotectedResourcesCommand - Get all Global Unprotected Resources RequestType: GET Input: input *GetGlobalUnprotectedResourcesCommandInput

func (*GlobalUnprotectedResourcesService) UpdateGlobalUnprotectedResourceCommand

func (s *GlobalUnprotectedResourcesService) UpdateGlobalUnprotectedResourceCommand(input *UpdateGlobalUnprotectedResourceCommandInput) (output *models.GlobalUnprotectedResourceView, resp *http.Response, err error)

UpdateGlobalUnprotectedResourceCommand - Update a Global Unprotected Resource RequestType: PUT Input: input *UpdateGlobalUnprotectedResourceCommandInput

type UpdateGlobalUnprotectedResourceCommandInput

type UpdateGlobalUnprotectedResourceCommandInput struct {
	Body models.GlobalUnprotectedResourceView
	Id   string
}

UpdateGlobalUnprotectedResourceCommandInput - Inputs for UpdateGlobalUnprotectedResourceCommand

Jump to

Keyboard shortcuts

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