internal_operations_network_security_groups

package
v1.9.0-beta9 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for internal operations network security groups API

func (*Client) InternalV1OperationsNetworksecuritygroupsDelete

InternalV1OperationsNetworksecuritygroupsDelete deletes a network security group c r n

func (*Client) InternalV1OperationsNetworksecuritygroupsPost

InternalV1OperationsNetworksecuritygroupsPost creates a c r n for a network security group

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	InternalV1OperationsNetworksecuritygroupsDelete(params *InternalV1OperationsNetworksecuritygroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsNetworksecuritygroupsDeleteNoContent, error)

	InternalV1OperationsNetworksecuritygroupsPost(params *InternalV1OperationsNetworksecuritygroupsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1OperationsNetworksecuritygroupsPostCreated, 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 internal operations network security groups API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new internal operations network security groups API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new internal operations network security groups API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type InternalV1OperationsNetworksecuritygroupsDeleteBadRequest

type InternalV1OperationsNetworksecuritygroupsDeleteBadRequest struct {
	Payload *models.Error
}

InternalV1OperationsNetworksecuritygroupsDeleteBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewInternalV1OperationsNetworksecuritygroupsDeleteBadRequest

func NewInternalV1OperationsNetworksecuritygroupsDeleteBadRequest() *InternalV1OperationsNetworksecuritygroupsDeleteBadRequest

NewInternalV1OperationsNetworksecuritygroupsDeleteBadRequest creates a InternalV1OperationsNetworksecuritygroupsDeleteBadRequest with default headers values

func (*InternalV1OperationsNetworksecuritygroupsDeleteBadRequest) Code

Code gets the status code for the internal v1 operations networksecuritygroups delete bad request response

func (*InternalV1OperationsNetworksecuritygroupsDeleteBadRequest) Error

func (*InternalV1OperationsNetworksecuritygroupsDeleteBadRequest) GetPayload

func (*InternalV1OperationsNetworksecuritygroupsDeleteBadRequest) IsClientError

IsClientError returns true when this internal v1 operations networksecuritygroups delete bad request response has a 4xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteBadRequest) IsCode

IsCode returns true when this internal v1 operations networksecuritygroups delete bad request response a status code equal to that given

func (*InternalV1OperationsNetworksecuritygroupsDeleteBadRequest) IsRedirect

IsRedirect returns true when this internal v1 operations networksecuritygroups delete bad request response has a 3xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteBadRequest) IsServerError

IsServerError returns true when this internal v1 operations networksecuritygroups delete bad request response has a 5xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteBadRequest) IsSuccess

IsSuccess returns true when this internal v1 operations networksecuritygroups delete bad request response has a 2xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteBadRequest) String

type InternalV1OperationsNetworksecuritygroupsDeleteForbidden

type InternalV1OperationsNetworksecuritygroupsDeleteForbidden struct {
	Payload *models.Error
}

InternalV1OperationsNetworksecuritygroupsDeleteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewInternalV1OperationsNetworksecuritygroupsDeleteForbidden

func NewInternalV1OperationsNetworksecuritygroupsDeleteForbidden() *InternalV1OperationsNetworksecuritygroupsDeleteForbidden

NewInternalV1OperationsNetworksecuritygroupsDeleteForbidden creates a InternalV1OperationsNetworksecuritygroupsDeleteForbidden with default headers values

func (*InternalV1OperationsNetworksecuritygroupsDeleteForbidden) Code

Code gets the status code for the internal v1 operations networksecuritygroups delete forbidden response

func (*InternalV1OperationsNetworksecuritygroupsDeleteForbidden) Error

func (*InternalV1OperationsNetworksecuritygroupsDeleteForbidden) GetPayload

func (*InternalV1OperationsNetworksecuritygroupsDeleteForbidden) IsClientError

IsClientError returns true when this internal v1 operations networksecuritygroups delete forbidden response has a 4xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteForbidden) IsCode

IsCode returns true when this internal v1 operations networksecuritygroups delete forbidden response a status code equal to that given

func (*InternalV1OperationsNetworksecuritygroupsDeleteForbidden) IsRedirect

IsRedirect returns true when this internal v1 operations networksecuritygroups delete forbidden response has a 3xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteForbidden) IsServerError

IsServerError returns true when this internal v1 operations networksecuritygroups delete forbidden response has a 5xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteForbidden) IsSuccess

