Documentation ¶
Overview ¶
Package serverless provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen/v2 version v2.1.0 DO NOT EDIT.
Index ¶
- Constants
- func NewCreateElasticsearchProjectRequest(server string, body CreateElasticsearchProjectJSONRequestBody) (*http.Request, error)
- func NewCreateElasticsearchProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateObservabilityProjectRequest(server string, body CreateObservabilityProjectJSONRequestBody) (*http.Request, error)
- func NewCreateObservabilityProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSecurityProjectRequest(server string, body CreateSecurityProjectJSONRequestBody) (*http.Request, error)
- func NewCreateSecurityProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteElasticsearchProjectRequest(server string, id ProjectID, params *DeleteElasticsearchProjectParams) (*http.Request, error)
- func NewDeleteObservabilityProjectRequest(server string, id ProjectID, params *DeleteObservabilityProjectParams) (*http.Request, error)
- func NewDeleteSecurityProjectRequest(server string, id ProjectID, params *DeleteSecurityProjectParams) (*http.Request, error)
- func NewGetElasticsearchProjectRequest(server string, id ProjectID) (*http.Request, error)
- func NewGetElasticsearchProjectRolesRequest(server string, id ProjectID) (*http.Request, error)
- func NewGetElasticsearchProjectStatusRequest(server string, id ProjectID) (*http.Request, error)
- func NewGetObservabilityProjectRequest(server string, id ProjectID) (*http.Request, error)
- func NewGetObservabilityProjectRolesRequest(server string, id ProjectID) (*http.Request, error)
- func NewGetObservabilityProjectStatusRequest(server string, id ProjectID) (*http.Request, error)
- func NewGetRegionRequest(server string, id RegionID) (*http.Request, error)
- func NewGetSecurityProjectRequest(server string, id ProjectID) (*http.Request, error)
- func NewGetSecurityProjectRolesRequest(server string, id ProjectID) (*http.Request, error)
- func NewGetSecurityProjectStatusRequest(server string, id ProjectID) (*http.Request, error)
- func NewListElasticsearchProjectsRequest(server string, params *ListElasticsearchProjectsParams) (*http.Request, error)
- func NewListObservabilityProjectsRequest(server string, params *ListObservabilityProjectsParams) (*http.Request, error)
- func NewListRegionsRequest(server string) (*http.Request, error)
- func NewListSecurityProjectsRequest(server string, params *ListSecurityProjectsParams) (*http.Request, error)
- func NewPatchElasticsearchProjectRequest(server string, id ProjectID, params *PatchElasticsearchProjectParams, ...) (*http.Request, error)
- func NewPatchElasticsearchProjectRequestWithBody(server string, id ProjectID, params *PatchElasticsearchProjectParams, ...) (*http.Request, error)
- func NewPatchObservabilityProjectRequest(server string, id ProjectID, params *PatchObservabilityProjectParams, ...) (*http.Request, error)
- func NewPatchObservabilityProjectRequestWithBody(server string, id ProjectID, params *PatchObservabilityProjectParams, ...) (*http.Request, error)
- func NewPatchSecurityProjectRequest(server string, id ProjectID, params *PatchSecurityProjectParams, ...) (*http.Request, error)
- func NewPatchSecurityProjectRequestWithBody(server string, id ProjectID, params *PatchSecurityProjectParams, ...) (*http.Request, error)
- func NewResetElasticsearchProjectCredentialsRequest(server string, id ProjectID, ...) (*http.Request, error)
- func NewResetObservabilityProjectCredentialsRequest(server string, id ProjectID, ...) (*http.Request, error)
- func NewResetSecurityProjectCredentialsRequest(server string, id ProjectID, params *ResetSecurityProjectCredentialsParams) (*http.Request, error)
- func NewResumeElasticsearchProjectRequest(server string, id ProjectID, params *ResumeElasticsearchProjectParams) (*http.Request, error)
- func NewResumeObservabilityProjectRequest(server string, id ProjectID, params *ResumeObservabilityProjectParams) (*http.Request, error)
- func NewResumeSecurityProjectRequest(server string, id ProjectID, params *ResumeSecurityProjectParams) (*http.Request, error)
- type BadRequest
- type CSP
- type Client
- func (c *Client) CreateElasticsearchProject(ctx context.Context, body CreateElasticsearchProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateElasticsearchProjectWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateObservabilityProject(ctx context.Context, body CreateObservabilityProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateObservabilityProjectWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSecurityProject(ctx context.Context, body CreateSecurityProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSecurityProjectWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteElasticsearchProject(ctx context.Context, id ProjectID, params *DeleteElasticsearchProjectParams, ...) (*http.Response, error)
- func (c *Client) DeleteObservabilityProject(ctx context.Context, id ProjectID, params *DeleteObservabilityProjectParams, ...) (*http.Response, error)
- func (c *Client) DeleteSecurityProject(ctx context.Context, id ProjectID, params *DeleteSecurityProjectParams, ...) (*http.Response, error)
- func (c *Client) GetElasticsearchProject(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetElasticsearchProjectRoles(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetElasticsearchProjectStatus(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetObservabilityProject(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetObservabilityProjectRoles(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetObservabilityProjectStatus(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRegion(ctx context.Context, id RegionID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSecurityProject(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSecurityProjectRoles(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSecurityProjectStatus(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListElasticsearchProjects(ctx context.Context, params *ListElasticsearchProjectsParams, ...) (*http.Response, error)
- func (c *Client) ListObservabilityProjects(ctx context.Context, params *ListObservabilityProjectsParams, ...) (*http.Response, error)
- func (c *Client) ListRegions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSecurityProjects(ctx context.Context, params *ListSecurityProjectsParams, ...) (*http.Response, error)
- func (c *Client) PatchElasticsearchProject(ctx context.Context, id ProjectID, params *PatchElasticsearchProjectParams, ...) (*http.Response, error)
- func (c *Client) PatchElasticsearchProjectWithBody(ctx context.Context, id ProjectID, params *PatchElasticsearchProjectParams, ...) (*http.Response, error)
- func (c *Client) PatchObservabilityProject(ctx context.Context, id ProjectID, params *PatchObservabilityProjectParams, ...) (*http.Response, error)
- func (c *Client) PatchObservabilityProjectWithBody(ctx context.Context, id ProjectID, params *PatchObservabilityProjectParams, ...) (*http.Response, error)
- func (c *Client) PatchSecurityProject(ctx context.Context, id ProjectID, params *PatchSecurityProjectParams, ...) (*http.Response, error)
- func (c *Client) PatchSecurityProjectWithBody(ctx context.Context, id ProjectID, params *PatchSecurityProjectParams, ...) (*http.Response, error)
- func (c *Client) ResetElasticsearchProjectCredentials(ctx context.Context, id ProjectID, ...) (*http.Response, error)
- func (c *Client) ResetObservabilityProjectCredentials(ctx context.Context, id ProjectID, ...) (*http.Response, error)
- func (c *Client) ResetSecurityProjectCredentials(ctx context.Context, id ProjectID, ...) (*http.Response, error)
- func (c *Client) ResumeElasticsearchProject(ctx context.Context, id ProjectID, params *ResumeElasticsearchProjectParams, ...) (*http.Response, error)
- func (c *Client) ResumeObservabilityProject(ctx context.Context, id ProjectID, params *ResumeObservabilityProjectParams, ...) (*http.Response, error)
- func (c *Client) ResumeSecurityProject(ctx context.Context, id ProjectID, params *ResumeSecurityProjectParams, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreateElasticsearchProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateElasticsearchProjectResponse, error)
- func (c *ClientWithResponses) CreateElasticsearchProjectWithResponse(ctx context.Context, body CreateElasticsearchProjectJSONRequestBody, ...) (*CreateElasticsearchProjectResponse, error)
- func (c *ClientWithResponses) CreateObservabilityProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateObservabilityProjectResponse, error)
- func (c *ClientWithResponses) CreateObservabilityProjectWithResponse(ctx context.Context, body CreateObservabilityProjectJSONRequestBody, ...) (*CreateObservabilityProjectResponse, error)
- func (c *ClientWithResponses) CreateSecurityProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSecurityProjectResponse, error)
- func (c *ClientWithResponses) CreateSecurityProjectWithResponse(ctx context.Context, body CreateSecurityProjectJSONRequestBody, ...) (*CreateSecurityProjectResponse, error)
- func (c *ClientWithResponses) DeleteElasticsearchProjectWithResponse(ctx context.Context, id ProjectID, params *DeleteElasticsearchProjectParams, ...) (*DeleteElasticsearchProjectResponse, error)
- func (c *ClientWithResponses) DeleteObservabilityProjectWithResponse(ctx context.Context, id ProjectID, params *DeleteObservabilityProjectParams, ...) (*DeleteObservabilityProjectResponse, error)
- func (c *ClientWithResponses) DeleteSecurityProjectWithResponse(ctx context.Context, id ProjectID, params *DeleteSecurityProjectParams, ...) (*DeleteSecurityProjectResponse, error)
- func (c *ClientWithResponses) GetElasticsearchProjectRolesWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetElasticsearchProjectRolesResponse, error)
- func (c *ClientWithResponses) GetElasticsearchProjectStatusWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetElasticsearchProjectStatusResponse, error)
- func (c *ClientWithResponses) GetElasticsearchProjectWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetElasticsearchProjectResponse, error)
- func (c *ClientWithResponses) GetObservabilityProjectRolesWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetObservabilityProjectRolesResponse, error)
- func (c *ClientWithResponses) GetObservabilityProjectStatusWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetObservabilityProjectStatusResponse, error)
- func (c *ClientWithResponses) GetObservabilityProjectWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetObservabilityProjectResponse, error)
- func (c *ClientWithResponses) GetRegionWithResponse(ctx context.Context, id RegionID, reqEditors ...RequestEditorFn) (*GetRegionResponse, error)
- func (c *ClientWithResponses) GetSecurityProjectRolesWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetSecurityProjectRolesResponse, error)
- func (c *ClientWithResponses) GetSecurityProjectStatusWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetSecurityProjectStatusResponse, error)
- func (c *ClientWithResponses) GetSecurityProjectWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetSecurityProjectResponse, error)
- func (c *ClientWithResponses) ListElasticsearchProjectsWithResponse(ctx context.Context, params *ListElasticsearchProjectsParams, ...) (*ListElasticsearchProjectsResponse, error)
- func (c *ClientWithResponses) ListObservabilityProjectsWithResponse(ctx context.Context, params *ListObservabilityProjectsParams, ...) (*ListObservabilityProjectsResponse, error)
- func (c *ClientWithResponses) ListRegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRegionsResponse, error)
- func (c *ClientWithResponses) ListSecurityProjectsWithResponse(ctx context.Context, params *ListSecurityProjectsParams, ...) (*ListSecurityProjectsResponse, error)
- func (c *ClientWithResponses) PatchElasticsearchProjectWithBodyWithResponse(ctx context.Context, id ProjectID, params *PatchElasticsearchProjectParams, ...) (*PatchElasticsearchProjectResponse, error)
- func (c *ClientWithResponses) PatchElasticsearchProjectWithResponse(ctx context.Context, id ProjectID, params *PatchElasticsearchProjectParams, ...) (*PatchElasticsearchProjectResponse, error)
- func (c *ClientWithResponses) PatchObservabilityProjectWithBodyWithResponse(ctx context.Context, id ProjectID, params *PatchObservabilityProjectParams, ...) (*PatchObservabilityProjectResponse, error)
- func (c *ClientWithResponses) PatchObservabilityProjectWithResponse(ctx context.Context, id ProjectID, params *PatchObservabilityProjectParams, ...) (*PatchObservabilityProjectResponse, error)
- func (c *ClientWithResponses) PatchSecurityProjectWithBodyWithResponse(ctx context.Context, id ProjectID, params *PatchSecurityProjectParams, ...) (*PatchSecurityProjectResponse, error)
- func (c *ClientWithResponses) PatchSecurityProjectWithResponse(ctx context.Context, id ProjectID, params *PatchSecurityProjectParams, ...) (*PatchSecurityProjectResponse, error)
- func (c *ClientWithResponses) ResetElasticsearchProjectCredentialsWithResponse(ctx context.Context, id ProjectID, ...) (*ResetElasticsearchProjectCredentialsResponse, error)
- func (c *ClientWithResponses) ResetObservabilityProjectCredentialsWithResponse(ctx context.Context, id ProjectID, ...) (*ResetObservabilityProjectCredentialsResponse, error)
- func (c *ClientWithResponses) ResetSecurityProjectCredentialsWithResponse(ctx context.Context, id ProjectID, ...) (*ResetSecurityProjectCredentialsResponse, error)
- func (c *ClientWithResponses) ResumeElasticsearchProjectWithResponse(ctx context.Context, id ProjectID, params *ResumeElasticsearchProjectParams, ...) (*ResumeElasticsearchProjectResponse, error)
- func (c *ClientWithResponses) ResumeObservabilityProjectWithResponse(ctx context.Context, id ProjectID, params *ResumeObservabilityProjectParams, ...) (*ResumeObservabilityProjectResponse, error)
- func (c *ClientWithResponses) ResumeSecurityProjectWithResponse(ctx context.Context, id ProjectID, params *ResumeSecurityProjectParams, ...) (*ResumeSecurityProjectResponse, error)
- type ClientWithResponsesInterface
- type CloudID
- type CreateElasticsearchProjectJSONRequestBody
- type CreateElasticsearchProjectRequest
- type CreateElasticsearchProjectResponse
- type CreateObservabilityProjectJSONRequestBody
- type CreateObservabilityProjectRequest
- type CreateObservabilityProjectResponse
- type CreateSecurityProjectJSONRequestBody
- type CreateSecurityProjectRequest
- type CreateSecurityProjectResponse
- type DeleteElasticsearchProjectParams
- type DeleteElasticsearchProjectResponse
- type DeleteObservabilityProjectParams
- type DeleteObservabilityProjectResponse
- type DeleteSecurityProjectParams
- type DeleteSecurityProjectResponse
- type ElasticsearchOptimizedFor
- type ElasticsearchProject
- type ElasticsearchProjectCreated
- type ElasticsearchProjectCreatedType
- type ElasticsearchProjectEndpoints
- type ElasticsearchProjectList
- type ElasticsearchProjectType
- type ElasticsearchSearchLake
- type ErrorResponse
- type GetElasticsearchProjectResponse
- type GetElasticsearchProjectRolesResponse
- type GetElasticsearchProjectStatusResponse
- type GetObservabilityProjectResponse
- type GetObservabilityProjectRolesResponse
- type GetObservabilityProjectStatusResponse
- type GetRegionResponse
- type GetSecurityProjectResponse
- type GetSecurityProjectRolesResponse
- type GetSecurityProjectStatusResponse
- type HttpRequestDoer
- type ListElasticsearchProjectsParams
- type ListElasticsearchProjectsResponse
- type ListObservabilityProjectsParams
- type ListObservabilityProjectsResponse
- type ListRegionsResponse
- type ListSecurityProjectsParams
- type ListSecurityProjectsResponse
- type MultiErrorResponse
- type NotFound
- type ObservabilityProject
- type ObservabilityProjectCreated
- type ObservabilityProjectCreatedType
- type ObservabilityProjectEndpoints
- type ObservabilityProjectList
- type ObservabilityProjectType
- type OptionalElasticsearchSearchLake
- type OptionalSecurityAdminFeaturesPackage
- type PatchElasticsearchProjectJSONRequestBody
- type PatchElasticsearchProjectParams
- type PatchElasticsearchProjectRequest
- type PatchElasticsearchProjectResponse
- type PatchObservabilityProjectJSONRequestBody
- type PatchObservabilityProjectParams
- type PatchObservabilityProjectRequest
- type PatchObservabilityProjectResponse
- type PatchSecurityProjectJSONRequestBody
- type PatchSecurityProjectParams
- type PatchSecurityProjectRequest
- type PatchSecurityProjectResponse
- type ProjectAlias
- type ProjectCredentials
- type ProjectID
- type ProjectMetadata
- type ProjectName
- type ProjectRole
- type ProjectRoleDescription
- type ProjectRoleDetails
- type ProjectRoles
- type ProjectRolesByProjectID
- type ProjectStatus
- type ProjectStatusPhase
- type Region
- type RegionID
- type RequestEditorFn
- type ResetElasticsearchProjectCredentialsParams
- type ResetElasticsearchProjectCredentialsResponse
- type ResetObservabilityProjectCredentialsParams
- type ResetObservabilityProjectCredentialsResponse
- type ResetSecurityProjectCredentialsParams
- type ResetSecurityProjectCredentialsResponse
- type ResumeElasticsearchProjectParams
- type ResumeElasticsearchProjectResponse
- type ResumeObservabilityProjectParams
- type ResumeObservabilityProjectResponse
- type ResumeSecurityProjectParams
- type ResumeSecurityProjectResponse
- type SecurityAdminFeaturesPackage
- type SecurityProductLine
- type SecurityProductTier
- type SecurityProductType
- type SecurityProject
- type SecurityProjectCreated
- type SecurityProjectCreatedType
- type SecurityProjectEndpoints
- type SecurityProjectList
- type SecurityProjectType
- type Unauthorized
- type UnprocessableEntity
- type UserID
Constants ¶
const (
ApiKeyScopes = "apiKey.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewCreateElasticsearchProjectRequest ¶
func NewCreateElasticsearchProjectRequest(server string, body CreateElasticsearchProjectJSONRequestBody) (*http.Request, error)
NewCreateElasticsearchProjectRequest calls the generic CreateElasticsearchProject builder with application/json body
func NewCreateElasticsearchProjectRequestWithBody ¶
func NewCreateElasticsearchProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateElasticsearchProjectRequestWithBody generates requests for CreateElasticsearchProject with any type of body
func NewCreateObservabilityProjectRequest ¶
func NewCreateObservabilityProjectRequest(server string, body CreateObservabilityProjectJSONRequestBody) (*http.Request, error)
NewCreateObservabilityProjectRequest calls the generic CreateObservabilityProject builder with application/json body
func NewCreateObservabilityProjectRequestWithBody ¶
func NewCreateObservabilityProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateObservabilityProjectRequestWithBody generates requests for CreateObservabilityProject with any type of body
func NewCreateSecurityProjectRequest ¶
func NewCreateSecurityProjectRequest(server string, body CreateSecurityProjectJSONRequestBody) (*http.Request, error)
NewCreateSecurityProjectRequest calls the generic CreateSecurityProject builder with application/json body
func NewCreateSecurityProjectRequestWithBody ¶
func NewCreateSecurityProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSecurityProjectRequestWithBody generates requests for CreateSecurityProject with any type of body
func NewDeleteElasticsearchProjectRequest ¶
func NewDeleteElasticsearchProjectRequest(server string, id ProjectID, params *DeleteElasticsearchProjectParams) (*http.Request, error)
NewDeleteElasticsearchProjectRequest generates requests for DeleteElasticsearchProject
func NewDeleteObservabilityProjectRequest ¶
func NewDeleteObservabilityProjectRequest(server string, id ProjectID, params *DeleteObservabilityProjectParams) (*http.Request, error)
NewDeleteObservabilityProjectRequest generates requests for DeleteObservabilityProject
func NewDeleteSecurityProjectRequest ¶
func NewDeleteSecurityProjectRequest(server string, id ProjectID, params *DeleteSecurityProjectParams) (*http.Request, error)
NewDeleteSecurityProjectRequest generates requests for DeleteSecurityProject
func NewGetElasticsearchProjectRequest ¶
NewGetElasticsearchProjectRequest generates requests for GetElasticsearchProject
func NewGetElasticsearchProjectRolesRequest ¶
NewGetElasticsearchProjectRolesRequest generates requests for GetElasticsearchProjectRoles
func NewGetElasticsearchProjectStatusRequest ¶
NewGetElasticsearchProjectStatusRequest generates requests for GetElasticsearchProjectStatus
func NewGetObservabilityProjectRequest ¶
NewGetObservabilityProjectRequest generates requests for GetObservabilityProject
func NewGetObservabilityProjectRolesRequest ¶
NewGetObservabilityProjectRolesRequest generates requests for GetObservabilityProjectRoles
func NewGetObservabilityProjectStatusRequest ¶
NewGetObservabilityProjectStatusRequest generates requests for GetObservabilityProjectStatus
func NewGetRegionRequest ¶
NewGetRegionRequest generates requests for GetRegion
func NewGetSecurityProjectRequest ¶
NewGetSecurityProjectRequest generates requests for GetSecurityProject
func NewGetSecurityProjectRolesRequest ¶
NewGetSecurityProjectRolesRequest generates requests for GetSecurityProjectRoles
func NewGetSecurityProjectStatusRequest ¶
NewGetSecurityProjectStatusRequest generates requests for GetSecurityProjectStatus
func NewListElasticsearchProjectsRequest ¶
func NewListElasticsearchProjectsRequest(server string, params *ListElasticsearchProjectsParams) (*http.Request, error)
NewListElasticsearchProjectsRequest generates requests for ListElasticsearchProjects
func NewListObservabilityProjectsRequest ¶
func NewListObservabilityProjectsRequest(server string, params *ListObservabilityProjectsParams) (*http.Request, error)
NewListObservabilityProjectsRequest generates requests for ListObservabilityProjects
func NewListRegionsRequest ¶
NewListRegionsRequest generates requests for ListRegions
func NewListSecurityProjectsRequest ¶
func NewListSecurityProjectsRequest(server string, params *ListSecurityProjectsParams) (*http.Request, error)
NewListSecurityProjectsRequest generates requests for ListSecurityProjects
func NewPatchElasticsearchProjectRequest ¶
func NewPatchElasticsearchProjectRequest(server string, id ProjectID, params *PatchElasticsearchProjectParams, body PatchElasticsearchProjectJSONRequestBody) (*http.Request, error)
NewPatchElasticsearchProjectRequest calls the generic PatchElasticsearchProject builder with application/json body
func NewPatchElasticsearchProjectRequestWithBody ¶
func NewPatchElasticsearchProjectRequestWithBody(server string, id ProjectID, params *PatchElasticsearchProjectParams, contentType string, body io.Reader) (*http.Request, error)
NewPatchElasticsearchProjectRequestWithBody generates requests for PatchElasticsearchProject with any type of body
func NewPatchObservabilityProjectRequest ¶
func NewPatchObservabilityProjectRequest(server string, id ProjectID, params *PatchObservabilityProjectParams, body PatchObservabilityProjectJSONRequestBody) (*http.Request, error)
NewPatchObservabilityProjectRequest calls the generic PatchObservabilityProject builder with application/json body
func NewPatchObservabilityProjectRequestWithBody ¶
func NewPatchObservabilityProjectRequestWithBody(server string, id ProjectID, params *PatchObservabilityProjectParams, contentType string, body io.Reader) (*http.Request, error)
NewPatchObservabilityProjectRequestWithBody generates requests for PatchObservabilityProject with any type of body
func NewPatchSecurityProjectRequest ¶
func NewPatchSecurityProjectRequest(server string, id ProjectID, params *PatchSecurityProjectParams, body PatchSecurityProjectJSONRequestBody) (*http.Request, error)
NewPatchSecurityProjectRequest calls the generic PatchSecurityProject builder with application/json body
func NewPatchSecurityProjectRequestWithBody ¶
func NewPatchSecurityProjectRequestWithBody(server string, id ProjectID, params *PatchSecurityProjectParams, contentType string, body io.Reader) (*http.Request, error)
NewPatchSecurityProjectRequestWithBody generates requests for PatchSecurityProject with any type of body
func NewResetElasticsearchProjectCredentialsRequest ¶
func NewResetElasticsearchProjectCredentialsRequest(server string, id ProjectID, params *ResetElasticsearchProjectCredentialsParams) (*http.Request, error)
NewResetElasticsearchProjectCredentialsRequest generates requests for ResetElasticsearchProjectCredentials
func NewResetObservabilityProjectCredentialsRequest ¶
func NewResetObservabilityProjectCredentialsRequest(server string, id ProjectID, params *ResetObservabilityProjectCredentialsParams) (*http.Request, error)
NewResetObservabilityProjectCredentialsRequest generates requests for ResetObservabilityProjectCredentials
func NewResetSecurityProjectCredentialsRequest ¶
func NewResetSecurityProjectCredentialsRequest(server string, id ProjectID, params *ResetSecurityProjectCredentialsParams) (*http.Request, error)
NewResetSecurityProjectCredentialsRequest generates requests for ResetSecurityProjectCredentials
func NewResumeElasticsearchProjectRequest ¶
func NewResumeElasticsearchProjectRequest(server string, id ProjectID, params *ResumeElasticsearchProjectParams) (*http.Request, error)
NewResumeElasticsearchProjectRequest generates requests for ResumeElasticsearchProject
func NewResumeObservabilityProjectRequest ¶
func NewResumeObservabilityProjectRequest(server string, id ProjectID, params *ResumeObservabilityProjectParams) (*http.Request, error)
NewResumeObservabilityProjectRequest generates requests for ResumeObservabilityProject
func NewResumeSecurityProjectRequest ¶
func NewResumeSecurityProjectRequest(server string, id ProjectID, params *ResumeSecurityProjectParams) (*http.Request, error)
NewResumeSecurityProjectRequest generates requests for ResumeSecurityProject
Types ¶
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) CreateElasticsearchProject ¶
func (c *Client) CreateElasticsearchProject(ctx context.Context, body CreateElasticsearchProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateElasticsearchProjectWithBody ¶
func (*Client) CreateObservabilityProject ¶
func (c *Client) CreateObservabilityProject(ctx context.Context, body CreateObservabilityProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateObservabilityProjectWithBody ¶
func (*Client) CreateSecurityProject ¶
func (c *Client) CreateSecurityProject(ctx context.Context, body CreateSecurityProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSecurityProjectWithBody ¶
func (*Client) DeleteElasticsearchProject ¶
func (c *Client) DeleteElasticsearchProject(ctx context.Context, id ProjectID, params *DeleteElasticsearchProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteObservabilityProject ¶
func (c *Client) DeleteObservabilityProject(ctx context.Context, id ProjectID, params *DeleteObservabilityProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteSecurityProject ¶
func (c *Client) DeleteSecurityProject(ctx context.Context, id ProjectID, params *DeleteSecurityProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetElasticsearchProject ¶
func (*Client) GetElasticsearchProjectRoles ¶
func (*Client) GetElasticsearchProjectStatus ¶
func (*Client) GetObservabilityProject ¶
func (*Client) GetObservabilityProjectRoles ¶
func (*Client) GetObservabilityProjectStatus ¶
func (*Client) GetSecurityProject ¶
func (*Client) GetSecurityProjectRoles ¶
func (*Client) GetSecurityProjectStatus ¶
func (*Client) ListElasticsearchProjects ¶
func (c *Client) ListElasticsearchProjects(ctx context.Context, params *ListElasticsearchProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListObservabilityProjects ¶
func (c *Client) ListObservabilityProjects(ctx context.Context, params *ListObservabilityProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListRegions ¶
func (*Client) ListSecurityProjects ¶
func (c *Client) ListSecurityProjects(ctx context.Context, params *ListSecurityProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchElasticsearchProject ¶
func (c *Client) PatchElasticsearchProject(ctx context.Context, id ProjectID, params *PatchElasticsearchProjectParams, body PatchElasticsearchProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchElasticsearchProjectWithBody ¶
func (*Client) PatchObservabilityProject ¶
func (c *Client) PatchObservabilityProject(ctx context.Context, id ProjectID, params *PatchObservabilityProjectParams, body PatchObservabilityProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchObservabilityProjectWithBody ¶
func (*Client) PatchSecurityProject ¶
func (c *Client) PatchSecurityProject(ctx context.Context, id ProjectID, params *PatchSecurityProjectParams, body PatchSecurityProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchSecurityProjectWithBody ¶
func (*Client) ResetElasticsearchProjectCredentials ¶
func (c *Client) ResetElasticsearchProjectCredentials(ctx context.Context, id ProjectID, params *ResetElasticsearchProjectCredentialsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResetObservabilityProjectCredentials ¶
func (c *Client) ResetObservabilityProjectCredentials(ctx context.Context, id ProjectID, params *ResetObservabilityProjectCredentialsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResetSecurityProjectCredentials ¶
func (c *Client) ResetSecurityProjectCredentials(ctx context.Context, id ProjectID, params *ResetSecurityProjectCredentialsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResumeElasticsearchProject ¶
func (c *Client) ResumeElasticsearchProject(ctx context.Context, id ProjectID, params *ResumeElasticsearchProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResumeObservabilityProject ¶
func (c *Client) ResumeObservabilityProject(ctx context.Context, id ProjectID, params *ResumeObservabilityProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResumeSecurityProject ¶
func (c *Client) ResumeSecurityProject(ctx context.Context, id ProjectID, params *ResumeSecurityProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // ListElasticsearchProjects request ListElasticsearchProjects(ctx context.Context, params *ListElasticsearchProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateElasticsearchProjectWithBody request with any body CreateElasticsearchProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateElasticsearchProject(ctx context.Context, body CreateElasticsearchProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteElasticsearchProject request DeleteElasticsearchProject(ctx context.Context, id ProjectID, params *DeleteElasticsearchProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetElasticsearchProject request GetElasticsearchProject(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchElasticsearchProjectWithBody request with any body PatchElasticsearchProjectWithBody(ctx context.Context, id ProjectID, params *PatchElasticsearchProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PatchElasticsearchProject(ctx context.Context, id ProjectID, params *PatchElasticsearchProjectParams, body PatchElasticsearchProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ResetElasticsearchProjectCredentials request ResetElasticsearchProjectCredentials(ctx context.Context, id ProjectID, params *ResetElasticsearchProjectCredentialsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ResumeElasticsearchProject request ResumeElasticsearchProject(ctx context.Context, id ProjectID, params *ResumeElasticsearchProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetElasticsearchProjectRoles request GetElasticsearchProjectRoles(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error) // GetElasticsearchProjectStatus request GetElasticsearchProjectStatus(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error) // ListObservabilityProjects request ListObservabilityProjects(ctx context.Context, params *ListObservabilityProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateObservabilityProjectWithBody request with any body CreateObservabilityProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateObservabilityProject(ctx context.Context, body CreateObservabilityProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteObservabilityProject request DeleteObservabilityProject(ctx context.Context, id ProjectID, params *DeleteObservabilityProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetObservabilityProject request GetObservabilityProject(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchObservabilityProjectWithBody request with any body PatchObservabilityProjectWithBody(ctx context.Context, id ProjectID, params *PatchObservabilityProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PatchObservabilityProject(ctx context.Context, id ProjectID, params *PatchObservabilityProjectParams, body PatchObservabilityProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ResetObservabilityProjectCredentials request ResetObservabilityProjectCredentials(ctx context.Context, id ProjectID, params *ResetObservabilityProjectCredentialsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ResumeObservabilityProject request ResumeObservabilityProject(ctx context.Context, id ProjectID, params *ResumeObservabilityProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetObservabilityProjectRoles request GetObservabilityProjectRoles(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error) // GetObservabilityProjectStatus request GetObservabilityProjectStatus(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error) // ListSecurityProjects request ListSecurityProjects(ctx context.Context, params *ListSecurityProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateSecurityProjectWithBody request with any body CreateSecurityProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateSecurityProject(ctx context.Context, body CreateSecurityProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSecurityProject request DeleteSecurityProject(ctx context.Context, id ProjectID, params *DeleteSecurityProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSecurityProject request GetSecurityProject(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error) // PatchSecurityProjectWithBody request with any body PatchSecurityProjectWithBody(ctx context.Context, id ProjectID, params *PatchSecurityProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PatchSecurityProject(ctx context.Context, id ProjectID, params *PatchSecurityProjectParams, body PatchSecurityProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ResetSecurityProjectCredentials request ResetSecurityProjectCredentials(ctx context.Context, id ProjectID, params *ResetSecurityProjectCredentialsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ResumeSecurityProject request ResumeSecurityProject(ctx context.Context, id ProjectID, params *ResumeSecurityProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSecurityProjectRoles request GetSecurityProjectRoles(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSecurityProjectStatus request GetSecurityProjectStatus(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*http.Response, error) // ListRegions request ListRegions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetRegion request GetRegion(ctx context.Context, id RegionID, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) CreateElasticsearchProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateElasticsearchProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateElasticsearchProjectResponse, error)
CreateElasticsearchProjectWithBodyWithResponse request with arbitrary body returning *CreateElasticsearchProjectResponse
func (*ClientWithResponses) CreateElasticsearchProjectWithResponse ¶
func (c *ClientWithResponses) CreateElasticsearchProjectWithResponse(ctx context.Context, body CreateElasticsearchProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateElasticsearchProjectResponse, error)
func (*ClientWithResponses) CreateObservabilityProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateObservabilityProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateObservabilityProjectResponse, error)
CreateObservabilityProjectWithBodyWithResponse request with arbitrary body returning *CreateObservabilityProjectResponse
func (*ClientWithResponses) CreateObservabilityProjectWithResponse ¶
func (c *ClientWithResponses) CreateObservabilityProjectWithResponse(ctx context.Context, body CreateObservabilityProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateObservabilityProjectResponse, error)
func (*ClientWithResponses) CreateSecurityProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSecurityProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecurityProjectResponse, error)
CreateSecurityProjectWithBodyWithResponse request with arbitrary body returning *CreateSecurityProjectResponse
func (*ClientWithResponses) CreateSecurityProjectWithResponse ¶
func (c *ClientWithResponses) CreateSecurityProjectWithResponse(ctx context.Context, body CreateSecurityProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecurityProjectResponse, error)
func (*ClientWithResponses) DeleteElasticsearchProjectWithResponse ¶
func (c *ClientWithResponses) DeleteElasticsearchProjectWithResponse(ctx context.Context, id ProjectID, params *DeleteElasticsearchProjectParams, reqEditors ...RequestEditorFn) (*DeleteElasticsearchProjectResponse, error)
DeleteElasticsearchProjectWithResponse request returning *DeleteElasticsearchProjectResponse
func (*ClientWithResponses) DeleteObservabilityProjectWithResponse ¶
func (c *ClientWithResponses) DeleteObservabilityProjectWithResponse(ctx context.Context, id ProjectID, params *DeleteObservabilityProjectParams, reqEditors ...RequestEditorFn) (*DeleteObservabilityProjectResponse, error)
DeleteObservabilityProjectWithResponse request returning *DeleteObservabilityProjectResponse
func (*ClientWithResponses) DeleteSecurityProjectWithResponse ¶
func (c *ClientWithResponses) DeleteSecurityProjectWithResponse(ctx context.Context, id ProjectID, params *DeleteSecurityProjectParams, reqEditors ...RequestEditorFn) (*DeleteSecurityProjectResponse, error)
DeleteSecurityProjectWithResponse request returning *DeleteSecurityProjectResponse
func (*ClientWithResponses) GetElasticsearchProjectRolesWithResponse ¶
func (c *ClientWithResponses) GetElasticsearchProjectRolesWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetElasticsearchProjectRolesResponse, error)
GetElasticsearchProjectRolesWithResponse request returning *GetElasticsearchProjectRolesResponse
func (*ClientWithResponses) GetElasticsearchProjectStatusWithResponse ¶
func (c *ClientWithResponses) GetElasticsearchProjectStatusWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetElasticsearchProjectStatusResponse, error)
GetElasticsearchProjectStatusWithResponse request returning *GetElasticsearchProjectStatusResponse
func (*ClientWithResponses) GetElasticsearchProjectWithResponse ¶
func (c *ClientWithResponses) GetElasticsearchProjectWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetElasticsearchProjectResponse, error)
GetElasticsearchProjectWithResponse request returning *GetElasticsearchProjectResponse
func (*ClientWithResponses) GetObservabilityProjectRolesWithResponse ¶
func (c *ClientWithResponses) GetObservabilityProjectRolesWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetObservabilityProjectRolesResponse, error)
GetObservabilityProjectRolesWithResponse request returning *GetObservabilityProjectRolesResponse
func (*ClientWithResponses) GetObservabilityProjectStatusWithResponse ¶
func (c *ClientWithResponses) GetObservabilityProjectStatusWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetObservabilityProjectStatusResponse, error)
GetObservabilityProjectStatusWithResponse request returning *GetObservabilityProjectStatusResponse
func (*ClientWithResponses) GetObservabilityProjectWithResponse ¶
func (c *ClientWithResponses) GetObservabilityProjectWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetObservabilityProjectResponse, error)
GetObservabilityProjectWithResponse request returning *GetObservabilityProjectResponse
func (*ClientWithResponses) GetRegionWithResponse ¶
func (c *ClientWithResponses) GetRegionWithResponse(ctx context.Context, id RegionID, reqEditors ...RequestEditorFn) (*GetRegionResponse, error)
GetRegionWithResponse request returning *GetRegionResponse
func (*ClientWithResponses) GetSecurityProjectRolesWithResponse ¶
func (c *ClientWithResponses) GetSecurityProjectRolesWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetSecurityProjectRolesResponse, error)
GetSecurityProjectRolesWithResponse request returning *GetSecurityProjectRolesResponse
func (*ClientWithResponses) GetSecurityProjectStatusWithResponse ¶
func (c *ClientWithResponses) GetSecurityProjectStatusWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetSecurityProjectStatusResponse, error)
GetSecurityProjectStatusWithResponse request returning *GetSecurityProjectStatusResponse
func (*ClientWithResponses) GetSecurityProjectWithResponse ¶
func (c *ClientWithResponses) GetSecurityProjectWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetSecurityProjectResponse, error)
GetSecurityProjectWithResponse request returning *GetSecurityProjectResponse
func (*ClientWithResponses) ListElasticsearchProjectsWithResponse ¶
func (c *ClientWithResponses) ListElasticsearchProjectsWithResponse(ctx context.Context, params *ListElasticsearchProjectsParams, reqEditors ...RequestEditorFn) (*ListElasticsearchProjectsResponse, error)
ListElasticsearchProjectsWithResponse request returning *ListElasticsearchProjectsResponse
func (*ClientWithResponses) ListObservabilityProjectsWithResponse ¶
func (c *ClientWithResponses) ListObservabilityProjectsWithResponse(ctx context.Context, params *ListObservabilityProjectsParams, reqEditors ...RequestEditorFn) (*ListObservabilityProjectsResponse, error)
ListObservabilityProjectsWithResponse request returning *ListObservabilityProjectsResponse
func (*ClientWithResponses) ListRegionsWithResponse ¶
func (c *ClientWithResponses) ListRegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRegionsResponse, error)
ListRegionsWithResponse request returning *ListRegionsResponse
func (*ClientWithResponses) ListSecurityProjectsWithResponse ¶
func (c *ClientWithResponses) ListSecurityProjectsWithResponse(ctx context.Context, params *ListSecurityProjectsParams, reqEditors ...RequestEditorFn) (*ListSecurityProjectsResponse, error)
ListSecurityProjectsWithResponse request returning *ListSecurityProjectsResponse
func (*ClientWithResponses) PatchElasticsearchProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchElasticsearchProjectWithBodyWithResponse(ctx context.Context, id ProjectID, params *PatchElasticsearchProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchElasticsearchProjectResponse, error)
PatchElasticsearchProjectWithBodyWithResponse request with arbitrary body returning *PatchElasticsearchProjectResponse
func (*ClientWithResponses) PatchElasticsearchProjectWithResponse ¶
func (c *ClientWithResponses) PatchElasticsearchProjectWithResponse(ctx context.Context, id ProjectID, params *PatchElasticsearchProjectParams, body PatchElasticsearchProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchElasticsearchProjectResponse, error)
func (*ClientWithResponses) PatchObservabilityProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchObservabilityProjectWithBodyWithResponse(ctx context.Context, id ProjectID, params *PatchObservabilityProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchObservabilityProjectResponse, error)
PatchObservabilityProjectWithBodyWithResponse request with arbitrary body returning *PatchObservabilityProjectResponse
func (*ClientWithResponses) PatchObservabilityProjectWithResponse ¶
func (c *ClientWithResponses) PatchObservabilityProjectWithResponse(ctx context.Context, id ProjectID, params *PatchObservabilityProjectParams, body PatchObservabilityProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchObservabilityProjectResponse, error)
func (*ClientWithResponses) PatchSecurityProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchSecurityProjectWithBodyWithResponse(ctx context.Context, id ProjectID, params *PatchSecurityProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchSecurityProjectResponse, error)
PatchSecurityProjectWithBodyWithResponse request with arbitrary body returning *PatchSecurityProjectResponse
func (*ClientWithResponses) PatchSecurityProjectWithResponse ¶
func (c *ClientWithResponses) PatchSecurityProjectWithResponse(ctx context.Context, id ProjectID, params *PatchSecurityProjectParams, body PatchSecurityProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchSecurityProjectResponse, error)
func (*ClientWithResponses) ResetElasticsearchProjectCredentialsWithResponse ¶
func (c *ClientWithResponses) ResetElasticsearchProjectCredentialsWithResponse(ctx context.Context, id ProjectID, params *ResetElasticsearchProjectCredentialsParams, reqEditors ...RequestEditorFn) (*ResetElasticsearchProjectCredentialsResponse, error)
ResetElasticsearchProjectCredentialsWithResponse request returning *ResetElasticsearchProjectCredentialsResponse
func (*ClientWithResponses) ResetObservabilityProjectCredentialsWithResponse ¶
func (c *ClientWithResponses) ResetObservabilityProjectCredentialsWithResponse(ctx context.Context, id ProjectID, params *ResetObservabilityProjectCredentialsParams, reqEditors ...RequestEditorFn) (*ResetObservabilityProjectCredentialsResponse, error)
ResetObservabilityProjectCredentialsWithResponse request returning *ResetObservabilityProjectCredentialsResponse
func (*ClientWithResponses) ResetSecurityProjectCredentialsWithResponse ¶
func (c *ClientWithResponses) ResetSecurityProjectCredentialsWithResponse(ctx context.Context, id ProjectID, params *ResetSecurityProjectCredentialsParams, reqEditors ...RequestEditorFn) (*ResetSecurityProjectCredentialsResponse, error)
ResetSecurityProjectCredentialsWithResponse request returning *ResetSecurityProjectCredentialsResponse
func (*ClientWithResponses) ResumeElasticsearchProjectWithResponse ¶
func (c *ClientWithResponses) ResumeElasticsearchProjectWithResponse(ctx context.Context, id ProjectID, params *ResumeElasticsearchProjectParams, reqEditors ...RequestEditorFn) (*ResumeElasticsearchProjectResponse, error)
ResumeElasticsearchProjectWithResponse request returning *ResumeElasticsearchProjectResponse
func (*ClientWithResponses) ResumeObservabilityProjectWithResponse ¶
func (c *ClientWithResponses) ResumeObservabilityProjectWithResponse(ctx context.Context, id ProjectID, params *ResumeObservabilityProjectParams, reqEditors ...RequestEditorFn) (*ResumeObservabilityProjectResponse, error)
ResumeObservabilityProjectWithResponse request returning *ResumeObservabilityProjectResponse
func (*ClientWithResponses) ResumeSecurityProjectWithResponse ¶
func (c *ClientWithResponses) ResumeSecurityProjectWithResponse(ctx context.Context, id ProjectID, params *ResumeSecurityProjectParams, reqEditors ...RequestEditorFn) (*ResumeSecurityProjectResponse, error)
ResumeSecurityProjectWithResponse request returning *ResumeSecurityProjectResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // ListElasticsearchProjectsWithResponse request ListElasticsearchProjectsWithResponse(ctx context.Context, params *ListElasticsearchProjectsParams, reqEditors ...RequestEditorFn) (*ListElasticsearchProjectsResponse, error) // CreateElasticsearchProjectWithBodyWithResponse request with any body CreateElasticsearchProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateElasticsearchProjectResponse, error) CreateElasticsearchProjectWithResponse(ctx context.Context, body CreateElasticsearchProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateElasticsearchProjectResponse, error) // DeleteElasticsearchProjectWithResponse request DeleteElasticsearchProjectWithResponse(ctx context.Context, id ProjectID, params *DeleteElasticsearchProjectParams, reqEditors ...RequestEditorFn) (*DeleteElasticsearchProjectResponse, error) // GetElasticsearchProjectWithResponse request GetElasticsearchProjectWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetElasticsearchProjectResponse, error) // PatchElasticsearchProjectWithBodyWithResponse request with any body PatchElasticsearchProjectWithBodyWithResponse(ctx context.Context, id ProjectID, params *PatchElasticsearchProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchElasticsearchProjectResponse, error) PatchElasticsearchProjectWithResponse(ctx context.Context, id ProjectID, params *PatchElasticsearchProjectParams, body PatchElasticsearchProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchElasticsearchProjectResponse, error) // ResetElasticsearchProjectCredentialsWithResponse request ResetElasticsearchProjectCredentialsWithResponse(ctx context.Context, id ProjectID, params *ResetElasticsearchProjectCredentialsParams, reqEditors ...RequestEditorFn) (*ResetElasticsearchProjectCredentialsResponse, error) // ResumeElasticsearchProjectWithResponse request ResumeElasticsearchProjectWithResponse(ctx context.Context, id ProjectID, params *ResumeElasticsearchProjectParams, reqEditors ...RequestEditorFn) (*ResumeElasticsearchProjectResponse, error) // GetElasticsearchProjectRolesWithResponse request GetElasticsearchProjectRolesWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetElasticsearchProjectRolesResponse, error) // GetElasticsearchProjectStatusWithResponse request GetElasticsearchProjectStatusWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetElasticsearchProjectStatusResponse, error) // ListObservabilityProjectsWithResponse request ListObservabilityProjectsWithResponse(ctx context.Context, params *ListObservabilityProjectsParams, reqEditors ...RequestEditorFn) (*ListObservabilityProjectsResponse, error) // CreateObservabilityProjectWithBodyWithResponse request with any body CreateObservabilityProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateObservabilityProjectResponse, error) CreateObservabilityProjectWithResponse(ctx context.Context, body CreateObservabilityProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateObservabilityProjectResponse, error) // DeleteObservabilityProjectWithResponse request DeleteObservabilityProjectWithResponse(ctx context.Context, id ProjectID, params *DeleteObservabilityProjectParams, reqEditors ...RequestEditorFn) (*DeleteObservabilityProjectResponse, error) // GetObservabilityProjectWithResponse request GetObservabilityProjectWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetObservabilityProjectResponse, error) // PatchObservabilityProjectWithBodyWithResponse request with any body PatchObservabilityProjectWithBodyWithResponse(ctx context.Context, id ProjectID, params *PatchObservabilityProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchObservabilityProjectResponse, error) PatchObservabilityProjectWithResponse(ctx context.Context, id ProjectID, params *PatchObservabilityProjectParams, body PatchObservabilityProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchObservabilityProjectResponse, error) // ResetObservabilityProjectCredentialsWithResponse request ResetObservabilityProjectCredentialsWithResponse(ctx context.Context, id ProjectID, params *ResetObservabilityProjectCredentialsParams, reqEditors ...RequestEditorFn) (*ResetObservabilityProjectCredentialsResponse, error) // ResumeObservabilityProjectWithResponse request ResumeObservabilityProjectWithResponse(ctx context.Context, id ProjectID, params *ResumeObservabilityProjectParams, reqEditors ...RequestEditorFn) (*ResumeObservabilityProjectResponse, error) // GetObservabilityProjectRolesWithResponse request GetObservabilityProjectRolesWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetObservabilityProjectRolesResponse, error) // GetObservabilityProjectStatusWithResponse request GetObservabilityProjectStatusWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetObservabilityProjectStatusResponse, error) // ListSecurityProjectsWithResponse request ListSecurityProjectsWithResponse(ctx context.Context, params *ListSecurityProjectsParams, reqEditors ...RequestEditorFn) (*ListSecurityProjectsResponse, error) // CreateSecurityProjectWithBodyWithResponse request with any body CreateSecurityProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecurityProjectResponse, error) CreateSecurityProjectWithResponse(ctx context.Context, body CreateSecurityProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecurityProjectResponse, error) // DeleteSecurityProjectWithResponse request DeleteSecurityProjectWithResponse(ctx context.Context, id ProjectID, params *DeleteSecurityProjectParams, reqEditors ...RequestEditorFn) (*DeleteSecurityProjectResponse, error) // GetSecurityProjectWithResponse request GetSecurityProjectWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetSecurityProjectResponse, error) // PatchSecurityProjectWithBodyWithResponse request with any body PatchSecurityProjectWithBodyWithResponse(ctx context.Context, id ProjectID, params *PatchSecurityProjectParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchSecurityProjectResponse, error) PatchSecurityProjectWithResponse(ctx context.Context, id ProjectID, params *PatchSecurityProjectParams, body PatchSecurityProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchSecurityProjectResponse, error) // ResetSecurityProjectCredentialsWithResponse request ResetSecurityProjectCredentialsWithResponse(ctx context.Context, id ProjectID, params *ResetSecurityProjectCredentialsParams, reqEditors ...RequestEditorFn) (*ResetSecurityProjectCredentialsResponse, error) // ResumeSecurityProjectWithResponse request ResumeSecurityProjectWithResponse(ctx context.Context, id ProjectID, params *ResumeSecurityProjectParams, reqEditors ...RequestEditorFn) (*ResumeSecurityProjectResponse, error) // GetSecurityProjectRolesWithResponse request GetSecurityProjectRolesWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetSecurityProjectRolesResponse, error) // GetSecurityProjectStatusWithResponse request GetSecurityProjectStatusWithResponse(ctx context.Context, id ProjectID, reqEditors ...RequestEditorFn) (*GetSecurityProjectStatusResponse, error) // ListRegionsWithResponse request ListRegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRegionsResponse, error) // GetRegionWithResponse request GetRegionWithResponse(ctx context.Context, id RegionID, reqEditors ...RequestEditorFn) (*GetRegionResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CloudID ¶
type CloudID = string
CloudID The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana.
type CreateElasticsearchProjectJSONRequestBody ¶
type CreateElasticsearchProjectJSONRequestBody = CreateElasticsearchProjectRequest
CreateElasticsearchProjectJSONRequestBody defines body for CreateElasticsearchProject for application/json ContentType.
type CreateElasticsearchProjectRequest ¶
type CreateElasticsearchProjectRequest struct { // Alias A custom domain label compatible with RFC-1035 standards. Derived from the project name by default. Alias *ProjectAlias `json:"alias,omitempty"` // Name Descriptive name for a project. Name ProjectName `json:"name"` // OptimizedFor The purpose for which the hardware of this elasticsearch project is optimized for. Also known as the Elasticsearch project subtype. OptimizedFor *ElasticsearchOptimizedFor `json:"optimized_for,omitempty"` // RegionId Unique human-readable identifier for a region in Elastic Cloud. RegionId RegionID `json:"region_id"` // SearchLake Configuration for entire set of capabilities that make the data searchable in Elasticsearch. SearchLake *ElasticsearchSearchLake `json:"search_lake,omitempty"` }
CreateElasticsearchProjectRequest A request to create an Elasticsearch serverless project.
type CreateElasticsearchProjectResponse ¶
type CreateElasticsearchProjectResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ElasticsearchProjectCreated JSON400 *BadRequest JSON422 *UnprocessableEntity }
func ParseCreateElasticsearchProjectResponse ¶
func ParseCreateElasticsearchProjectResponse(rsp *http.Response) (*CreateElasticsearchProjectResponse, error)
ParseCreateElasticsearchProjectResponse parses an HTTP response from a CreateElasticsearchProjectWithResponse call
func (CreateElasticsearchProjectResponse) Status ¶
func (r CreateElasticsearchProjectResponse) Status() string
Status returns HTTPResponse.Status
func (CreateElasticsearchProjectResponse) StatusCode ¶
func (r CreateElasticsearchProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateObservabilityProjectJSONRequestBody ¶
type CreateObservabilityProjectJSONRequestBody = CreateObservabilityProjectRequest
CreateObservabilityProjectJSONRequestBody defines body for CreateObservabilityProject for application/json ContentType.
type CreateObservabilityProjectRequest ¶
type CreateObservabilityProjectRequest struct { // Alias A custom domain label compatible with RFC-1035 standards. Derived from the project name by default. Alias *ProjectAlias `json:"alias,omitempty"` // Name Descriptive name for a project. Name ProjectName `json:"name"` // RegionId Unique human-readable identifier for a region in Elastic Cloud. RegionId RegionID `json:"region_id"` }
CreateObservabilityProjectRequest A request to create an Observability project.
type CreateObservabilityProjectResponse ¶
type CreateObservabilityProjectResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ObservabilityProjectCreated JSON400 *BadRequest JSON422 *UnprocessableEntity }
func ParseCreateObservabilityProjectResponse ¶
func ParseCreateObservabilityProjectResponse(rsp *http.Response) (*CreateObservabilityProjectResponse, error)
ParseCreateObservabilityProjectResponse parses an HTTP response from a CreateObservabilityProjectWithResponse call
func (CreateObservabilityProjectResponse) Status ¶
func (r CreateObservabilityProjectResponse) Status() string
Status returns HTTPResponse.Status
func (CreateObservabilityProjectResponse) StatusCode ¶
func (r CreateObservabilityProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSecurityProjectJSONRequestBody ¶
type CreateSecurityProjectJSONRequestBody = CreateSecurityProjectRequest
CreateSecurityProjectJSONRequestBody defines body for CreateSecurityProject for application/json ContentType.
type CreateSecurityProjectRequest ¶
type CreateSecurityProjectRequest struct { // AdminFeaturesPackage admin features package (BYOK, BYOIDP, CCS, CCR) AdminFeaturesPackage *SecurityAdminFeaturesPackage `json:"admin_features_package,omitempty"` // Alias A custom domain label compatible with RFC-1035 standards. Derived from the project name by default. Alias *ProjectAlias `json:"alias,omitempty"` // Name Descriptive name for a project. Name ProjectName `json:"name"` ProductTypes *[]SecurityProductType `json:"product_types,omitempty"` // RegionId Unique human-readable identifier for a region in Elastic Cloud. RegionId RegionID `json:"region_id"` }
CreateSecurityProjectRequest A request to create a Security project.
type CreateSecurityProjectResponse ¶
type CreateSecurityProjectResponse struct { Body []byte HTTPResponse *http.Response JSON201 *SecurityProjectCreated JSON400 *BadRequest JSON422 *UnprocessableEntity }
func ParseCreateSecurityProjectResponse ¶
func ParseCreateSecurityProjectResponse(rsp *http.Response) (*CreateSecurityProjectResponse, error)
ParseCreateSecurityProjectResponse parses an HTTP response from a CreateSecurityProjectWithResponse call
func (CreateSecurityProjectResponse) Status ¶
func (r CreateSecurityProjectResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSecurityProjectResponse) StatusCode ¶
func (r CreateSecurityProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteElasticsearchProjectParams ¶
type DeleteElasticsearchProjectParams struct { // IfMatch ETag value fetched in a previous GET project request. Used to prevent simultaneous updates IfMatch *string `json:"If-Match,omitempty"` }
DeleteElasticsearchProjectParams defines parameters for DeleteElasticsearchProject.
type DeleteElasticsearchProjectResponse ¶
type DeleteElasticsearchProjectResponse struct { Body []byte HTTPResponse *http.Response JSON404 *NotFound }
func ParseDeleteElasticsearchProjectResponse ¶
func ParseDeleteElasticsearchProjectResponse(rsp *http.Response) (*DeleteElasticsearchProjectResponse, error)
ParseDeleteElasticsearchProjectResponse parses an HTTP response from a DeleteElasticsearchProjectWithResponse call
func (DeleteElasticsearchProjectResponse) Status ¶
func (r DeleteElasticsearchProjectResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteElasticsearchProjectResponse) StatusCode ¶
func (r DeleteElasticsearchProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteObservabilityProjectParams ¶
type DeleteObservabilityProjectParams struct { // IfMatch ETag value fetched in a previous GET project request. Used to prevent simultaneous updates IfMatch *string `json:"If-Match,omitempty"` }
DeleteObservabilityProjectParams defines parameters for DeleteObservabilityProject.
type DeleteObservabilityProjectResponse ¶
type DeleteObservabilityProjectResponse struct { Body []byte HTTPResponse *http.Response JSON404 *NotFound }
func ParseDeleteObservabilityProjectResponse ¶
func ParseDeleteObservabilityProjectResponse(rsp *http.Response) (*DeleteObservabilityProjectResponse, error)
ParseDeleteObservabilityProjectResponse parses an HTTP response from a DeleteObservabilityProjectWithResponse call
func (DeleteObservabilityProjectResponse) Status ¶
func (r DeleteObservabilityProjectResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteObservabilityProjectResponse) StatusCode ¶
func (r DeleteObservabilityProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSecurityProjectParams ¶
type DeleteSecurityProjectParams struct { // IfMatch ETag value fetched in a previous GET project request. Used to prevent simultaneous updates IfMatch *string `json:"If-Match,omitempty"` }
DeleteSecurityProjectParams defines parameters for DeleteSecurityProject.
type DeleteSecurityProjectResponse ¶
type DeleteSecurityProjectResponse struct { Body []byte HTTPResponse *http.Response JSON404 *NotFound }
func ParseDeleteSecurityProjectResponse ¶
func ParseDeleteSecurityProjectResponse(rsp *http.Response) (*DeleteSecurityProjectResponse, error)
ParseDeleteSecurityProjectResponse parses an HTTP response from a DeleteSecurityProjectWithResponse call
func (DeleteSecurityProjectResponse) Status ¶
func (r DeleteSecurityProjectResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSecurityProjectResponse) StatusCode ¶
func (r DeleteSecurityProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ElasticsearchOptimizedFor ¶
type ElasticsearchOptimizedFor string
ElasticsearchOptimizedFor The purpose for which the hardware of this elasticsearch project is optimized for. Also known as the Elasticsearch project subtype.
const ( GeneralPurpose ElasticsearchOptimizedFor = "general_purpose" Vector ElasticsearchOptimizedFor = "vector" )
Defines values for ElasticsearchOptimizedFor.
type ElasticsearchProject ¶
type ElasticsearchProject struct { // Alias A custom domain label compatible with RFC-1035 standards. Derived from the project name by default. Alias ProjectAlias `json:"alias"` // CloudId The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana. CloudId CloudID `json:"cloud_id"` // Endpoints The endpoints to access the different apps of the project. Endpoints ElasticsearchProjectEndpoints `json:"endpoints"` // Id ID of the project. Id ProjectID `json:"id"` // Metadata Additional details about the project. Metadata ProjectMetadata `json:"metadata"` // Name Descriptive name for a project. Name ProjectName `json:"name"` // OptimizedFor The purpose for which the hardware of this elasticsearch project is optimized for. Also known as the Elasticsearch project subtype. OptimizedFor ElasticsearchOptimizedFor `json:"optimized_for"` // RegionId Unique human-readable identifier for a region in Elastic Cloud. RegionId RegionID `json:"region_id"` // SearchLake Configuration for entire set of capabilities that make the data searchable in Elasticsearch. SearchLake *ElasticsearchSearchLake `json:"search_lake,omitempty"` // Type the type of the project Type ElasticsearchProjectType `json:"type"` }
ElasticsearchProject An Elasticsearch serverless project.
type ElasticsearchProjectCreated ¶
type ElasticsearchProjectCreated struct { // Alias A custom domain label compatible with RFC-1035 standards. Derived from the project name by default. Alias ProjectAlias `json:"alias"` // CloudId The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana. CloudId CloudID `json:"cloud_id"` // Credentials Basic auth credentials to access the Elasticsearch API. Credentials ProjectCredentials `json:"credentials"` // Endpoints The endpoints to access the different apps of the project. Endpoints ElasticsearchProjectEndpoints `json:"endpoints"` // Id ID of the project. Id ProjectID `json:"id"` // Metadata Additional details about the project. Metadata ProjectMetadata `json:"metadata"` // Name Descriptive name for a project. Name ProjectName `json:"name"` // OptimizedFor The purpose for which the hardware of this elasticsearch project is optimized for. Also known as the Elasticsearch project subtype. OptimizedFor ElasticsearchOptimizedFor `json:"optimized_for"` // RegionId Unique human-readable identifier for a region in Elastic Cloud. RegionId RegionID `json:"region_id"` // SearchLake Configuration for entire set of capabilities that make the data searchable in Elasticsearch. SearchLake *ElasticsearchSearchLake `json:"search_lake,omitempty"` // Type the type of the project Type ElasticsearchProjectCreatedType `json:"type"` }
ElasticsearchProjectCreated The created Elasticsearch project along with credentials to access Elasticsearch.
type ElasticsearchProjectCreatedType ¶
type ElasticsearchProjectCreatedType string
ElasticsearchProjectCreatedType the type of the project
const (
ElasticsearchProjectCreatedTypeElasticsearch ElasticsearchProjectCreatedType = "elasticsearch"
)
Defines values for ElasticsearchProjectCreatedType.
type ElasticsearchProjectEndpoints ¶
type ElasticsearchProjectEndpoints struct { // Elasticsearch The endpoint to access elasticsearch. Elasticsearch string `json:"elasticsearch"` // Kibana The endpoint to access kibana. Kibana string `json:"kibana"` }
ElasticsearchProjectEndpoints The endpoints to access the different apps of the project.
type ElasticsearchProjectList ¶
type ElasticsearchProjectList struct { // Items The actual projects. Items []ElasticsearchProject `json:"items"` // NextPage A token to fetch the next page. NextPage *string `json:"next_page,omitempty"` }
ElasticsearchProjectList A paginated list of serverless elasticsearch projects.
type ElasticsearchProjectType ¶
type ElasticsearchProjectType string
ElasticsearchProjectType the type of the project
const (
ElasticsearchProjectTypeElasticsearch ElasticsearchProjectType = "elasticsearch"
)
Defines values for ElasticsearchProjectType.
type ElasticsearchSearchLake ¶
type ElasticsearchSearchLake struct { // BoostWindow Determines how much data can benefit from faster search. When ingested, a certain amount of data is loaded into a cache that makes it super fast to query. The system dynamically adjusts the cache allocated to your project based on how much data you ingest during the period defined by your Search Boost Window. BoostWindow *int `json:"boost_window,omitempty"` // SearchPower Controls how fast searches are against your project data. When ingested, a certain amount of data is loaded into a cache that makes it super fast to query. You can either increase the performance of searches on cached data by adding replicas, or reduce the quantity of cached data by a static factor to save on costs. SearchPower *int `json:"search_power,omitempty"` }
ElasticsearchSearchLake Configuration for entire set of capabilities that make the data searchable in Elasticsearch.
type ErrorResponse ¶
type ErrorResponse struct { // Code An identifier for this type of error. Code string `json:"code"` // Message A human-readable message of the error. Message string `json:"message"` }
ErrorResponse An error response returned by the API.
type GetElasticsearchProjectResponse ¶
type GetElasticsearchProjectResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ElasticsearchProject JSON404 *NotFound }
func ParseGetElasticsearchProjectResponse ¶
func ParseGetElasticsearchProjectResponse(rsp *http.Response) (*GetElasticsearchProjectResponse, error)
ParseGetElasticsearchProjectResponse parses an HTTP response from a GetElasticsearchProjectWithResponse call
func (GetElasticsearchProjectResponse) Status ¶
func (r GetElasticsearchProjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetElasticsearchProjectResponse) StatusCode ¶
func (r GetElasticsearchProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetElasticsearchProjectRolesResponse ¶
type GetElasticsearchProjectRolesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectRolesByProjectID JSON404 *NotFound }
func ParseGetElasticsearchProjectRolesResponse ¶
func ParseGetElasticsearchProjectRolesResponse(rsp *http.Response) (*GetElasticsearchProjectRolesResponse, error)
ParseGetElasticsearchProjectRolesResponse parses an HTTP response from a GetElasticsearchProjectRolesWithResponse call
func (GetElasticsearchProjectRolesResponse) Status ¶
func (r GetElasticsearchProjectRolesResponse) Status() string
Status returns HTTPResponse.Status
func (GetElasticsearchProjectRolesResponse) StatusCode ¶
func (r GetElasticsearchProjectRolesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetElasticsearchProjectStatusResponse ¶
type GetElasticsearchProjectStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectStatus JSON404 *NotFound }
func ParseGetElasticsearchProjectStatusResponse ¶
func ParseGetElasticsearchProjectStatusResponse(rsp *http.Response) (*GetElasticsearchProjectStatusResponse, error)
ParseGetElasticsearchProjectStatusResponse parses an HTTP response from a GetElasticsearchProjectStatusWithResponse call
func (GetElasticsearchProjectStatusResponse) Status ¶
func (r GetElasticsearchProjectStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetElasticsearchProjectStatusResponse) StatusCode ¶
func (r GetElasticsearchProjectStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetObservabilityProjectResponse ¶
type GetObservabilityProjectResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ObservabilityProject JSON404 *NotFound }
func ParseGetObservabilityProjectResponse ¶
func ParseGetObservabilityProjectResponse(rsp *http.Response) (*GetObservabilityProjectResponse, error)
ParseGetObservabilityProjectResponse parses an HTTP response from a GetObservabilityProjectWithResponse call
func (GetObservabilityProjectResponse) Status ¶
func (r GetObservabilityProjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetObservabilityProjectResponse) StatusCode ¶
func (r GetObservabilityProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetObservabilityProjectRolesResponse ¶
type GetObservabilityProjectRolesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]ProjectRolesByProjectID JSON404 *NotFound }
func ParseGetObservabilityProjectRolesResponse ¶
func ParseGetObservabilityProjectRolesResponse(rsp *http.Response) (*GetObservabilityProjectRolesResponse, error)
ParseGetObservabilityProjectRolesResponse parses an HTTP response from a GetObservabilityProjectRolesWithResponse call
func (GetObservabilityProjectRolesResponse) Status ¶
func (r GetObservabilityProjectRolesResponse) Status() string
Status returns HTTPResponse.Status
func (GetObservabilityProjectRolesResponse) StatusCode ¶
func (r GetObservabilityProjectRolesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetObservabilityProjectStatusResponse ¶
type GetObservabilityProjectStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectStatus JSON404 *NotFound }
func ParseGetObservabilityProjectStatusResponse ¶
func ParseGetObservabilityProjectStatusResponse(rsp *http.Response) (*GetObservabilityProjectStatusResponse, error)
ParseGetObservabilityProjectStatusResponse parses an HTTP response from a GetObservabilityProjectStatusWithResponse call
func (GetObservabilityProjectStatusResponse) Status ¶
func (r GetObservabilityProjectStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetObservabilityProjectStatusResponse) StatusCode ¶
func (r GetObservabilityProjectStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRegionResponse ¶
type GetRegionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Region JSON404 *NotFound }
func ParseGetRegionResponse ¶
func ParseGetRegionResponse(rsp *http.Response) (*GetRegionResponse, error)
ParseGetRegionResponse parses an HTTP response from a GetRegionWithResponse call
func (GetRegionResponse) Status ¶
func (r GetRegionResponse) Status() string
Status returns HTTPResponse.Status
func (GetRegionResponse) StatusCode ¶
func (r GetRegionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecurityProjectResponse ¶
type GetSecurityProjectResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SecurityProject JSON404 *NotFound }
func ParseGetSecurityProjectResponse ¶
func ParseGetSecurityProjectResponse(rsp *http.Response) (*GetSecurityProjectResponse, error)
ParseGetSecurityProjectResponse parses an HTTP response from a GetSecurityProjectWithResponse call
func (GetSecurityProjectResponse) Status ¶
func (r GetSecurityProjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecurityProjectResponse) StatusCode ¶
func (r GetSecurityProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecurityProjectRolesResponse ¶
type GetSecurityProjectRolesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]ProjectRolesByProjectID JSON404 *NotFound }
func ParseGetSecurityProjectRolesResponse ¶
func ParseGetSecurityProjectRolesResponse(rsp *http.Response) (*GetSecurityProjectRolesResponse, error)
ParseGetSecurityProjectRolesResponse parses an HTTP response from a GetSecurityProjectRolesWithResponse call
func (GetSecurityProjectRolesResponse) Status ¶
func (r GetSecurityProjectRolesResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecurityProjectRolesResponse) StatusCode ¶
func (r GetSecurityProjectRolesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecurityProjectStatusResponse ¶
type GetSecurityProjectStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectStatus JSON404 *NotFound }
func ParseGetSecurityProjectStatusResponse ¶
func ParseGetSecurityProjectStatusResponse(rsp *http.Response) (*GetSecurityProjectStatusResponse, error)
ParseGetSecurityProjectStatusResponse parses an HTTP response from a GetSecurityProjectStatusWithResponse call
func (GetSecurityProjectStatusResponse) Status ¶
func (r GetSecurityProjectStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecurityProjectStatusResponse) StatusCode ¶
func (r GetSecurityProjectStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListElasticsearchProjectsParams ¶
type ListElasticsearchProjectsParams struct { // PageSize Maximum number of projects returned in the response. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` // NextPage Token to the next page containing the list of projects. NextPage *string `form:"next_page,omitempty" json:"next_page,omitempty"` }
ListElasticsearchProjectsParams defines parameters for ListElasticsearchProjects.
type ListElasticsearchProjectsResponse ¶
type ListElasticsearchProjectsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ElasticsearchProjectList JSON401 *Unauthorized }
func ParseListElasticsearchProjectsResponse ¶
func ParseListElasticsearchProjectsResponse(rsp *http.Response) (*ListElasticsearchProjectsResponse, error)
ParseListElasticsearchProjectsResponse parses an HTTP response from a ListElasticsearchProjectsWithResponse call
func (ListElasticsearchProjectsResponse) Status ¶
func (r ListElasticsearchProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (ListElasticsearchProjectsResponse) StatusCode ¶
func (r ListElasticsearchProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListObservabilityProjectsParams ¶
type ListObservabilityProjectsParams struct { // PageSize Maximum number of projects returned in the response. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` // NextPage Token to the next page containing the list of projects. NextPage *string `form:"next_page,omitempty" json:"next_page,omitempty"` }
ListObservabilityProjectsParams defines parameters for ListObservabilityProjects.
type ListObservabilityProjectsResponse ¶
type ListObservabilityProjectsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ObservabilityProjectList JSON401 *Unauthorized }
func ParseListObservabilityProjectsResponse ¶
func ParseListObservabilityProjectsResponse(rsp *http.Response) (*ListObservabilityProjectsResponse, error)
ParseListObservabilityProjectsResponse parses an HTTP response from a ListObservabilityProjectsWithResponse call
func (ListObservabilityProjectsResponse) Status ¶
func (r ListObservabilityProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (ListObservabilityProjectsResponse) StatusCode ¶
func (r ListObservabilityProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRegionsResponse ¶
type ListRegionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]Region JSON401 *Unauthorized }
func ParseListRegionsResponse ¶
func ParseListRegionsResponse(rsp *http.Response) (*ListRegionsResponse, error)
ParseListRegionsResponse parses an HTTP response from a ListRegionsWithResponse call
func (ListRegionsResponse) Status ¶
func (r ListRegionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListRegionsResponse) StatusCode ¶
func (r ListRegionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSecurityProjectsParams ¶
type ListSecurityProjectsParams struct { // PageSize Maximum number of projects returned in the response. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` // NextPage Token to the next page containing the list of projects. NextPage *string `form:"next_page,omitempty" json:"next_page,omitempty"` }
ListSecurityProjectsParams defines parameters for ListSecurityProjects.
type ListSecurityProjectsResponse ¶
type ListSecurityProjectsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SecurityProjectList JSON401 *Unauthorized }
func ParseListSecurityProjectsResponse ¶
func ParseListSecurityProjectsResponse(rsp *http.Response) (*ListSecurityProjectsResponse, error)
ParseListSecurityProjectsResponse parses an HTTP response from a ListSecurityProjectsWithResponse call
func (ListSecurityProjectsResponse) Status ¶
func (r ListSecurityProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSecurityProjectsResponse) StatusCode ¶
func (r ListSecurityProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MultiErrorResponse ¶
type MultiErrorResponse struct {
Errors []ErrorResponse `json:"errors"`
}
MultiErrorResponse A non-empty list of errors.
type ObservabilityProject ¶
type ObservabilityProject struct { // Alias A custom domain label compatible with RFC-1035 standards. Derived from the project name by default. Alias ProjectAlias `json:"alias"` // CloudId The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana. CloudId CloudID `json:"cloud_id"` // Endpoints The endpoints to access the different apps of the project. Endpoints ObservabilityProjectEndpoints `json:"endpoints"` // Id ID of the project. Id ProjectID `json:"id"` // Metadata Additional details about the project. Metadata ProjectMetadata `json:"metadata"` // Name Descriptive name for a project. Name ProjectName `json:"name"` // RegionId Unique human-readable identifier for a region in Elastic Cloud. RegionId RegionID `json:"region_id"` // Type the type of the project Type ObservabilityProjectType `json:"type"` }
ObservabilityProject An Observability project.
type ObservabilityProjectCreated ¶
type ObservabilityProjectCreated struct { // Alias A custom domain label compatible with RFC-1035 standards. Derived from the project name by default. Alias ProjectAlias `json:"alias"` // CloudId The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana. CloudId CloudID `json:"cloud_id"` // Credentials Basic auth credentials to access the Elasticsearch API. Credentials ProjectCredentials `json:"credentials"` // Endpoints The endpoints to access the different apps of the project. Endpoints ObservabilityProjectEndpoints `json:"endpoints"` // Id ID of the project. Id ProjectID `json:"id"` // Metadata Additional details about the project. Metadata ProjectMetadata `json:"metadata"` // Name Descriptive name for a project. Name ProjectName `json:"name"` // RegionId Unique human-readable identifier for a region in Elastic Cloud. RegionId RegionID `json:"region_id"` // Type the type of the project Type ObservabilityProjectCreatedType `json:"type"` }
ObservabilityProjectCreated The created Observability project along with credentials to access Elasticsearch.
type ObservabilityProjectCreatedType ¶
type ObservabilityProjectCreatedType string
ObservabilityProjectCreatedType the type of the project
const (
ObservabilityProjectCreatedTypeObservability ObservabilityProjectCreatedType = "observability"
)
Defines values for ObservabilityProjectCreatedType.
type ObservabilityProjectEndpoints ¶
type ObservabilityProjectEndpoints struct { // Apm The endpoint to access apm. Apm string `json:"apm"` // Elasticsearch The endpoint to access elasticsearch. Elasticsearch string `json:"elasticsearch"` // Kibana The endpoint to access kibana. Kibana string `json:"kibana"` }
ObservabilityProjectEndpoints The endpoints to access the different apps of the project.
type ObservabilityProjectList ¶
type ObservabilityProjectList struct { // Items The actual projects. Items []ObservabilityProject `json:"items"` // NextPage A token to fetch the next page. NextPage *string `json:"next_page,omitempty"` }
ObservabilityProjectList A paginated list of serverless Observability projects.
type ObservabilityProjectType ¶
type ObservabilityProjectType string
ObservabilityProjectType the type of the project
const (
ObservabilityProjectTypeObservability ObservabilityProjectType = "observability"
)
Defines values for ObservabilityProjectType.
type OptionalElasticsearchSearchLake ¶
type OptionalElasticsearchSearchLake struct { // BoostWindow Determines how much data can benefit from faster search. When ingested, a certain amount of data is loaded into a cache that makes it super fast to query. The system dynamically adjusts the cache allocated to your project based on how much data you ingest during the period defined by your Search Boost Window. It can be passed as `null` to reset the Search Boost Window to the default value. BoostWindow *int `json:"boost_window"` // SearchPower Controls how fast searches are against your project data. When ingested, a certain amount of data is loaded into a cache that makes it super fast to query. You can either increase the performance of searches on cached data by adding replicas, or reduce the quantity of cached data by a static factor to save on costs. It can be passed as `null` to reset the Search Power to the default value. SearchPower *int `json:"search_power"` }
OptionalElasticsearchSearchLake Configuration for entire set of capabilities that make the data searchable in Elasticsearch. It can be passed as `null` to reset configuration to the default values.
type OptionalSecurityAdminFeaturesPackage ¶
type OptionalSecurityAdminFeaturesPackage string
OptionalSecurityAdminFeaturesPackage admin features package (BYOK, BYOIDP, CCS, CCR). It can be passed as `null` to reset the admin features package to the default value.
const ( OptionalSecurityAdminFeaturesPackageEnterprise OptionalSecurityAdminFeaturesPackage = "enterprise" OptionalSecurityAdminFeaturesPackageStandard OptionalSecurityAdminFeaturesPackage = "standard" )
Defines values for OptionalSecurityAdminFeaturesPackage.
type PatchElasticsearchProjectJSONRequestBody ¶
type PatchElasticsearchProjectJSONRequestBody = PatchElasticsearchProjectRequest
PatchElasticsearchProjectJSONRequestBody defines body for PatchElasticsearchProject for application/json ContentType.
type PatchElasticsearchProjectParams ¶
type PatchElasticsearchProjectParams struct { // IfMatch ETag value fetched in a previous GET project request. Used to prevent simultaneous updates IfMatch *string `json:"If-Match,omitempty"` }
PatchElasticsearchProjectParams defines parameters for PatchElasticsearchProject.
type PatchElasticsearchProjectRequest ¶
type PatchElasticsearchProjectRequest struct { // Alias A custom domain label compatible with RFC-1035 standards. Derived from the project name by default. Alias *ProjectAlias `json:"alias,omitempty"` // Name Descriptive name for a project. Name *ProjectName `json:"name,omitempty"` // SearchLake Configuration for entire set of capabilities that make the data searchable in Elasticsearch. It can be passed as `null` to reset configuration to the default values. SearchLake *OptionalElasticsearchSearchLake `json:"search_lake"` }
PatchElasticsearchProjectRequest A request to patch an existing Elasticsearch serverless project.
type PatchElasticsearchProjectResponse ¶
type PatchElasticsearchProjectResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ElasticsearchProject JSON404 *NotFound }
func ParsePatchElasticsearchProjectResponse ¶
func ParsePatchElasticsearchProjectResponse(rsp *http.Response) (*PatchElasticsearchProjectResponse, error)
ParsePatchElasticsearchProjectResponse parses an HTTP response from a PatchElasticsearchProjectWithResponse call
func (PatchElasticsearchProjectResponse) Status ¶
func (r PatchElasticsearchProjectResponse) Status() string
Status returns HTTPResponse.Status
func (PatchElasticsearchProjectResponse) StatusCode ¶
func (r PatchElasticsearchProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchObservabilityProjectJSONRequestBody ¶
type PatchObservabilityProjectJSONRequestBody = PatchObservabilityProjectRequest
PatchObservabilityProjectJSONRequestBody defines body for PatchObservabilityProject for application/json ContentType.
type PatchObservabilityProjectParams ¶
type PatchObservabilityProjectParams struct { // IfMatch ETag value fetched in a previous GET project request. Used to prevent simultaneous updates IfMatch *string `json:"If-Match,omitempty"` }
PatchObservabilityProjectParams defines parameters for PatchObservabilityProject.
type PatchObservabilityProjectRequest ¶
type PatchObservabilityProjectRequest struct { // Alias A custom domain label compatible with RFC-1035 standards. Derived from the project name by default. Alias *ProjectAlias `json:"alias,omitempty"` // Name Descriptive name for a project. Name *ProjectName `json:"name,omitempty"` }
PatchObservabilityProjectRequest A request to update an existing Observability project.
type PatchObservabilityProjectResponse ¶
type PatchObservabilityProjectResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ObservabilityProject JSON404 *NotFound }
func ParsePatchObservabilityProjectResponse ¶
func ParsePatchObservabilityProjectResponse(rsp *http.Response) (*PatchObservabilityProjectResponse, error)
ParsePatchObservabilityProjectResponse parses an HTTP response from a PatchObservabilityProjectWithResponse call
func (PatchObservabilityProjectResponse) Status ¶
func (r PatchObservabilityProjectResponse) Status() string
Status returns HTTPResponse.Status
func (PatchObservabilityProjectResponse) StatusCode ¶
func (r PatchObservabilityProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchSecurityProjectJSONRequestBody ¶
type PatchSecurityProjectJSONRequestBody = PatchSecurityProjectRequest
PatchSecurityProjectJSONRequestBody defines body for PatchSecurityProject for application/json ContentType.
type PatchSecurityProjectParams ¶
type PatchSecurityProjectParams struct { // IfMatch ETag value fetched in a previous GET project request. Used to prevent simultaneous updates IfMatch *string `json:"If-Match,omitempty"` }
PatchSecurityProjectParams defines parameters for PatchSecurityProject.
type PatchSecurityProjectRequest ¶
type PatchSecurityProjectRequest struct { // AdminFeaturesPackage admin features package (BYOK, BYOIDP, CCS, CCR). It can be passed as `null` to reset the admin features package to the default value. AdminFeaturesPackage *OptionalSecurityAdminFeaturesPackage `json:"admin_features_package"` // Alias A custom domain label compatible with RFC-1035 standards. Derived from the project name by default. Alias *ProjectAlias `json:"alias,omitempty"` // Name Descriptive name for a project. Name *ProjectName `json:"name,omitempty"` ProductTypes *[]SecurityProductType `json:"product_types"` }
PatchSecurityProjectRequest A request to patch an existing Security project.
type PatchSecurityProjectResponse ¶
type PatchSecurityProjectResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SecurityProject JSON404 *NotFound }
func ParsePatchSecurityProjectResponse ¶
func ParsePatchSecurityProjectResponse(rsp *http.Response) (*PatchSecurityProjectResponse, error)
ParsePatchSecurityProjectResponse parses an HTTP response from a PatchSecurityProjectWithResponse call
func (PatchSecurityProjectResponse) Status ¶
func (r PatchSecurityProjectResponse) Status() string
Status returns HTTPResponse.Status
func (PatchSecurityProjectResponse) StatusCode ¶
func (r PatchSecurityProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectAlias ¶
type ProjectAlias = string
ProjectAlias A custom domain label compatible with RFC-1035 standards. Derived from the project name by default.
type ProjectCredentials ¶
type ProjectCredentials struct { // Password Basic auth password that can be used to access the Elasticsearch API. Password string `json:"password"` // Username Basic auth username that can be used to access the Elasticsearch API. Username string `json:"username"` }
ProjectCredentials Basic auth credentials to access the Elasticsearch API.
type ProjectMetadata ¶
type ProjectMetadata struct { // CreatedAt Date and time when the project was created. CreatedAt time.Time `json:"created_at"` // CreatedBy ID of the user. CreatedBy UserID `json:"created_by"` // OrganizationId The Organization ID who owns the project. OrganizationId string `json:"organization_id"` // SuspendedAt Date and time when the project was suspended. SuspendedAt *time.Time `json:"suspended_at,omitempty"` // SuspendedReason Reason why the project was suspended. SuspendedReason *string `json:"suspended_reason,omitempty"` }
ProjectMetadata Additional details about the project.
type ProjectRoleDescription ¶
type ProjectRoleDescription = string
ProjectRoleDescription A role description for a particular role
type ProjectRoleDetails ¶
type ProjectRoleDetails struct { // Description A role description for a particular role Description ProjectRoleDescription `json:"description"` // Name A role name for a particular project Name ProjectRole `json:"name"` }
ProjectRoleDetails Roles of a serverless project.
type ProjectRoles ¶
type ProjectRoles struct {
Roles *[]ProjectRoleDetails `json:"roles,omitempty"`
}
ProjectRoles defines model for ProjectRoles.
type ProjectRolesByProjectID ¶
type ProjectRolesByProjectID map[string]ProjectRoles
ProjectRolesByProjectID defines model for ProjectRolesByProjectID.
type ProjectStatus ¶
type ProjectStatus struct { // Phase Current phase of the project: // - initializing: the project is still being created and is not ready for use yet // - initialized: the project has been created successfully and is ready for use Phase ProjectStatusPhase `json:"phase"` }
ProjectStatus Status of a serverless project.
type ProjectStatusPhase ¶
type ProjectStatusPhase string
ProjectStatusPhase Current phase of the project: - initializing: the project is still being created and is not ready for use yet - initialized: the project has been created successfully and is ready for use
const ( Initialized ProjectStatusPhase = "initialized" Initializing ProjectStatusPhase = "initializing" )
Defines values for ProjectStatusPhase.
type Region ¶
type Region struct { // Csp The identifier of the cloud service provider hosting this region. Csp CSP `json:"csp"` // CspRegion The unique identifier of the underlying cloud service provider region. CspRegion string `json:"csp_region"` // Id Unique human-readable identifier for a region in Elastic Cloud. Id RegionID `json:"id"` // Name The human readable name for the region Name string `json:"name"` }
Region A Cloud Service Provider region.
type RegionID ¶
type RegionID = string
RegionID Unique human-readable identifier for a region in Elastic Cloud.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResetElasticsearchProjectCredentialsParams ¶
type ResetElasticsearchProjectCredentialsParams struct { // IfMatch ETag value fetched in a previous GET project request. Used to prevent simultaneous updates IfMatch *string `json:"If-Match,omitempty"` }
ResetElasticsearchProjectCredentialsParams defines parameters for ResetElasticsearchProjectCredentials.
type ResetElasticsearchProjectCredentialsResponse ¶
type ResetElasticsearchProjectCredentialsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectCredentials JSON404 *NotFound }
func ParseResetElasticsearchProjectCredentialsResponse ¶
func ParseResetElasticsearchProjectCredentialsResponse(rsp *http.Response) (*ResetElasticsearchProjectCredentialsResponse, error)
ParseResetElasticsearchProjectCredentialsResponse parses an HTTP response from a ResetElasticsearchProjectCredentialsWithResponse call
func (ResetElasticsearchProjectCredentialsResponse) Status ¶
func (r ResetElasticsearchProjectCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (ResetElasticsearchProjectCredentialsResponse) StatusCode ¶
func (r ResetElasticsearchProjectCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetObservabilityProjectCredentialsParams ¶
type ResetObservabilityProjectCredentialsParams struct { // IfMatch ETag value fetched in a previous GET project request. Used to prevent simultaneous updates IfMatch *string `json:"If-Match,omitempty"` }
ResetObservabilityProjectCredentialsParams defines parameters for ResetObservabilityProjectCredentials.
type ResetObservabilityProjectCredentialsResponse ¶
type ResetObservabilityProjectCredentialsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectCredentials JSON404 *NotFound }
func ParseResetObservabilityProjectCredentialsResponse ¶
func ParseResetObservabilityProjectCredentialsResponse(rsp *http.Response) (*ResetObservabilityProjectCredentialsResponse, error)
ParseResetObservabilityProjectCredentialsResponse parses an HTTP response from a ResetObservabilityProjectCredentialsWithResponse call
func (ResetObservabilityProjectCredentialsResponse) Status ¶
func (r ResetObservabilityProjectCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (ResetObservabilityProjectCredentialsResponse) StatusCode ¶
func (r ResetObservabilityProjectCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetSecurityProjectCredentialsParams ¶
type ResetSecurityProjectCredentialsParams struct { // IfMatch ETag value fetched in a previous GET project request. Used to prevent simultaneous updates IfMatch *string `json:"If-Match,omitempty"` }
ResetSecurityProjectCredentialsParams defines parameters for ResetSecurityProjectCredentials.
type ResetSecurityProjectCredentialsResponse ¶
type ResetSecurityProjectCredentialsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectCredentials JSON404 *NotFound }
func ParseResetSecurityProjectCredentialsResponse ¶
func ParseResetSecurityProjectCredentialsResponse(rsp *http.Response) (*ResetSecurityProjectCredentialsResponse, error)
ParseResetSecurityProjectCredentialsResponse parses an HTTP response from a ResetSecurityProjectCredentialsWithResponse call
func (ResetSecurityProjectCredentialsResponse) Status ¶
func (r ResetSecurityProjectCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (ResetSecurityProjectCredentialsResponse) StatusCode ¶
func (r ResetSecurityProjectCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResumeElasticsearchProjectParams ¶
type ResumeElasticsearchProjectParams struct { // IfMatch ETag value fetched in a previous GET project request. Used to prevent simultaneous updates. IfMatch *string `json:"If-Match,omitempty"` }
ResumeElasticsearchProjectParams defines parameters for ResumeElasticsearchProject.
type ResumeElasticsearchProjectResponse ¶
type ResumeElasticsearchProjectResponse struct { Body []byte HTTPResponse *http.Response JSON404 *NotFound }
func ParseResumeElasticsearchProjectResponse ¶
func ParseResumeElasticsearchProjectResponse(rsp *http.Response) (*ResumeElasticsearchProjectResponse, error)
ParseResumeElasticsearchProjectResponse parses an HTTP response from a ResumeElasticsearchProjectWithResponse call
func (ResumeElasticsearchProjectResponse) Status ¶
func (r ResumeElasticsearchProjectResponse) Status() string
Status returns HTTPResponse.Status
func (ResumeElasticsearchProjectResponse) StatusCode ¶
func (r ResumeElasticsearchProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResumeObservabilityProjectParams ¶
type ResumeObservabilityProjectParams struct { // IfMatch ETag value fetched in a previous GET project request. Used to prevent simultaneous updates. IfMatch *string `json:"If-Match,omitempty"` }
ResumeObservabilityProjectParams defines parameters for ResumeObservabilityProject.
type ResumeObservabilityProjectResponse ¶
type ResumeObservabilityProjectResponse struct { Body []byte HTTPResponse *http.Response JSON404 *NotFound }
func ParseResumeObservabilityProjectResponse ¶
func ParseResumeObservabilityProjectResponse(rsp *http.Response) (*ResumeObservabilityProjectResponse, error)
ParseResumeObservabilityProjectResponse parses an HTTP response from a ResumeObservabilityProjectWithResponse call
func (ResumeObservabilityProjectResponse) Status ¶
func (r ResumeObservabilityProjectResponse) Status() string
Status returns HTTPResponse.Status
func (ResumeObservabilityProjectResponse) StatusCode ¶
func (r ResumeObservabilityProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResumeSecurityProjectParams ¶
type ResumeSecurityProjectParams struct { // IfMatch ETag value fetched in a previous GET project request. Used to prevent simultaneous updates. IfMatch *string `json:"If-Match,omitempty"` }
ResumeSecurityProjectParams defines parameters for ResumeSecurityProject.
type ResumeSecurityProjectResponse ¶
type ResumeSecurityProjectResponse struct { Body []byte HTTPResponse *http.Response JSON404 *NotFound }
func ParseResumeSecurityProjectResponse ¶
func ParseResumeSecurityProjectResponse(rsp *http.Response) (*ResumeSecurityProjectResponse, error)
ParseResumeSecurityProjectResponse parses an HTTP response from a ResumeSecurityProjectWithResponse call
func (ResumeSecurityProjectResponse) Status ¶
func (r ResumeSecurityProjectResponse) Status() string
Status returns HTTPResponse.Status
func (ResumeSecurityProjectResponse) StatusCode ¶
func (r ResumeSecurityProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityAdminFeaturesPackage ¶
type SecurityAdminFeaturesPackage string
SecurityAdminFeaturesPackage admin features package (BYOK, BYOIDP, CCS, CCR)
const ( SecurityAdminFeaturesPackageEnterprise SecurityAdminFeaturesPackage = "enterprise" SecurityAdminFeaturesPackageStandard SecurityAdminFeaturesPackage = "standard" )
Defines values for SecurityAdminFeaturesPackage.
type SecurityProductLine ¶
type SecurityProductLine string
SecurityProductLine The identifier of the Security Solution product line.
const ( SecurityProductLineCloud SecurityProductLine = "cloud" SecurityProductLineEndpoint SecurityProductLine = "endpoint" SecurityProductLineSecurity SecurityProductLine = "security" )
Defines values for SecurityProductLine.
type SecurityProductTier ¶
type SecurityProductTier string
SecurityProductTier The identifier of the Security Solution product tier.
const ( Complete SecurityProductTier = "complete" Essentials SecurityProductTier = "essentials" )
Defines values for SecurityProductTier.
type SecurityProductType ¶
type SecurityProductType struct { // ProductLine The identifier of the Security Solution product line. ProductLine SecurityProductLine `json:"product_line"` // ProductTier The identifier of the Security Solution product tier. ProductTier SecurityProductTier `json:"product_tier"` }
SecurityProductType Defines Security product type object with product line and tier dimensions.
type SecurityProject ¶
type SecurityProject struct { // AdminFeaturesPackage admin features package (BYOK, BYOIDP, CCS, CCR) AdminFeaturesPackage *SecurityAdminFeaturesPackage `json:"admin_features_package,omitempty"` // Alias A custom domain label compatible with RFC-1035 standards. Derived from the project name by default. Alias ProjectAlias `json:"alias"` // CloudId The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana. CloudId CloudID `json:"cloud_id"` // Endpoints The endpoints to access the different apps of the project. Endpoints SecurityProjectEndpoints `json:"endpoints"` // Id ID of the project. Id ProjectID `json:"id"` // Metadata Additional details about the project. Metadata ProjectMetadata `json:"metadata"` // Name Descriptive name for a project. Name ProjectName `json:"name"` ProductTypes *[]SecurityProductType `json:"product_types,omitempty"` // RegionId Unique human-readable identifier for a region in Elastic Cloud. RegionId RegionID `json:"region_id"` // Type the type of the project Type SecurityProjectType `json:"type"` }
SecurityProject A Security project.
type SecurityProjectCreated ¶
type SecurityProjectCreated struct { // AdminFeaturesPackage admin features package (BYOK, BYOIDP, CCS, CCR) AdminFeaturesPackage *SecurityAdminFeaturesPackage `json:"admin_features_package,omitempty"` // Alias A custom domain label compatible with RFC-1035 standards. Derived from the project name by default. Alias ProjectAlias `json:"alias"` // CloudId The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana. CloudId CloudID `json:"cloud_id"` // Credentials Basic auth credentials to access the Elasticsearch API. Credentials ProjectCredentials `json:"credentials"` // Endpoints The endpoints to access the different apps of the project. Endpoints SecurityProjectEndpoints `json:"endpoints"` // Id ID of the project. Id ProjectID `json:"id"` // Metadata Additional details about the project. Metadata ProjectMetadata `json:"metadata"` // Name Descriptive name for a project. Name ProjectName `json:"name"` ProductTypes *[]SecurityProductType `json:"product_types,omitempty"` // RegionId Unique human-readable identifier for a region in Elastic Cloud. RegionId RegionID `json:"region_id"` // Type the type of the project Type SecurityProjectCreatedType `json:"type"` }
SecurityProjectCreated The created Security project along with credentials to access Elasticsearch.
type SecurityProjectCreatedType ¶
type SecurityProjectCreatedType string
SecurityProjectCreatedType the type of the project
const (
Security SecurityProjectCreatedType = "security"
)
Defines values for SecurityProjectCreatedType.
type SecurityProjectEndpoints ¶
type SecurityProjectEndpoints struct { // Elasticsearch The endpoint to access elasticsearch. Elasticsearch string `json:"elasticsearch"` // Kibana The endpoint to access kibana. Kibana string `json:"kibana"` }
SecurityProjectEndpoints The endpoints to access the different apps of the project.
type SecurityProjectList ¶
type SecurityProjectList struct { // Items The actual projects. Items []SecurityProject `json:"items"` // NextPage A token to fetch the next page. NextPage *string `json:"next_page,omitempty"` }
SecurityProjectList A paginated list of serverless Security projects.
type SecurityProjectType ¶
type SecurityProjectType string
SecurityProjectType the type of the project
const (
SecurityProjectTypeSecurity SecurityProjectType = "security"
)
Defines values for SecurityProjectType.
type UnprocessableEntity ¶
type UnprocessableEntity = MultiErrorResponse
UnprocessableEntity A non-empty list of errors.
Directories ¶
Path | Synopsis |
---|---|
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |