Documentation ¶
Index ¶
- Constants
- type AddGlobalUnprotectedResourceCommandInput
- type DeleteGlobalUnprotectedResourceCommandInput
- type GetGlobalUnprotectedResourceCommandInput
- type GetGlobalUnprotectedResourcesCommandInput
- type GlobalUnprotectedResourcesAPI
- type GlobalUnprotectedResourcesService
- func (s *GlobalUnprotectedResourcesService) AddGlobalUnprotectedResourceCommand(input *AddGlobalUnprotectedResourceCommandInput) (output *models.GlobalUnprotectedResourceView, resp *http.Response, err error)
- func (s *GlobalUnprotectedResourcesService) DeleteGlobalUnprotectedResourceCommand(input *DeleteGlobalUnprotectedResourceCommandInput) (resp *http.Response, err error)
- func (s *GlobalUnprotectedResourcesService) GetGlobalUnprotectedResourceCommand(input *GetGlobalUnprotectedResourceCommandInput) (output *models.GlobalUnprotectedResourceView, resp *http.Response, err error)
- func (s *GlobalUnprotectedResourcesService) GetGlobalUnprotectedResourcesCommand(input *GetGlobalUnprotectedResourcesCommandInput) (output *models.GlobalUnprotectedResourcesView, resp *http.Response, err error)
- func (s *GlobalUnprotectedResourcesService) UpdateGlobalUnprotectedResourceCommand(input *UpdateGlobalUnprotectedResourceCommandInput) (output *models.GlobalUnprotectedResourceView, resp *http.Response, err error)
- type UpdateGlobalUnprotectedResourceCommandInput
Constants ¶
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 ¶
GlobalUnprotectedResourcesService provides the API operations for making requests to GlobalUnprotectedResources endpoint.
func New ¶
func New(cfg *config.Config) *GlobalUnprotectedResourcesService
New createa a new instance of the GlobalUnprotectedResourcesService client.
Example:
cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2Access").WithEndpoint(paURL) //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