IsSuccess returns true when this internal v1 operations networksecuritygroups delete forbidden response has a 2xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteForbidden) String

type InternalV1OperationsNetworksecuritygroupsDeleteGone

type InternalV1OperationsNetworksecuritygroupsDeleteGone struct {
	Payload *models.Error
}

InternalV1OperationsNetworksecuritygroupsDeleteGone describes a response with status code 410, with default header values.

Gone

func NewInternalV1OperationsNetworksecuritygroupsDeleteGone

func NewInternalV1OperationsNetworksecuritygroupsDeleteGone() *InternalV1OperationsNetworksecuritygroupsDeleteGone

NewInternalV1OperationsNetworksecuritygroupsDeleteGone creates a InternalV1OperationsNetworksecuritygroupsDeleteGone with default headers values

func (*InternalV1OperationsNetworksecuritygroupsDeleteGone) Code

Code gets the status code for the internal v1 operations networksecuritygroups delete gone response

func (*InternalV1OperationsNetworksecuritygroupsDeleteGone) Error

func (*InternalV1OperationsNetworksecuritygroupsDeleteGone) GetPayload

func (*InternalV1OperationsNetworksecuritygroupsDeleteGone) IsClientError

IsClientError returns true when this internal v1 operations networksecuritygroups delete gone response has a 4xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteGone) IsCode

IsCode returns true when this internal v1 operations networksecuritygroups delete gone response a status code equal to that given

func (*InternalV1OperationsNetworksecuritygroupsDeleteGone) IsRedirect

IsRedirect returns true when this internal v1 operations networksecuritygroups delete gone response has a 3xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteGone) IsServerError

IsServerError returns true when this internal v1 operations networksecuritygroups delete gone response has a 5xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteGone) IsSuccess

IsSuccess returns true when this internal v1 operations networksecuritygroups delete gone response has a 2xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteGone) String

type InternalV1OperationsNetworksecuritygroupsDeleteInternalServerError

type InternalV1OperationsNetworksecuritygroupsDeleteInternalServerError struct {
	Payload *models.Error
}

InternalV1OperationsNetworksecuritygroupsDeleteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewInternalV1OperationsNetworksecuritygroupsDeleteInternalServerError

func NewInternalV1OperationsNetworksecuritygroupsDeleteInternalServerError() *InternalV1OperationsNetworksecuritygroupsDeleteInternalServerError

NewInternalV1OperationsNetworksecuritygroupsDeleteInternalServerError creates a InternalV1OperationsNetworksecuritygroupsDeleteInternalServerError with default headers values

func (*InternalV1OperationsNetworksecuritygroupsDeleteInternalServerError) Code

Code gets the status code for the internal v1 operations networksecuritygroups delete internal server error response

func (*InternalV1OperationsNetworksecuritygroupsDeleteInternalServerError) Error

func (*InternalV1OperationsNetworksecuritygroupsDeleteInternalServerError) GetPayload

func (*InternalV1OperationsNetworksecuritygroupsDeleteInternalServerError) IsClientError

IsClientError returns true when this internal v1 operations networksecuritygroups delete internal server error response has a 4xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteInternalServerError) IsCode

IsCode returns true when this internal v1 operations networksecuritygroups delete internal server error response a status code equal to that given

func (*InternalV1OperationsNetworksecuritygroupsDeleteInternalServerError) IsRedirect

IsRedirect returns true when this internal v1 operations networksecuritygroups delete internal server error response has a 3xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteInternalServerError) IsServerError

IsServerError returns true when this internal v1 operations networksecuritygroups delete internal server error response has a 5xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteInternalServerError) IsSuccess

IsSuccess returns true when this internal v1 operations networksecuritygroups delete internal server error response has a 2xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteInternalServerError) String

type InternalV1OperationsNetworksecuritygroupsDeleteNoContent

type InternalV1OperationsNetworksecuritygroupsDeleteNoContent struct {
}

InternalV1OperationsNetworksecuritygroupsDeleteNoContent describes a response with status code 204, with default header values.

Deleted

func NewInternalV1OperationsNetworksecuritygroupsDeleteNoContent

func NewInternalV1OperationsNetworksecuritygroupsDeleteNoContent() *InternalV1OperationsNetworksecuritygroupsDeleteNoContent

NewInternalV1OperationsNetworksecuritygroupsDeleteNoContent creates a InternalV1OperationsNetworksecuritygroupsDeleteNoContent with default headers values

func (*InternalV1OperationsNetworksecuritygroupsDeleteNoContent) Code

Code gets the status code for the internal v1 operations networksecuritygroups delete no content response

func (*InternalV1OperationsNetworksecuritygroupsDeleteNoContent) Error

func (*InternalV1OperationsNetworksecuritygroupsDeleteNoContent) IsClientError

IsClientError returns true when this internal v1 operations networksecuritygroups delete no content response has a 4xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteNoContent) IsCode

IsCode returns true when this internal v1 operations networksecuritygroups delete no content response a status code equal to that given

func (*InternalV1OperationsNetworksecuritygroupsDeleteNoContent) IsRedirect

IsRedirect returns true when this internal v1 operations networksecuritygroups delete no content response has a 3xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteNoContent) IsServerError

IsServerError returns true when this internal v1 operations networksecuritygroups delete no content response has a 5xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteNoContent) IsSuccess

IsSuccess returns true when this internal v1 operations networksecuritygroups delete no content response has a 2xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteNoContent) String

type InternalV1OperationsNetworksecuritygroupsDeleteNotFound

type InternalV1OperationsNetworksecuritygroupsDeleteNotFound struct {
	Payload *models.Error
}

InternalV1OperationsNetworksecuritygroupsDeleteNotFound describes a response with status code 404, with default header values.

Not Found

func NewInternalV1OperationsNetworksecuritygroupsDeleteNotFound

func NewInternalV1OperationsNetworksecuritygroupsDeleteNotFound() *InternalV1OperationsNetworksecuritygroupsDeleteNotFound

NewInternalV1OperationsNetworksecuritygroupsDeleteNotFound creates a InternalV1OperationsNetworksecuritygroupsDeleteNotFound with default headers values

func (*InternalV1OperationsNetworksecuritygroupsDeleteNotFound) Code

Code gets the status code for the internal v1 operations networksecuritygroups delete not found response

func (*InternalV1OperationsNetworksecuritygroupsDeleteNotFound) Error

func (*InternalV1OperationsNetworksecuritygroupsDeleteNotFound) GetPayload

func (*InternalV1OperationsNetworksecuritygroupsDeleteNotFound) IsClientError

IsClientError returns true when this internal v1 operations networksecuritygroups delete not found response has a 4xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteNotFound) IsCode

IsCode returns true when this internal v1 operations networksecuritygroups delete not found response a status code equal to that given

func (*InternalV1OperationsNetworksecuritygroupsDeleteNotFound) IsRedirect

IsRedirect returns true when this internal v1 operations networksecuritygroups delete not found response has a 3xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteNotFound) IsServerError

IsServerError returns true when this internal v1 operations networksecuritygroups delete not found response has a 5xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteNotFound) IsSuccess

IsSuccess returns true when this internal v1 operations networksecuritygroups delete not found response has a 2xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteNotFound) String

type InternalV1OperationsNetworksecuritygroupsDeleteParams

type InternalV1OperationsNetworksecuritygroupsDeleteParams struct {

	/* ResourceCrn.

	   Encoded resource CRN, "/" to be encoded into "%2F", example 'crn:v1:staging:public:power-iaas:satloc_dal_clp2joc20ppo19876n50:a%2Fc7e6bd2517ad44eabbd61fcc25cf68d5:79bffc73-0035-4e7b-b34a-15da38927424:network:d8d51d44-053b-4df3-90b6-31fbe72ba600'
	*/
	ResourceCrn string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

InternalV1OperationsNetworksecuritygroupsDeleteParams contains all the parameters to send to the API endpoint

for the internal v1 operations networksecuritygroups delete operation.

Typically these are written to a http.Request.

func NewInternalV1OperationsNetworksecuritygroupsDeleteParams

func NewInternalV1OperationsNetworksecuritygroupsDeleteParams() *InternalV1OperationsNetworksecuritygroupsDeleteParams

NewInternalV1OperationsNetworksecuritygroupsDeleteParams creates a new InternalV1OperationsNetworksecuritygroupsDeleteParams 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 NewInternalV1OperationsNetworksecuritygroupsDeleteParamsWithContext

func NewInternalV1OperationsNetworksecuritygroupsDeleteParamsWithContext(ctx context.Context) *InternalV1OperationsNetworksecuritygroupsDeleteParams

NewInternalV1OperationsNetworksecuritygroupsDeleteParamsWithContext creates a new InternalV1OperationsNetworksecuritygroupsDeleteParams object with the ability to set a context for a request.

func NewInternalV1OperationsNetworksecuritygroupsDeleteParamsWithHTTPClient

func NewInternalV1OperationsNetworksecuritygroupsDeleteParamsWithHTTPClient(client *http.Client) *InternalV1OperationsNetworksecuritygroupsDeleteParams

NewInternalV1OperationsNetworksecuritygroupsDeleteParamsWithHTTPClient creates a new InternalV1OperationsNetworksecuritygroupsDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewInternalV1OperationsNetworksecuritygroupsDeleteParamsWithTimeout

func NewInternalV1OperationsNetworksecuritygroupsDeleteParamsWithTimeout(timeout time.Duration) *InternalV1OperationsNetworksecuritygroupsDeleteParams

NewInternalV1OperationsNetworksecuritygroupsDeleteParamsWithTimeout creates a new InternalV1OperationsNetworksecuritygroupsDeleteParams object with the ability to set a timeout on a request.

func (*InternalV1OperationsNetworksecuritygroupsDeleteParams) SetContext

SetContext adds the context to the internal v1 operations networksecuritygroups delete params

func (*InternalV1OperationsNetworksecuritygroupsDeleteParams) SetDefaults

SetDefaults hydrates default values in the internal v1 operations networksecuritygroups delete params (not the query body).

All values with no default are reset to their zero value.

func (*InternalV1OperationsNetworksecuritygroupsDeleteParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the internal v1 operations networksecuritygroups delete params

func (*InternalV1OperationsNetworksecuritygroupsDeleteParams) SetResourceCrn

func (o *InternalV1OperationsNetworksecuritygroupsDeleteParams) SetResourceCrn(resourceCrn string)

SetResourceCrn adds the resourceCrn to the internal v1 operations networksecuritygroups delete params

func (*InternalV1OperationsNetworksecuritygroupsDeleteParams) SetTimeout

SetTimeout adds the timeout to the internal v1 operations networksecuritygroups delete params

func (*InternalV1OperationsNetworksecuritygroupsDeleteParams) WithContext

WithContext adds the context to the internal v1 operations networksecuritygroups delete params

func (*InternalV1OperationsNetworksecuritygroupsDeleteParams) WithDefaults

WithDefaults hydrates default values in the internal v1 operations networksecuritygroups delete params (not the query body).

All values with no default are reset to their zero value.

func (*InternalV1OperationsNetworksecuritygroupsDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the internal v1 operations networksecuritygroups delete params

func (*InternalV1OperationsNetworksecuritygroupsDeleteParams) WithResourceCrn

WithResourceCrn adds the resourceCrn to the internal v1 operations networksecuritygroups delete params

func (*InternalV1OperationsNetworksecuritygroupsDeleteParams) WithTimeout

WithTimeout adds the timeout to the internal v1 operations networksecuritygroups delete params

func (*InternalV1OperationsNetworksecuritygroupsDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InternalV1OperationsNetworksecuritygroupsDeleteReader

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

InternalV1OperationsNetworksecuritygroupsDeleteReader is a Reader for the InternalV1OperationsNetworksecuritygroupsDelete structure.

func (*InternalV1OperationsNetworksecuritygroupsDeleteReader) ReadResponse

func (o *InternalV1OperationsNetworksecuritygroupsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type InternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests

type InternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests struct {
	Payload *models.Error
}

InternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewInternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests

func NewInternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests() *InternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests

NewInternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests creates a InternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests with default headers values

func (*InternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests) Code

Code gets the status code for the internal v1 operations networksecuritygroups delete too many requests response

func (*InternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests) Error

func (*InternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests) GetPayload

func (*InternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests) IsClientError

IsClientError returns true when this internal v1 operations networksecuritygroups delete too many requests response has a 4xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests) IsCode

IsCode returns true when this internal v1 operations networksecuritygroups delete too many requests response a status code equal to that given

func (*InternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests) IsRedirect

IsRedirect returns true when this internal v1 operations networksecuritygroups delete too many requests response has a 3xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests) IsServerError

IsServerError returns true when this internal v1 operations networksecuritygroups delete too many requests response has a 5xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests) IsSuccess

IsSuccess returns true when this internal v1 operations networksecuritygroups delete too many requests response has a 2xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteTooManyRequests) String

type InternalV1OperationsNetworksecuritygroupsDeleteUnauthorized

type InternalV1OperationsNetworksecuritygroupsDeleteUnauthorized struct {
	Payload *models.Error
}

InternalV1OperationsNetworksecuritygroupsDeleteUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewInternalV1OperationsNetworksecuritygroupsDeleteUnauthorized

func NewInternalV1OperationsNetworksecuritygroupsDeleteUnauthorized() *InternalV1OperationsNetworksecuritygroupsDeleteUnauthorized

NewInternalV1OperationsNetworksecuritygroupsDeleteUnauthorized creates a InternalV1OperationsNetworksecuritygroupsDeleteUnauthorized with default headers values

func (*InternalV1OperationsNetworksecuritygroupsDeleteUnauthorized) Code

Code gets the status code for the internal v1 operations networksecuritygroups delete unauthorized response

func (*InternalV1OperationsNetworksecuritygroupsDeleteUnauthorized) Error

func (*InternalV1OperationsNetworksecuritygroupsDeleteUnauthorized) GetPayload

func (*InternalV1OperationsNetworksecuritygroupsDeleteUnauthorized) IsClientError

IsClientError returns true when this internal v1 operations networksecuritygroups delete unauthorized response has a 4xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteUnauthorized) IsCode

