Documentation ¶
Index ¶
- type ChangeSecurityGroupsBadRequest
- type ChangeSecurityGroupsForbidden
- type ChangeSecurityGroupsNotFound
- type ChangeSecurityGroupsOK
- type ChangeSecurityGroupsParams
- func NewChangeSecurityGroupsParams() *ChangeSecurityGroupsParams
- func NewChangeSecurityGroupsParamsWithContext(ctx context.Context) *ChangeSecurityGroupsParams
- func NewChangeSecurityGroupsParamsWithHTTPClient(client *http.Client) *ChangeSecurityGroupsParams
- func NewChangeSecurityGroupsParamsWithTimeout(timeout time.Duration) *ChangeSecurityGroupsParams
- func (o *ChangeSecurityGroupsParams) SetAPIVersion(aPIVersion *string)
- func (o *ChangeSecurityGroupsParams) SetBody(body *models.ChangeSecurityGroupSpecification)
- func (o *ChangeSecurityGroupsParams) SetContext(ctx context.Context)
- func (o *ChangeSecurityGroupsParams) SetHTTPClient(client *http.Client)
- func (o *ChangeSecurityGroupsParams) SetID(id string)
- func (o *ChangeSecurityGroupsParams) SetTimeout(timeout time.Duration)
- func (o *ChangeSecurityGroupsParams) WithAPIVersion(aPIVersion *string) *ChangeSecurityGroupsParams
- func (o *ChangeSecurityGroupsParams) WithBody(body *models.ChangeSecurityGroupSpecification) *ChangeSecurityGroupsParams
- func (o *ChangeSecurityGroupsParams) WithContext(ctx context.Context) *ChangeSecurityGroupsParams
- func (o *ChangeSecurityGroupsParams) WithHTTPClient(client *http.Client) *ChangeSecurityGroupsParams
- func (o *ChangeSecurityGroupsParams) WithID(id string) *ChangeSecurityGroupsParams
- func (o *ChangeSecurityGroupsParams) WithTimeout(timeout time.Duration) *ChangeSecurityGroupsParams
- func (o *ChangeSecurityGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeSecurityGroupsReader
- type Client
- func (a *Client) ChangeSecurityGroups(params *ChangeSecurityGroupsParams) (*ChangeSecurityGroupsOK, error)
- func (a *Client) CreateOnDemandSecurityGroup(params *CreateOnDemandSecurityGroupParams) (*CreateOnDemandSecurityGroupAccepted, error)
- func (a *Client) DeleteSecurityGroup(params *DeleteSecurityGroupParams) (*DeleteSecurityGroupAccepted, *DeleteSecurityGroupNoContent, error)
- func (a *Client) GetSecurityGroup(params *GetSecurityGroupParams) (*GetSecurityGroupOK, error)
- func (a *Client) GetSecurityGroups(params *GetSecurityGroupsParams) (*GetSecurityGroupsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSecurityGroup(params *UpdateSecurityGroupParams) (*UpdateSecurityGroupOK, error)
- type CreateOnDemandSecurityGroupAccepted
- type CreateOnDemandSecurityGroupBadRequest
- type CreateOnDemandSecurityGroupForbidden
- type CreateOnDemandSecurityGroupParams
- func NewCreateOnDemandSecurityGroupParams() *CreateOnDemandSecurityGroupParams
- func NewCreateOnDemandSecurityGroupParamsWithContext(ctx context.Context) *CreateOnDemandSecurityGroupParams
- func NewCreateOnDemandSecurityGroupParamsWithHTTPClient(client *http.Client) *CreateOnDemandSecurityGroupParams
- func NewCreateOnDemandSecurityGroupParamsWithTimeout(timeout time.Duration) *CreateOnDemandSecurityGroupParams
- func (o *CreateOnDemandSecurityGroupParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateOnDemandSecurityGroupParams) SetBody(body *models.SecurityGroupSpecification)
- func (o *CreateOnDemandSecurityGroupParams) SetContext(ctx context.Context)
- func (o *CreateOnDemandSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateOnDemandSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateOnDemandSecurityGroupParams) WithAPIVersion(aPIVersion *string) *CreateOnDemandSecurityGroupParams
- func (o *CreateOnDemandSecurityGroupParams) WithBody(body *models.SecurityGroupSpecification) *CreateOnDemandSecurityGroupParams
- func (o *CreateOnDemandSecurityGroupParams) WithContext(ctx context.Context) *CreateOnDemandSecurityGroupParams
- func (o *CreateOnDemandSecurityGroupParams) WithHTTPClient(client *http.Client) *CreateOnDemandSecurityGroupParams
- func (o *CreateOnDemandSecurityGroupParams) WithTimeout(timeout time.Duration) *CreateOnDemandSecurityGroupParams
- func (o *CreateOnDemandSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOnDemandSecurityGroupReader
- type DeleteSecurityGroupAccepted
- type DeleteSecurityGroupForbidden
- type DeleteSecurityGroupNoContent
- type DeleteSecurityGroupParams
- func NewDeleteSecurityGroupParams() *DeleteSecurityGroupParams
- func NewDeleteSecurityGroupParamsWithContext(ctx context.Context) *DeleteSecurityGroupParams
- func NewDeleteSecurityGroupParamsWithHTTPClient(client *http.Client) *DeleteSecurityGroupParams
- func NewDeleteSecurityGroupParamsWithTimeout(timeout time.Duration) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteSecurityGroupParams) SetContext(ctx context.Context)
- func (o *DeleteSecurityGroupParams) SetForceDelete(forceDelete *bool)
- func (o *DeleteSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSecurityGroupParams) SetID(id string)
- func (o *DeleteSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSecurityGroupParams) WithAPIVersion(aPIVersion *string) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) WithContext(ctx context.Context) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) WithForceDelete(forceDelete *bool) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) WithHTTPClient(client *http.Client) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) WithID(id string) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) WithTimeout(timeout time.Duration) *DeleteSecurityGroupParams
- func (o *DeleteSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSecurityGroupReader
- type GetSecurityGroupForbidden
- type GetSecurityGroupNotFound
- type GetSecurityGroupOK
- type GetSecurityGroupParams
- func NewGetSecurityGroupParams() *GetSecurityGroupParams
- func NewGetSecurityGroupParamsWithContext(ctx context.Context) *GetSecurityGroupParams
- func NewGetSecurityGroupParamsWithHTTPClient(client *http.Client) *GetSecurityGroupParams
- func NewGetSecurityGroupParamsWithTimeout(timeout time.Duration) *GetSecurityGroupParams
- func (o *GetSecurityGroupParams) SetAPIVersion(aPIVersion *string)
- func (o *GetSecurityGroupParams) SetContext(ctx context.Context)
- func (o *GetSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetSecurityGroupParams) SetID(id string)
- func (o *GetSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetSecurityGroupParams) WithAPIVersion(aPIVersion *string) *GetSecurityGroupParams
- func (o *GetSecurityGroupParams) WithContext(ctx context.Context) *GetSecurityGroupParams
- func (o *GetSecurityGroupParams) WithHTTPClient(client *http.Client) *GetSecurityGroupParams
- func (o *GetSecurityGroupParams) WithID(id string) *GetSecurityGroupParams
- func (o *GetSecurityGroupParams) WithTimeout(timeout time.Duration) *GetSecurityGroupParams
- func (o *GetSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSecurityGroupReader
- type GetSecurityGroupsForbidden
- type GetSecurityGroupsOK
- type GetSecurityGroupsParams
- func NewGetSecurityGroupsParams() *GetSecurityGroupsParams
- func NewGetSecurityGroupsParamsWithContext(ctx context.Context) *GetSecurityGroupsParams
- func NewGetSecurityGroupsParamsWithHTTPClient(client *http.Client) *GetSecurityGroupsParams
- func NewGetSecurityGroupsParamsWithTimeout(timeout time.Duration) *GetSecurityGroupsParams
- func (o *GetSecurityGroupsParams) SetAPIVersion(aPIVersion *string)
- func (o *GetSecurityGroupsParams) SetContext(ctx context.Context)
- func (o *GetSecurityGroupsParams) SetDollarFilter(dollarFilter *string)
- func (o *GetSecurityGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GetSecurityGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GetSecurityGroupsParams) WithAPIVersion(aPIVersion *string) *GetSecurityGroupsParams
- func (o *GetSecurityGroupsParams) WithContext(ctx context.Context) *GetSecurityGroupsParams
- func (o *GetSecurityGroupsParams) WithDollarFilter(dollarFilter *string) *GetSecurityGroupsParams
- func (o *GetSecurityGroupsParams) WithHTTPClient(client *http.Client) *GetSecurityGroupsParams
- func (o *GetSecurityGroupsParams) WithTimeout(timeout time.Duration) *GetSecurityGroupsParams
- func (o *GetSecurityGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSecurityGroupsReader
- type UpdateSecurityGroupForbidden
- type UpdateSecurityGroupNotFound
- type UpdateSecurityGroupOK
- type UpdateSecurityGroupParams
- func NewUpdateSecurityGroupParams() *UpdateSecurityGroupParams
- func NewUpdateSecurityGroupParamsWithContext(ctx context.Context) *UpdateSecurityGroupParams
- func NewUpdateSecurityGroupParamsWithHTTPClient(client *http.Client) *UpdateSecurityGroupParams
- func NewUpdateSecurityGroupParamsWithTimeout(timeout time.Duration) *UpdateSecurityGroupParams
- func (o *UpdateSecurityGroupParams) SetAPIVersion(aPIVersion *string)
- func (o *UpdateSecurityGroupParams) SetBody(body *models.UpdateSecurityGroupSpecification)
- func (o *UpdateSecurityGroupParams) SetContext(ctx context.Context)
- func (o *UpdateSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSecurityGroupParams) SetID(id string)
- func (o *UpdateSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSecurityGroupParams) WithAPIVersion(aPIVersion *string) *UpdateSecurityGroupParams
- func (o *UpdateSecurityGroupParams) WithBody(body *models.UpdateSecurityGroupSpecification) *UpdateSecurityGroupParams
- func (o *UpdateSecurityGroupParams) WithContext(ctx context.Context) *UpdateSecurityGroupParams
- func (o *UpdateSecurityGroupParams) WithHTTPClient(client *http.Client) *UpdateSecurityGroupParams
- func (o *UpdateSecurityGroupParams) WithID(id string) *UpdateSecurityGroupParams
- func (o *UpdateSecurityGroupParams) WithTimeout(timeout time.Duration) *UpdateSecurityGroupParams
- func (o *UpdateSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSecurityGroupReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeSecurityGroupsBadRequest ¶ added in v0.2.14
ChangeSecurityGroupsBadRequest handles this case with default header values.
Change security groups action is not supported for a machine cluster
func NewChangeSecurityGroupsBadRequest ¶ added in v0.2.14
func NewChangeSecurityGroupsBadRequest() *ChangeSecurityGroupsBadRequest
NewChangeSecurityGroupsBadRequest creates a ChangeSecurityGroupsBadRequest with default headers values
func (*ChangeSecurityGroupsBadRequest) Error ¶ added in v0.2.14
func (o *ChangeSecurityGroupsBadRequest) Error() string
func (*ChangeSecurityGroupsBadRequest) GetPayload ¶ added in v0.2.14
func (o *ChangeSecurityGroupsBadRequest) GetPayload() *models.Error
type ChangeSecurityGroupsForbidden ¶ added in v0.2.14
type ChangeSecurityGroupsForbidden struct { }
ChangeSecurityGroupsForbidden handles this case with default header values.
Forbidden
func NewChangeSecurityGroupsForbidden ¶ added in v0.2.14
func NewChangeSecurityGroupsForbidden() *ChangeSecurityGroupsForbidden
NewChangeSecurityGroupsForbidden creates a ChangeSecurityGroupsForbidden with default headers values
func (*ChangeSecurityGroupsForbidden) Error ¶ added in v0.2.14
func (o *ChangeSecurityGroupsForbidden) Error() string
type ChangeSecurityGroupsNotFound ¶ added in v0.2.14
ChangeSecurityGroupsNotFound handles this case with default header values.
Not Found
func NewChangeSecurityGroupsNotFound ¶ added in v0.2.14
func NewChangeSecurityGroupsNotFound() *ChangeSecurityGroupsNotFound
NewChangeSecurityGroupsNotFound creates a ChangeSecurityGroupsNotFound with default headers values
func (*ChangeSecurityGroupsNotFound) Error ¶ added in v0.2.14
func (o *ChangeSecurityGroupsNotFound) Error() string
func (*ChangeSecurityGroupsNotFound) GetPayload ¶ added in v0.2.14
func (o *ChangeSecurityGroupsNotFound) GetPayload() *models.Error
type ChangeSecurityGroupsOK ¶ added in v0.2.14
type ChangeSecurityGroupsOK struct {
Payload *models.RequestTracker
}
ChangeSecurityGroupsOK handles this case with default header values.
successful operation
func NewChangeSecurityGroupsOK ¶ added in v0.2.14
func NewChangeSecurityGroupsOK() *ChangeSecurityGroupsOK
NewChangeSecurityGroupsOK creates a ChangeSecurityGroupsOK with default headers values
func (*ChangeSecurityGroupsOK) Error ¶ added in v0.2.14
func (o *ChangeSecurityGroupsOK) Error() string
func (*ChangeSecurityGroupsOK) GetPayload ¶ added in v0.2.14
func (o *ChangeSecurityGroupsOK) GetPayload() *models.RequestTracker
type ChangeSecurityGroupsParams ¶ added in v0.2.14
type ChangeSecurityGroupsParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*Body Change security groups details */ Body *models.ChangeSecurityGroupSpecification /*ID The id of the vSphere machine. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangeSecurityGroupsParams contains all the parameters to send to the API endpoint for the change security groups operation typically these are written to a http.Request
func NewChangeSecurityGroupsParams ¶ added in v0.2.14
func NewChangeSecurityGroupsParams() *ChangeSecurityGroupsParams
NewChangeSecurityGroupsParams creates a new ChangeSecurityGroupsParams object with the default values initialized.
func NewChangeSecurityGroupsParamsWithContext ¶ added in v0.2.14
func NewChangeSecurityGroupsParamsWithContext(ctx context.Context) *ChangeSecurityGroupsParams
NewChangeSecurityGroupsParamsWithContext creates a new ChangeSecurityGroupsParams object with the default values initialized, and the ability to set a context for a request
func NewChangeSecurityGroupsParamsWithHTTPClient ¶ added in v0.2.14
func NewChangeSecurityGroupsParamsWithHTTPClient(client *http.Client) *ChangeSecurityGroupsParams
NewChangeSecurityGroupsParamsWithHTTPClient creates a new ChangeSecurityGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewChangeSecurityGroupsParamsWithTimeout ¶ added in v0.2.14
func NewChangeSecurityGroupsParamsWithTimeout(timeout time.Duration) *ChangeSecurityGroupsParams
NewChangeSecurityGroupsParamsWithTimeout creates a new ChangeSecurityGroupsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ChangeSecurityGroupsParams) SetAPIVersion ¶ added in v0.2.14
func (o *ChangeSecurityGroupsParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the change security groups params
func (*ChangeSecurityGroupsParams) SetBody ¶ added in v0.2.14
func (o *ChangeSecurityGroupsParams) SetBody(body *models.ChangeSecurityGroupSpecification)
SetBody adds the body to the change security groups params
func (*ChangeSecurityGroupsParams) SetContext ¶ added in v0.2.14
func (o *ChangeSecurityGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the change security groups params
func (*ChangeSecurityGroupsParams) SetHTTPClient ¶ added in v0.2.14
func (o *ChangeSecurityGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change security groups params
func (*ChangeSecurityGroupsParams) SetID ¶ added in v0.2.14
func (o *ChangeSecurityGroupsParams) SetID(id string)
SetID adds the id to the change security groups params
func (*ChangeSecurityGroupsParams) SetTimeout ¶ added in v0.2.14
func (o *ChangeSecurityGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change security groups params
func (*ChangeSecurityGroupsParams) WithAPIVersion ¶ added in v0.2.14
func (o *ChangeSecurityGroupsParams) WithAPIVersion(aPIVersion *string) *ChangeSecurityGroupsParams
WithAPIVersion adds the aPIVersion to the change security groups params
func (*ChangeSecurityGroupsParams) WithBody ¶ added in v0.2.14
func (o *ChangeSecurityGroupsParams) WithBody(body *models.ChangeSecurityGroupSpecification) *ChangeSecurityGroupsParams
WithBody adds the body to the change security groups params
func (*ChangeSecurityGroupsParams) WithContext ¶ added in v0.2.14
func (o *ChangeSecurityGroupsParams) WithContext(ctx context.Context) *ChangeSecurityGroupsParams
WithContext adds the context to the change security groups params
func (*ChangeSecurityGroupsParams) WithHTTPClient ¶ added in v0.2.14
func (o *ChangeSecurityGroupsParams) WithHTTPClient(client *http.Client) *ChangeSecurityGroupsParams
WithHTTPClient adds the HTTPClient to the change security groups params
func (*ChangeSecurityGroupsParams) WithID ¶ added in v0.2.14
func (o *ChangeSecurityGroupsParams) WithID(id string) *ChangeSecurityGroupsParams
WithID adds the id to the change security groups params
func (*ChangeSecurityGroupsParams) WithTimeout ¶ added in v0.2.14
func (o *ChangeSecurityGroupsParams) WithTimeout(timeout time.Duration) *ChangeSecurityGroupsParams
WithTimeout adds the timeout to the change security groups params
func (*ChangeSecurityGroupsParams) WriteToRequest ¶ added in v0.2.14
func (o *ChangeSecurityGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangeSecurityGroupsReader ¶ added in v0.2.14
type ChangeSecurityGroupsReader struct {
// contains filtered or unexported fields
}
ChangeSecurityGroupsReader is a Reader for the ChangeSecurityGroups structure.
func (*ChangeSecurityGroupsReader) ReadResponse ¶ added in v0.2.14
func (o *ChangeSecurityGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for security group API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new security group API client.
func (*Client) ChangeSecurityGroups ¶ added in v0.2.14
func (a *Client) ChangeSecurityGroups(params *ChangeSecurityGroupsParams) (*ChangeSecurityGroupsOK, error)
ChangeSecurityGroups changes security groups for a v sphere machine
Change security groups for a vSphere machine network interfaces. Securing group that is part of the same deployment can be added or removed for a machine network interface.
func (*Client) CreateOnDemandSecurityGroup ¶ added in v0.2.8
func (a *Client) CreateOnDemandSecurityGroup(params *CreateOnDemandSecurityGroupParams) (*CreateOnDemandSecurityGroupAccepted, error)
CreateOnDemandSecurityGroup creates on demand security group
Provision a new on-demand security group
func (*Client) DeleteSecurityGroup ¶ added in v0.2.8
func (a *Client) DeleteSecurityGroup(params *DeleteSecurityGroupParams) (*DeleteSecurityGroupAccepted, *DeleteSecurityGroupNoContent, error)
DeleteSecurityGroup deletes an on demand security group
Delete an on-demand security group with a given id
func (*Client) GetSecurityGroup ¶
func (a *Client) GetSecurityGroup(params *GetSecurityGroupParams) (*GetSecurityGroupOK, error)
GetSecurityGroup gets security group
Get security group with a given id
func (*Client) GetSecurityGroups ¶
func (a *Client) GetSecurityGroups(params *GetSecurityGroupsParams) (*GetSecurityGroupsOK, error)
GetSecurityGroups gets security groups
Get all security groups
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSecurityGroup ¶ added in v0.2.14
func (a *Client) UpdateSecurityGroup(params *UpdateSecurityGroupParams) (*UpdateSecurityGroupOK, error)
UpdateSecurityGroup updates security group
Update security group. Only tag updates are supported.
type CreateOnDemandSecurityGroupAccepted ¶ added in v0.2.8
type CreateOnDemandSecurityGroupAccepted struct {
Payload *models.RequestTracker
}
CreateOnDemandSecurityGroupAccepted handles this case with default header values.
successful operation
func NewCreateOnDemandSecurityGroupAccepted ¶ added in v0.2.8
func NewCreateOnDemandSecurityGroupAccepted() *CreateOnDemandSecurityGroupAccepted
NewCreateOnDemandSecurityGroupAccepted creates a CreateOnDemandSecurityGroupAccepted with default headers values
func (*CreateOnDemandSecurityGroupAccepted) Error ¶ added in v0.2.8
func (o *CreateOnDemandSecurityGroupAccepted) Error() string
func (*CreateOnDemandSecurityGroupAccepted) GetPayload ¶ added in v0.2.8
func (o *CreateOnDemandSecurityGroupAccepted) GetPayload() *models.RequestTracker
type CreateOnDemandSecurityGroupBadRequest ¶ added in v0.2.8
CreateOnDemandSecurityGroupBadRequest handles this case with default header values.
Invalid Request - bad data
func NewCreateOnDemandSecurityGroupBadRequest ¶ added in v0.2.8
func NewCreateOnDemandSecurityGroupBadRequest() *CreateOnDemandSecurityGroupBadRequest
NewCreateOnDemandSecurityGroupBadRequest creates a CreateOnDemandSecurityGroupBadRequest with default headers values
func (*CreateOnDemandSecurityGroupBadRequest) Error ¶ added in v0.2.8
func (o *CreateOnDemandSecurityGroupBadRequest) Error() string
func (*CreateOnDemandSecurityGroupBadRequest) GetPayload ¶ added in v0.2.9
func (o *CreateOnDemandSecurityGroupBadRequest) GetPayload() *models.Error
type CreateOnDemandSecurityGroupForbidden ¶ added in v0.2.8
type CreateOnDemandSecurityGroupForbidden struct { }
CreateOnDemandSecurityGroupForbidden handles this case with default header values.
Forbidden
func NewCreateOnDemandSecurityGroupForbidden ¶ added in v0.2.8
func NewCreateOnDemandSecurityGroupForbidden() *CreateOnDemandSecurityGroupForbidden
NewCreateOnDemandSecurityGroupForbidden creates a CreateOnDemandSecurityGroupForbidden with default headers values
func (*CreateOnDemandSecurityGroupForbidden) Error ¶ added in v0.2.8
func (o *CreateOnDemandSecurityGroupForbidden) Error() string
type CreateOnDemandSecurityGroupParams ¶ added in v0.2.8
type CreateOnDemandSecurityGroupParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*Body Security group Specification instance */ Body *models.SecurityGroupSpecification Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateOnDemandSecurityGroupParams contains all the parameters to send to the API endpoint for the create on demand security group operation typically these are written to a http.Request
func NewCreateOnDemandSecurityGroupParams ¶ added in v0.2.8
func NewCreateOnDemandSecurityGroupParams() *CreateOnDemandSecurityGroupParams
NewCreateOnDemandSecurityGroupParams creates a new CreateOnDemandSecurityGroupParams object with the default values initialized.
func NewCreateOnDemandSecurityGroupParamsWithContext ¶ added in v0.2.8
func NewCreateOnDemandSecurityGroupParamsWithContext(ctx context.Context) *CreateOnDemandSecurityGroupParams
NewCreateOnDemandSecurityGroupParamsWithContext creates a new CreateOnDemandSecurityGroupParams object with the default values initialized, and the ability to set a context for a request
func NewCreateOnDemandSecurityGroupParamsWithHTTPClient ¶ added in v0.2.8
func NewCreateOnDemandSecurityGroupParamsWithHTTPClient(client *http.Client) *CreateOnDemandSecurityGroupParams
NewCreateOnDemandSecurityGroupParamsWithHTTPClient creates a new CreateOnDemandSecurityGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateOnDemandSecurityGroupParamsWithTimeout ¶ added in v0.2.8
func NewCreateOnDemandSecurityGroupParamsWithTimeout(timeout time.Duration) *CreateOnDemandSecurityGroupParams
NewCreateOnDemandSecurityGroupParamsWithTimeout creates a new CreateOnDemandSecurityGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateOnDemandSecurityGroupParams) SetAPIVersion ¶ added in v0.2.8
func (o *CreateOnDemandSecurityGroupParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create on demand security group params
func (*CreateOnDemandSecurityGroupParams) SetBody ¶ added in v0.2.8
func (o *CreateOnDemandSecurityGroupParams) SetBody(body *models.SecurityGroupSpecification)
SetBody adds the body to the create on demand security group params
func (*CreateOnDemandSecurityGroupParams) SetContext ¶ added in v0.2.8
func (o *CreateOnDemandSecurityGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the create on demand security group params
func (*CreateOnDemandSecurityGroupParams) SetHTTPClient ¶ added in v0.2.8
func (o *CreateOnDemandSecurityGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create on demand security group params
func (*CreateOnDemandSecurityGroupParams) SetTimeout ¶ added in v0.2.8
func (o *CreateOnDemandSecurityGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create on demand security group params
func (*CreateOnDemandSecurityGroupParams) WithAPIVersion ¶ added in v0.2.8
func (o *CreateOnDemandSecurityGroupParams) WithAPIVersion(aPIVersion *string) *CreateOnDemandSecurityGroupParams
WithAPIVersion adds the aPIVersion to the create on demand security group params
func (*CreateOnDemandSecurityGroupParams) WithBody ¶ added in v0.2.8
func (o *CreateOnDemandSecurityGroupParams) WithBody(body *models.SecurityGroupSpecification) *CreateOnDemandSecurityGroupParams
WithBody adds the body to the create on demand security group params
func (*CreateOnDemandSecurityGroupParams) WithContext ¶ added in v0.2.8
func (o *CreateOnDemandSecurityGroupParams) WithContext(ctx context.Context) *CreateOnDemandSecurityGroupParams
WithContext adds the context to the create on demand security group params
func (*CreateOnDemandSecurityGroupParams) WithHTTPClient ¶ added in v0.2.8
func (o *CreateOnDemandSecurityGroupParams) WithHTTPClient(client *http.Client) *CreateOnDemandSecurityGroupParams
WithHTTPClient adds the HTTPClient to the create on demand security group params
func (*CreateOnDemandSecurityGroupParams) WithTimeout ¶ added in v0.2.8
func (o *CreateOnDemandSecurityGroupParams) WithTimeout(timeout time.Duration) *CreateOnDemandSecurityGroupParams
WithTimeout adds the timeout to the create on demand security group params
func (*CreateOnDemandSecurityGroupParams) WriteToRequest ¶ added in v0.2.8
func (o *CreateOnDemandSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateOnDemandSecurityGroupReader ¶ added in v0.2.8
type CreateOnDemandSecurityGroupReader struct {
// contains filtered or unexported fields
}
CreateOnDemandSecurityGroupReader is a Reader for the CreateOnDemandSecurityGroup structure.
func (*CreateOnDemandSecurityGroupReader) ReadResponse ¶ added in v0.2.8
func (o *CreateOnDemandSecurityGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSecurityGroupAccepted ¶ added in v0.2.8
type DeleteSecurityGroupAccepted struct {
Payload *models.RequestTracker
}
DeleteSecurityGroupAccepted handles this case with default header values.
successful operation
func NewDeleteSecurityGroupAccepted ¶ added in v0.2.8
func NewDeleteSecurityGroupAccepted() *DeleteSecurityGroupAccepted
NewDeleteSecurityGroupAccepted creates a DeleteSecurityGroupAccepted with default headers values
func (*DeleteSecurityGroupAccepted) Error ¶ added in v0.2.8
func (o *DeleteSecurityGroupAccepted) Error() string
func (*DeleteSecurityGroupAccepted) GetPayload ¶ added in v0.2.8
func (o *DeleteSecurityGroupAccepted) GetPayload() *models.RequestTracker
type DeleteSecurityGroupForbidden ¶ added in v0.2.8
type DeleteSecurityGroupForbidden struct { }
DeleteSecurityGroupForbidden handles this case with default header values.
Forbidden
func NewDeleteSecurityGroupForbidden ¶ added in v0.2.8
func NewDeleteSecurityGroupForbidden() *DeleteSecurityGroupForbidden
NewDeleteSecurityGroupForbidden creates a DeleteSecurityGroupForbidden with default headers values
func (*DeleteSecurityGroupForbidden) Error ¶ added in v0.2.8
func (o *DeleteSecurityGroupForbidden) Error() string
type DeleteSecurityGroupNoContent ¶ added in v0.2.8
type DeleteSecurityGroupNoContent struct { }
DeleteSecurityGroupNoContent handles this case with default header values.
No Content
func NewDeleteSecurityGroupNoContent ¶ added in v0.2.8
func NewDeleteSecurityGroupNoContent() *DeleteSecurityGroupNoContent
NewDeleteSecurityGroupNoContent creates a DeleteSecurityGroupNoContent with default headers values
func (*DeleteSecurityGroupNoContent) Error ¶ added in v0.2.8
func (o *DeleteSecurityGroupNoContent) Error() string
type DeleteSecurityGroupParams ¶ added in v0.2.8
type DeleteSecurityGroupParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*ForceDelete Controls whether this is a force delete operation. If true, best effort is made for deleting this security group. Use with caution as force deleting may cause inconsistencies between the cloud provider and vRA. */ ForceDelete *bool /*ID The ID of the security group. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSecurityGroupParams contains all the parameters to send to the API endpoint for the delete security group operation typically these are written to a http.Request
func NewDeleteSecurityGroupParams ¶ added in v0.2.8
func NewDeleteSecurityGroupParams() *DeleteSecurityGroupParams
NewDeleteSecurityGroupParams creates a new DeleteSecurityGroupParams object with the default values initialized.
func NewDeleteSecurityGroupParamsWithContext ¶ added in v0.2.8
func NewDeleteSecurityGroupParamsWithContext(ctx context.Context) *DeleteSecurityGroupParams
NewDeleteSecurityGroupParamsWithContext creates a new DeleteSecurityGroupParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteSecurityGroupParamsWithHTTPClient ¶ added in v0.2.8
func NewDeleteSecurityGroupParamsWithHTTPClient(client *http.Client) *DeleteSecurityGroupParams
NewDeleteSecurityGroupParamsWithHTTPClient creates a new DeleteSecurityGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteSecurityGroupParamsWithTimeout ¶ added in v0.2.8
func NewDeleteSecurityGroupParamsWithTimeout(timeout time.Duration) *DeleteSecurityGroupParams
NewDeleteSecurityGroupParamsWithTimeout creates a new DeleteSecurityGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteSecurityGroupParams) SetAPIVersion ¶ added in v0.2.8
func (o *DeleteSecurityGroupParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete security group params
func (*DeleteSecurityGroupParams) SetContext ¶ added in v0.2.8
func (o *DeleteSecurityGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the delete security group params
func (*DeleteSecurityGroupParams) SetForceDelete ¶ added in v0.2.8
func (o *DeleteSecurityGroupParams) SetForceDelete(forceDelete *bool)
SetForceDelete adds the forceDelete to the delete security group params
func (*DeleteSecurityGroupParams) SetHTTPClient ¶ added in v0.2.8
func (o *DeleteSecurityGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete security group params
func (*DeleteSecurityGroupParams) SetID ¶ added in v0.2.8
func (o *DeleteSecurityGroupParams) SetID(id string)
SetID adds the id to the delete security group params
func (*DeleteSecurityGroupParams) SetTimeout ¶ added in v0.2.8
func (o *DeleteSecurityGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete security group params
func (*DeleteSecurityGroupParams) WithAPIVersion ¶ added in v0.2.8
func (o *DeleteSecurityGroupParams) WithAPIVersion(aPIVersion *string) *DeleteSecurityGroupParams
WithAPIVersion adds the aPIVersion to the delete security group params
func (*DeleteSecurityGroupParams) WithContext ¶ added in v0.2.8
func (o *DeleteSecurityGroupParams) WithContext(ctx context.Context) *DeleteSecurityGroupParams
WithContext adds the context to the delete security group params
func (*DeleteSecurityGroupParams) WithForceDelete ¶ added in v0.2.8
func (o *DeleteSecurityGroupParams) WithForceDelete(forceDelete *bool) *DeleteSecurityGroupParams
WithForceDelete adds the forceDelete to the delete security group params
func (*DeleteSecurityGroupParams) WithHTTPClient ¶ added in v0.2.8
func (o *DeleteSecurityGroupParams) WithHTTPClient(client *http.Client) *DeleteSecurityGroupParams
WithHTTPClient adds the HTTPClient to the delete security group params
func (*DeleteSecurityGroupParams) WithID ¶ added in v0.2.8
func (o *DeleteSecurityGroupParams) WithID(id string) *DeleteSecurityGroupParams
WithID adds the id to the delete security group params
func (*DeleteSecurityGroupParams) WithTimeout ¶ added in v0.2.8
func (o *DeleteSecurityGroupParams) WithTimeout(timeout time.Duration) *DeleteSecurityGroupParams
WithTimeout adds the timeout to the delete security group params
func (*DeleteSecurityGroupParams) WriteToRequest ¶ added in v0.2.8
func (o *DeleteSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSecurityGroupReader ¶ added in v0.2.8
type DeleteSecurityGroupReader struct {
// contains filtered or unexported fields
}
DeleteSecurityGroupReader is a Reader for the DeleteSecurityGroup structure.
func (*DeleteSecurityGroupReader) ReadResponse ¶ added in v0.2.8
func (o *DeleteSecurityGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSecurityGroupForbidden ¶
type GetSecurityGroupForbidden struct { }
GetSecurityGroupForbidden handles this case with default header values.
Forbidden
func NewGetSecurityGroupForbidden ¶
func NewGetSecurityGroupForbidden() *GetSecurityGroupForbidden
NewGetSecurityGroupForbidden creates a GetSecurityGroupForbidden with default headers values
func (*GetSecurityGroupForbidden) Error ¶
func (o *GetSecurityGroupForbidden) Error() string
type GetSecurityGroupNotFound ¶
GetSecurityGroupNotFound handles this case with default header values.
Not Found
func NewGetSecurityGroupNotFound ¶
func NewGetSecurityGroupNotFound() *GetSecurityGroupNotFound
NewGetSecurityGroupNotFound creates a GetSecurityGroupNotFound with default headers values
func (*GetSecurityGroupNotFound) Error ¶
func (o *GetSecurityGroupNotFound) Error() string
func (*GetSecurityGroupNotFound) GetPayload ¶ added in v0.2.9
func (o *GetSecurityGroupNotFound) GetPayload() *models.Error
type GetSecurityGroupOK ¶
type GetSecurityGroupOK struct {
Payload *models.SecurityGroup
}
GetSecurityGroupOK handles this case with default header values.
successful operation
func NewGetSecurityGroupOK ¶
func NewGetSecurityGroupOK() *GetSecurityGroupOK
NewGetSecurityGroupOK creates a GetSecurityGroupOK with default headers values
func (*GetSecurityGroupOK) Error ¶
func (o *GetSecurityGroupOK) Error() string
func (*GetSecurityGroupOK) GetPayload ¶
func (o *GetSecurityGroupOK) GetPayload() *models.SecurityGroup
type GetSecurityGroupParams ¶
type GetSecurityGroupParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*ID The ID of the security group. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSecurityGroupParams contains all the parameters to send to the API endpoint for the get security group operation typically these are written to a http.Request
func NewGetSecurityGroupParams ¶
func NewGetSecurityGroupParams() *GetSecurityGroupParams
NewGetSecurityGroupParams creates a new GetSecurityGroupParams object with the default values initialized.
func NewGetSecurityGroupParamsWithContext ¶
func NewGetSecurityGroupParamsWithContext(ctx context.Context) *GetSecurityGroupParams
NewGetSecurityGroupParamsWithContext creates a new GetSecurityGroupParams object with the default values initialized, and the ability to set a context for a request
func NewGetSecurityGroupParamsWithHTTPClient ¶
func NewGetSecurityGroupParamsWithHTTPClient(client *http.Client) *GetSecurityGroupParams
NewGetSecurityGroupParamsWithHTTPClient creates a new GetSecurityGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSecurityGroupParamsWithTimeout ¶
func NewGetSecurityGroupParamsWithTimeout(timeout time.Duration) *GetSecurityGroupParams
NewGetSecurityGroupParamsWithTimeout creates a new GetSecurityGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSecurityGroupParams) SetAPIVersion ¶
func (o *GetSecurityGroupParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get security group params
func (*GetSecurityGroupParams) SetContext ¶
func (o *GetSecurityGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the get security group params
func (*GetSecurityGroupParams) SetHTTPClient ¶
func (o *GetSecurityGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get security group params
func (*GetSecurityGroupParams) SetID ¶
func (o *GetSecurityGroupParams) SetID(id string)
SetID adds the id to the get security group params
func (*GetSecurityGroupParams) SetTimeout ¶
func (o *GetSecurityGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get security group params
func (*GetSecurityGroupParams) WithAPIVersion ¶
func (o *GetSecurityGroupParams) WithAPIVersion(aPIVersion *string) *GetSecurityGroupParams
WithAPIVersion adds the aPIVersion to the get security group params
func (*GetSecurityGroupParams) WithContext ¶
func (o *GetSecurityGroupParams) WithContext(ctx context.Context) *GetSecurityGroupParams
WithContext adds the context to the get security group params
func (*GetSecurityGroupParams) WithHTTPClient ¶
func (o *GetSecurityGroupParams) WithHTTPClient(client *http.Client) *GetSecurityGroupParams
WithHTTPClient adds the HTTPClient to the get security group params
func (*GetSecurityGroupParams) WithID ¶
func (o *GetSecurityGroupParams) WithID(id string) *GetSecurityGroupParams
WithID adds the id to the get security group params
func (*GetSecurityGroupParams) WithTimeout ¶
func (o *GetSecurityGroupParams) WithTimeout(timeout time.Duration) *GetSecurityGroupParams
WithTimeout adds the timeout to the get security group params
func (*GetSecurityGroupParams) WriteToRequest ¶
func (o *GetSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSecurityGroupReader ¶
type GetSecurityGroupReader struct {
// contains filtered or unexported fields
}
GetSecurityGroupReader is a Reader for the GetSecurityGroup structure.
func (*GetSecurityGroupReader) ReadResponse ¶
func (o *GetSecurityGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSecurityGroupsForbidden ¶
type GetSecurityGroupsForbidden struct { }
GetSecurityGroupsForbidden handles this case with default header values.
Forbidden
func NewGetSecurityGroupsForbidden ¶
func NewGetSecurityGroupsForbidden() *GetSecurityGroupsForbidden
NewGetSecurityGroupsForbidden creates a GetSecurityGroupsForbidden with default headers values
func (*GetSecurityGroupsForbidden) Error ¶
func (o *GetSecurityGroupsForbidden) Error() string
type GetSecurityGroupsOK ¶
type GetSecurityGroupsOK struct {
Payload *models.SecurityGroupResult
}
GetSecurityGroupsOK handles this case with default header values.
successful operation
func NewGetSecurityGroupsOK ¶
func NewGetSecurityGroupsOK() *GetSecurityGroupsOK
NewGetSecurityGroupsOK creates a GetSecurityGroupsOK with default headers values
func (*GetSecurityGroupsOK) Error ¶
func (o *GetSecurityGroupsOK) Error() string
func (*GetSecurityGroupsOK) GetPayload ¶
func (o *GetSecurityGroupsOK) GetPayload() *models.SecurityGroupResult
type GetSecurityGroupsParams ¶
type GetSecurityGroupsParams struct { /*DollarFilter Add a filter to return limited results */ DollarFilter *string /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSecurityGroupsParams contains all the parameters to send to the API endpoint for the get security groups operation typically these are written to a http.Request
func NewGetSecurityGroupsParams ¶
func NewGetSecurityGroupsParams() *GetSecurityGroupsParams
NewGetSecurityGroupsParams creates a new GetSecurityGroupsParams object with the default values initialized.
func NewGetSecurityGroupsParamsWithContext ¶
func NewGetSecurityGroupsParamsWithContext(ctx context.Context) *GetSecurityGroupsParams
NewGetSecurityGroupsParamsWithContext creates a new GetSecurityGroupsParams object with the default values initialized, and the ability to set a context for a request
func NewGetSecurityGroupsParamsWithHTTPClient ¶
func NewGetSecurityGroupsParamsWithHTTPClient(client *http.Client) *GetSecurityGroupsParams
NewGetSecurityGroupsParamsWithHTTPClient creates a new GetSecurityGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSecurityGroupsParamsWithTimeout ¶
func NewGetSecurityGroupsParamsWithTimeout(timeout time.Duration) *GetSecurityGroupsParams
NewGetSecurityGroupsParamsWithTimeout creates a new GetSecurityGroupsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSecurityGroupsParams) SetAPIVersion ¶
func (o *GetSecurityGroupsParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get security groups params
func (*GetSecurityGroupsParams) SetContext ¶
func (o *GetSecurityGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the get security groups params
func (*GetSecurityGroupsParams) SetDollarFilter ¶
func (o *GetSecurityGroupsParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the get security groups params
func (*GetSecurityGroupsParams) SetHTTPClient ¶
func (o *GetSecurityGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get security groups params
func (*GetSecurityGroupsParams) SetTimeout ¶
func (o *GetSecurityGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get security groups params
func (*GetSecurityGroupsParams) WithAPIVersion ¶
func (o *GetSecurityGroupsParams) WithAPIVersion(aPIVersion *string) *GetSecurityGroupsParams
WithAPIVersion adds the aPIVersion to the get security groups params
func (*GetSecurityGroupsParams) WithContext ¶
func (o *GetSecurityGroupsParams) WithContext(ctx context.Context) *GetSecurityGroupsParams
WithContext adds the context to the get security groups params
func (*GetSecurityGroupsParams) WithDollarFilter ¶
func (o *GetSecurityGroupsParams) WithDollarFilter(dollarFilter *string) *GetSecurityGroupsParams
WithDollarFilter adds the dollarFilter to the get security groups params
func (*GetSecurityGroupsParams) WithHTTPClient ¶
func (o *GetSecurityGroupsParams) WithHTTPClient(client *http.Client) *GetSecurityGroupsParams
WithHTTPClient adds the HTTPClient to the get security groups params
func (*GetSecurityGroupsParams) WithTimeout ¶
func (o *GetSecurityGroupsParams) WithTimeout(timeout time.Duration) *GetSecurityGroupsParams
WithTimeout adds the timeout to the get security groups params
func (*GetSecurityGroupsParams) WriteToRequest ¶
func (o *GetSecurityGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSecurityGroupsReader ¶
type GetSecurityGroupsReader struct {
// contains filtered or unexported fields
}
GetSecurityGroupsReader is a Reader for the GetSecurityGroups structure.
func (*GetSecurityGroupsReader) ReadResponse ¶
func (o *GetSecurityGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSecurityGroupForbidden ¶ added in v0.2.14
type UpdateSecurityGroupForbidden struct { }
UpdateSecurityGroupForbidden handles this case with default header values.
Forbidden
func NewUpdateSecurityGroupForbidden ¶ added in v0.2.14
func NewUpdateSecurityGroupForbidden() *UpdateSecurityGroupForbidden
NewUpdateSecurityGroupForbidden creates a UpdateSecurityGroupForbidden with default headers values
func (*UpdateSecurityGroupForbidden) Error ¶ added in v0.2.14
func (o *UpdateSecurityGroupForbidden) Error() string
type UpdateSecurityGroupNotFound ¶ added in v0.2.14
UpdateSecurityGroupNotFound handles this case with default header values.
Not Found
func NewUpdateSecurityGroupNotFound ¶ added in v0.2.14
func NewUpdateSecurityGroupNotFound() *UpdateSecurityGroupNotFound
NewUpdateSecurityGroupNotFound creates a UpdateSecurityGroupNotFound with default headers values
func (*UpdateSecurityGroupNotFound) Error ¶ added in v0.2.14
func (o *UpdateSecurityGroupNotFound) Error() string
func (*UpdateSecurityGroupNotFound) GetPayload ¶ added in v0.2.14
func (o *UpdateSecurityGroupNotFound) GetPayload() *models.Error
type UpdateSecurityGroupOK ¶ added in v0.2.14
type UpdateSecurityGroupOK struct {
Payload *models.SecurityGroup
}
UpdateSecurityGroupOK handles this case with default header values.
successful operation
func NewUpdateSecurityGroupOK ¶ added in v0.2.14
func NewUpdateSecurityGroupOK() *UpdateSecurityGroupOK
NewUpdateSecurityGroupOK creates a UpdateSecurityGroupOK with default headers values
func (*UpdateSecurityGroupOK) Error ¶ added in v0.2.14
func (o *UpdateSecurityGroupOK) Error() string
func (*UpdateSecurityGroupOK) GetPayload ¶ added in v0.2.14
func (o *UpdateSecurityGroupOK) GetPayload() *models.SecurityGroup
type UpdateSecurityGroupParams ¶ added in v0.2.14
type UpdateSecurityGroupParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*Body Update Security Group Specification */ Body *models.UpdateSecurityGroupSpecification /*ID The ID of the security group. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSecurityGroupParams contains all the parameters to send to the API endpoint for the update security group operation typically these are written to a http.Request
func NewUpdateSecurityGroupParams ¶ added in v0.2.14
func NewUpdateSecurityGroupParams() *UpdateSecurityGroupParams
NewUpdateSecurityGroupParams creates a new UpdateSecurityGroupParams object with the default values initialized.
func NewUpdateSecurityGroupParamsWithContext ¶ added in v0.2.14
func NewUpdateSecurityGroupParamsWithContext(ctx context.Context) *UpdateSecurityGroupParams
NewUpdateSecurityGroupParamsWithContext creates a new UpdateSecurityGroupParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateSecurityGroupParamsWithHTTPClient ¶ added in v0.2.14
func NewUpdateSecurityGroupParamsWithHTTPClient(client *http.Client) *UpdateSecurityGroupParams
NewUpdateSecurityGroupParamsWithHTTPClient creates a new UpdateSecurityGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateSecurityGroupParamsWithTimeout ¶ added in v0.2.14
func NewUpdateSecurityGroupParamsWithTimeout(timeout time.Duration) *UpdateSecurityGroupParams
NewUpdateSecurityGroupParamsWithTimeout creates a new UpdateSecurityGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateSecurityGroupParams) SetAPIVersion ¶ added in v0.2.14
func (o *UpdateSecurityGroupParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the update security group params
func (*UpdateSecurityGroupParams) SetBody ¶ added in v0.2.14
func (o *UpdateSecurityGroupParams) SetBody(body *models.UpdateSecurityGroupSpecification)
SetBody adds the body to the update security group params
func (*UpdateSecurityGroupParams) SetContext ¶ added in v0.2.14
func (o *UpdateSecurityGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the update security group params
func (*UpdateSecurityGroupParams) SetHTTPClient ¶ added in v0.2.14
func (o *UpdateSecurityGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update security group params
func (*UpdateSecurityGroupParams) SetID ¶ added in v0.2.14
func (o *UpdateSecurityGroupParams) SetID(id string)
SetID adds the id to the update security group params
func (*UpdateSecurityGroupParams) SetTimeout ¶ added in v0.2.14
func (o *UpdateSecurityGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update security group params
func (*UpdateSecurityGroupParams) WithAPIVersion ¶ added in v0.2.14
func (o *UpdateSecurityGroupParams) WithAPIVersion(aPIVersion *string) *UpdateSecurityGroupParams
WithAPIVersion adds the aPIVersion to the update security group params
func (*UpdateSecurityGroupParams) WithBody ¶ added in v0.2.14
func (o *UpdateSecurityGroupParams) WithBody(body *models.UpdateSecurityGroupSpecification) *UpdateSecurityGroupParams
WithBody adds the body to the update security group params
func (*UpdateSecurityGroupParams) WithContext ¶ added in v0.2.14
func (o *UpdateSecurityGroupParams) WithContext(ctx context.Context) *UpdateSecurityGroupParams
WithContext adds the context to the update security group params
func (*UpdateSecurityGroupParams) WithHTTPClient ¶ added in v0.2.14
func (o *UpdateSecurityGroupParams) WithHTTPClient(client *http.Client) *UpdateSecurityGroupParams
WithHTTPClient adds the HTTPClient to the update security group params
func (*UpdateSecurityGroupParams) WithID ¶ added in v0.2.14
func (o *UpdateSecurityGroupParams) WithID(id string) *UpdateSecurityGroupParams
WithID adds the id to the update security group params
func (*UpdateSecurityGroupParams) WithTimeout ¶ added in v0.2.14
func (o *UpdateSecurityGroupParams) WithTimeout(timeout time.Duration) *UpdateSecurityGroupParams
WithTimeout adds the timeout to the update security group params
func (*UpdateSecurityGroupParams) WriteToRequest ¶ added in v0.2.14
func (o *UpdateSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSecurityGroupReader ¶ added in v0.2.14
type UpdateSecurityGroupReader struct {
// contains filtered or unexported fields
}
UpdateSecurityGroupReader is a Reader for the UpdateSecurityGroup structure.
func (*UpdateSecurityGroupReader) ReadResponse ¶ added in v0.2.14
func (o *UpdateSecurityGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- change_security_groups_parameters.go
- change_security_groups_responses.go
- create_on_demand_security_group_parameters.go
- create_on_demand_security_group_responses.go
- delete_security_group_parameters.go
- delete_security_group_responses.go
- get_security_group_parameters.go
- get_security_group_responses.go
- get_security_groups_parameters.go
- get_security_groups_responses.go
- security_group_client.go
- update_security_group_parameters.go
- update_security_group_responses.go