Documentation ¶
Index ¶
- type ChangeSecurityGroupsAccepted
- func (o *ChangeSecurityGroupsAccepted) Error() string
- func (o *ChangeSecurityGroupsAccepted) GetPayload() *models.RequestTracker
- func (o *ChangeSecurityGroupsAccepted) IsClientError() bool
- func (o *ChangeSecurityGroupsAccepted) IsCode(code int) bool
- func (o *ChangeSecurityGroupsAccepted) IsRedirect() bool
- func (o *ChangeSecurityGroupsAccepted) IsServerError() bool
- func (o *ChangeSecurityGroupsAccepted) IsSuccess() bool
- func (o *ChangeSecurityGroupsAccepted) String() string
- type ChangeSecurityGroupsBadRequest
- func (o *ChangeSecurityGroupsBadRequest) Error() string
- func (o *ChangeSecurityGroupsBadRequest) GetPayload() *models.Error
- func (o *ChangeSecurityGroupsBadRequest) IsClientError() bool
- func (o *ChangeSecurityGroupsBadRequest) IsCode(code int) bool
- func (o *ChangeSecurityGroupsBadRequest) IsRedirect() bool
- func (o *ChangeSecurityGroupsBadRequest) IsServerError() bool
- func (o *ChangeSecurityGroupsBadRequest) IsSuccess() bool
- func (o *ChangeSecurityGroupsBadRequest) String() string
- type ChangeSecurityGroupsForbidden
- func (o *ChangeSecurityGroupsForbidden) Error() string
- func (o *ChangeSecurityGroupsForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *ChangeSecurityGroupsForbidden) IsClientError() bool
- func (o *ChangeSecurityGroupsForbidden) IsCode(code int) bool
- func (o *ChangeSecurityGroupsForbidden) IsRedirect() bool
- func (o *ChangeSecurityGroupsForbidden) IsServerError() bool
- func (o *ChangeSecurityGroupsForbidden) IsSuccess() bool
- func (o *ChangeSecurityGroupsForbidden) String() string
- type ChangeSecurityGroupsNotFound
- func (o *ChangeSecurityGroupsNotFound) Error() string
- func (o *ChangeSecurityGroupsNotFound) GetPayload() *models.Error
- func (o *ChangeSecurityGroupsNotFound) IsClientError() bool
- func (o *ChangeSecurityGroupsNotFound) IsCode(code int) bool
- func (o *ChangeSecurityGroupsNotFound) IsRedirect() bool
- func (o *ChangeSecurityGroupsNotFound) IsServerError() bool
- func (o *ChangeSecurityGroupsNotFound) IsSuccess() bool
- func (o *ChangeSecurityGroupsNotFound) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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, opts ...ClientOption) (*ChangeSecurityGroupsAccepted, error)
- func (a *Client) CreateOnDemandSecurityGroup(params *CreateOnDemandSecurityGroupParams, opts ...ClientOption) (*CreateOnDemandSecurityGroupAccepted, error)
- func (a *Client) DeleteSecurityGroup(params *DeleteSecurityGroupParams, opts ...ClientOption) (*DeleteSecurityGroupAccepted, *DeleteSecurityGroupNoContent, error)
- func (a *Client) GetSecurityGroup(params *GetSecurityGroupParams, opts ...ClientOption) (*GetSecurityGroupOK, error)
- func (a *Client) GetSecurityGroups(params *GetSecurityGroupsParams, opts ...ClientOption) (*GetSecurityGroupsOK, error)
- func (a *Client) ReconfigureSecurityGroup(params *ReconfigureSecurityGroupParams, opts ...ClientOption) (*ReconfigureSecurityGroupAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSecurityGroup(params *UpdateSecurityGroupParams, opts ...ClientOption) (*UpdateSecurityGroupOK, error)
- type ClientOption
- type ClientService
- type CreateOnDemandSecurityGroupAccepted
- func (o *CreateOnDemandSecurityGroupAccepted) Error() string
- func (o *CreateOnDemandSecurityGroupAccepted) GetPayload() *models.RequestTracker
- func (o *CreateOnDemandSecurityGroupAccepted) IsClientError() bool
- func (o *CreateOnDemandSecurityGroupAccepted) IsCode(code int) bool
- func (o *CreateOnDemandSecurityGroupAccepted) IsRedirect() bool
- func (o *CreateOnDemandSecurityGroupAccepted) IsServerError() bool
- func (o *CreateOnDemandSecurityGroupAccepted) IsSuccess() bool
- func (o *CreateOnDemandSecurityGroupAccepted) String() string
- type CreateOnDemandSecurityGroupBadRequest
- func (o *CreateOnDemandSecurityGroupBadRequest) Error() string
- func (o *CreateOnDemandSecurityGroupBadRequest) GetPayload() *models.Error
- func (o *CreateOnDemandSecurityGroupBadRequest) IsClientError() bool
- func (o *CreateOnDemandSecurityGroupBadRequest) IsCode(code int) bool
- func (o *CreateOnDemandSecurityGroupBadRequest) IsRedirect() bool
- func (o *CreateOnDemandSecurityGroupBadRequest) IsServerError() bool
- func (o *CreateOnDemandSecurityGroupBadRequest) IsSuccess() bool
- func (o *CreateOnDemandSecurityGroupBadRequest) String() string
- type CreateOnDemandSecurityGroupForbidden
- func (o *CreateOnDemandSecurityGroupForbidden) Error() string
- func (o *CreateOnDemandSecurityGroupForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *CreateOnDemandSecurityGroupForbidden) IsClientError() bool
- func (o *CreateOnDemandSecurityGroupForbidden) IsCode(code int) bool
- func (o *CreateOnDemandSecurityGroupForbidden) IsRedirect() bool
- func (o *CreateOnDemandSecurityGroupForbidden) IsServerError() bool
- func (o *CreateOnDemandSecurityGroupForbidden) IsSuccess() bool
- func (o *CreateOnDemandSecurityGroupForbidden) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *DeleteSecurityGroupAccepted) Error() string
- func (o *DeleteSecurityGroupAccepted) GetPayload() *models.RequestTracker
- func (o *DeleteSecurityGroupAccepted) IsClientError() bool
- func (o *DeleteSecurityGroupAccepted) IsCode(code int) bool
- func (o *DeleteSecurityGroupAccepted) IsRedirect() bool
- func (o *DeleteSecurityGroupAccepted) IsServerError() bool
- func (o *DeleteSecurityGroupAccepted) IsSuccess() bool
- func (o *DeleteSecurityGroupAccepted) String() string
- type DeleteSecurityGroupForbidden
- func (o *DeleteSecurityGroupForbidden) Error() string
- func (o *DeleteSecurityGroupForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *DeleteSecurityGroupForbidden) IsClientError() bool
- func (o *DeleteSecurityGroupForbidden) IsCode(code int) bool
- func (o *DeleteSecurityGroupForbidden) IsRedirect() bool
- func (o *DeleteSecurityGroupForbidden) IsServerError() bool
- func (o *DeleteSecurityGroupForbidden) IsSuccess() bool
- func (o *DeleteSecurityGroupForbidden) String() string
- type DeleteSecurityGroupNoContent
- func (o *DeleteSecurityGroupNoContent) Error() string
- func (o *DeleteSecurityGroupNoContent) IsClientError() bool
- func (o *DeleteSecurityGroupNoContent) IsCode(code int) bool
- func (o *DeleteSecurityGroupNoContent) IsRedirect() bool
- func (o *DeleteSecurityGroupNoContent) IsServerError() bool
- func (o *DeleteSecurityGroupNoContent) IsSuccess() bool
- func (o *DeleteSecurityGroupNoContent) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetSecurityGroupForbidden) Error() string
- func (o *GetSecurityGroupForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetSecurityGroupForbidden) IsClientError() bool
- func (o *GetSecurityGroupForbidden) IsCode(code int) bool
- func (o *GetSecurityGroupForbidden) IsRedirect() bool
- func (o *GetSecurityGroupForbidden) IsServerError() bool
- func (o *GetSecurityGroupForbidden) IsSuccess() bool
- func (o *GetSecurityGroupForbidden) String() string
- type GetSecurityGroupNotFound
- func (o *GetSecurityGroupNotFound) Error() string
- func (o *GetSecurityGroupNotFound) GetPayload() *models.Error
- func (o *GetSecurityGroupNotFound) IsClientError() bool
- func (o *GetSecurityGroupNotFound) IsCode(code int) bool
- func (o *GetSecurityGroupNotFound) IsRedirect() bool
- func (o *GetSecurityGroupNotFound) IsServerError() bool
- func (o *GetSecurityGroupNotFound) IsSuccess() bool
- func (o *GetSecurityGroupNotFound) String() string
- type GetSecurityGroupOK
- func (o *GetSecurityGroupOK) Error() string
- func (o *GetSecurityGroupOK) GetPayload() *models.SecurityGroup
- func (o *GetSecurityGroupOK) IsClientError() bool
- func (o *GetSecurityGroupOK) IsCode(code int) bool
- func (o *GetSecurityGroupOK) IsRedirect() bool
- func (o *GetSecurityGroupOK) IsServerError() bool
- func (o *GetSecurityGroupOK) IsSuccess() bool
- func (o *GetSecurityGroupOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetSecurityGroupsForbidden) Error() string
- func (o *GetSecurityGroupsForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *GetSecurityGroupsForbidden) IsClientError() bool
- func (o *GetSecurityGroupsForbidden) IsCode(code int) bool
- func (o *GetSecurityGroupsForbidden) IsRedirect() bool
- func (o *GetSecurityGroupsForbidden) IsServerError() bool
- func (o *GetSecurityGroupsForbidden) IsSuccess() bool
- func (o *GetSecurityGroupsForbidden) String() string
- type GetSecurityGroupsOK
- func (o *GetSecurityGroupsOK) Error() string
- func (o *GetSecurityGroupsOK) GetPayload() *models.SecurityGroupResult
- func (o *GetSecurityGroupsOK) IsClientError() bool
- func (o *GetSecurityGroupsOK) IsCode(code int) bool
- func (o *GetSecurityGroupsOK) IsRedirect() bool
- func (o *GetSecurityGroupsOK) IsServerError() bool
- func (o *GetSecurityGroupsOK) IsSuccess() bool
- func (o *GetSecurityGroupsOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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 ReconfigureSecurityGroupAccepted
- func (o *ReconfigureSecurityGroupAccepted) Error() string
- func (o *ReconfigureSecurityGroupAccepted) GetPayload() *models.RequestTracker
- func (o *ReconfigureSecurityGroupAccepted) IsClientError() bool
- func (o *ReconfigureSecurityGroupAccepted) IsCode(code int) bool
- func (o *ReconfigureSecurityGroupAccepted) IsRedirect() bool
- func (o *ReconfigureSecurityGroupAccepted) IsServerError() bool
- func (o *ReconfigureSecurityGroupAccepted) IsSuccess() bool
- func (o *ReconfigureSecurityGroupAccepted) String() string
- type ReconfigureSecurityGroupBadRequest
- func (o *ReconfigureSecurityGroupBadRequest) Error() string
- func (o *ReconfigureSecurityGroupBadRequest) GetPayload() *models.Error
- func (o *ReconfigureSecurityGroupBadRequest) IsClientError() bool
- func (o *ReconfigureSecurityGroupBadRequest) IsCode(code int) bool
- func (o *ReconfigureSecurityGroupBadRequest) IsRedirect() bool
- func (o *ReconfigureSecurityGroupBadRequest) IsServerError() bool
- func (o *ReconfigureSecurityGroupBadRequest) IsSuccess() bool
- func (o *ReconfigureSecurityGroupBadRequest) String() string
- type ReconfigureSecurityGroupForbidden
- func (o *ReconfigureSecurityGroupForbidden) Error() string
- func (o *ReconfigureSecurityGroupForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *ReconfigureSecurityGroupForbidden) IsClientError() bool
- func (o *ReconfigureSecurityGroupForbidden) IsCode(code int) bool
- func (o *ReconfigureSecurityGroupForbidden) IsRedirect() bool
- func (o *ReconfigureSecurityGroupForbidden) IsServerError() bool
- func (o *ReconfigureSecurityGroupForbidden) IsSuccess() bool
- func (o *ReconfigureSecurityGroupForbidden) String() string
- type ReconfigureSecurityGroupParams
- func NewReconfigureSecurityGroupParams() *ReconfigureSecurityGroupParams
- func NewReconfigureSecurityGroupParamsWithContext(ctx context.Context) *ReconfigureSecurityGroupParams
- func NewReconfigureSecurityGroupParamsWithHTTPClient(client *http.Client) *ReconfigureSecurityGroupParams
- func NewReconfigureSecurityGroupParamsWithTimeout(timeout time.Duration) *ReconfigureSecurityGroupParams
- func (o *ReconfigureSecurityGroupParams) SetAPIVersion(aPIVersion *string)
- func (o *ReconfigureSecurityGroupParams) SetBody(body *models.SecurityGroupSpecification)
- func (o *ReconfigureSecurityGroupParams) SetContext(ctx context.Context)
- func (o *ReconfigureSecurityGroupParams) SetDefaults()
- func (o *ReconfigureSecurityGroupParams) SetHTTPClient(client *http.Client)
- func (o *ReconfigureSecurityGroupParams) SetID(id string)
- func (o *ReconfigureSecurityGroupParams) SetTimeout(timeout time.Duration)
- func (o *ReconfigureSecurityGroupParams) WithAPIVersion(aPIVersion *string) *ReconfigureSecurityGroupParams
- func (o *ReconfigureSecurityGroupParams) WithBody(body *models.SecurityGroupSpecification) *ReconfigureSecurityGroupParams
- func (o *ReconfigureSecurityGroupParams) WithContext(ctx context.Context) *ReconfigureSecurityGroupParams
- func (o *ReconfigureSecurityGroupParams) WithDefaults() *ReconfigureSecurityGroupParams
- func (o *ReconfigureSecurityGroupParams) WithHTTPClient(client *http.Client) *ReconfigureSecurityGroupParams
- func (o *ReconfigureSecurityGroupParams) WithID(id string) *ReconfigureSecurityGroupParams
- func (o *ReconfigureSecurityGroupParams) WithTimeout(timeout time.Duration) *ReconfigureSecurityGroupParams
- func (o *ReconfigureSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReconfigureSecurityGroupReader
- type UpdateSecurityGroupForbidden
- func (o *UpdateSecurityGroupForbidden) Error() string
- func (o *UpdateSecurityGroupForbidden) GetPayload() *models.ServiceErrorResponse
- func (o *UpdateSecurityGroupForbidden) IsClientError() bool
- func (o *UpdateSecurityGroupForbidden) IsCode(code int) bool
- func (o *UpdateSecurityGroupForbidden) IsRedirect() bool
- func (o *UpdateSecurityGroupForbidden) IsServerError() bool
- func (o *UpdateSecurityGroupForbidden) IsSuccess() bool
- func (o *UpdateSecurityGroupForbidden) String() string
- type UpdateSecurityGroupNotFound
- func (o *UpdateSecurityGroupNotFound) Error() string
- func (o *UpdateSecurityGroupNotFound) GetPayload() *models.Error
- func (o *UpdateSecurityGroupNotFound) IsClientError() bool
- func (o *UpdateSecurityGroupNotFound) IsCode(code int) bool
- func (o *UpdateSecurityGroupNotFound) IsRedirect() bool
- func (o *UpdateSecurityGroupNotFound) IsServerError() bool
- func (o *UpdateSecurityGroupNotFound) IsSuccess() bool
- func (o *UpdateSecurityGroupNotFound) String() string
- type UpdateSecurityGroupOK
- func (o *UpdateSecurityGroupOK) Error() string
- func (o *UpdateSecurityGroupOK) GetPayload() *models.SecurityGroup
- func (o *UpdateSecurityGroupOK) IsClientError() bool
- func (o *UpdateSecurityGroupOK) IsCode(code int) bool
- func (o *UpdateSecurityGroupOK) IsRedirect() bool
- func (o *UpdateSecurityGroupOK) IsServerError() bool
- func (o *UpdateSecurityGroupOK) IsSuccess() bool
- func (o *UpdateSecurityGroupOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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 ChangeSecurityGroupsAccepted ¶ added in v0.2.18
type ChangeSecurityGroupsAccepted struct {
Payload *models.RequestTracker
}
ChangeSecurityGroupsAccepted describes a response with status code 202, with default header values.
successful operation
func NewChangeSecurityGroupsAccepted ¶ added in v0.2.18
func NewChangeSecurityGroupsAccepted() *ChangeSecurityGroupsAccepted
NewChangeSecurityGroupsAccepted creates a ChangeSecurityGroupsAccepted with default headers values
func (*ChangeSecurityGroupsAccepted) Error ¶ added in v0.2.18
func (o *ChangeSecurityGroupsAccepted) Error() string
func (*ChangeSecurityGroupsAccepted) GetPayload ¶ added in v0.2.18
func (o *ChangeSecurityGroupsAccepted) GetPayload() *models.RequestTracker
func (*ChangeSecurityGroupsAccepted) IsClientError ¶ added in v0.5.0
func (o *ChangeSecurityGroupsAccepted) IsClientError() bool
IsClientError returns true when this change security groups accepted response has a 4xx status code
func (*ChangeSecurityGroupsAccepted) IsCode ¶ added in v0.5.0
func (o *ChangeSecurityGroupsAccepted) IsCode(code int) bool
IsCode returns true when this change security groups accepted response a status code equal to that given
func (*ChangeSecurityGroupsAccepted) IsRedirect ¶ added in v0.5.0
func (o *ChangeSecurityGroupsAccepted) IsRedirect() bool
IsRedirect returns true when this change security groups accepted response has a 3xx status code
func (*ChangeSecurityGroupsAccepted) IsServerError ¶ added in v0.5.0
func (o *ChangeSecurityGroupsAccepted) IsServerError() bool
IsServerError returns true when this change security groups accepted response has a 5xx status code
func (*ChangeSecurityGroupsAccepted) IsSuccess ¶ added in v0.5.0
func (o *ChangeSecurityGroupsAccepted) IsSuccess() bool
IsSuccess returns true when this change security groups accepted response has a 2xx status code
func (*ChangeSecurityGroupsAccepted) String ¶ added in v0.5.0
func (o *ChangeSecurityGroupsAccepted) String() string
type ChangeSecurityGroupsBadRequest ¶ added in v0.2.14
ChangeSecurityGroupsBadRequest describes a response with status code 400, 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
func (*ChangeSecurityGroupsBadRequest) IsClientError ¶ added in v0.5.0
func (o *ChangeSecurityGroupsBadRequest) IsClientError() bool
IsClientError returns true when this change security groups bad request response has a 4xx status code
func (*ChangeSecurityGroupsBadRequest) IsCode ¶ added in v0.5.0
func (o *ChangeSecurityGroupsBadRequest) IsCode(code int) bool
IsCode returns true when this change security groups bad request response a status code equal to that given
func (*ChangeSecurityGroupsBadRequest) IsRedirect ¶ added in v0.5.0
func (o *ChangeSecurityGroupsBadRequest) IsRedirect() bool
IsRedirect returns true when this change security groups bad request response has a 3xx status code
func (*ChangeSecurityGroupsBadRequest) IsServerError ¶ added in v0.5.0
func (o *ChangeSecurityGroupsBadRequest) IsServerError() bool
IsServerError returns true when this change security groups bad request response has a 5xx status code
func (*ChangeSecurityGroupsBadRequest) IsSuccess ¶ added in v0.5.0
func (o *ChangeSecurityGroupsBadRequest) IsSuccess() bool
IsSuccess returns true when this change security groups bad request response has a 2xx status code
func (*ChangeSecurityGroupsBadRequest) String ¶ added in v0.5.0
func (o *ChangeSecurityGroupsBadRequest) String() string
type ChangeSecurityGroupsForbidden ¶ added in v0.2.14
type ChangeSecurityGroupsForbidden struct {
Payload *models.ServiceErrorResponse
}
ChangeSecurityGroupsForbidden describes a response with status code 403, 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
func (*ChangeSecurityGroupsForbidden) GetPayload ¶ added in v0.2.20
func (o *ChangeSecurityGroupsForbidden) GetPayload() *models.ServiceErrorResponse
func (*ChangeSecurityGroupsForbidden) IsClientError ¶ added in v0.5.0
func (o *ChangeSecurityGroupsForbidden) IsClientError() bool
IsClientError returns true when this change security groups forbidden response has a 4xx status code
func (*ChangeSecurityGroupsForbidden) IsCode ¶ added in v0.5.0
func (o *ChangeSecurityGroupsForbidden) IsCode(code int) bool
IsCode returns true when this change security groups forbidden response a status code equal to that given
func (*ChangeSecurityGroupsForbidden) IsRedirect ¶ added in v0.5.0
func (o *ChangeSecurityGroupsForbidden) IsRedirect() bool
IsRedirect returns true when this change security groups forbidden response has a 3xx status code
func (*ChangeSecurityGroupsForbidden) IsServerError ¶ added in v0.5.0
func (o *ChangeSecurityGroupsForbidden) IsServerError() bool
IsServerError returns true when this change security groups forbidden response has a 5xx status code
func (*ChangeSecurityGroupsForbidden) IsSuccess ¶ added in v0.5.0
func (o *ChangeSecurityGroupsForbidden) IsSuccess() bool
IsSuccess returns true when this change security groups forbidden response has a 2xx status code
func (*ChangeSecurityGroupsForbidden) String ¶ added in v0.5.0
func (o *ChangeSecurityGroupsForbidden) String() string
type ChangeSecurityGroupsNotFound ¶ added in v0.2.14
ChangeSecurityGroupsNotFound describes a response with status code 404, 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
func (*ChangeSecurityGroupsNotFound) IsClientError ¶ added in v0.5.0
func (o *ChangeSecurityGroupsNotFound) IsClientError() bool
IsClientError returns true when this change security groups not found response has a 4xx status code
func (*ChangeSecurityGroupsNotFound) IsCode ¶ added in v0.5.0
func (o *ChangeSecurityGroupsNotFound) IsCode(code int) bool
IsCode returns true when this change security groups not found response a status code equal to that given
func (*ChangeSecurityGroupsNotFound) IsRedirect ¶ added in v0.5.0
func (o *ChangeSecurityGroupsNotFound) IsRedirect() bool
IsRedirect returns true when this change security groups not found response has a 3xx status code
func (*ChangeSecurityGroupsNotFound) IsServerError ¶ added in v0.5.0
func (o *ChangeSecurityGroupsNotFound) IsServerError() bool
IsServerError returns true when this change security groups not found response has a 5xx status code
func (*ChangeSecurityGroupsNotFound) IsSuccess ¶ added in v0.5.0
func (o *ChangeSecurityGroupsNotFound) IsSuccess() bool
IsSuccess returns true when this change security groups not found response has a 2xx status code
func (*ChangeSecurityGroupsNotFound) String ¶ added in v0.5.0
func (o *ChangeSecurityGroupsNotFound) String() string
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewChangeSecurityGroupsParamsWithContext ¶ added in v0.2.14
func NewChangeSecurityGroupsParamsWithContext(ctx context.Context) *ChangeSecurityGroupsParams
NewChangeSecurityGroupsParamsWithContext creates a new ChangeSecurityGroupsParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *ChangeSecurityGroupsParams) SetDefaults()
SetDefaults hydrates default values in the change security groups params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *ChangeSecurityGroupsParams) WithDefaults() *ChangeSecurityGroupsParams
WithDefaults hydrates default values in the change security groups params (not the query body).
All values with no default are reset to their zero value.
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 (*Client) ChangeSecurityGroups ¶ added in v0.2.14
func (a *Client) ChangeSecurityGroups(params *ChangeSecurityGroupsParams, opts ...ClientOption) (*ChangeSecurityGroupsAccepted, 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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*GetSecurityGroupOK, error)
GetSecurityGroup gets security group
Get security group with a given id
func (*Client) GetSecurityGroups ¶
func (a *Client) GetSecurityGroups(params *GetSecurityGroupsParams, opts ...ClientOption) (*GetSecurityGroupsOK, error)
GetSecurityGroups gets security groups
Get all security groups
func (*Client) ReconfigureSecurityGroup ¶ added in v0.2.20
func (a *Client) ReconfigureSecurityGroup(params *ReconfigureSecurityGroupParams, opts ...ClientOption) (*ReconfigureSecurityGroupAccepted, error)
ReconfigureSecurityGroup reconfigures operation for security group
Day-2 reconfigure operation for new security groups provisioned by vRA. This is not supported for 'existing' 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, opts ...ClientOption) (*UpdateSecurityGroupOK, error)
UpdateSecurityGroup updates security group
Update security group. Only tag updates are supported.
type ClientOption ¶ added in v0.2.20
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.2.18
type ClientService interface { ChangeSecurityGroups(params *ChangeSecurityGroupsParams, opts ...ClientOption) (*ChangeSecurityGroupsAccepted, error) CreateOnDemandSecurityGroup(params *CreateOnDemandSecurityGroupParams, opts ...ClientOption) (*CreateOnDemandSecurityGroupAccepted, error) DeleteSecurityGroup(params *DeleteSecurityGroupParams, opts ...ClientOption) (*DeleteSecurityGroupAccepted, *DeleteSecurityGroupNoContent, error) GetSecurityGroup(params *GetSecurityGroupParams, opts ...ClientOption) (*GetSecurityGroupOK, error) GetSecurityGroups(params *GetSecurityGroupsParams, opts ...ClientOption) (*GetSecurityGroupsOK, error) ReconfigureSecurityGroup(params *ReconfigureSecurityGroupParams, opts ...ClientOption) (*ReconfigureSecurityGroupAccepted, error) UpdateSecurityGroup(params *UpdateSecurityGroupParams, opts ...ClientOption) (*UpdateSecurityGroupOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new security group API client.
type CreateOnDemandSecurityGroupAccepted ¶ added in v0.2.8
type CreateOnDemandSecurityGroupAccepted struct {
Payload *models.RequestTracker
}
CreateOnDemandSecurityGroupAccepted describes a response with status code 202, 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
func (*CreateOnDemandSecurityGroupAccepted) IsClientError ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupAccepted) IsClientError() bool
IsClientError returns true when this create on demand security group accepted response has a 4xx status code
func (*CreateOnDemandSecurityGroupAccepted) IsCode ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupAccepted) IsCode(code int) bool
IsCode returns true when this create on demand security group accepted response a status code equal to that given
func (*CreateOnDemandSecurityGroupAccepted) IsRedirect ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupAccepted) IsRedirect() bool
IsRedirect returns true when this create on demand security group accepted response has a 3xx status code
func (*CreateOnDemandSecurityGroupAccepted) IsServerError ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupAccepted) IsServerError() bool
IsServerError returns true when this create on demand security group accepted response has a 5xx status code
func (*CreateOnDemandSecurityGroupAccepted) IsSuccess ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupAccepted) IsSuccess() bool
IsSuccess returns true when this create on demand security group accepted response has a 2xx status code
func (*CreateOnDemandSecurityGroupAccepted) String ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupAccepted) String() string
type CreateOnDemandSecurityGroupBadRequest ¶ added in v0.2.8
CreateOnDemandSecurityGroupBadRequest describes a response with status code 400, 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
func (*CreateOnDemandSecurityGroupBadRequest) IsClientError ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupBadRequest) IsClientError() bool
IsClientError returns true when this create on demand security group bad request response has a 4xx status code
func (*CreateOnDemandSecurityGroupBadRequest) IsCode ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupBadRequest) IsCode(code int) bool
IsCode returns true when this create on demand security group bad request response a status code equal to that given
func (*CreateOnDemandSecurityGroupBadRequest) IsRedirect ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupBadRequest) IsRedirect() bool
IsRedirect returns true when this create on demand security group bad request response has a 3xx status code
func (*CreateOnDemandSecurityGroupBadRequest) IsServerError ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupBadRequest) IsServerError() bool
IsServerError returns true when this create on demand security group bad request response has a 5xx status code
func (*CreateOnDemandSecurityGroupBadRequest) IsSuccess ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupBadRequest) IsSuccess() bool
IsSuccess returns true when this create on demand security group bad request response has a 2xx status code
func (*CreateOnDemandSecurityGroupBadRequest) String ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupBadRequest) String() string
type CreateOnDemandSecurityGroupForbidden ¶ added in v0.2.8
type CreateOnDemandSecurityGroupForbidden struct {
Payload *models.ServiceErrorResponse
}
CreateOnDemandSecurityGroupForbidden describes a response with status code 403, 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
func (*CreateOnDemandSecurityGroupForbidden) GetPayload ¶ added in v0.2.20
func (o *CreateOnDemandSecurityGroupForbidden) GetPayload() *models.ServiceErrorResponse
func (*CreateOnDemandSecurityGroupForbidden) IsClientError ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupForbidden) IsClientError() bool
IsClientError returns true when this create on demand security group forbidden response has a 4xx status code
func (*CreateOnDemandSecurityGroupForbidden) IsCode ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupForbidden) IsCode(code int) bool
IsCode returns true when this create on demand security group forbidden response a status code equal to that given
func (*CreateOnDemandSecurityGroupForbidden) IsRedirect ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupForbidden) IsRedirect() bool
IsRedirect returns true when this create on demand security group forbidden response has a 3xx status code
func (*CreateOnDemandSecurityGroupForbidden) IsServerError ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupForbidden) IsServerError() bool
IsServerError returns true when this create on demand security group forbidden response has a 5xx status code
func (*CreateOnDemandSecurityGroupForbidden) IsSuccess ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupForbidden) IsSuccess() bool
IsSuccess returns true when this create on demand security group forbidden response has a 2xx status code
func (*CreateOnDemandSecurityGroupForbidden) String ¶ added in v0.5.0
func (o *CreateOnDemandSecurityGroupForbidden) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateOnDemandSecurityGroupParamsWithContext ¶ added in v0.2.8
func NewCreateOnDemandSecurityGroupParamsWithContext(ctx context.Context) *CreateOnDemandSecurityGroupParams
NewCreateOnDemandSecurityGroupParamsWithContext creates a new CreateOnDemandSecurityGroupParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *CreateOnDemandSecurityGroupParams) SetDefaults()
SetDefaults hydrates default values in the create on demand security group params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *CreateOnDemandSecurityGroupParams) WithDefaults() *CreateOnDemandSecurityGroupParams
WithDefaults hydrates default values in the create on demand security group params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 202, 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
func (*DeleteSecurityGroupAccepted) IsClientError ¶ added in v0.5.0
func (o *DeleteSecurityGroupAccepted) IsClientError() bool
IsClientError returns true when this delete security group accepted response has a 4xx status code
func (*DeleteSecurityGroupAccepted) IsCode ¶ added in v0.5.0
func (o *DeleteSecurityGroupAccepted) IsCode(code int) bool
IsCode returns true when this delete security group accepted response a status code equal to that given
func (*DeleteSecurityGroupAccepted) IsRedirect ¶ added in v0.5.0
func (o *DeleteSecurityGroupAccepted) IsRedirect() bool
IsRedirect returns true when this delete security group accepted response has a 3xx status code
func (*DeleteSecurityGroupAccepted) IsServerError ¶ added in v0.5.0
func (o *DeleteSecurityGroupAccepted) IsServerError() bool
IsServerError returns true when this delete security group accepted response has a 5xx status code
func (*DeleteSecurityGroupAccepted) IsSuccess ¶ added in v0.5.0
func (o *DeleteSecurityGroupAccepted) IsSuccess() bool
IsSuccess returns true when this delete security group accepted response has a 2xx status code
func (*DeleteSecurityGroupAccepted) String ¶ added in v0.5.0
func (o *DeleteSecurityGroupAccepted) String() string
type DeleteSecurityGroupForbidden ¶ added in v0.2.8
type DeleteSecurityGroupForbidden struct {
Payload *models.ServiceErrorResponse
}
DeleteSecurityGroupForbidden describes a response with status code 403, 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
func (*DeleteSecurityGroupForbidden) GetPayload ¶ added in v0.2.20
func (o *DeleteSecurityGroupForbidden) GetPayload() *models.ServiceErrorResponse
func (*DeleteSecurityGroupForbidden) IsClientError ¶ added in v0.5.0
func (o *DeleteSecurityGroupForbidden) IsClientError() bool
IsClientError returns true when this delete security group forbidden response has a 4xx status code
func (*DeleteSecurityGroupForbidden) IsCode ¶ added in v0.5.0
func (o *DeleteSecurityGroupForbidden) IsCode(code int) bool
IsCode returns true when this delete security group forbidden response a status code equal to that given
func (*DeleteSecurityGroupForbidden) IsRedirect ¶ added in v0.5.0
func (o *DeleteSecurityGroupForbidden) IsRedirect() bool
IsRedirect returns true when this delete security group forbidden response has a 3xx status code
func (*DeleteSecurityGroupForbidden) IsServerError ¶ added in v0.5.0
func (o *DeleteSecurityGroupForbidden) IsServerError() bool
IsServerError returns true when this delete security group forbidden response has a 5xx status code
func (*DeleteSecurityGroupForbidden) IsSuccess ¶ added in v0.5.0
func (o *DeleteSecurityGroupForbidden) IsSuccess() bool
IsSuccess returns true when this delete security group forbidden response has a 2xx status code
func (*DeleteSecurityGroupForbidden) String ¶ added in v0.5.0
func (o *DeleteSecurityGroupForbidden) String() string
type DeleteSecurityGroupNoContent ¶ added in v0.2.8
type DeleteSecurityGroupNoContent struct { }
DeleteSecurityGroupNoContent describes a response with status code 204, 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
func (*DeleteSecurityGroupNoContent) IsClientError ¶ added in v0.5.0
func (o *DeleteSecurityGroupNoContent) IsClientError() bool
IsClientError returns true when this delete security group no content response has a 4xx status code
func (*DeleteSecurityGroupNoContent) IsCode ¶ added in v0.5.0
func (o *DeleteSecurityGroupNoContent) IsCode(code int) bool
IsCode returns true when this delete security group no content response a status code equal to that given
func (*DeleteSecurityGroupNoContent) IsRedirect ¶ added in v0.5.0
func (o *DeleteSecurityGroupNoContent) IsRedirect() bool
IsRedirect returns true when this delete security group no content response has a 3xx status code
func (*DeleteSecurityGroupNoContent) IsServerError ¶ added in v0.5.0
func (o *DeleteSecurityGroupNoContent) IsServerError() bool
IsServerError returns true when this delete security group no content response has a 5xx status code
func (*DeleteSecurityGroupNoContent) IsSuccess ¶ added in v0.5.0
func (o *DeleteSecurityGroupNoContent) IsSuccess() bool
IsSuccess returns true when this delete security group no content response has a 2xx status code
func (*DeleteSecurityGroupNoContent) String ¶ added in v0.5.0
func (o *DeleteSecurityGroupNoContent) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteSecurityGroupParamsWithContext ¶ added in v0.2.8
func NewDeleteSecurityGroupParamsWithContext(ctx context.Context) *DeleteSecurityGroupParams
NewDeleteSecurityGroupParamsWithContext creates a new DeleteSecurityGroupParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *DeleteSecurityGroupParams) SetDefaults()
SetDefaults hydrates default values in the delete security group params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *DeleteSecurityGroupParams) WithDefaults() *DeleteSecurityGroupParams
WithDefaults hydrates default values in the delete security group params (not the query body).
All values with no default are reset to their zero value.
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 {
Payload *models.ServiceErrorResponse
}
GetSecurityGroupForbidden describes a response with status code 403, 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
func (*GetSecurityGroupForbidden) GetPayload ¶ added in v0.2.20
func (o *GetSecurityGroupForbidden) GetPayload() *models.ServiceErrorResponse
func (*GetSecurityGroupForbidden) IsClientError ¶ added in v0.5.0
func (o *GetSecurityGroupForbidden) IsClientError() bool
IsClientError returns true when this get security group forbidden response has a 4xx status code
func (*GetSecurityGroupForbidden) IsCode ¶ added in v0.5.0
func (o *GetSecurityGroupForbidden) IsCode(code int) bool
IsCode returns true when this get security group forbidden response a status code equal to that given
func (*GetSecurityGroupForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetSecurityGroupForbidden) IsRedirect() bool
IsRedirect returns true when this get security group forbidden response has a 3xx status code
func (*GetSecurityGroupForbidden) IsServerError ¶ added in v0.5.0
func (o *GetSecurityGroupForbidden) IsServerError() bool
IsServerError returns true when this get security group forbidden response has a 5xx status code
func (*GetSecurityGroupForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetSecurityGroupForbidden) IsSuccess() bool
IsSuccess returns true when this get security group forbidden response has a 2xx status code
func (*GetSecurityGroupForbidden) String ¶ added in v0.5.0
func (o *GetSecurityGroupForbidden) String() string
type GetSecurityGroupNotFound ¶
GetSecurityGroupNotFound describes a response with status code 404, 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
func (*GetSecurityGroupNotFound) IsClientError ¶ added in v0.5.0
func (o *GetSecurityGroupNotFound) IsClientError() bool
IsClientError returns true when this get security group not found response has a 4xx status code
func (*GetSecurityGroupNotFound) IsCode ¶ added in v0.5.0
func (o *GetSecurityGroupNotFound) IsCode(code int) bool
IsCode returns true when this get security group not found response a status code equal to that given
func (*GetSecurityGroupNotFound) IsRedirect ¶ added in v0.5.0
func (o *GetSecurityGroupNotFound) IsRedirect() bool
IsRedirect returns true when this get security group not found response has a 3xx status code
func (*GetSecurityGroupNotFound) IsServerError ¶ added in v0.5.0
func (o *GetSecurityGroupNotFound) IsServerError() bool
IsServerError returns true when this get security group not found response has a 5xx status code
func (*GetSecurityGroupNotFound) IsSuccess ¶ added in v0.5.0
func (o *GetSecurityGroupNotFound) IsSuccess() bool
IsSuccess returns true when this get security group not found response has a 2xx status code
func (*GetSecurityGroupNotFound) String ¶ added in v0.5.0
func (o *GetSecurityGroupNotFound) String() string
type GetSecurityGroupOK ¶
type GetSecurityGroupOK struct {
Payload *models.SecurityGroup
}
GetSecurityGroupOK describes a response with status code 200, 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
func (*GetSecurityGroupOK) IsClientError ¶ added in v0.5.0
func (o *GetSecurityGroupOK) IsClientError() bool
IsClientError returns true when this get security group o k response has a 4xx status code
func (*GetSecurityGroupOK) IsCode ¶ added in v0.5.0
func (o *GetSecurityGroupOK) IsCode(code int) bool
IsCode returns true when this get security group o k response a status code equal to that given
func (*GetSecurityGroupOK) IsRedirect ¶ added in v0.5.0
func (o *GetSecurityGroupOK) IsRedirect() bool
IsRedirect returns true when this get security group o k response has a 3xx status code
func (*GetSecurityGroupOK) IsServerError ¶ added in v0.5.0
func (o *GetSecurityGroupOK) IsServerError() bool
IsServerError returns true when this get security group o k response has a 5xx status code
func (*GetSecurityGroupOK) IsSuccess ¶ added in v0.5.0
func (o *GetSecurityGroupOK) IsSuccess() bool
IsSuccess returns true when this get security group o k response has a 2xx status code
func (*GetSecurityGroupOK) String ¶ added in v0.5.0
func (o *GetSecurityGroupOK) String() string
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSecurityGroupParamsWithContext ¶
func NewGetSecurityGroupParamsWithContext(ctx context.Context) *GetSecurityGroupParams
NewGetSecurityGroupParamsWithContext creates a new GetSecurityGroupParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *GetSecurityGroupParams) SetDefaults()
SetDefaults hydrates default values in the get security group params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *GetSecurityGroupParams) WithDefaults() *GetSecurityGroupParams
WithDefaults hydrates default values in the get security group params (not the query body).
All values with no default are reset to their zero value.
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 {
Payload *models.ServiceErrorResponse
}
GetSecurityGroupsForbidden describes a response with status code 403, 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
func (*GetSecurityGroupsForbidden) GetPayload ¶ added in v0.2.20
func (o *GetSecurityGroupsForbidden) GetPayload() *models.ServiceErrorResponse
func (*GetSecurityGroupsForbidden) IsClientError ¶ added in v0.5.0
func (o *GetSecurityGroupsForbidden) IsClientError() bool
IsClientError returns true when this get security groups forbidden response has a 4xx status code
func (*GetSecurityGroupsForbidden) IsCode ¶ added in v0.5.0
func (o *GetSecurityGroupsForbidden) IsCode(code int) bool
IsCode returns true when this get security groups forbidden response a status code equal to that given
func (*GetSecurityGroupsForbidden) IsRedirect ¶ added in v0.5.0
func (o *GetSecurityGroupsForbidden) IsRedirect() bool
IsRedirect returns true when this get security groups forbidden response has a 3xx status code
func (*GetSecurityGroupsForbidden) IsServerError ¶ added in v0.5.0
func (o *GetSecurityGroupsForbidden) IsServerError() bool
IsServerError returns true when this get security groups forbidden response has a 5xx status code
func (*GetSecurityGroupsForbidden) IsSuccess ¶ added in v0.5.0
func (o *GetSecurityGroupsForbidden) IsSuccess() bool
IsSuccess returns true when this get security groups forbidden response has a 2xx status code
func (*GetSecurityGroupsForbidden) String ¶ added in v0.5.0
func (o *GetSecurityGroupsForbidden) String() string
type GetSecurityGroupsOK ¶
type GetSecurityGroupsOK struct {
Payload *models.SecurityGroupResult
}
GetSecurityGroupsOK describes a response with status code 200, 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
func (*GetSecurityGroupsOK) IsClientError ¶ added in v0.5.0
func (o *GetSecurityGroupsOK) IsClientError() bool
IsClientError returns true when this get security groups o k response has a 4xx status code
func (*GetSecurityGroupsOK) IsCode ¶ added in v0.5.0
func (o *GetSecurityGroupsOK) IsCode(code int) bool
IsCode returns true when this get security groups o k response a status code equal to that given
func (*GetSecurityGroupsOK) IsRedirect ¶ added in v0.5.0
func (o *GetSecurityGroupsOK) IsRedirect() bool
IsRedirect returns true when this get security groups o k response has a 3xx status code
func (*GetSecurityGroupsOK) IsServerError ¶ added in v0.5.0
func (o *GetSecurityGroupsOK) IsServerError() bool
IsServerError returns true when this get security groups o k response has a 5xx status code
func (*GetSecurityGroupsOK) IsSuccess ¶ added in v0.5.0
func (o *GetSecurityGroupsOK) IsSuccess() bool
IsSuccess returns true when this get security groups o k response has a 2xx status code
func (*GetSecurityGroupsOK) String ¶ added in v0.5.0
func (o *GetSecurityGroupsOK) String() string
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSecurityGroupsParamsWithContext ¶
func NewGetSecurityGroupsParamsWithContext(ctx context.Context) *GetSecurityGroupsParams
NewGetSecurityGroupsParamsWithContext creates a new GetSecurityGroupsParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *GetSecurityGroupsParams) SetDefaults()
SetDefaults hydrates default values in the get security groups params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *GetSecurityGroupsParams) WithDefaults() *GetSecurityGroupsParams
WithDefaults hydrates default values in the get security groups params (not the query body).
All values with no default are reset to their zero value.
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 ReconfigureSecurityGroupAccepted ¶ added in v0.2.20
type ReconfigureSecurityGroupAccepted struct {
Payload *models.RequestTracker
}
ReconfigureSecurityGroupAccepted describes a response with status code 202, with default header values.
successful operation
func NewReconfigureSecurityGroupAccepted ¶ added in v0.2.20
func NewReconfigureSecurityGroupAccepted() *ReconfigureSecurityGroupAccepted
NewReconfigureSecurityGroupAccepted creates a ReconfigureSecurityGroupAccepted with default headers values
func (*ReconfigureSecurityGroupAccepted) Error ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupAccepted) Error() string
func (*ReconfigureSecurityGroupAccepted) GetPayload ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupAccepted) GetPayload() *models.RequestTracker
func (*ReconfigureSecurityGroupAccepted) IsClientError ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupAccepted) IsClientError() bool
IsClientError returns true when this reconfigure security group accepted response has a 4xx status code
func (*ReconfigureSecurityGroupAccepted) IsCode ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupAccepted) IsCode(code int) bool
IsCode returns true when this reconfigure security group accepted response a status code equal to that given
func (*ReconfigureSecurityGroupAccepted) IsRedirect ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupAccepted) IsRedirect() bool
IsRedirect returns true when this reconfigure security group accepted response has a 3xx status code
func (*ReconfigureSecurityGroupAccepted) IsServerError ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupAccepted) IsServerError() bool
IsServerError returns true when this reconfigure security group accepted response has a 5xx status code
func (*ReconfigureSecurityGroupAccepted) IsSuccess ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupAccepted) IsSuccess() bool
IsSuccess returns true when this reconfigure security group accepted response has a 2xx status code
func (*ReconfigureSecurityGroupAccepted) String ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupAccepted) String() string
type ReconfigureSecurityGroupBadRequest ¶ added in v0.2.20
ReconfigureSecurityGroupBadRequest describes a response with status code 400, with default header values.
Reconfigure is not supported for 'existing' type of security group.
func NewReconfigureSecurityGroupBadRequest ¶ added in v0.2.20
func NewReconfigureSecurityGroupBadRequest() *ReconfigureSecurityGroupBadRequest
NewReconfigureSecurityGroupBadRequest creates a ReconfigureSecurityGroupBadRequest with default headers values
func (*ReconfigureSecurityGroupBadRequest) Error ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupBadRequest) Error() string
func (*ReconfigureSecurityGroupBadRequest) GetPayload ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupBadRequest) GetPayload() *models.Error
func (*ReconfigureSecurityGroupBadRequest) IsClientError ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupBadRequest) IsClientError() bool
IsClientError returns true when this reconfigure security group bad request response has a 4xx status code
func (*ReconfigureSecurityGroupBadRequest) IsCode ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupBadRequest) IsCode(code int) bool
IsCode returns true when this reconfigure security group bad request response a status code equal to that given
func (*ReconfigureSecurityGroupBadRequest) IsRedirect ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupBadRequest) IsRedirect() bool
IsRedirect returns true when this reconfigure security group bad request response has a 3xx status code
func (*ReconfigureSecurityGroupBadRequest) IsServerError ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupBadRequest) IsServerError() bool
IsServerError returns true when this reconfigure security group bad request response has a 5xx status code
func (*ReconfigureSecurityGroupBadRequest) IsSuccess ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupBadRequest) IsSuccess() bool
IsSuccess returns true when this reconfigure security group bad request response has a 2xx status code
func (*ReconfigureSecurityGroupBadRequest) String ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupBadRequest) String() string
type ReconfigureSecurityGroupForbidden ¶ added in v0.2.20
type ReconfigureSecurityGroupForbidden struct {
Payload *models.ServiceErrorResponse
}
ReconfigureSecurityGroupForbidden describes a response with status code 403, with default header values.
Forbidden
func NewReconfigureSecurityGroupForbidden ¶ added in v0.2.20
func NewReconfigureSecurityGroupForbidden() *ReconfigureSecurityGroupForbidden
NewReconfigureSecurityGroupForbidden creates a ReconfigureSecurityGroupForbidden with default headers values
func (*ReconfigureSecurityGroupForbidden) Error ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupForbidden) Error() string
func (*ReconfigureSecurityGroupForbidden) GetPayload ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupForbidden) GetPayload() *models.ServiceErrorResponse
func (*ReconfigureSecurityGroupForbidden) IsClientError ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupForbidden) IsClientError() bool
IsClientError returns true when this reconfigure security group forbidden response has a 4xx status code
func (*ReconfigureSecurityGroupForbidden) IsCode ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupForbidden) IsCode(code int) bool
IsCode returns true when this reconfigure security group forbidden response a status code equal to that given
func (*ReconfigureSecurityGroupForbidden) IsRedirect ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupForbidden) IsRedirect() bool
IsRedirect returns true when this reconfigure security group forbidden response has a 3xx status code
func (*ReconfigureSecurityGroupForbidden) IsServerError ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupForbidden) IsServerError() bool
IsServerError returns true when this reconfigure security group forbidden response has a 5xx status code
func (*ReconfigureSecurityGroupForbidden) IsSuccess ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupForbidden) IsSuccess() bool
IsSuccess returns true when this reconfigure security group forbidden response has a 2xx status code
func (*ReconfigureSecurityGroupForbidden) String ¶ added in v0.5.0
func (o *ReconfigureSecurityGroupForbidden) String() string
type ReconfigureSecurityGroupParams ¶ added in v0.2.20
type ReconfigureSecurityGroupParams 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 /* ID. The ID of the security group. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReconfigureSecurityGroupParams contains all the parameters to send to the API endpoint
for the reconfigure security group operation. Typically these are written to a http.Request.
func NewReconfigureSecurityGroupParams ¶ added in v0.2.20
func NewReconfigureSecurityGroupParams() *ReconfigureSecurityGroupParams
NewReconfigureSecurityGroupParams creates a new ReconfigureSecurityGroupParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewReconfigureSecurityGroupParamsWithContext ¶ added in v0.2.20
func NewReconfigureSecurityGroupParamsWithContext(ctx context.Context) *ReconfigureSecurityGroupParams
NewReconfigureSecurityGroupParamsWithContext creates a new ReconfigureSecurityGroupParams object with the ability to set a context for a request.
func NewReconfigureSecurityGroupParamsWithHTTPClient ¶ added in v0.2.20
func NewReconfigureSecurityGroupParamsWithHTTPClient(client *http.Client) *ReconfigureSecurityGroupParams
NewReconfigureSecurityGroupParamsWithHTTPClient creates a new ReconfigureSecurityGroupParams object with the ability to set a custom HTTPClient for a request.
func NewReconfigureSecurityGroupParamsWithTimeout ¶ added in v0.2.20
func NewReconfigureSecurityGroupParamsWithTimeout(timeout time.Duration) *ReconfigureSecurityGroupParams
NewReconfigureSecurityGroupParamsWithTimeout creates a new ReconfigureSecurityGroupParams object with the ability to set a timeout on a request.
func (*ReconfigureSecurityGroupParams) SetAPIVersion ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the reconfigure security group params
func (*ReconfigureSecurityGroupParams) SetBody ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupParams) SetBody(body *models.SecurityGroupSpecification)
SetBody adds the body to the reconfigure security group params
func (*ReconfigureSecurityGroupParams) SetContext ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the reconfigure security group params
func (*ReconfigureSecurityGroupParams) SetDefaults ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupParams) SetDefaults()
SetDefaults hydrates default values in the reconfigure security group params (not the query body).
All values with no default are reset to their zero value.
func (*ReconfigureSecurityGroupParams) SetHTTPClient ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reconfigure security group params
func (*ReconfigureSecurityGroupParams) SetID ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupParams) SetID(id string)
SetID adds the id to the reconfigure security group params
func (*ReconfigureSecurityGroupParams) SetTimeout ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reconfigure security group params
func (*ReconfigureSecurityGroupParams) WithAPIVersion ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupParams) WithAPIVersion(aPIVersion *string) *ReconfigureSecurityGroupParams
WithAPIVersion adds the aPIVersion to the reconfigure security group params
func (*ReconfigureSecurityGroupParams) WithBody ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupParams) WithBody(body *models.SecurityGroupSpecification) *ReconfigureSecurityGroupParams
WithBody adds the body to the reconfigure security group params
func (*ReconfigureSecurityGroupParams) WithContext ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupParams) WithContext(ctx context.Context) *ReconfigureSecurityGroupParams
WithContext adds the context to the reconfigure security group params
func (*ReconfigureSecurityGroupParams) WithDefaults ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupParams) WithDefaults() *ReconfigureSecurityGroupParams
WithDefaults hydrates default values in the reconfigure security group params (not the query body).
All values with no default are reset to their zero value.
func (*ReconfigureSecurityGroupParams) WithHTTPClient ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupParams) WithHTTPClient(client *http.Client) *ReconfigureSecurityGroupParams
WithHTTPClient adds the HTTPClient to the reconfigure security group params
func (*ReconfigureSecurityGroupParams) WithID ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupParams) WithID(id string) *ReconfigureSecurityGroupParams
WithID adds the id to the reconfigure security group params
func (*ReconfigureSecurityGroupParams) WithTimeout ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupParams) WithTimeout(timeout time.Duration) *ReconfigureSecurityGroupParams
WithTimeout adds the timeout to the reconfigure security group params
func (*ReconfigureSecurityGroupParams) WriteToRequest ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReconfigureSecurityGroupReader ¶ added in v0.2.20
type ReconfigureSecurityGroupReader struct {
// contains filtered or unexported fields
}
ReconfigureSecurityGroupReader is a Reader for the ReconfigureSecurityGroup structure.
func (*ReconfigureSecurityGroupReader) ReadResponse ¶ added in v0.2.20
func (o *ReconfigureSecurityGroupReader) 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 {
Payload *models.ServiceErrorResponse
}
UpdateSecurityGroupForbidden describes a response with status code 403, 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
func (*UpdateSecurityGroupForbidden) GetPayload ¶ added in v0.2.20
func (o *UpdateSecurityGroupForbidden) GetPayload() *models.ServiceErrorResponse
func (*UpdateSecurityGroupForbidden) IsClientError ¶ added in v0.5.0
func (o *UpdateSecurityGroupForbidden) IsClientError() bool
IsClientError returns true when this update security group forbidden response has a 4xx status code
func (*UpdateSecurityGroupForbidden) IsCode ¶ added in v0.5.0
func (o *UpdateSecurityGroupForbidden) IsCode(code int) bool
IsCode returns true when this update security group forbidden response a status code equal to that given
func (*UpdateSecurityGroupForbidden) IsRedirect ¶ added in v0.5.0
func (o *UpdateSecurityGroupForbidden) IsRedirect() bool
IsRedirect returns true when this update security group forbidden response has a 3xx status code
func (*UpdateSecurityGroupForbidden) IsServerError ¶ added in v0.5.0
func (o *UpdateSecurityGroupForbidden) IsServerError() bool
IsServerError returns true when this update security group forbidden response has a 5xx status code
func (*UpdateSecurityGroupForbidden) IsSuccess ¶ added in v0.5.0
func (o *UpdateSecurityGroupForbidden) IsSuccess() bool
IsSuccess returns true when this update security group forbidden response has a 2xx status code
func (*UpdateSecurityGroupForbidden) String ¶ added in v0.5.0
func (o *UpdateSecurityGroupForbidden) String() string
type UpdateSecurityGroupNotFound ¶ added in v0.2.14
UpdateSecurityGroupNotFound describes a response with status code 404, 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
func (*UpdateSecurityGroupNotFound) IsClientError ¶ added in v0.5.0
func (o *UpdateSecurityGroupNotFound) IsClientError() bool
IsClientError returns true when this update security group not found response has a 4xx status code
func (*UpdateSecurityGroupNotFound) IsCode ¶ added in v0.5.0
func (o *UpdateSecurityGroupNotFound) IsCode(code int) bool
IsCode returns true when this update security group not found response a status code equal to that given
func (*UpdateSecurityGroupNotFound) IsRedirect ¶ added in v0.5.0
func (o *UpdateSecurityGroupNotFound) IsRedirect() bool
IsRedirect returns true when this update security group not found response has a 3xx status code
func (*UpdateSecurityGroupNotFound) IsServerError ¶ added in v0.5.0
func (o *UpdateSecurityGroupNotFound) IsServerError() bool
IsServerError returns true when this update security group not found response has a 5xx status code
func (*UpdateSecurityGroupNotFound) IsSuccess ¶ added in v0.5.0
func (o *UpdateSecurityGroupNotFound) IsSuccess() bool
IsSuccess returns true when this update security group not found response has a 2xx status code
func (*UpdateSecurityGroupNotFound) String ¶ added in v0.5.0
func (o *UpdateSecurityGroupNotFound) String() string
type UpdateSecurityGroupOK ¶ added in v0.2.14
type UpdateSecurityGroupOK struct {
Payload *models.SecurityGroup
}
UpdateSecurityGroupOK describes a response with status code 200, 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
func (*UpdateSecurityGroupOK) IsClientError ¶ added in v0.5.0
func (o *UpdateSecurityGroupOK) IsClientError() bool
IsClientError returns true when this update security group o k response has a 4xx status code
func (*UpdateSecurityGroupOK) IsCode ¶ added in v0.5.0
func (o *UpdateSecurityGroupOK) IsCode(code int) bool
IsCode returns true when this update security group o k response a status code equal to that given
func (*UpdateSecurityGroupOK) IsRedirect ¶ added in v0.5.0
func (o *UpdateSecurityGroupOK) IsRedirect() bool
IsRedirect returns true when this update security group o k response has a 3xx status code
func (*UpdateSecurityGroupOK) IsServerError ¶ added in v0.5.0
func (o *UpdateSecurityGroupOK) IsServerError() bool
IsServerError returns true when this update security group o k response has a 5xx status code
func (*UpdateSecurityGroupOK) IsSuccess ¶ added in v0.5.0
func (o *UpdateSecurityGroupOK) IsSuccess() bool
IsSuccess returns true when this update security group o k response has a 2xx status code
func (*UpdateSecurityGroupOK) String ¶ added in v0.5.0
func (o *UpdateSecurityGroupOK) String() string
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateSecurityGroupParamsWithContext ¶ added in v0.2.14
func NewUpdateSecurityGroupParamsWithContext(ctx context.Context) *UpdateSecurityGroupParams
NewUpdateSecurityGroupParamsWithContext creates a new UpdateSecurityGroupParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *UpdateSecurityGroupParams) SetDefaults()
SetDefaults hydrates default values in the update security group params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *UpdateSecurityGroupParams) WithDefaults() *UpdateSecurityGroupParams
WithDefaults hydrates default values in the update security group params (not the query body).
All values with no default are reset to their zero value.
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
- reconfigure_security_group_parameters.go
- reconfigure_security_group_responses.go
- security_group_client.go
- update_security_group_parameters.go
- update_security_group_responses.go