IsCode returns true when this internal v1 operations networksecuritygroups delete unauthorized response a status code equal to that given

func (*InternalV1OperationsNetworksecuritygroupsDeleteUnauthorized) IsRedirect

IsRedirect returns true when this internal v1 operations networksecuritygroups delete unauthorized response has a 3xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteUnauthorized) IsServerError

IsServerError returns true when this internal v1 operations networksecuritygroups delete unauthorized response has a 5xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteUnauthorized) IsSuccess

IsSuccess returns true when this internal v1 operations networksecuritygroups delete unauthorized response has a 2xx status code

func (*InternalV1OperationsNetworksecuritygroupsDeleteUnauthorized) String

type InternalV1OperationsNetworksecuritygroupsPostBadRequest

type InternalV1OperationsNetworksecuritygroupsPostBadRequest struct {
	Payload *models.Error
}

InternalV1OperationsNetworksecuritygroupsPostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewInternalV1OperationsNetworksecuritygroupsPostBadRequest

func NewInternalV1OperationsNetworksecuritygroupsPostBadRequest() *InternalV1OperationsNetworksecuritygroupsPostBadRequest

NewInternalV1OperationsNetworksecuritygroupsPostBadRequest creates a InternalV1OperationsNetworksecuritygroupsPostBadRequest with default headers values

func (*InternalV1OperationsNetworksecuritygroupsPostBadRequest) Code

Code gets the status code for the internal v1 operations networksecuritygroups post bad request response

func (*InternalV1OperationsNetworksecuritygroupsPostBadRequest) Error

func (*InternalV1OperationsNetworksecuritygroupsPostBadRequest) GetPayload

func (*InternalV1OperationsNetworksecuritygroupsPostBadRequest) IsClientError

IsClientError returns true when this internal v1 operations networksecuritygroups post bad request response has a 4xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostBadRequest) IsCode

IsCode returns true when this internal v1 operations networksecuritygroups post bad request response a status code equal to that given

func (*InternalV1OperationsNetworksecuritygroupsPostBadRequest) IsRedirect

IsRedirect returns true when this internal v1 operations networksecuritygroups post bad request response has a 3xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostBadRequest) IsServerError

IsServerError returns true when this internal v1 operations networksecuritygroups post bad request response has a 5xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostBadRequest) IsSuccess

IsSuccess returns true when this internal v1 operations networksecuritygroups post bad request response has a 2xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostBadRequest) String

type InternalV1OperationsNetworksecuritygroupsPostCreated

type InternalV1OperationsNetworksecuritygroupsPostCreated struct {
	Payload *models.InternalOperationsResponse
}

InternalV1OperationsNetworksecuritygroupsPostCreated describes a response with status code 201, with default header values.

Created

func NewInternalV1OperationsNetworksecuritygroupsPostCreated

func NewInternalV1OperationsNetworksecuritygroupsPostCreated() *InternalV1OperationsNetworksecuritygroupsPostCreated

NewInternalV1OperationsNetworksecuritygroupsPostCreated creates a InternalV1OperationsNetworksecuritygroupsPostCreated with default headers values

func (*InternalV1OperationsNetworksecuritygroupsPostCreated) Code

Code gets the status code for the internal v1 operations networksecuritygroups post created response

func (*InternalV1OperationsNetworksecuritygroupsPostCreated) Error

func (*InternalV1OperationsNetworksecuritygroupsPostCreated) GetPayload

func (*InternalV1OperationsNetworksecuritygroupsPostCreated) IsClientError

IsClientError returns true when this internal v1 operations networksecuritygroups post created response has a 4xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostCreated) IsCode

IsCode returns true when this internal v1 operations networksecuritygroups post created response a status code equal to that given

func (*InternalV1OperationsNetworksecuritygroupsPostCreated) IsRedirect

IsRedirect returns true when this internal v1 operations networksecuritygroups post created response has a 3xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostCreated) IsServerError

IsServerError returns true when this internal v1 operations networksecuritygroups post created response has a 5xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostCreated) IsSuccess

IsSuccess returns true when this internal v1 operations networksecuritygroups post created response has a 2xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostCreated) String

type InternalV1OperationsNetworksecuritygroupsPostForbidden

type InternalV1OperationsNetworksecuritygroupsPostForbidden struct {
	Payload *models.Error
}

InternalV1OperationsNetworksecuritygroupsPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewInternalV1OperationsNetworksecuritygroupsPostForbidden

func NewInternalV1OperationsNetworksecuritygroupsPostForbidden() *InternalV1OperationsNetworksecuritygroupsPostForbidden

NewInternalV1OperationsNetworksecuritygroupsPostForbidden creates a InternalV1OperationsNetworksecuritygroupsPostForbidden with default headers values

func (*InternalV1OperationsNetworksecuritygroupsPostForbidden) Code

Code gets the status code for the internal v1 operations networksecuritygroups post forbidden response

func (*InternalV1OperationsNetworksecuritygroupsPostForbidden) Error

func (*InternalV1OperationsNetworksecuritygroupsPostForbidden) GetPayload

func (*InternalV1OperationsNetworksecuritygroupsPostForbidden) IsClientError

IsClientError returns true when this internal v1 operations networksecuritygroups post forbidden response has a 4xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostForbidden) IsCode

IsCode returns true when this internal v1 operations networksecuritygroups post forbidden response a status code equal to that given

func (*InternalV1OperationsNetworksecuritygroupsPostForbidden) IsRedirect

IsRedirect returns true when this internal v1 operations networksecuritygroups post forbidden response has a 3xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostForbidden) IsServerError

IsServerError returns true when this internal v1 operations networksecuritygroups post forbidden response has a 5xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostForbidden) IsSuccess

IsSuccess returns true when this internal v1 operations networksecuritygroups post forbidden response has a 2xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostForbidden) String

type InternalV1OperationsNetworksecuritygroupsPostInternalServerError

type InternalV1OperationsNetworksecuritygroupsPostInternalServerError struct {
	Payload *models.Error
}

InternalV1OperationsNetworksecuritygroupsPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewInternalV1OperationsNetworksecuritygroupsPostInternalServerError

func NewInternalV1OperationsNetworksecuritygroupsPostInternalServerError() *InternalV1OperationsNetworksecuritygroupsPostInternalServerError

NewInternalV1OperationsNetworksecuritygroupsPostInternalServerError creates a InternalV1OperationsNetworksecuritygroupsPostInternalServerError with default headers values

func (*InternalV1OperationsNetworksecuritygroupsPostInternalServerError) Code

Code gets the status code for the internal v1 operations networksecuritygroups post internal server error response

func (*InternalV1OperationsNetworksecuritygroupsPostInternalServerError) Error

func (*InternalV1OperationsNetworksecuritygroupsPostInternalServerError) GetPayload

func (*InternalV1OperationsNetworksecuritygroupsPostInternalServerError) IsClientError

IsClientError returns true when this internal v1 operations networksecuritygroups post internal server error response has a 4xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostInternalServerError) IsCode

IsCode returns true when this internal v1 operations networksecuritygroups post internal server error response a status code equal to that given

func (*InternalV1OperationsNetworksecuritygroupsPostInternalServerError) IsRedirect

IsRedirect returns true when this internal v1 operations networksecuritygroups post internal server error response has a 3xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostInternalServerError) IsServerError

IsServerError returns true when this internal v1 operations networksecuritygroups post internal server error response has a 5xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostInternalServerError) IsSuccess

IsSuccess returns true when this internal v1 operations networksecuritygroups post internal server error response has a 2xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostInternalServerError) String

type InternalV1OperationsNetworksecuritygroupsPostParams

type InternalV1OperationsNetworksecuritygroupsPostParams struct {

	/* Body.

	   Parameters for creating a Network Security Group CRN
	*/
	Body *models.InternalOperationsRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

InternalV1OperationsNetworksecuritygroupsPostParams contains all the parameters to send to the API endpoint

for the internal v1 operations networksecuritygroups post operation.

Typically these are written to a http.Request.

func NewInternalV1OperationsNetworksecuritygroupsPostParams

func NewInternalV1OperationsNetworksecuritygroupsPostParams() *InternalV1OperationsNetworksecuritygroupsPostParams

NewInternalV1OperationsNetworksecuritygroupsPostParams creates a new InternalV1OperationsNetworksecuritygroupsPostParams 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 NewInternalV1OperationsNetworksecuritygroupsPostParamsWithContext

func NewInternalV1OperationsNetworksecuritygroupsPostParamsWithContext(ctx context.Context) *InternalV1OperationsNetworksecuritygroupsPostParams

NewInternalV1OperationsNetworksecuritygroupsPostParamsWithContext creates a new InternalV1OperationsNetworksecuritygroupsPostParams object with the ability to set a context for a request.

func NewInternalV1OperationsNetworksecuritygroupsPostParamsWithHTTPClient

func NewInternalV1OperationsNetworksecuritygroupsPostParamsWithHTTPClient(client *http.Client) *InternalV1OperationsNetworksecuritygroupsPostParams

NewInternalV1OperationsNetworksecuritygroupsPostParamsWithHTTPClient creates a new InternalV1OperationsNetworksecuritygroupsPostParams object with the ability to set a custom HTTPClient for a request.

func NewInternalV1OperationsNetworksecuritygroupsPostParamsWithTimeout

func NewInternalV1OperationsNetworksecuritygroupsPostParamsWithTimeout(timeout time.Duration) *InternalV1OperationsNetworksecuritygroupsPostParams

NewInternalV1OperationsNetworksecuritygroupsPostParamsWithTimeout creates a new InternalV1OperationsNetworksecuritygroupsPostParams object with the ability to set a timeout on a request.

func (*InternalV1OperationsNetworksecuritygroupsPostParams) SetBody

SetBody adds the body to the internal v1 operations networksecuritygroups post params

func (*InternalV1OperationsNetworksecuritygroupsPostParams) SetContext

SetContext adds the context to the internal v1 operations networksecuritygroups post params

func (*InternalV1OperationsNetworksecuritygroupsPostParams) SetDefaults

SetDefaults hydrates default values in the internal v1 operations networksecuritygroups post params (not the query body).

All values with no default are reset to their zero value.

func (*InternalV1OperationsNetworksecuritygroupsPostParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the internal v1 operations networksecuritygroups post params

func (*InternalV1OperationsNetworksecuritygroupsPostParams) SetTimeout

SetTimeout adds the timeout to the internal v1 operations networksecuritygroups post params

func (*InternalV1OperationsNetworksecuritygroupsPostParams) WithBody

WithBody adds the body to the internal v1 operations networksecuritygroups post params

func (*InternalV1OperationsNetworksecuritygroupsPostParams) WithContext

WithContext adds the context to the internal v1 operations networksecuritygroups post params

func (*InternalV1OperationsNetworksecuritygroupsPostParams) WithDefaults

WithDefaults hydrates default values in the internal v1 operations networksecuritygroups post params (not the query body).

All values with no default are reset to their zero value.

func (*InternalV1OperationsNetworksecuritygroupsPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the internal v1 operations networksecuritygroups post params

func (*InternalV1OperationsNetworksecuritygroupsPostParams) WithTimeout

WithTimeout adds the timeout to the internal v1 operations networksecuritygroups post params

func (*InternalV1OperationsNetworksecuritygroupsPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InternalV1OperationsNetworksecuritygroupsPostReader

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

InternalV1OperationsNetworksecuritygroupsPostReader is a Reader for the InternalV1OperationsNetworksecuritygroupsPost structure.

func (*InternalV1OperationsNetworksecuritygroupsPostReader) ReadResponse

func (o *InternalV1OperationsNetworksecuritygroupsPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type InternalV1OperationsNetworksecuritygroupsPostTooManyRequests

type InternalV1OperationsNetworksecuritygroupsPostTooManyRequests struct {
	Payload *models.Error
}

InternalV1OperationsNetworksecuritygroupsPostTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewInternalV1OperationsNetworksecuritygroupsPostTooManyRequests

func NewInternalV1OperationsNetworksecuritygroupsPostTooManyRequests() *InternalV1OperationsNetworksecuritygroupsPostTooManyRequests

NewInternalV1OperationsNetworksecuritygroupsPostTooManyRequests creates a InternalV1OperationsNetworksecuritygroupsPostTooManyRequests with default headers values

func (*InternalV1OperationsNetworksecuritygroupsPostTooManyRequests) Code

Code gets the status code for the internal v1 operations networksecuritygroups post too many requests response

func (*InternalV1OperationsNetworksecuritygroupsPostTooManyRequests) Error

func (*InternalV1OperationsNetworksecuritygroupsPostTooManyRequests) GetPayload

func (*InternalV1OperationsNetworksecuritygroupsPostTooManyRequests) IsClientError

IsClientError returns true when this internal v1 operations networksecuritygroups post too many requests response has a 4xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostTooManyRequests) IsCode

IsCode returns true when this internal v1 operations networksecuritygroups post too many requests response a status code equal to that given

func (*InternalV1OperationsNetworksecuritygroupsPostTooManyRequests) IsRedirect

IsRedirect returns true when this internal v1 operations networksecuritygroups post too many requests response has a 3xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostTooManyRequests) IsServerError

IsServerError returns true when this internal v1 operations networksecuritygroups post too many requests response has a 5xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostTooManyRequests) IsSuccess

IsSuccess returns true when this internal v1 operations networksecuritygroups post too many requests response has a 2xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostTooManyRequests) String

type InternalV1OperationsNetworksecuritygroupsPostUnauthorized

type InternalV1OperationsNetworksecuritygroupsPostUnauthorized struct {
	Payload *models.Error
}

InternalV1OperationsNetworksecuritygroupsPostUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewInternalV1OperationsNetworksecuritygroupsPostUnauthorized

func NewInternalV1OperationsNetworksecuritygroupsPostUnauthorized() *InternalV1OperationsNetworksecuritygroupsPostUnauthorized

NewInternalV1OperationsNetworksecuritygroupsPostUnauthorized creates a InternalV1OperationsNetworksecuritygroupsPostUnauthorized with default headers values

func (*InternalV1OperationsNetworksecuritygroupsPostUnauthorized) Code

Code gets the status code for the internal v1 operations networksecuritygroups post unauthorized response

func (*InternalV1OperationsNetworksecuritygroupsPostUnauthorized) Error

func (*InternalV1OperationsNetworksecuritygroupsPostUnauthorized) GetPayload

func (*InternalV1OperationsNetworksecuritygroupsPostUnauthorized) IsClientError

IsClientError returns true when this internal v1 operations networksecuritygroups post unauthorized response has a 4xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostUnauthorized) IsCode

IsCode returns true when this internal v1 operations networksecuritygroups post unauthorized response a status code equal to that given

func (*InternalV1OperationsNetworksecuritygroupsPostUnauthorized) IsRedirect

IsRedirect returns true when this internal v1 operations networksecuritygroups post unauthorized response has a 3xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostUnauthorized) IsServerError

IsServerError returns true when this internal v1 operations networksecuritygroups post unauthorized response has a 5xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostUnauthorized) IsSuccess

IsSuccess returns true when this internal v1 operations networksecuritygroups post unauthorized response has a 2xx status code

func (*InternalV1OperationsNetworksecuritygroupsPostUnauthorized) String

Jump to

Keyboard shortcuts

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