certificatesmanagement

package
v65.63.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0, UPL-1.0 Imports: 7 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAssociationLifecycleStateEnumStringValues

func GetAssociationLifecycleStateEnumStringValues() []string

GetAssociationLifecycleStateEnumStringValues Enumerates the set of values in String for AssociationLifecycleStateEnum

func GetAssociationTypeEnumStringValues

func GetAssociationTypeEnumStringValues() []string

GetAssociationTypeEnumStringValues Enumerates the set of values in String for AssociationTypeEnum

func GetCaBundleLifecycleStateEnumStringValues

func GetCaBundleLifecycleStateEnumStringValues() []string

GetCaBundleLifecycleStateEnumStringValues Enumerates the set of values in String for CaBundleLifecycleStateEnum

func GetCertificateAuthorityConfigTypeEnumStringValues

func GetCertificateAuthorityConfigTypeEnumStringValues() []string

GetCertificateAuthorityConfigTypeEnumStringValues Enumerates the set of values in String for CertificateAuthorityConfigTypeEnum

func GetCertificateAuthorityLifecycleStateEnumStringValues

func GetCertificateAuthorityLifecycleStateEnumStringValues() []string

GetCertificateAuthorityLifecycleStateEnumStringValues Enumerates the set of values in String for CertificateAuthorityLifecycleStateEnum

func GetCertificateAuthorityRuleRuleTypeEnumStringValues

func GetCertificateAuthorityRuleRuleTypeEnumStringValues() []string

GetCertificateAuthorityRuleRuleTypeEnumStringValues Enumerates the set of values in String for CertificateAuthorityRuleRuleTypeEnum

func GetCertificateConfigTypeEnumStringValues

func GetCertificateConfigTypeEnumStringValues() []string

GetCertificateConfigTypeEnumStringValues Enumerates the set of values in String for CertificateConfigTypeEnum

func GetCertificateLifecycleStateEnumStringValues

func GetCertificateLifecycleStateEnumStringValues() []string

GetCertificateLifecycleStateEnumStringValues Enumerates the set of values in String for CertificateLifecycleStateEnum

func GetCertificateProfileTypeEnumStringValues

func GetCertificateProfileTypeEnumStringValues() []string

GetCertificateProfileTypeEnumStringValues Enumerates the set of values in String for CertificateProfileTypeEnum

func GetCertificateRuleRuleTypeEnumStringValues

func GetCertificateRuleRuleTypeEnumStringValues() []string

GetCertificateRuleRuleTypeEnumStringValues Enumerates the set of values in String for CertificateRuleRuleTypeEnum

func GetCertificateSubjectAlternativeNameTypeEnumStringValues

func GetCertificateSubjectAlternativeNameTypeEnumStringValues() []string

GetCertificateSubjectAlternativeNameTypeEnumStringValues Enumerates the set of values in String for CertificateSubjectAlternativeNameTypeEnum

func GetKeyAlgorithmEnumStringValues

func GetKeyAlgorithmEnumStringValues() []string

GetKeyAlgorithmEnumStringValues Enumerates the set of values in String for KeyAlgorithmEnum

func GetListAssociationsAssociationTypeEnumStringValues

func GetListAssociationsAssociationTypeEnumStringValues() []string

GetListAssociationsAssociationTypeEnumStringValues Enumerates the set of values in String for ListAssociationsAssociationTypeEnum

func GetListAssociationsSortByEnumStringValues

func GetListAssociationsSortByEnumStringValues() []string

GetListAssociationsSortByEnumStringValues Enumerates the set of values in String for ListAssociationsSortByEnum

func GetListAssociationsSortOrderEnumStringValues

func GetListAssociationsSortOrderEnumStringValues() []string

GetListAssociationsSortOrderEnumStringValues Enumerates the set of values in String for ListAssociationsSortOrderEnum

func GetListCaBundlesLifecycleStateEnumStringValues

func GetListCaBundlesLifecycleStateEnumStringValues() []string

GetListCaBundlesLifecycleStateEnumStringValues Enumerates the set of values in String for ListCaBundlesLifecycleStateEnum

func GetListCaBundlesSortByEnumStringValues

func GetListCaBundlesSortByEnumStringValues() []string

GetListCaBundlesSortByEnumStringValues Enumerates the set of values in String for ListCaBundlesSortByEnum

func GetListCaBundlesSortOrderEnumStringValues

func GetListCaBundlesSortOrderEnumStringValues() []string

GetListCaBundlesSortOrderEnumStringValues Enumerates the set of values in String for ListCaBundlesSortOrderEnum

func GetListCertificateAuthoritiesLifecycleStateEnumStringValues

func GetListCertificateAuthoritiesLifecycleStateEnumStringValues() []string

GetListCertificateAuthoritiesLifecycleStateEnumStringValues Enumerates the set of values in String for ListCertificateAuthoritiesLifecycleStateEnum

func GetListCertificateAuthoritiesSortByEnumStringValues

func GetListCertificateAuthoritiesSortByEnumStringValues() []string

GetListCertificateAuthoritiesSortByEnumStringValues Enumerates the set of values in String for ListCertificateAuthoritiesSortByEnum

func GetListCertificateAuthoritiesSortOrderEnumStringValues

func GetListCertificateAuthoritiesSortOrderEnumStringValues() []string

GetListCertificateAuthoritiesSortOrderEnumStringValues Enumerates the set of values in String for ListCertificateAuthoritiesSortOrderEnum

func GetListCertificateAuthorityVersionsSortByEnumStringValues

func GetListCertificateAuthorityVersionsSortByEnumStringValues() []string

GetListCertificateAuthorityVersionsSortByEnumStringValues Enumerates the set of values in String for ListCertificateAuthorityVersionsSortByEnum

func GetListCertificateAuthorityVersionsSortOrderEnumStringValues

func GetListCertificateAuthorityVersionsSortOrderEnumStringValues() []string

GetListCertificateAuthorityVersionsSortOrderEnumStringValues Enumerates the set of values in String for ListCertificateAuthorityVersionsSortOrderEnum

func GetListCertificateVersionsSortByEnumStringValues

func GetListCertificateVersionsSortByEnumStringValues() []string

GetListCertificateVersionsSortByEnumStringValues Enumerates the set of values in String for ListCertificateVersionsSortByEnum

func GetListCertificateVersionsSortOrderEnumStringValues

func GetListCertificateVersionsSortOrderEnumStringValues() []string

GetListCertificateVersionsSortOrderEnumStringValues Enumerates the set of values in String for ListCertificateVersionsSortOrderEnum

func GetListCertificatesLifecycleStateEnumStringValues

func GetListCertificatesLifecycleStateEnumStringValues() []string

GetListCertificatesLifecycleStateEnumStringValues Enumerates the set of values in String for ListCertificatesLifecycleStateEnum

func GetListCertificatesSortByEnumStringValues

func GetListCertificatesSortByEnumStringValues() []string

GetListCertificatesSortByEnumStringValues Enumerates the set of values in String for ListCertificatesSortByEnum

func GetListCertificatesSortOrderEnumStringValues

func GetListCertificatesSortOrderEnumStringValues() []string

GetListCertificatesSortOrderEnumStringValues Enumerates the set of values in String for ListCertificatesSortOrderEnum

func GetRevocationReasonEnumStringValues

func GetRevocationReasonEnumStringValues() []string

GetRevocationReasonEnumStringValues Enumerates the set of values in String for RevocationReasonEnum

func GetSignatureAlgorithmEnumStringValues

func GetSignatureAlgorithmEnumStringValues() []string

GetSignatureAlgorithmEnumStringValues Enumerates the set of values in String for SignatureAlgorithmEnum

func GetUpdateCertificateAuthorityConfigDetailsStageEnumStringValues

func GetUpdateCertificateAuthorityConfigDetailsStageEnumStringValues() []string

GetUpdateCertificateAuthorityConfigDetailsStageEnumStringValues Enumerates the set of values in String for UpdateCertificateAuthorityConfigDetailsStageEnum

func GetUpdateCertificateConfigDetailsStageEnumStringValues

func GetUpdateCertificateConfigDetailsStageEnumStringValues() []string

GetUpdateCertificateConfigDetailsStageEnumStringValues Enumerates the set of values in String for UpdateCertificateConfigDetailsStageEnum

func GetVersionStageEnumStringValues

func GetVersionStageEnumStringValues() []string

GetVersionStageEnumStringValues Enumerates the set of values in String for VersionStageEnum

Types

type Association

type Association struct {

	// The OCID of the association.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name generated by the service for the association, expressed in a format that follows the pattern: [certificatesResourceEntityType]-[associatedResourceEntityType]-UUID.
	Name *string `mandatory:"true" json:"name"`

	// A property indicating when the association was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current lifecycle state of the association.
	LifecycleState AssociationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the certificate-related resource associated with another Oracle Cloud Infrastructure resource.
	CertificatesResourceId *string `mandatory:"true" json:"certificatesResourceId"`

	// The OCID of the associated resource.
	AssociatedResourceId *string `mandatory:"true" json:"associatedResourceId"`

	// The compartment OCID of the association, which is strongly tied to the compartment OCID of the certificate-related resource.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Type of the association.
	AssociationType AssociationTypeEnum `mandatory:"true" json:"associationType"`
}

Association The details of the association.

func (Association) String

func (m Association) String() string

func (Association) ValidateEnumValue

func (m Association) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AssociationCollection

type AssociationCollection struct {

	// A list of association summary objects.
	Items []AssociationSummary `mandatory:"true" json:"items"`
}

AssociationCollection The results of an association search.

func (AssociationCollection) String

func (m AssociationCollection) String() string

func (AssociationCollection) ValidateEnumValue

func (m AssociationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AssociationLifecycleStateEnum

type AssociationLifecycleStateEnum string

AssociationLifecycleStateEnum Enum with underlying type: string

const (
	AssociationLifecycleStateCreating AssociationLifecycleStateEnum = "CREATING"
	AssociationLifecycleStateActive   AssociationLifecycleStateEnum = "ACTIVE"
	AssociationLifecycleStateUpdating AssociationLifecycleStateEnum = "UPDATING"
	AssociationLifecycleStateDeleting AssociationLifecycleStateEnum = "DELETING"
	AssociationLifecycleStateFailed   AssociationLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for AssociationLifecycleStateEnum

func GetAssociationLifecycleStateEnumValues

func GetAssociationLifecycleStateEnumValues() []AssociationLifecycleStateEnum

GetAssociationLifecycleStateEnumValues Enumerates the set of values for AssociationLifecycleStateEnum

func GetMappingAssociationLifecycleStateEnum

func GetMappingAssociationLifecycleStateEnum(val string) (AssociationLifecycleStateEnum, bool)

GetMappingAssociationLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type AssociationSummary

type AssociationSummary struct {

	// The OCID of the association.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name generated by the service for the association. Name format follows the pattern [certificatesResourceEntityType]-[associatedResourceEntityType]-UUID.
	Name *string `mandatory:"true" json:"name"`

	// A property indicating when the association was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current lifecycle state of the association.
	LifecycleState AssociationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the certificate-related resource associated with another Oracle Cloud Infrastructure resource.
	CertificatesResourceId *string `mandatory:"true" json:"certificatesResourceId"`

	// The OCID of the associated resource.
	AssociatedResourceId *string `mandatory:"true" json:"associatedResourceId"`

	// The compartment OCID of the association. This is strongly tied to the compartment OCID of the certificate-related resource.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Type of the association.
	AssociationType AssociationTypeEnum `mandatory:"true" json:"associationType"`
}

AssociationSummary The details of the association.

func (AssociationSummary) String

func (m AssociationSummary) String() string

func (AssociationSummary) ValidateEnumValue

func (m AssociationSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AssociationTypeEnum

type AssociationTypeEnum string

AssociationTypeEnum Enum with underlying type: string

const (
	AssociationTypeCertificate          AssociationTypeEnum = "CERTIFICATE"
	AssociationTypeCertificateAuthority AssociationTypeEnum = "CERTIFICATE_AUTHORITY"
	AssociationTypeCaBundle             AssociationTypeEnum = "CA_BUNDLE"
)

Set of constants representing the allowable values for AssociationTypeEnum

func GetAssociationTypeEnumValues

func GetAssociationTypeEnumValues() []AssociationTypeEnum

GetAssociationTypeEnumValues Enumerates the set of values for AssociationTypeEnum

func GetMappingAssociationTypeEnum

func GetMappingAssociationTypeEnum(val string) (AssociationTypeEnum, bool)

GetMappingAssociationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CaBundle

type CaBundle struct {

	// The OCID of the CA bundle.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name for the CA bundle. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
	Name *string `mandatory:"true" json:"name"`

	// A property indicating when the CA bundle was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current lifecycle state of the CA bundle.
	LifecycleState CaBundleLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the compartment for the CA bundle.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A brief description of the CA bundle.
	Description *string `mandatory:"false" json:"description"`

	// Additional information about the current lifecycle state of the CA bundle.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CaBundle CA bundle metadata. This object does not contain the CA bundle certificates.

func (CaBundle) String

func (m CaBundle) String() string

func (CaBundle) ValidateEnumValue

func (m CaBundle) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CaBundleCollection

type CaBundleCollection struct {

	// A list of CA bundle summary objects.
	Items []CaBundleSummary `mandatory:"true" json:"items"`
}

CaBundleCollection The results of a CA bundle search. This object contains CA bundle summary objects.

func (CaBundleCollection) String

func (m CaBundleCollection) String() string

func (CaBundleCollection) ValidateEnumValue

func (m CaBundleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CaBundleLifecycleStateEnum

type CaBundleLifecycleStateEnum string

CaBundleLifecycleStateEnum Enum with underlying type: string

const (
	CaBundleLifecycleStateCreating CaBundleLifecycleStateEnum = "CREATING"
	CaBundleLifecycleStateActive   CaBundleLifecycleStateEnum = "ACTIVE"
	CaBundleLifecycleStateUpdating CaBundleLifecycleStateEnum = "UPDATING"
	CaBundleLifecycleStateDeleting CaBundleLifecycleStateEnum = "DELETING"
	CaBundleLifecycleStateDeleted  CaBundleLifecycleStateEnum = "DELETED"
	CaBundleLifecycleStateFailed   CaBundleLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for CaBundleLifecycleStateEnum

func GetCaBundleLifecycleStateEnumValues

func GetCaBundleLifecycleStateEnumValues() []CaBundleLifecycleStateEnum

GetCaBundleLifecycleStateEnumValues Enumerates the set of values for CaBundleLifecycleStateEnum

func GetMappingCaBundleLifecycleStateEnum

func GetMappingCaBundleLifecycleStateEnum(val string) (CaBundleLifecycleStateEnum, bool)

GetMappingCaBundleLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type CaBundleSummary

type CaBundleSummary struct {

	// The OCID of the CA bundle.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name for the CA bundle. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
	Name *string `mandatory:"true" json:"name"`

	// A property indicating when the CA bundle was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current lifecycle state of the CA bundle.
	LifecycleState CaBundleLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the compartment for the CA bundle.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A brief description of the CA bundle.
	Description *string `mandatory:"false" json:"description"`

	// Additional information about the current lifecycle state of the CA bundle.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CaBundleSummary CA bundle metadata. This summary object does not contain the CA bundle certificates.

func (CaBundleSummary) String

func (m CaBundleSummary) String() string

func (CaBundleSummary) ValidateEnumValue

func (m CaBundleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelCertificateAuthorityDeletionRequest

type CancelCertificateAuthorityDeletionRequest struct {

	// The OCID of the certificate authority (CA).
	CertificateAuthorityId *string `mandatory:"true" contributesTo:"path" name:"certificateAuthorityId"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CancelCertificateAuthorityDeletionRequest wrapper for the CancelCertificateAuthorityDeletion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/CancelCertificateAuthorityDeletion.go.html to see an example of how to use CancelCertificateAuthorityDeletionRequest.

func (CancelCertificateAuthorityDeletionRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (CancelCertificateAuthorityDeletionRequest) HTTPRequest

func (request CancelCertificateAuthorityDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CancelCertificateAuthorityDeletionRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CancelCertificateAuthorityDeletionRequest) String

func (CancelCertificateAuthorityDeletionRequest) ValidateEnumValue

func (request CancelCertificateAuthorityDeletionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelCertificateAuthorityDeletionResponse

type CancelCertificateAuthorityDeletionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CancelCertificateAuthorityDeletionResponse wrapper for the CancelCertificateAuthorityDeletion operation

func (CancelCertificateAuthorityDeletionResponse) HTTPResponse

func (response CancelCertificateAuthorityDeletionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CancelCertificateAuthorityDeletionResponse) String

type CancelCertificateAuthorityVersionDeletionRequest

type CancelCertificateAuthorityVersionDeletionRequest struct {

	// The OCID of the certificate authority (CA).
	CertificateAuthorityId *string `mandatory:"true" contributesTo:"path" name:"certificateAuthorityId"`

	// The version number of the certificate authority (CA).
	CertificateAuthorityVersionNumber *int64 `mandatory:"true" contributesTo:"path" name:"certificateAuthorityVersionNumber"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CancelCertificateAuthorityVersionDeletionRequest wrapper for the CancelCertificateAuthorityVersionDeletion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/CancelCertificateAuthorityVersionDeletion.go.html to see an example of how to use CancelCertificateAuthorityVersionDeletionRequest.

func (CancelCertificateAuthorityVersionDeletionRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (CancelCertificateAuthorityVersionDeletionRequest) HTTPRequest

func (request CancelCertificateAuthorityVersionDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CancelCertificateAuthorityVersionDeletionRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CancelCertificateAuthorityVersionDeletionRequest) String

func (CancelCertificateAuthorityVersionDeletionRequest) ValidateEnumValue

func (request CancelCertificateAuthorityVersionDeletionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelCertificateAuthorityVersionDeletionResponse

type CancelCertificateAuthorityVersionDeletionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CancelCertificateAuthorityVersionDeletionResponse wrapper for the CancelCertificateAuthorityVersionDeletion operation

func (CancelCertificateAuthorityVersionDeletionResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (CancelCertificateAuthorityVersionDeletionResponse) String

type CancelCertificateDeletionRequest

type CancelCertificateDeletionRequest struct {

	// The OCID of the certificate.
	CertificateId *string `mandatory:"true" contributesTo:"path" name:"certificateId"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CancelCertificateDeletionRequest wrapper for the CancelCertificateDeletion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/CancelCertificateDeletion.go.html to see an example of how to use CancelCertificateDeletionRequest.

func (CancelCertificateDeletionRequest) BinaryRequestBody

func (request CancelCertificateDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CancelCertificateDeletionRequest) HTTPRequest

func (request CancelCertificateDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CancelCertificateDeletionRequest) RetryPolicy

func (request CancelCertificateDeletionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CancelCertificateDeletionRequest) String

func (request CancelCertificateDeletionRequest) String() string

func (CancelCertificateDeletionRequest) ValidateEnumValue

func (request CancelCertificateDeletionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelCertificateDeletionResponse

type CancelCertificateDeletionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CancelCertificateDeletionResponse wrapper for the CancelCertificateDeletion operation

func (CancelCertificateDeletionResponse) HTTPResponse

func (response CancelCertificateDeletionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CancelCertificateDeletionResponse) String

func (response CancelCertificateDeletionResponse) String() string

type CancelCertificateVersionDeletionRequest

type CancelCertificateVersionDeletionRequest struct {

	// The OCID of the certificate.
	CertificateId *string `mandatory:"true" contributesTo:"path" name:"certificateId"`

	// The version number of the certificate.
	CertificateVersionNumber *int64 `mandatory:"true" contributesTo:"path" name:"certificateVersionNumber"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CancelCertificateVersionDeletionRequest wrapper for the CancelCertificateVersionDeletion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/CancelCertificateVersionDeletion.go.html to see an example of how to use CancelCertificateVersionDeletionRequest.

func (CancelCertificateVersionDeletionRequest) BinaryRequestBody

func (request CancelCertificateVersionDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CancelCertificateVersionDeletionRequest) HTTPRequest

func (request CancelCertificateVersionDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CancelCertificateVersionDeletionRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CancelCertificateVersionDeletionRequest) String

func (CancelCertificateVersionDeletionRequest) ValidateEnumValue

func (request CancelCertificateVersionDeletionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelCertificateVersionDeletionResponse

type CancelCertificateVersionDeletionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CancelCertificateVersionDeletionResponse wrapper for the CancelCertificateVersionDeletion operation

func (CancelCertificateVersionDeletionResponse) HTTPResponse

func (response CancelCertificateVersionDeletionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CancelCertificateVersionDeletionResponse) String

type Certificate

type Certificate struct {

	// The OCID of the certificate.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name for the certificate. Names are unique within a compartment. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
	Name *string `mandatory:"true" json:"name"`

	// A property indicating when the certificate was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current lifecycle state of the certificate.
	LifecycleState CertificateLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the compartment where you want to create the certificate.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The origin of the certificate.
	ConfigType CertificateConfigTypeEnum `mandatory:"true" json:"configType"`

	// The OCID of the certificate authority (CA) that issued the certificate.
	IssuerCertificateAuthorityId *string `mandatory:"false" json:"issuerCertificateAuthorityId"`

	// A brief description of the certificate. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// A list of rules that control how the certificate is used and managed.
	CertificateRules []CertificateRule `mandatory:"false" json:"certificateRules"`

	// An optional property indicating when to delete the certificate version, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"`

	// Additional information about the current lifecycle state of the certificate.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	CurrentVersion *CertificateVersionSummary `mandatory:"false" json:"currentVersion"`

	Subject *CertificateSubject `mandatory:"false" json:"subject"`

	CertificateRevocationListDetails *CertificateRevocationListDetails `mandatory:"false" json:"certificateRevocationListDetails"`

	// The algorithm used to create key pairs.
	KeyAlgorithm KeyAlgorithmEnum `mandatory:"false" json:"keyAlgorithm,omitempty"`

	// The algorithm used to sign the public key certificate.
	SignatureAlgorithm SignatureAlgorithmEnum `mandatory:"false" json:"signatureAlgorithm,omitempty"`

	// The name of the profile used to create the certificate, which depends on the type of certificate you need.
	CertificateProfileType CertificateProfileTypeEnum `mandatory:"false" json:"certificateProfileType,omitempty"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

Certificate The details of the certificate. This object does not contain the certificate contents.

func (Certificate) String

func (m Certificate) String() string

func (*Certificate) UnmarshalJSON

func (m *Certificate) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (Certificate) ValidateEnumValue

func (m Certificate) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificateAuthority

type CertificateAuthority struct {

	// The OCID of the CA.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name for the CA. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
	Name *string `mandatory:"true" json:"name"`

	// A property indicating when the CA was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current lifecycle state of the certificate authority.
	LifecycleState CertificateAuthorityLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the compartment under which the CA is created.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The origin of the CA.
	ConfigType CertificateAuthorityConfigTypeEnum `mandatory:"true" json:"configType"`

	// The OCID of the parent CA that issued this CA. If this is the root CA, then this value is null.
	IssuerCertificateAuthorityId *string `mandatory:"false" json:"issuerCertificateAuthorityId"`

	// A brief description of the CA.
	Description *string `mandatory:"false" json:"description"`

	// An optional property indicating when to delete the CA version, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"`

	// The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	// Additional information about the current CA lifecycle state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// An optional list of rules that control how the CA is used and managed.
	CertificateAuthorityRules []CertificateAuthorityRule `mandatory:"false" json:"certificateAuthorityRules"`

	CurrentVersion *CertificateAuthorityVersionSummary `mandatory:"false" json:"currentVersion"`

	CertificateRevocationListDetails *CertificateRevocationListDetails `mandatory:"false" json:"certificateRevocationListDetails"`

	Subject *CertificateSubject `mandatory:"false" json:"subject"`

	// The algorithm used to sign public key certificates that the CA issues.
	SigningAlgorithm SignatureAlgorithmEnum `mandatory:"false" json:"signingAlgorithm,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Usage of predefined tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CertificateAuthority The metadata details of the certificate authority (CA). This object does not contain the CA contents.

func (CertificateAuthority) String

func (m CertificateAuthority) String() string

func (*CertificateAuthority) UnmarshalJSON

func (m *CertificateAuthority) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CertificateAuthority) ValidateEnumValue

func (m CertificateAuthority) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificateAuthorityCollection

type CertificateAuthorityCollection struct {

	// List of CertificateAuthoritySummary.
	Items []CertificateAuthoritySummary `mandatory:"true" json:"items"`
}

CertificateAuthorityCollection The results of a certificate authority (CA) search. This object contains CA summary objects and other data.

func (CertificateAuthorityCollection) String

func (CertificateAuthorityCollection) ValidateEnumValue

func (m CertificateAuthorityCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificateAuthorityConfigTypeEnum

type CertificateAuthorityConfigTypeEnum string

CertificateAuthorityConfigTypeEnum Enum with underlying type: string

const (
	CertificateAuthorityConfigTypeRootCaGeneratedInternally       CertificateAuthorityConfigTypeEnum = "ROOT_CA_GENERATED_INTERNALLY"
	CertificateAuthorityConfigTypeSubordinateCaIssuedByInternalCa CertificateAuthorityConfigTypeEnum = "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
)

Set of constants representing the allowable values for CertificateAuthorityConfigTypeEnum

func GetCertificateAuthorityConfigTypeEnumValues

func GetCertificateAuthorityConfigTypeEnumValues() []CertificateAuthorityConfigTypeEnum

GetCertificateAuthorityConfigTypeEnumValues Enumerates the set of values for CertificateAuthorityConfigTypeEnum

func GetMappingCertificateAuthorityConfigTypeEnum

func GetMappingCertificateAuthorityConfigTypeEnum(val string) (CertificateAuthorityConfigTypeEnum, bool)

GetMappingCertificateAuthorityConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CertificateAuthorityIssuanceExpiryRule

type CertificateAuthorityIssuanceExpiryRule struct {

	// A property indicating the maximum validity duration, in days, of leaf certificates issued by this CA.
	// Expressed in ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format.
	LeafCertificateMaxValidityDuration *string `mandatory:"false" json:"leafCertificateMaxValidityDuration"`

	// A property indicating the maximum validity duration, in days, of subordinate CA's issued by this CA.
	// Expressed in ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format.
	CertificateAuthorityMaxValidityDuration *string `mandatory:"false" json:"certificateAuthorityMaxValidityDuration"`
}

CertificateAuthorityIssuanceExpiryRule A rule that enforces how long certificates or certificate authorities (CAs) issued by this particular CA are valid. You must include either or both `leafCertificateMaxValidityDuration` and `certificateAuthorityMaxValidityDuration`.

func (CertificateAuthorityIssuanceExpiryRule) MarshalJSON

func (m CertificateAuthorityIssuanceExpiryRule) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CertificateAuthorityIssuanceExpiryRule) String

func (CertificateAuthorityIssuanceExpiryRule) ValidateEnumValue

func (m CertificateAuthorityIssuanceExpiryRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificateAuthorityLifecycleStateEnum

type CertificateAuthorityLifecycleStateEnum string

CertificateAuthorityLifecycleStateEnum Enum with underlying type: string

const (
	CertificateAuthorityLifecycleStateCreating           CertificateAuthorityLifecycleStateEnum = "CREATING"
	CertificateAuthorityLifecycleStateActive             CertificateAuthorityLifecycleStateEnum = "ACTIVE"
	CertificateAuthorityLifecycleStateUpdating           CertificateAuthorityLifecycleStateEnum = "UPDATING"
	CertificateAuthorityLifecycleStateDeleting           CertificateAuthorityLifecycleStateEnum = "DELETING"
	CertificateAuthorityLifecycleStateDeleted            CertificateAuthorityLifecycleStateEnum = "DELETED"
	CertificateAuthorityLifecycleStateSchedulingDeletion CertificateAuthorityLifecycleStateEnum = "SCHEDULING_DELETION"
	CertificateAuthorityLifecycleStatePendingDeletion    CertificateAuthorityLifecycleStateEnum = "PENDING_DELETION"
	CertificateAuthorityLifecycleStateCancellingDeletion CertificateAuthorityLifecycleStateEnum = "CANCELLING_DELETION"
	CertificateAuthorityLifecycleStateFailed             CertificateAuthorityLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for CertificateAuthorityLifecycleStateEnum

func GetCertificateAuthorityLifecycleStateEnumValues

func GetCertificateAuthorityLifecycleStateEnumValues() []CertificateAuthorityLifecycleStateEnum

GetCertificateAuthorityLifecycleStateEnumValues Enumerates the set of values for CertificateAuthorityLifecycleStateEnum

func GetMappingCertificateAuthorityLifecycleStateEnum

func GetMappingCertificateAuthorityLifecycleStateEnum(val string) (CertificateAuthorityLifecycleStateEnum, bool)

GetMappingCertificateAuthorityLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type CertificateAuthorityRule

type CertificateAuthorityRule interface {
}

CertificateAuthorityRule A rule that you can apply to a certificate authority (CA) to enforce certain conditions on its usage and management.

type CertificateAuthorityRuleRuleTypeEnum

type CertificateAuthorityRuleRuleTypeEnum string

CertificateAuthorityRuleRuleTypeEnum Enum with underlying type: string

const (
	CertificateAuthorityRuleRuleTypeCertificateAuthorityIssuanceExpiryRule CertificateAuthorityRuleRuleTypeEnum = "CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE"
)

Set of constants representing the allowable values for CertificateAuthorityRuleRuleTypeEnum

func GetCertificateAuthorityRuleRuleTypeEnumValues

func GetCertificateAuthorityRuleRuleTypeEnumValues() []CertificateAuthorityRuleRuleTypeEnum

GetCertificateAuthorityRuleRuleTypeEnumValues Enumerates the set of values for CertificateAuthorityRuleRuleTypeEnum

func GetMappingCertificateAuthorityRuleRuleTypeEnum

func GetMappingCertificateAuthorityRuleRuleTypeEnum(val string) (CertificateAuthorityRuleRuleTypeEnum, bool)

GetMappingCertificateAuthorityRuleRuleTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CertificateAuthoritySummary

type CertificateAuthoritySummary struct {

	// The OCID of the certificate authority (CA).
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name for the CA. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
	Name *string `mandatory:"true" json:"name"`

	// A property indicating when the CA was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current lifecycle state of the CA.
	LifecycleState CertificateAuthorityLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the compartment under which the CA is created.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The origin of the CA.
	ConfigType CertificateAuthorityConfigTypeEnum `mandatory:"true" json:"configType"`

	// The OCID of the parent CA which issued this CA. If this is the root CA, then this value is the same as the `id`.
	IssuerCertificateAuthorityId *string `mandatory:"false" json:"issuerCertificateAuthorityId"`

	// A brief description of the CA.
	Description *string `mandatory:"false" json:"description"`

	// An optional property indicating when to delete the CA version, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"`

	// The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	// An optional list of rules that control how the CA is used and managed.
	CertificateAuthorityRules []CertificateAuthorityRule `mandatory:"false" json:"certificateAuthorityRules"`

	CurrentVersionSummary *CertificateAuthorityVersionSummary `mandatory:"false" json:"currentVersionSummary"`

	Subject *CertificateSubject `mandatory:"false" json:"subject"`

	// The algorithm used to sign public key certificates that the CA issues.
	SigningAlgorithm SignatureAlgorithmEnum `mandatory:"false" json:"signingAlgorithm,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Usage of predefined tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CertificateAuthoritySummary The metadata details of the certificate authority (CA). This summary object does not contain the CA contents.

func (CertificateAuthoritySummary) String

func (*CertificateAuthoritySummary) UnmarshalJSON

func (m *CertificateAuthoritySummary) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CertificateAuthoritySummary) ValidateEnumValue

func (m CertificateAuthoritySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificateAuthorityVersion

type CertificateAuthorityVersion struct {

	// The OCID of the CA.
	CertificateAuthorityId *string `mandatory:"true" json:"certificateAuthorityId"`

	// A optional property indicating when the CA version was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The version number of this CA.
	VersionNumber *int64 `mandatory:"true" json:"versionNumber"`

	// A list of rotation states for this CA version.
	Stages []VersionStageEnum `mandatory:"true" json:"stages"`

	// A unique certificate identifier used in certificate revocation tracking, formatted as octets.
	// Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
	SerialNumber *string `mandatory:"false" json:"serialNumber"`

	// The version number of the issuing CA.
	IssuerCaVersionNumber *int64 `mandatory:"false" json:"issuerCaVersionNumber"`

	// The name of the CA version. When the value is not null, a name is unique across versions for a given CA.
	VersionName *string `mandatory:"false" json:"versionName"`

	// A list of subject alternative names. A subject alternative name specifies the domain names, including subdomains, and IP addresses covered by the certificates issued by this CA.
	SubjectAlternativeNames []CertificateSubjectAlternativeName `mandatory:"false" json:"subjectAlternativeNames"`

	// An optional property indicating when to delete the CA version, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"`

	Validity *Validity `mandatory:"false" json:"validity"`

	RevocationStatus *RevocationStatus `mandatory:"false" json:"revocationStatus"`
}

CertificateAuthorityVersion The metadata details of the certificate authority (CA) version. This object does not contain the CA contents.

func (CertificateAuthorityVersion) String

func (CertificateAuthorityVersion) ValidateEnumValue

func (m CertificateAuthorityVersion) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificateAuthorityVersionCollection

type CertificateAuthorityVersionCollection struct {

	// A list of certificate authority version summary objects.
	Items []CertificateAuthorityVersionSummary `mandatory:"true" json:"items"`
}

CertificateAuthorityVersionCollection The results of a certificate authority (CA) version search. This object contains CA version summary objects and other data.

func (CertificateAuthorityVersionCollection) String

func (CertificateAuthorityVersionCollection) ValidateEnumValue

func (m CertificateAuthorityVersionCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificateAuthorityVersionSummary

type CertificateAuthorityVersionSummary struct {

	// The OCID of the CA.
	CertificateAuthorityId *string `mandatory:"true" json:"certificateAuthorityId"`

	// A optional property indicating when the CA version was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The version number of the CA.
	VersionNumber *int64 `mandatory:"true" json:"versionNumber"`

	// A list of rotation states for this CA version.
	Stages []VersionStageEnum `mandatory:"true" json:"stages"`

	// The version number of the issuing CA.
	IssuerCaVersionNumber *int64 `mandatory:"false" json:"issuerCaVersionNumber"`

	// A unique certificate identifier used in certificate revocation tracking, formatted as octets.
	// Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
	SerialNumber *string `mandatory:"false" json:"serialNumber"`

	// The name of the CA version. When this value is not null, the name is unique across CA versions for a given CA.
	VersionName *string `mandatory:"false" json:"versionName"`

	// An optional property indicating when to delete the CA version, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"`

	Validity *Validity `mandatory:"false" json:"validity"`

	RevocationStatus *RevocationStatus `mandatory:"false" json:"revocationStatus"`
}

CertificateAuthorityVersionSummary The metadata details of the certificate authority (CA) version. This summary object does not contain the CA contents.

func (CertificateAuthorityVersionSummary) String

func (CertificateAuthorityVersionSummary) ValidateEnumValue

func (m CertificateAuthorityVersionSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificateCollection

type CertificateCollection struct {

	// A list of certificate summary objects.
	Items []CertificateSummary `mandatory:"true" json:"items"`
}

CertificateCollection The results of a certificate search. This object contains certificate summary objects and other data.

func (CertificateCollection) String

func (m CertificateCollection) String() string

func (CertificateCollection) ValidateEnumValue

func (m CertificateCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificateConfigTypeEnum

type CertificateConfigTypeEnum string

CertificateConfigTypeEnum Enum with underlying type: string

const (
	CertificateConfigTypeIssuedByInternalCa                  CertificateConfigTypeEnum = "ISSUED_BY_INTERNAL_CA"
	CertificateConfigTypeManagedExternallyIssuedByInternalCa CertificateConfigTypeEnum = "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA"
	CertificateConfigTypeImported                            CertificateConfigTypeEnum = "IMPORTED"
)

Set of constants representing the allowable values for CertificateConfigTypeEnum

func GetCertificateConfigTypeEnumValues

func GetCertificateConfigTypeEnumValues() []CertificateConfigTypeEnum

GetCertificateConfigTypeEnumValues Enumerates the set of values for CertificateConfigTypeEnum

func GetMappingCertificateConfigTypeEnum

func GetMappingCertificateConfigTypeEnum(val string) (CertificateConfigTypeEnum, bool)

GetMappingCertificateConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CertificateLifecycleStateEnum

type CertificateLifecycleStateEnum string

CertificateLifecycleStateEnum Enum with underlying type: string

const (
	CertificateLifecycleStateCreating           CertificateLifecycleStateEnum = "CREATING"
	CertificateLifecycleStateActive             CertificateLifecycleStateEnum = "ACTIVE"
	CertificateLifecycleStateUpdating           CertificateLifecycleStateEnum = "UPDATING"
	CertificateLifecycleStateDeleting           CertificateLifecycleStateEnum = "DELETING"
	CertificateLifecycleStateDeleted            CertificateLifecycleStateEnum = "DELETED"
	CertificateLifecycleStateSchedulingDeletion CertificateLifecycleStateEnum = "SCHEDULING_DELETION"
	CertificateLifecycleStatePendingDeletion    CertificateLifecycleStateEnum = "PENDING_DELETION"
	CertificateLifecycleStateCancellingDeletion CertificateLifecycleStateEnum = "CANCELLING_DELETION"
	CertificateLifecycleStateFailed             CertificateLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for CertificateLifecycleStateEnum

func GetCertificateLifecycleStateEnumValues

func GetCertificateLifecycleStateEnumValues() []CertificateLifecycleStateEnum

GetCertificateLifecycleStateEnumValues Enumerates the set of values for CertificateLifecycleStateEnum

func GetMappingCertificateLifecycleStateEnum

func GetMappingCertificateLifecycleStateEnum(val string) (CertificateLifecycleStateEnum, bool)

GetMappingCertificateLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type CertificateProfileTypeEnum

type CertificateProfileTypeEnum string

CertificateProfileTypeEnum Enum with underlying type: string

const (
	CertificateProfileTypeTlsServerOrClient CertificateProfileTypeEnum = "TLS_SERVER_OR_CLIENT"
	CertificateProfileTypeTlsServer         CertificateProfileTypeEnum = "TLS_SERVER"
	CertificateProfileTypeTlsClient         CertificateProfileTypeEnum = "TLS_CLIENT"
	CertificateProfileTypeTlsCodeSign       CertificateProfileTypeEnum = "TLS_CODE_SIGN"
)

Set of constants representing the allowable values for CertificateProfileTypeEnum

func GetCertificateProfileTypeEnumValues

func GetCertificateProfileTypeEnumValues() []CertificateProfileTypeEnum

GetCertificateProfileTypeEnumValues Enumerates the set of values for CertificateProfileTypeEnum

func GetMappingCertificateProfileTypeEnum

func GetMappingCertificateProfileTypeEnum(val string) (CertificateProfileTypeEnum, bool)

GetMappingCertificateProfileTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CertificateRenewalRule

type CertificateRenewalRule struct {

	// A property specifying how often, in days, a certificate should be renewed.
	// Expressed in ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format.
	RenewalInterval *string `mandatory:"true" json:"renewalInterval"`

	// A property specifying the period of time, in days, before the certificate's targeted renewal that the process should occur.
	// Expressed in ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format.
	AdvanceRenewalPeriod *string `mandatory:"true" json:"advanceRenewalPeriod"`
}

CertificateRenewalRule A rule that imposes constraints on certificate renewal.

func (CertificateRenewalRule) MarshalJSON

func (m CertificateRenewalRule) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CertificateRenewalRule) String

func (m CertificateRenewalRule) String() string

func (CertificateRenewalRule) ValidateEnumValue

func (m CertificateRenewalRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificateRevocationListDetails

type CertificateRevocationListDetails struct {
	ObjectStorageConfig *ObjectStorageBucketConfigDetails `mandatory:"true" json:"objectStorageConfig"`

	// Optional CRL access points, expressed using a format where the version number of the issuing CA is inserted wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2.
	CustomFormattedUrls []string `mandatory:"false" json:"customFormattedUrls"`
}

CertificateRevocationListDetails The details of the certificate revocation list (CRL).

func (CertificateRevocationListDetails) String

func (CertificateRevocationListDetails) ValidateEnumValue

func (m CertificateRevocationListDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificateRule

type CertificateRule interface {
}

CertificateRule A rule that you can apply to a certificate to enforce certain conditions on the certificate's usage and management.

type CertificateRuleRuleTypeEnum

type CertificateRuleRuleTypeEnum string

CertificateRuleRuleTypeEnum Enum with underlying type: string

const (
	CertificateRuleRuleTypeCertificateRenewalRule CertificateRuleRuleTypeEnum = "CERTIFICATE_RENEWAL_RULE"
)

Set of constants representing the allowable values for CertificateRuleRuleTypeEnum

func GetCertificateRuleRuleTypeEnumValues

func GetCertificateRuleRuleTypeEnumValues() []CertificateRuleRuleTypeEnum

GetCertificateRuleRuleTypeEnumValues Enumerates the set of values for CertificateRuleRuleTypeEnum

func GetMappingCertificateRuleRuleTypeEnum

func GetMappingCertificateRuleRuleTypeEnum(val string) (CertificateRuleRuleTypeEnum, bool)

GetMappingCertificateRuleRuleTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CertificateSubject

type CertificateSubject struct {

	// Common name or fully-qualified domain name (RDN CN).
	CommonName *string `mandatory:"true" json:"commonName"`

	// Country name (RDN C).
	Country *string `mandatory:"false" json:"country"`

	// Domain component (RDN DC).
	DomainComponent *string `mandatory:"false" json:"domainComponent"`

	// Distinguished name qualifier(RDN DNQ).
	DistinguishedNameQualifier *string `mandatory:"false" json:"distinguishedNameQualifier"`

	// Personal generational qualifier (for example, Sr., Jr. 3rd, or IV).
	GenerationQualifier *string `mandatory:"false" json:"generationQualifier"`

	// Personal given name (RDN G or GN).
	GivenName *string `mandatory:"false" json:"givenName"`

	// Personal initials.
	Initials *string `mandatory:"false" json:"initials"`

	// Locality (RDN L).
	LocalityName *string `mandatory:"false" json:"localityName"`

	// Organization (RDN O).
	Organization *string `mandatory:"false" json:"organization"`

	// Organizational unit (RDN OU).
	OrganizationalUnit *string `mandatory:"false" json:"organizationalUnit"`

	// Subject pseudonym.
	Pseudonym *string `mandatory:"false" json:"pseudonym"`

	// Unique subject identifier, which is not the same as the certificate serial number (RDN SERIALNUMBER).
	SerialNumber *string `mandatory:"false" json:"serialNumber"`

	// State or province name (RDN ST or S).
	StateOrProvinceName *string `mandatory:"false" json:"stateOrProvinceName"`

	// Street address (RDN STREET).
	Street *string `mandatory:"false" json:"street"`

	// Personal surname (RDN SN).
	Surname *string `mandatory:"false" json:"surname"`

	// Title (RDN T or TITLE).
	Title *string `mandatory:"false" json:"title"`

	// User ID (RDN UID).
	UserId *string `mandatory:"false" json:"userId"`
}

CertificateSubject The subject of the certificate, which is a distinguished name that identifies the entity that owns the public key in the certificate.

func (CertificateSubject) String

func (m CertificateSubject) String() string

func (CertificateSubject) ValidateEnumValue

func (m CertificateSubject) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificateSubjectAlternativeName

type CertificateSubjectAlternativeName struct {

	// The subject alternative name type. Currently only DNS domain or host names and IP addresses are supported.
	Type CertificateSubjectAlternativeNameTypeEnum `mandatory:"true" json:"type"`

	// The subject alternative name.
	Value *string `mandatory:"true" json:"value"`
}

CertificateSubjectAlternativeName A subject alternative name for the certificate that binds additional or alternate names to the subject of the certificate. In the certificate, the alternate subject name format is "type:name".

func (CertificateSubjectAlternativeName) String

func (CertificateSubjectAlternativeName) ValidateEnumValue

func (m CertificateSubjectAlternativeName) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificateSubjectAlternativeNameTypeEnum

type CertificateSubjectAlternativeNameTypeEnum string

CertificateSubjectAlternativeNameTypeEnum Enum with underlying type: string

const (
	CertificateSubjectAlternativeNameTypeDns CertificateSubjectAlternativeNameTypeEnum = "DNS"
	CertificateSubjectAlternativeNameTypeIp  CertificateSubjectAlternativeNameTypeEnum = "IP"
)

Set of constants representing the allowable values for CertificateSubjectAlternativeNameTypeEnum

func GetCertificateSubjectAlternativeNameTypeEnumValues

func GetCertificateSubjectAlternativeNameTypeEnumValues() []CertificateSubjectAlternativeNameTypeEnum

GetCertificateSubjectAlternativeNameTypeEnumValues Enumerates the set of values for CertificateSubjectAlternativeNameTypeEnum

func GetMappingCertificateSubjectAlternativeNameTypeEnum

func GetMappingCertificateSubjectAlternativeNameTypeEnum(val string) (CertificateSubjectAlternativeNameTypeEnum, bool)

GetMappingCertificateSubjectAlternativeNameTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CertificateSummary

type CertificateSummary struct {

	// The OCID of the certificate.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name for the certificate. Names are unique within a compartment. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
	Name *string `mandatory:"true" json:"name"`

	// A property indicating when the certificate was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current lifecycle state of the certificate.
	LifecycleState CertificateLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the compartment that contains the certificate.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The origin of the certificate.
	ConfigType CertificateConfigTypeEnum `mandatory:"true" json:"configType"`

	// The OCID of the certificate authority (CA) that issued the certificate.
	IssuerCertificateAuthorityId *string `mandatory:"false" json:"issuerCertificateAuthorityId"`

	// A brief description of the certificate.
	Description *string `mandatory:"false" json:"description"`

	// An optional property indicating when to delete the certificate version, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"`

	// An optional list of rules that control how the certificate is used and managed.
	CertificateRules []CertificateRule `mandatory:"false" json:"certificateRules"`

	CurrentVersionSummary *CertificateVersionSummary `mandatory:"false" json:"currentVersionSummary"`

	Subject *CertificateSubject `mandatory:"false" json:"subject"`

	// The algorithm used to create key pairs.
	KeyAlgorithm KeyAlgorithmEnum `mandatory:"false" json:"keyAlgorithm,omitempty"`

	// The algorithm used to sign the public key certificate.
	SignatureAlgorithm SignatureAlgorithmEnum `mandatory:"false" json:"signatureAlgorithm,omitempty"`

	// The name of the profile used to create the certificate, which depends on the type of certificate you need.
	CertificateProfileType CertificateProfileTypeEnum `mandatory:"false" json:"certificateProfileType,omitempty"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CertificateSummary The details of the certificate. This object does not contain the certificate contents.

func (CertificateSummary) String

func (m CertificateSummary) String() string

func (*CertificateSummary) UnmarshalJSON

func (m *CertificateSummary) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CertificateSummary) ValidateEnumValue

func (m CertificateSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificateVersion

type CertificateVersion struct {

	// The OCID of the certificate.
	CertificateId *string `mandatory:"true" json:"certificateId"`

	// A optional property indicating when the certificate version was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The version number of the certificate.
	VersionNumber *int64 `mandatory:"true" json:"versionNumber"`

	// A list of stages of this entity.
	Stages []VersionStageEnum `mandatory:"true" json:"stages"`

	// A unique certificate identifier used in certificate revocation tracking, formatted as octets.
	// Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
	SerialNumber *string `mandatory:"false" json:"serialNumber"`

	// The version number of the issuing certificate authority (CA).
	IssuerCaVersionNumber *int64 `mandatory:"false" json:"issuerCaVersionNumber"`

	// The name of the certificate version. When the value is not null, a name is unique across versions of a given certificate.
	VersionName *string `mandatory:"false" json:"versionName"`

	// A list of subject alternative names.
	SubjectAlternativeNames []CertificateSubjectAlternativeName `mandatory:"false" json:"subjectAlternativeNames"`

	// An optional property indicating when to delete the certificate version, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"`

	Validity *Validity `mandatory:"false" json:"validity"`

	RevocationStatus *RevocationStatus `mandatory:"false" json:"revocationStatus"`
}

CertificateVersion The details of the certificate version. This object does not contain the certificate contents.

func (CertificateVersion) String

func (m CertificateVersion) String() string

func (CertificateVersion) ValidateEnumValue

func (m CertificateVersion) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificateVersionCollection

type CertificateVersionCollection struct {

	// A list of certificate version summary objects.
	Items []CertificateVersionSummary `mandatory:"true" json:"items"`
}

CertificateVersionCollection The results of a certificate version search. This object contains certificate version summary objects and other data.

func (CertificateVersionCollection) String

func (CertificateVersionCollection) ValidateEnumValue

func (m CertificateVersionCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificateVersionSummary

type CertificateVersionSummary struct {

	// The OCID of the certificate.
	CertificateId *string `mandatory:"true" json:"certificateId"`

	// A optional property indicating the time when the certificate version was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The version number of the certificate.
	VersionNumber *int64 `mandatory:"true" json:"versionNumber"`

	// A list of rotation states for this certificate version.
	Stages []VersionStageEnum `mandatory:"true" json:"stages"`

	// A unique certificate identifier used in certificate revocation tracking, formatted as octets.
	// Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
	SerialNumber *string `mandatory:"false" json:"serialNumber"`

	// The version number of the issuing certificate authority (CA).
	IssuerCaVersionNumber *int64 `mandatory:"false" json:"issuerCaVersionNumber"`

	// The name of the certificate version. When the value is not null, a name is unique across versions of a given certificate.
	VersionName *string `mandatory:"false" json:"versionName"`

	// A list of subject alternative names.
	SubjectAlternativeNames []CertificateSubjectAlternativeName `mandatory:"false" json:"subjectAlternativeNames"`

	// An optional property indicating when to delete the certificate version, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"`

	Validity *Validity `mandatory:"false" json:"validity"`

	RevocationStatus *RevocationStatus `mandatory:"false" json:"revocationStatus"`
}

CertificateVersionSummary The details of the certificate version. This object does not contain the certificate contents.

func (CertificateVersionSummary) String

func (m CertificateVersionSummary) String() string

func (CertificateVersionSummary) ValidateEnumValue

func (m CertificateVersionSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CertificatesManagementClient

type CertificatesManagementClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

CertificatesManagementClient a client for CertificatesManagement

func NewCertificatesManagementClientWithConfigurationProvider

func NewCertificatesManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CertificatesManagementClient, err error)

NewCertificatesManagementClientWithConfigurationProvider Creates a new default CertificatesManagement client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewCertificatesManagementClientWithOboToken

func NewCertificatesManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CertificatesManagementClient, err error)

NewCertificatesManagementClientWithOboToken Creates a new default CertificatesManagement client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (CertificatesManagementClient) CancelCertificateAuthorityDeletion

CancelCertificateAuthorityDeletion Cancels the scheduled deletion of the specified certificate authority (CA).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/CancelCertificateAuthorityDeletion.go.html to see an example of how to use CancelCertificateAuthorityDeletion API.

func (CertificatesManagementClient) CancelCertificateAuthorityVersionDeletion

CancelCertificateAuthorityVersionDeletion Cancels the scheduled deletion of the specified certificate authority (CA) version. Canceling a scheduled deletion restores the CA version's lifecycle state to what it was before its scheduled deletion.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/CancelCertificateAuthorityVersionDeletion.go.html to see an example of how to use CancelCertificateAuthorityVersionDeletion API.

func (CertificatesManagementClient) CancelCertificateDeletion

func (client CertificatesManagementClient) CancelCertificateDeletion(ctx context.Context, request CancelCertificateDeletionRequest) (response CancelCertificateDeletionResponse, err error)

CancelCertificateDeletion Cancels the pending deletion of the specified certificate. Canceling a scheduled deletion restores the certificate's lifecycle state to what it was before you scheduled the certificate for deletion.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/CancelCertificateDeletion.go.html to see an example of how to use CancelCertificateDeletion API.

func (CertificatesManagementClient) CancelCertificateVersionDeletion

func (client CertificatesManagementClient) CancelCertificateVersionDeletion(ctx context.Context, request CancelCertificateVersionDeletionRequest) (response CancelCertificateVersionDeletionResponse, err error)

CancelCertificateVersionDeletion Cancels the scheduled deletion of the specified certificate version.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/CancelCertificateVersionDeletion.go.html to see an example of how to use CancelCertificateVersionDeletion API.

func (CertificatesManagementClient) ChangeCaBundleCompartment

func (client CertificatesManagementClient) ChangeCaBundleCompartment(ctx context.Context, request ChangeCaBundleCompartmentRequest) (response ChangeCaBundleCompartmentResponse, err error)

ChangeCaBundleCompartment Moves a CA bundle to a different compartment in the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). When provided, if-match is checked against the ETag values of the secret.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ChangeCaBundleCompartment.go.html to see an example of how to use ChangeCaBundleCompartment API.

func (CertificatesManagementClient) ChangeCertificateAuthorityCompartment

ChangeCertificateAuthorityCompartment Moves a certificate authority (CA) to a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). When provided, If-Match is checked against the ETag values of the source.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ChangeCertificateAuthorityCompartment.go.html to see an example of how to use ChangeCertificateAuthorityCompartment API.

func (CertificatesManagementClient) ChangeCertificateCompartment

func (client CertificatesManagementClient) ChangeCertificateCompartment(ctx context.Context, request ChangeCertificateCompartmentRequest) (response ChangeCertificateCompartmentResponse, err error)

ChangeCertificateCompartment Moves a certificate to a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). When provided, if-match is checked against the ETag values of the secret.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ChangeCertificateCompartment.go.html to see an example of how to use ChangeCertificateCompartment API.

func (*CertificatesManagementClient) ConfigurationProvider

func (client *CertificatesManagementClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (CertificatesManagementClient) CreateCaBundle

func (client CertificatesManagementClient) CreateCaBundle(ctx context.Context, request CreateCaBundleRequest) (response CreateCaBundleResponse, err error)

CreateCaBundle Creates a new CA bundle according to the details of the request.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/CreateCaBundle.go.html to see an example of how to use CreateCaBundle API.

func (CertificatesManagementClient) CreateCertificate

func (client CertificatesManagementClient) CreateCertificate(ctx context.Context, request CreateCertificateRequest) (response CreateCertificateResponse, err error)

CreateCertificate Creates a new certificate according to the details of the request.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/CreateCertificate.go.html to see an example of how to use CreateCertificate API.

func (CertificatesManagementClient) CreateCertificateAuthority

func (client CertificatesManagementClient) CreateCertificateAuthority(ctx context.Context, request CreateCertificateAuthorityRequest) (response CreateCertificateAuthorityResponse, err error)

CreateCertificateAuthority Creates a new certificate authority (CA) according to the details of the request.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/CreateCertificateAuthority.go.html to see an example of how to use CreateCertificateAuthority API.

func (CertificatesManagementClient) DeleteCaBundle

func (client CertificatesManagementClient) DeleteCaBundle(ctx context.Context, request DeleteCaBundleRequest) (response DeleteCaBundleResponse, err error)

DeleteCaBundle Deletes the specified CA bundle.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/DeleteCaBundle.go.html to see an example of how to use DeleteCaBundle API.

func (CertificatesManagementClient) GetAssociation

func (client CertificatesManagementClient) GetAssociation(ctx context.Context, request GetAssociationRequest) (response GetAssociationResponse, err error)

GetAssociation Gets details about the specified association.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/GetAssociation.go.html to see an example of how to use GetAssociation API.

func (CertificatesManagementClient) GetCaBundle

func (client CertificatesManagementClient) GetCaBundle(ctx context.Context, request GetCaBundleRequest) (response GetCaBundleResponse, err error)

GetCaBundle Gets details about the specified CA bundle.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/GetCaBundle.go.html to see an example of how to use GetCaBundle API.

func (CertificatesManagementClient) GetCertificate

func (client CertificatesManagementClient) GetCertificate(ctx context.Context, request GetCertificateRequest) (response GetCertificateResponse, err error)

GetCertificate Gets details about the specified certificate.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/GetCertificate.go.html to see an example of how to use GetCertificate API.

func (CertificatesManagementClient) GetCertificateAuthority

func (client CertificatesManagementClient) GetCertificateAuthority(ctx context.Context, request GetCertificateAuthorityRequest) (response GetCertificateAuthorityResponse, err error)

GetCertificateAuthority Gets details about the specified certificate authority (CA).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/GetCertificateAuthority.go.html to see an example of how to use GetCertificateAuthority API.

func (CertificatesManagementClient) GetCertificateAuthorityVersion

func (client CertificatesManagementClient) GetCertificateAuthorityVersion(ctx context.Context, request GetCertificateAuthorityVersionRequest) (response GetCertificateAuthorityVersionResponse, err error)

GetCertificateAuthorityVersion Gets details about the specified certificate authority (CA) version.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/GetCertificateAuthorityVersion.go.html to see an example of how to use GetCertificateAuthorityVersion API.

func (CertificatesManagementClient) GetCertificateVersion

func (client CertificatesManagementClient) GetCertificateVersion(ctx context.Context, request GetCertificateVersionRequest) (response GetCertificateVersionResponse, err error)

GetCertificateVersion Gets details about the specified version of a certificate.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/GetCertificateVersion.go.html to see an example of how to use GetCertificateVersion API.

func (CertificatesManagementClient) ListAssociations

func (client CertificatesManagementClient) ListAssociations(ctx context.Context, request ListAssociationsRequest) (response ListAssociationsResponse, err error)

ListAssociations Lists all associations that match the query parameters. Optionally, you can use the parameter `FilterByAssociationIdQueryParam` to limit the result set to a single item that matches the specified association.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ListAssociations.go.html to see an example of how to use ListAssociations API.

func (CertificatesManagementClient) ListCaBundles

func (client CertificatesManagementClient) ListCaBundles(ctx context.Context, request ListCaBundlesRequest) (response ListCaBundlesResponse, err error)

ListCaBundles Lists all CA bundles that match the query parameters. Optionally, you can use the parameter `FilterByCaBundleIdQueryParam` to limit the result set to a single item that matches the specified CA bundle.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ListCaBundles.go.html to see an example of how to use ListCaBundles API.

func (CertificatesManagementClient) ListCertificateAuthorities

func (client CertificatesManagementClient) ListCertificateAuthorities(ctx context.Context, request ListCertificateAuthoritiesRequest) (response ListCertificateAuthoritiesResponse, err error)

ListCertificateAuthorities Lists all certificate authorities (CAs) in the specified compartment. Optionally, you can use the parameter `FilterByCertificateAuthorityIdQueryParam` to limit the results to a single item that matches the specified CA.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ListCertificateAuthorities.go.html to see an example of how to use ListCertificateAuthorities API.

func (CertificatesManagementClient) ListCertificateAuthorityVersions

func (client CertificatesManagementClient) ListCertificateAuthorityVersions(ctx context.Context, request ListCertificateAuthorityVersionsRequest) (response ListCertificateAuthorityVersionsResponse, err error)

ListCertificateAuthorityVersions Lists all versions for the specified certificate authority (CA). Optionally, you can use the parameter `FilterByVersionNumberQueryParam` to limit the results to a single item that matches the specified version number.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ListCertificateAuthorityVersions.go.html to see an example of how to use ListCertificateAuthorityVersions API.

func (CertificatesManagementClient) ListCertificateVersions

func (client CertificatesManagementClient) ListCertificateVersions(ctx context.Context, request ListCertificateVersionsRequest) (response ListCertificateVersionsResponse, err error)

ListCertificateVersions Lists all certificate versions for the specified certificate. Optionally, you can use the parameter `FilterByVersionNumberQueryParam` to limit the result set to a single item that matches the specified version number.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ListCertificateVersions.go.html to see an example of how to use ListCertificateVersions API.

func (CertificatesManagementClient) ListCertificates

func (client CertificatesManagementClient) ListCertificates(ctx context.Context, request ListCertificatesRequest) (response ListCertificatesResponse, err error)

ListCertificates Lists all certificates that match the query parameters. Optionally, you can use the parameter `FilterByCertificateIdQueryParam` to limit the result set to a single item that matches the specified certificate.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ListCertificates.go.html to see an example of how to use ListCertificates API.

func (CertificatesManagementClient) RevokeCertificateAuthorityVersion

RevokeCertificateAuthorityVersion Revokes a certificate authority (CA) version.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/RevokeCertificateAuthorityVersion.go.html to see an example of how to use RevokeCertificateAuthorityVersion API.

func (CertificatesManagementClient) RevokeCertificateVersion

func (client CertificatesManagementClient) RevokeCertificateVersion(ctx context.Context, request RevokeCertificateVersionRequest) (response RevokeCertificateVersionResponse, err error)

RevokeCertificateVersion Revokes the specified certificate version.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/RevokeCertificateVersion.go.html to see an example of how to use RevokeCertificateVersion API.

func (CertificatesManagementClient) ScheduleCertificateAuthorityDeletion

ScheduleCertificateAuthorityDeletion Schedules the deletion of the specified certificate authority (CA). This sets the lifecycle state of the CA to `PENDING_DELETION` and then deletes it after the specified retention period ends. If needed, you can determine the status of the deletion by using `GetCertificateAuthority`.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ScheduleCertificateAuthorityDeletion.go.html to see an example of how to use ScheduleCertificateAuthorityDeletion API.

func (CertificatesManagementClient) ScheduleCertificateAuthorityVersionDeletion

ScheduleCertificateAuthorityVersionDeletion Schedules the deletion of the specified certificate authority (CA) version. This sets the lifecycle state of the CA version to `PENDING_DELETION` and then deletes it after the specified retention period ends. If needed, you can determine the status of the deletion by using `GetCertificateAuthorityVersion`.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ScheduleCertificateAuthorityVersionDeletion.go.html to see an example of how to use ScheduleCertificateAuthorityVersionDeletion API.

func (CertificatesManagementClient) ScheduleCertificateDeletion

func (client CertificatesManagementClient) ScheduleCertificateDeletion(ctx context.Context, request ScheduleCertificateDeletionRequest) (response ScheduleCertificateDeletionResponse, err error)

ScheduleCertificateDeletion Schedules the deletion of the specified certificate. This sets the lifecycle state of the certificate to `PENDING_DELETION` and then deletes it after the specified retention period ends. You can subsequently use `GetCertificate` to determine the current deletion status.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ScheduleCertificateDeletion.go.html to see an example of how to use ScheduleCertificateDeletion API.

func (CertificatesManagementClient) ScheduleCertificateVersionDeletion

ScheduleCertificateVersionDeletion Schedules the deletion of the specified certificate version. This sets the lifecycle state of the certificate version to `PENDING_DELETION` and then deletes it after the specified retention period ends. You can only delete a certificate version if the certificate version rotation state is marked as `DEPRECATED`. You can subsequently use `GetCertificateVersion` to determine the current certificate version deletion status.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ScheduleCertificateVersionDeletion.go.html to see an example of how to use ScheduleCertificateVersionDeletion API.

func (*CertificatesManagementClient) SetRegion

func (client *CertificatesManagementClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (CertificatesManagementClient) UpdateCaBundle

func (client CertificatesManagementClient) UpdateCaBundle(ctx context.Context, request UpdateCaBundleRequest) (response UpdateCaBundleResponse, err error)

UpdateCaBundle Updates the properties of a CA bundle.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/UpdateCaBundle.go.html to see an example of how to use UpdateCaBundle API.

func (CertificatesManagementClient) UpdateCertificate

func (client CertificatesManagementClient) UpdateCertificate(ctx context.Context, request UpdateCertificateRequest) (response UpdateCertificateResponse, err error)

UpdateCertificate Updates the properties of a certificate.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/UpdateCertificate.go.html to see an example of how to use UpdateCertificate API.

func (CertificatesManagementClient) UpdateCertificateAuthority

func (client CertificatesManagementClient) UpdateCertificateAuthority(ctx context.Context, request UpdateCertificateAuthorityRequest) (response UpdateCertificateAuthorityResponse, err error)

UpdateCertificateAuthority Updates the properties of the specified certificate authority (CA).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/UpdateCertificateAuthority.go.html to see an example of how to use UpdateCertificateAuthority API.

type ChangeCaBundleCompartmentDetails

type ChangeCaBundleCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
	// into which the CA bundle should move.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeCaBundleCompartmentDetails The details of the request to change compartments for the CA bundle.

func (ChangeCaBundleCompartmentDetails) String

func (ChangeCaBundleCompartmentDetails) ValidateEnumValue

func (m ChangeCaBundleCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeCaBundleCompartmentRequest

type ChangeCaBundleCompartmentRequest struct {

	// The OCID of the CA bundle.
	CaBundleId *string `mandatory:"true" contributesTo:"path" name:"caBundleId"`

	// The updated compartment details.
	ChangeCaBundleCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case
	// of a timeout or server error without risk of executing that same action
	// again. Retry tokens expire after 24 hours, but can be invalidated
	// before then due to conflicting operations (for example, if a resource has been
	// deleted and purged from the system, then a retry of the original
	// creation request may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ChangeCaBundleCompartmentRequest wrapper for the ChangeCaBundleCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ChangeCaBundleCompartment.go.html to see an example of how to use ChangeCaBundleCompartmentRequest.

func (ChangeCaBundleCompartmentRequest) BinaryRequestBody

func (request ChangeCaBundleCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeCaBundleCompartmentRequest) HTTPRequest

func (request ChangeCaBundleCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeCaBundleCompartmentRequest) RetryPolicy

func (request ChangeCaBundleCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeCaBundleCompartmentRequest) String

func (request ChangeCaBundleCompartmentRequest) String() string

func (ChangeCaBundleCompartmentRequest) ValidateEnumValue

func (request ChangeCaBundleCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeCaBundleCompartmentResponse

type ChangeCaBundleCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeCaBundleCompartmentResponse wrapper for the ChangeCaBundleCompartment operation

func (ChangeCaBundleCompartmentResponse) HTTPResponse

func (response ChangeCaBundleCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeCaBundleCompartmentResponse) String

func (response ChangeCaBundleCompartmentResponse) String() string

type ChangeCertificateAuthorityCompartmentDetails

type ChangeCertificateAuthorityCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
	// into which the CA should move.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeCertificateAuthorityCompartmentDetails The details of the request to change compartments for the certificate authority (CA).

func (ChangeCertificateAuthorityCompartmentDetails) String

func (ChangeCertificateAuthorityCompartmentDetails) ValidateEnumValue

func (m ChangeCertificateAuthorityCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeCertificateAuthorityCompartmentRequest

type ChangeCertificateAuthorityCompartmentRequest struct {

	// The OCID of the certificate authority (CA).
	CertificateAuthorityId *string `mandatory:"true" contributesTo:"path" name:"certificateAuthorityId"`

	// The updated compartment details
	ChangeCertificateAuthorityCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case
	// of a timeout or server error without risk of executing that same action
	// again. Retry tokens expire after 24 hours, but can be invalidated
	// before then due to conflicting operations (for example, if a resource has been
	// deleted and purged from the system, then a retry of the original
	// creation request may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ChangeCertificateAuthorityCompartmentRequest wrapper for the ChangeCertificateAuthorityCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ChangeCertificateAuthorityCompartment.go.html to see an example of how to use ChangeCertificateAuthorityCompartmentRequest.

func (ChangeCertificateAuthorityCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeCertificateAuthorityCompartmentRequest) HTTPRequest

func (request ChangeCertificateAuthorityCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeCertificateAuthorityCompartmentRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeCertificateAuthorityCompartmentRequest) String

func (ChangeCertificateAuthorityCompartmentRequest) ValidateEnumValue

func (request ChangeCertificateAuthorityCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeCertificateAuthorityCompartmentResponse

type ChangeCertificateAuthorityCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeCertificateAuthorityCompartmentResponse wrapper for the ChangeCertificateAuthorityCompartment operation

func (ChangeCertificateAuthorityCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeCertificateAuthorityCompartmentResponse) String

type ChangeCertificateCompartmentDetails

type ChangeCertificateCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
	// into which the certificate should move.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeCertificateCompartmentDetails The details of the request to change compartments for the certificate.

func (ChangeCertificateCompartmentDetails) String

func (ChangeCertificateCompartmentDetails) ValidateEnumValue

func (m ChangeCertificateCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeCertificateCompartmentRequest

type ChangeCertificateCompartmentRequest struct {

	// The OCID of the certificate.
	CertificateId *string `mandatory:"true" contributesTo:"path" name:"certificateId"`

	// The updated compartment details.
	ChangeCertificateCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case
	// of a timeout or server error without risk of executing that same action
	// again. Retry tokens expire after 24 hours, but can be invalidated
	// before then due to conflicting operations (for example, if a resource has been
	// deleted and purged from the system, then a retry of the original
	// creation request may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ChangeCertificateCompartmentRequest wrapper for the ChangeCertificateCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ChangeCertificateCompartment.go.html to see an example of how to use ChangeCertificateCompartmentRequest.

func (ChangeCertificateCompartmentRequest) BinaryRequestBody

func (request ChangeCertificateCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeCertificateCompartmentRequest) HTTPRequest

func (request ChangeCertificateCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeCertificateCompartmentRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeCertificateCompartmentRequest) String

func (ChangeCertificateCompartmentRequest) ValidateEnumValue

func (request ChangeCertificateCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeCertificateCompartmentResponse

type ChangeCertificateCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeCertificateCompartmentResponse wrapper for the ChangeCertificateCompartment operation

func (ChangeCertificateCompartmentResponse) HTTPResponse

func (response ChangeCertificateCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeCertificateCompartmentResponse) String

func (response ChangeCertificateCompartmentResponse) String() string

type CreateCaBundleDetails

type CreateCaBundleDetails struct {

	// A user-friendly name for the CA bundle. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
	Name *string `mandatory:"true" json:"name"`

	// The OCID of the compartment for the CA bundle.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Certificates (in PEM format) to include in the CA bundle.
	CaBundlePem *string `mandatory:"true" json:"caBundlePem"`

	// A brief description of the CA bundle.
	Description *string `mandatory:"false" json:"description"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateCaBundleDetails The details of the CA bundle that you want to create.

func (CreateCaBundleDetails) String

func (m CreateCaBundleDetails) String() string

func (CreateCaBundleDetails) ValidateEnumValue

func (m CreateCaBundleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateCaBundleRequest

type CreateCaBundleRequest struct {

	// The details of the request to create a new CA bundle.
	CreateCaBundleDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case
	// of a timeout or server error without risk of executing that same action
	// again. Retry tokens expire after 24 hours, but can be invalidated
	// before then due to conflicting operations (for example, if a resource has been
	// deleted and purged from the system, then a retry of the original
	// creation request may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateCaBundleRequest wrapper for the CreateCaBundle operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/CreateCaBundle.go.html to see an example of how to use CreateCaBundleRequest.

func (CreateCaBundleRequest) BinaryRequestBody

func (request CreateCaBundleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateCaBundleRequest) HTTPRequest

func (request CreateCaBundleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateCaBundleRequest) RetryPolicy

func (request CreateCaBundleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateCaBundleRequest) String

func (request CreateCaBundleRequest) String() string

func (CreateCaBundleRequest) ValidateEnumValue

func (request CreateCaBundleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateCaBundleResponse

type CreateCaBundleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CaBundle instance
	CaBundle `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateCaBundleResponse wrapper for the CreateCaBundle operation

func (CreateCaBundleResponse) HTTPResponse

func (response CreateCaBundleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateCaBundleResponse) String

func (response CreateCaBundleResponse) String() string

type CreateCertificateAuthorityConfigDetails

type CreateCertificateAuthorityConfigDetails interface {

	// The name of the CA version. When the value is not null, a name is unique across versions of a given CA.
	GetVersionName() *string
}

CreateCertificateAuthorityConfigDetails The configuration details for creating a certificate authority (CA).

type CreateCertificateAuthorityDetails

type CreateCertificateAuthorityDetails struct {

	// A user-friendly name for the CA. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
	Name *string `mandatory:"true" json:"name"`

	// The compartment in which you want to create the CA.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	CertificateAuthorityConfig CreateCertificateAuthorityConfigDetails `mandatory:"true" json:"certificateAuthorityConfig"`

	// The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.
	KmsKeyId *string `mandatory:"true" json:"kmsKeyId"`

	// A brief description of the CA.
	Description *string `mandatory:"false" json:"description"`

	// A list of rules that control how the CA is used and managed.
	CertificateAuthorityRules []CertificateAuthorityRule `mandatory:"false" json:"certificateAuthorityRules"`

	CertificateRevocationListDetails *CertificateRevocationListDetails `mandatory:"false" json:"certificateRevocationListDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Usage of predefined tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateCertificateAuthorityDetails The details for creating a certificate authority (CA).

func (CreateCertificateAuthorityDetails) String

func (*CreateCertificateAuthorityDetails) UnmarshalJSON

func (m *CreateCertificateAuthorityDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateCertificateAuthorityDetails) ValidateEnumValue

func (m CreateCertificateAuthorityDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateCertificateAuthorityRequest

type CreateCertificateAuthorityRequest struct {

	// The details of the request to create a new CA.
	CreateCertificateAuthorityDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case
	// of a timeout or server error without risk of executing that same action
	// again. Retry tokens expire after 24 hours, but can be invalidated
	// before then due to conflicting operations (for example, if a resource has been
	// deleted and purged from the system, then a retry of the original
	// creation request may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateCertificateAuthorityRequest wrapper for the CreateCertificateAuthority operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/CreateCertificateAuthority.go.html to see an example of how to use CreateCertificateAuthorityRequest.

func (CreateCertificateAuthorityRequest) BinaryRequestBody

func (request CreateCertificateAuthorityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateCertificateAuthorityRequest) HTTPRequest

func (request CreateCertificateAuthorityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateCertificateAuthorityRequest) RetryPolicy

func (request CreateCertificateAuthorityRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateCertificateAuthorityRequest) String

func (request CreateCertificateAuthorityRequest) String() string

func (CreateCertificateAuthorityRequest) ValidateEnumValue

func (request CreateCertificateAuthorityRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateCertificateAuthorityResponse

type CreateCertificateAuthorityResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CertificateAuthority instance
	CertificateAuthority `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateCertificateAuthorityResponse wrapper for the CreateCertificateAuthority operation

func (CreateCertificateAuthorityResponse) HTTPResponse

func (response CreateCertificateAuthorityResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateCertificateAuthorityResponse) String

func (response CreateCertificateAuthorityResponse) String() string

type CreateCertificateByImportingConfigDetails

type CreateCertificateByImportingConfigDetails struct {

	// The certificate chain (in PEM format) for the imported certificate.
	CertChainPem *string `mandatory:"true" json:"certChainPem"`

	// The private key (in PEM format) for the imported certificate.
	PrivateKeyPem *string `mandatory:"true" json:"privateKeyPem"`

	// The certificate (in PEM format) for the imported certificate.
	CertificatePem *string `mandatory:"true" json:"certificatePem"`

	// A name for the certificate. When the value is not null, a name is unique across versions of a given certificate.
	VersionName *string `mandatory:"false" json:"versionName"`

	// An optional passphrase for the private key.
	PrivateKeyPemPassphrase *string `mandatory:"false" json:"privateKeyPemPassphrase"`
}

CreateCertificateByImportingConfigDetails The details of the configuration for creating a certificate based on the keys from an imported certificate.

func (CreateCertificateByImportingConfigDetails) GetVersionName

GetVersionName returns VersionName

func (CreateCertificateByImportingConfigDetails) MarshalJSON

func (m CreateCertificateByImportingConfigDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateCertificateByImportingConfigDetails) String

func (CreateCertificateByImportingConfigDetails) ValidateEnumValue

func (m CreateCertificateByImportingConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateCertificateConfigDetails

type CreateCertificateConfigDetails interface {

	// A name for the certificate. When the value is not null, a name is unique across versions of a given certificate.
	GetVersionName() *string
}

CreateCertificateConfigDetails The details of the contents of the certificate and certificate metadata.

type CreateCertificateDetails

type CreateCertificateDetails struct {

	// A user-friendly name for the certificate. Names are unique within a compartment. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
	Name *string `mandatory:"true" json:"name"`

	// The OCID of the compartment where you want to create the certificate.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	CertificateConfig CreateCertificateConfigDetails `mandatory:"true" json:"certificateConfig"`

	// A brief description of the certificate. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// An optional list of rules that control how the certificate is used and managed.
	CertificateRules []CertificateRule `mandatory:"false" json:"certificateRules"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateCertificateDetails The details of the certificate to create.

func (CreateCertificateDetails) String

func (m CreateCertificateDetails) String() string

func (*CreateCertificateDetails) UnmarshalJSON

func (m *CreateCertificateDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateCertificateDetails) ValidateEnumValue

func (m CreateCertificateDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateCertificateIssuedByInternalCaConfigDetails

type CreateCertificateIssuedByInternalCaConfigDetails struct {

	// The OCID of the private CA.
	IssuerCertificateAuthorityId *string `mandatory:"true" json:"issuerCertificateAuthorityId"`

	Subject *CertificateSubject `mandatory:"true" json:"subject"`

	// A name for the certificate. When the value is not null, a name is unique across versions of a given certificate.
	VersionName *string `mandatory:"false" json:"versionName"`

	Validity *Validity `mandatory:"false" json:"validity"`

	// A list of subject alternative names.
	SubjectAlternativeNames []CertificateSubjectAlternativeName `mandatory:"false" json:"subjectAlternativeNames"`

	// The name of the profile used to create the certificate, which depends on the type of certificate you need.
	CertificateProfileType CertificateProfileTypeEnum `mandatory:"true" json:"certificateProfileType"`

	// The algorithm to use to create key pairs.
	KeyAlgorithm KeyAlgorithmEnum `mandatory:"false" json:"keyAlgorithm,omitempty"`

	// The algorithm to use to sign the public key certificate.
	SignatureAlgorithm SignatureAlgorithmEnum `mandatory:"false" json:"signatureAlgorithm,omitempty"`
}

CreateCertificateIssuedByInternalCaConfigDetails The details of the configuration for creating an internally managed certificate which is issued by a private certificate authority (CA).

func (CreateCertificateIssuedByInternalCaConfigDetails) GetVersionName

GetVersionName returns VersionName

func (CreateCertificateIssuedByInternalCaConfigDetails) MarshalJSON

func (m CreateCertificateIssuedByInternalCaConfigDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateCertificateIssuedByInternalCaConfigDetails) String

func (CreateCertificateIssuedByInternalCaConfigDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails

type CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails struct {

	// The OCID of the private CA.
	IssuerCertificateAuthorityId *string `mandatory:"true" json:"issuerCertificateAuthorityId"`

	// The certificate signing request (in PEM format).
	CsrPem *string `mandatory:"true" json:"csrPem"`

	// A name for the certificate. When the value is not null, a name is unique across versions of a given certificate.
	VersionName *string `mandatory:"false" json:"versionName"`

	Validity *Validity `mandatory:"false" json:"validity"`
}

CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails The details of the configuration for creating an externally managed certificate which is issued by a private certificate authority (CA).

func (CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails) GetVersionName

GetVersionName returns VersionName

func (CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails) MarshalJSON

MarshalJSON marshals to json representation

func (CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails) String

func (CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateCertificateRequest

type CreateCertificateRequest struct {

	// The details of the request to create a new certificate.
	CreateCertificateDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case
	// of a timeout or server error without risk of executing that same action
	// again. Retry tokens expire after 24 hours, but can be invalidated
	// before then due to conflicting operations (for example, if a resource has been
	// deleted and purged from the system, then a retry of the original
	// creation request may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateCertificateRequest wrapper for the CreateCertificate operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/CreateCertificate.go.html to see an example of how to use CreateCertificateRequest.

func (CreateCertificateRequest) BinaryRequestBody

func (request CreateCertificateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateCertificateRequest) HTTPRequest

func (request CreateCertificateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateCertificateRequest) RetryPolicy

func (request CreateCertificateRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateCertificateRequest) String

func (request CreateCertificateRequest) String() string

func (CreateCertificateRequest) ValidateEnumValue

func (request CreateCertificateRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateCertificateResponse

type CreateCertificateResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Certificate instance
	Certificate `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateCertificateResponse wrapper for the CreateCertificate operation

func (CreateCertificateResponse) HTTPResponse

func (response CreateCertificateResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateCertificateResponse) String

func (response CreateCertificateResponse) String() string

type CreateRootCaByGeneratingInternallyConfigDetails

type CreateRootCaByGeneratingInternallyConfigDetails struct {
	Subject *CertificateSubject `mandatory:"true" json:"subject"`

	// The name of the CA version. When the value is not null, a name is unique across versions of a given CA.
	VersionName *string `mandatory:"false" json:"versionName"`

	Validity *Validity `mandatory:"false" json:"validity"`

	// The algorithm used to sign public key certificates that the CA issues.
	SigningAlgorithm SignatureAlgorithmEnum `mandatory:"false" json:"signingAlgorithm,omitempty"`
}

CreateRootCaByGeneratingInternallyConfigDetails The details for creating a private root certificate authority (CA).

func (CreateRootCaByGeneratingInternallyConfigDetails) GetVersionName

GetVersionName returns VersionName

func (CreateRootCaByGeneratingInternallyConfigDetails) MarshalJSON

func (m CreateRootCaByGeneratingInternallyConfigDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateRootCaByGeneratingInternallyConfigDetails) String

func (CreateRootCaByGeneratingInternallyConfigDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateSubordinateCaIssuedByInternalCaConfigDetails

type CreateSubordinateCaIssuedByInternalCaConfigDetails struct {

	// The OCID of the private CA.
	IssuerCertificateAuthorityId *string `mandatory:"true" json:"issuerCertificateAuthorityId"`

	Subject *CertificateSubject `mandatory:"true" json:"subject"`

	// The name of the CA version. When the value is not null, a name is unique across versions of a given CA.
	VersionName *string `mandatory:"false" json:"versionName"`

	Validity *Validity `mandatory:"false" json:"validity"`

	// The algorithm used to sign public key certificates that the CA issues.
	SigningAlgorithm SignatureAlgorithmEnum `mandatory:"false" json:"signingAlgorithm,omitempty"`
}

CreateSubordinateCaIssuedByInternalCaConfigDetails The details for creating a private subordinate certificate authority (CA) which is issued by a private CA.

func (CreateSubordinateCaIssuedByInternalCaConfigDetails) GetVersionName

GetVersionName returns VersionName

func (CreateSubordinateCaIssuedByInternalCaConfigDetails) MarshalJSON

MarshalJSON marshals to json representation

func (CreateSubordinateCaIssuedByInternalCaConfigDetails) String

func (CreateSubordinateCaIssuedByInternalCaConfigDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteCaBundleRequest

type DeleteCaBundleRequest struct {

	// The OCID of the CA bundle.
	CaBundleId *string `mandatory:"true" contributesTo:"path" name:"caBundleId"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteCaBundleRequest wrapper for the DeleteCaBundle operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/DeleteCaBundle.go.html to see an example of how to use DeleteCaBundleRequest.

func (DeleteCaBundleRequest) BinaryRequestBody

func (request DeleteCaBundleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteCaBundleRequest) HTTPRequest

func (request DeleteCaBundleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteCaBundleRequest) RetryPolicy

func (request DeleteCaBundleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteCaBundleRequest) String

func (request DeleteCaBundleRequest) String() string

func (DeleteCaBundleRequest) ValidateEnumValue

func (request DeleteCaBundleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteCaBundleResponse

type DeleteCaBundleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteCaBundleResponse wrapper for the DeleteCaBundle operation

func (DeleteCaBundleResponse) HTTPResponse

func (response DeleteCaBundleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteCaBundleResponse) String

func (response DeleteCaBundleResponse) String() string

type GetAssociationRequest

type GetAssociationRequest struct {

	// The OCID of an association between a certificate-related resource and another Oracle Cloud Infrastructure resource.
	AssociationId *string `mandatory:"true" contributesTo:"path" name:"associationId"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetAssociationRequest wrapper for the GetAssociation operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/GetAssociation.go.html to see an example of how to use GetAssociationRequest.

func (GetAssociationRequest) BinaryRequestBody

func (request GetAssociationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAssociationRequest) HTTPRequest

func (request GetAssociationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAssociationRequest) RetryPolicy

func (request GetAssociationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAssociationRequest) String

func (request GetAssociationRequest) String() string

func (GetAssociationRequest) ValidateEnumValue

func (request GetAssociationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetAssociationResponse

type GetAssociationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Association instance
	Association `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetAssociationResponse wrapper for the GetAssociation operation

func (GetAssociationResponse) HTTPResponse

func (response GetAssociationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAssociationResponse) String

func (response GetAssociationResponse) String() string

type GetCaBundleRequest

type GetCaBundleRequest struct {

	// The OCID of the CA bundle.
	CaBundleId *string `mandatory:"true" contributesTo:"path" name:"caBundleId"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetCaBundleRequest wrapper for the GetCaBundle operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/GetCaBundle.go.html to see an example of how to use GetCaBundleRequest.

func (GetCaBundleRequest) BinaryRequestBody

func (request GetCaBundleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetCaBundleRequest) HTTPRequest

func (request GetCaBundleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCaBundleRequest) RetryPolicy

func (request GetCaBundleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCaBundleRequest) String

func (request GetCaBundleRequest) String() string

func (GetCaBundleRequest) ValidateEnumValue

func (request GetCaBundleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetCaBundleResponse

type GetCaBundleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CaBundle instance
	CaBundle `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetCaBundleResponse wrapper for the GetCaBundle operation

func (GetCaBundleResponse) HTTPResponse

func (response GetCaBundleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCaBundleResponse) String

func (response GetCaBundleResponse) String() string

type GetCertificateAuthorityRequest

type GetCertificateAuthorityRequest struct {

	// The OCID of the certificate authority (CA).
	CertificateAuthorityId *string `mandatory:"true" contributesTo:"path" name:"certificateAuthorityId"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetCertificateAuthorityRequest wrapper for the GetCertificateAuthority operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/GetCertificateAuthority.go.html to see an example of how to use GetCertificateAuthorityRequest.

func (GetCertificateAuthorityRequest) BinaryRequestBody

func (request GetCertificateAuthorityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetCertificateAuthorityRequest) HTTPRequest

func (request GetCertificateAuthorityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCertificateAuthorityRequest) RetryPolicy

func (request GetCertificateAuthorityRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCertificateAuthorityRequest) String

func (request GetCertificateAuthorityRequest) String() string

func (GetCertificateAuthorityRequest) ValidateEnumValue

func (request GetCertificateAuthorityRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetCertificateAuthorityResponse

type GetCertificateAuthorityResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CertificateAuthority instance
	CertificateAuthority `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetCertificateAuthorityResponse wrapper for the GetCertificateAuthority operation

func (GetCertificateAuthorityResponse) HTTPResponse

func (response GetCertificateAuthorityResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCertificateAuthorityResponse) String

func (response GetCertificateAuthorityResponse) String() string

type GetCertificateAuthorityVersionRequest

type GetCertificateAuthorityVersionRequest struct {

	// The OCID of the certificate authority (CA).
	CertificateAuthorityId *string `mandatory:"true" contributesTo:"path" name:"certificateAuthorityId"`

	// The version number of the certificate authority (CA).
	CertificateAuthorityVersionNumber *int64 `mandatory:"true" contributesTo:"path" name:"certificateAuthorityVersionNumber"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetCertificateAuthorityVersionRequest wrapper for the GetCertificateAuthorityVersion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/GetCertificateAuthorityVersion.go.html to see an example of how to use GetCertificateAuthorityVersionRequest.

func (GetCertificateAuthorityVersionRequest) BinaryRequestBody

func (request GetCertificateAuthorityVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetCertificateAuthorityVersionRequest) HTTPRequest

func (request GetCertificateAuthorityVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCertificateAuthorityVersionRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCertificateAuthorityVersionRequest) String

func (GetCertificateAuthorityVersionRequest) ValidateEnumValue

func (request GetCertificateAuthorityVersionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetCertificateAuthorityVersionResponse

type GetCertificateAuthorityVersionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CertificateAuthorityVersion instance
	CertificateAuthorityVersion `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetCertificateAuthorityVersionResponse wrapper for the GetCertificateAuthorityVersion operation

func (GetCertificateAuthorityVersionResponse) HTTPResponse

func (response GetCertificateAuthorityVersionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCertificateAuthorityVersionResponse) String

type GetCertificateRequest

type GetCertificateRequest struct {

	// The OCID of the certificate.
	CertificateId *string `mandatory:"true" contributesTo:"path" name:"certificateId"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetCertificateRequest wrapper for the GetCertificate operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/GetCertificate.go.html to see an example of how to use GetCertificateRequest.

func (GetCertificateRequest) BinaryRequestBody

func (request GetCertificateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetCertificateRequest) HTTPRequest

func (request GetCertificateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCertificateRequest) RetryPolicy

func (request GetCertificateRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCertificateRequest) String

func (request GetCertificateRequest) String() string

func (GetCertificateRequest) ValidateEnumValue

func (request GetCertificateRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetCertificateResponse

type GetCertificateResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Certificate instance
	Certificate `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetCertificateResponse wrapper for the GetCertificate operation

func (GetCertificateResponse) HTTPResponse

func (response GetCertificateResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCertificateResponse) String

func (response GetCertificateResponse) String() string

type GetCertificateVersionRequest

type GetCertificateVersionRequest struct {

	// The OCID of the certificate.
	CertificateId *string `mandatory:"true" contributesTo:"path" name:"certificateId"`

	// The version number of the certificate.
	CertificateVersionNumber *int64 `mandatory:"true" contributesTo:"path" name:"certificateVersionNumber"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetCertificateVersionRequest wrapper for the GetCertificateVersion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/GetCertificateVersion.go.html to see an example of how to use GetCertificateVersionRequest.

func (GetCertificateVersionRequest) BinaryRequestBody

func (request GetCertificateVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetCertificateVersionRequest) HTTPRequest

func (request GetCertificateVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCertificateVersionRequest) RetryPolicy

func (request GetCertificateVersionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCertificateVersionRequest) String

func (request GetCertificateVersionRequest) String() string

func (GetCertificateVersionRequest) ValidateEnumValue

func (request GetCertificateVersionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetCertificateVersionResponse

type GetCertificateVersionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CertificateVersion instance
	CertificateVersion `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetCertificateVersionResponse wrapper for the GetCertificateVersion operation

func (GetCertificateVersionResponse) HTTPResponse

func (response GetCertificateVersionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCertificateVersionResponse) String

func (response GetCertificateVersionResponse) String() string

type KeyAlgorithmEnum

type KeyAlgorithmEnum string

KeyAlgorithmEnum Enum with underlying type: string

const (
	KeyAlgorithmRsa2048   KeyAlgorithmEnum = "RSA2048"
	KeyAlgorithmRsa4096   KeyAlgorithmEnum = "RSA4096"
	KeyAlgorithmEcdsaP256 KeyAlgorithmEnum = "ECDSA_P256"
	KeyAlgorithmEcdsaP384 KeyAlgorithmEnum = "ECDSA_P384"
)

Set of constants representing the allowable values for KeyAlgorithmEnum

func GetKeyAlgorithmEnumValues

func GetKeyAlgorithmEnumValues() []KeyAlgorithmEnum

GetKeyAlgorithmEnumValues Enumerates the set of values for KeyAlgorithmEnum

func GetMappingKeyAlgorithmEnum

func GetMappingKeyAlgorithmEnum(val string) (KeyAlgorithmEnum, bool)

GetMappingKeyAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAssociationsAssociationTypeEnum

type ListAssociationsAssociationTypeEnum string

ListAssociationsAssociationTypeEnum Enum with underlying type: string

const (
	ListAssociationsAssociationTypeCertificate          ListAssociationsAssociationTypeEnum = "CERTIFICATE"
	ListAssociationsAssociationTypeCertificateAuthority ListAssociationsAssociationTypeEnum = "CERTIFICATE_AUTHORITY"
	ListAssociationsAssociationTypeCaBundle             ListAssociationsAssociationTypeEnum = "CA_BUNDLE"
)

Set of constants representing the allowable values for ListAssociationsAssociationTypeEnum

func GetListAssociationsAssociationTypeEnumValues

func GetListAssociationsAssociationTypeEnumValues() []ListAssociationsAssociationTypeEnum

GetListAssociationsAssociationTypeEnumValues Enumerates the set of values for ListAssociationsAssociationTypeEnum

func GetMappingListAssociationsAssociationTypeEnum

func GetMappingListAssociationsAssociationTypeEnum(val string) (ListAssociationsAssociationTypeEnum, bool)

GetMappingListAssociationsAssociationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAssociationsRequest

type ListAssociationsRequest struct {

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A filter that returns only resources that match the given compartment OCID.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// A filter that returns only resources that match the given OCID of a certificate-related resource.
	CertificatesResourceId *string `mandatory:"false" contributesTo:"query" name:"certificatesResourceId"`

	// A filter that returns only resources that match the given OCID of an associated Oracle Cloud Infrastructure resource.
	AssociatedResourceId *string `mandatory:"false" contributesTo:"query" name:"associatedResourceId"`

	// The OCID of the association. If the parameter is set to null, the service lists all associations.
	AssociationId *string `mandatory:"false" contributesTo:"query" name:"associationId"`

	// A filter that returns only resources that match the specified name.
	Name *string `mandatory:"false" contributesTo:"query" name:"name"`

	// The field to sort by. You can specify only one sort order. The default order for `TIMECREATED` is descending.
	// The default order for `NAME` is ascending.
	SortBy ListAssociationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
	SortOrder ListAssociationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The maximum number of items to return in a paginated "List" call.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The value of the `opc-next-page` response header
	// from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Type of associations to list. If the parameter is set to null, the service lists all types of associations.
	AssociationType ListAssociationsAssociationTypeEnum `mandatory:"false" contributesTo:"query" name:"associationType" omitEmpty:"true"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListAssociationsRequest wrapper for the ListAssociations operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ListAssociations.go.html to see an example of how to use ListAssociationsRequest.

func (ListAssociationsRequest) BinaryRequestBody

func (request ListAssociationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAssociationsRequest) HTTPRequest

func (request ListAssociationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAssociationsRequest) RetryPolicy

func (request ListAssociationsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAssociationsRequest) String

func (request ListAssociationsRequest) String() string

func (ListAssociationsRequest) ValidateEnumValue

func (request ListAssociationsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListAssociationsResponse

type ListAssociationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of AssociationCollection instances
	AssociationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListAssociationsResponse wrapper for the ListAssociations operation

func (ListAssociationsResponse) HTTPResponse

func (response ListAssociationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAssociationsResponse) String

func (response ListAssociationsResponse) String() string

type ListAssociationsSortByEnum

type ListAssociationsSortByEnum string

ListAssociationsSortByEnum Enum with underlying type: string

const (
	ListAssociationsSortByName        ListAssociationsSortByEnum = "NAME"
	ListAssociationsSortByTimecreated ListAssociationsSortByEnum = "TIMECREATED"
)

Set of constants representing the allowable values for ListAssociationsSortByEnum

func GetListAssociationsSortByEnumValues

func GetListAssociationsSortByEnumValues() []ListAssociationsSortByEnum

GetListAssociationsSortByEnumValues Enumerates the set of values for ListAssociationsSortByEnum

func GetMappingListAssociationsSortByEnum

func GetMappingListAssociationsSortByEnum(val string) (ListAssociationsSortByEnum, bool)

GetMappingListAssociationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAssociationsSortOrderEnum

type ListAssociationsSortOrderEnum string

ListAssociationsSortOrderEnum Enum with underlying type: string

const (
	ListAssociationsSortOrderAsc  ListAssociationsSortOrderEnum = "ASC"
	ListAssociationsSortOrderDesc ListAssociationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAssociationsSortOrderEnum

func GetListAssociationsSortOrderEnumValues

func GetListAssociationsSortOrderEnumValues() []ListAssociationsSortOrderEnum

GetListAssociationsSortOrderEnumValues Enumerates the set of values for ListAssociationsSortOrderEnum

func GetMappingListAssociationsSortOrderEnum

func GetMappingListAssociationsSortOrderEnum(val string) (ListAssociationsSortOrderEnum, bool)

GetMappingListAssociationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCaBundlesLifecycleStateEnum

type ListCaBundlesLifecycleStateEnum string

ListCaBundlesLifecycleStateEnum Enum with underlying type: string

const (
	ListCaBundlesLifecycleStateCreating ListCaBundlesLifecycleStateEnum = "CREATING"
	ListCaBundlesLifecycleStateActive   ListCaBundlesLifecycleStateEnum = "ACTIVE"
	ListCaBundlesLifecycleStateUpdating ListCaBundlesLifecycleStateEnum = "UPDATING"
	ListCaBundlesLifecycleStateDeleting ListCaBundlesLifecycleStateEnum = "DELETING"
	ListCaBundlesLifecycleStateDeleted  ListCaBundlesLifecycleStateEnum = "DELETED"
	ListCaBundlesLifecycleStateFailed   ListCaBundlesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListCaBundlesLifecycleStateEnum

func GetListCaBundlesLifecycleStateEnumValues

func GetListCaBundlesLifecycleStateEnumValues() []ListCaBundlesLifecycleStateEnum

GetListCaBundlesLifecycleStateEnumValues Enumerates the set of values for ListCaBundlesLifecycleStateEnum

func GetMappingListCaBundlesLifecycleStateEnum

func GetMappingListCaBundlesLifecycleStateEnum(val string) (ListCaBundlesLifecycleStateEnum, bool)

GetMappingListCaBundlesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCaBundlesRequest

type ListCaBundlesRequest struct {

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A filter that returns only resources that match the given compartment OCID.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// A filter that returns only resources that match the given lifecycle state. The state value is case-insensitive.
	LifecycleState ListCaBundlesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter that returns only resources that match the specified name.
	Name *string `mandatory:"false" contributesTo:"query" name:"name"`

	// The field to sort by. You can specify only one sort order. The default order for `TIMECREATED` is descending.
	// The default order for `NAME` is ascending.
	SortBy ListCaBundlesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
	SortOrder ListCaBundlesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The maximum number of items to return in a paginated "List" call.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The value of the `opc-next-page` response header
	// from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID of the CA bundle.
	CaBundleId *string `mandatory:"false" contributesTo:"query" name:"caBundleId"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListCaBundlesRequest wrapper for the ListCaBundles operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ListCaBundles.go.html to see an example of how to use ListCaBundlesRequest.

func (ListCaBundlesRequest) BinaryRequestBody

func (request ListCaBundlesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCaBundlesRequest) HTTPRequest

func (request ListCaBundlesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCaBundlesRequest) RetryPolicy

func (request ListCaBundlesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCaBundlesRequest) String

func (request ListCaBundlesRequest) String() string

func (ListCaBundlesRequest) ValidateEnumValue

func (request ListCaBundlesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListCaBundlesResponse

type ListCaBundlesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of CaBundleCollection instances
	CaBundleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListCaBundlesResponse wrapper for the ListCaBundles operation

func (ListCaBundlesResponse) HTTPResponse

func (response ListCaBundlesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCaBundlesResponse) String

func (response ListCaBundlesResponse) String() string

type ListCaBundlesSortByEnum

type ListCaBundlesSortByEnum string

ListCaBundlesSortByEnum Enum with underlying type: string

const (
	ListCaBundlesSortByName        ListCaBundlesSortByEnum = "NAME"
	ListCaBundlesSortByTimecreated ListCaBundlesSortByEnum = "TIMECREATED"
)

Set of constants representing the allowable values for ListCaBundlesSortByEnum

func GetListCaBundlesSortByEnumValues

func GetListCaBundlesSortByEnumValues() []ListCaBundlesSortByEnum

GetListCaBundlesSortByEnumValues Enumerates the set of values for ListCaBundlesSortByEnum

func GetMappingListCaBundlesSortByEnum

func GetMappingListCaBundlesSortByEnum(val string) (ListCaBundlesSortByEnum, bool)

GetMappingListCaBundlesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCaBundlesSortOrderEnum

type ListCaBundlesSortOrderEnum string

ListCaBundlesSortOrderEnum Enum with underlying type: string

const (
	ListCaBundlesSortOrderAsc  ListCaBundlesSortOrderEnum = "ASC"
	ListCaBundlesSortOrderDesc ListCaBundlesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListCaBundlesSortOrderEnum

func GetListCaBundlesSortOrderEnumValues

func GetListCaBundlesSortOrderEnumValues() []ListCaBundlesSortOrderEnum

GetListCaBundlesSortOrderEnumValues Enumerates the set of values for ListCaBundlesSortOrderEnum

func GetMappingListCaBundlesSortOrderEnum

func GetMappingListCaBundlesSortOrderEnum(val string) (ListCaBundlesSortOrderEnum, bool)

GetMappingListCaBundlesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCertificateAuthoritiesLifecycleStateEnum

type ListCertificateAuthoritiesLifecycleStateEnum string

ListCertificateAuthoritiesLifecycleStateEnum Enum with underlying type: string

const (
	ListCertificateAuthoritiesLifecycleStateCreating           ListCertificateAuthoritiesLifecycleStateEnum = "CREATING"
	ListCertificateAuthoritiesLifecycleStateActive             ListCertificateAuthoritiesLifecycleStateEnum = "ACTIVE"
	ListCertificateAuthoritiesLifecycleStateUpdating           ListCertificateAuthoritiesLifecycleStateEnum = "UPDATING"
	ListCertificateAuthoritiesLifecycleStateDeleting           ListCertificateAuthoritiesLifecycleStateEnum = "DELETING"
	ListCertificateAuthoritiesLifecycleStateDeleted            ListCertificateAuthoritiesLifecycleStateEnum = "DELETED"
	ListCertificateAuthoritiesLifecycleStateSchedulingDeletion ListCertificateAuthoritiesLifecycleStateEnum = "SCHEDULING_DELETION"
	ListCertificateAuthoritiesLifecycleStatePendingDeletion    ListCertificateAuthoritiesLifecycleStateEnum = "PENDING_DELETION"
	ListCertificateAuthoritiesLifecycleStateCancellingDeletion ListCertificateAuthoritiesLifecycleStateEnum = "CANCELLING_DELETION"
	ListCertificateAuthoritiesLifecycleStateFailed             ListCertificateAuthoritiesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListCertificateAuthoritiesLifecycleStateEnum

func GetListCertificateAuthoritiesLifecycleStateEnumValues

func GetListCertificateAuthoritiesLifecycleStateEnumValues() []ListCertificateAuthoritiesLifecycleStateEnum

GetListCertificateAuthoritiesLifecycleStateEnumValues Enumerates the set of values for ListCertificateAuthoritiesLifecycleStateEnum

func GetMappingListCertificateAuthoritiesLifecycleStateEnum

func GetMappingListCertificateAuthoritiesLifecycleStateEnum(val string) (ListCertificateAuthoritiesLifecycleStateEnum, bool)

GetMappingListCertificateAuthoritiesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCertificateAuthoritiesRequest

type ListCertificateAuthoritiesRequest struct {

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A filter that returns only resources that match the given compartment OCID.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// A filter that returns only resources that match the given lifecycle state. The state value is case-insensitive.
	LifecycleState ListCertificateAuthoritiesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter that returns only resources that match the specified name.
	Name *string `mandatory:"false" contributesTo:"query" name:"name"`

	// The OCID of the certificate authority (CA). If the parameter is set to null, the service lists all CAs.
	IssuerCertificateAuthorityId *string `mandatory:"false" contributesTo:"query" name:"issuerCertificateAuthorityId"`

	// The OCID of the certificate authority (CA). If the parameter is set to null, the service lists all CAs.
	CertificateAuthorityId *string `mandatory:"false" contributesTo:"query" name:"certificateAuthorityId"`

	// The field to sort by. You can specify only one sort order. The default
	// order for `EXPIRATIONDATE` and 'TIMECREATED' is descending. The default order for `NAME`
	// is ascending.
	SortBy ListCertificateAuthoritiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
	SortOrder ListCertificateAuthoritiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The maximum number of items to return in a paginated "List" call.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The value of the `opc-next-page` response header
	// from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListCertificateAuthoritiesRequest wrapper for the ListCertificateAuthorities operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ListCertificateAuthorities.go.html to see an example of how to use ListCertificateAuthoritiesRequest.

func (ListCertificateAuthoritiesRequest) BinaryRequestBody

func (request ListCertificateAuthoritiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCertificateAuthoritiesRequest) HTTPRequest

func (request ListCertificateAuthoritiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCertificateAuthoritiesRequest) RetryPolicy

func (request ListCertificateAuthoritiesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCertificateAuthoritiesRequest) String

func (request ListCertificateAuthoritiesRequest) String() string

func (ListCertificateAuthoritiesRequest) ValidateEnumValue

func (request ListCertificateAuthoritiesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListCertificateAuthoritiesResponse

type ListCertificateAuthoritiesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of CertificateAuthorityCollection instances
	CertificateAuthorityCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListCertificateAuthoritiesResponse wrapper for the ListCertificateAuthorities operation

func (ListCertificateAuthoritiesResponse) HTTPResponse

func (response ListCertificateAuthoritiesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCertificateAuthoritiesResponse) String

func (response ListCertificateAuthoritiesResponse) String() string

type ListCertificateAuthoritiesSortByEnum

type ListCertificateAuthoritiesSortByEnum string

ListCertificateAuthoritiesSortByEnum Enum with underlying type: string

const (
	ListCertificateAuthoritiesSortByName           ListCertificateAuthoritiesSortByEnum = "NAME"
	ListCertificateAuthoritiesSortByExpirationdate ListCertificateAuthoritiesSortByEnum = "EXPIRATIONDATE"
	ListCertificateAuthoritiesSortByTimecreated    ListCertificateAuthoritiesSortByEnum = "TIMECREATED"
)

Set of constants representing the allowable values for ListCertificateAuthoritiesSortByEnum

func GetListCertificateAuthoritiesSortByEnumValues

func GetListCertificateAuthoritiesSortByEnumValues() []ListCertificateAuthoritiesSortByEnum

GetListCertificateAuthoritiesSortByEnumValues Enumerates the set of values for ListCertificateAuthoritiesSortByEnum

func GetMappingListCertificateAuthoritiesSortByEnum

func GetMappingListCertificateAuthoritiesSortByEnum(val string) (ListCertificateAuthoritiesSortByEnum, bool)

GetMappingListCertificateAuthoritiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCertificateAuthoritiesSortOrderEnum

type ListCertificateAuthoritiesSortOrderEnum string

ListCertificateAuthoritiesSortOrderEnum Enum with underlying type: string

const (
	ListCertificateAuthoritiesSortOrderAsc  ListCertificateAuthoritiesSortOrderEnum = "ASC"
	ListCertificateAuthoritiesSortOrderDesc ListCertificateAuthoritiesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListCertificateAuthoritiesSortOrderEnum

func GetListCertificateAuthoritiesSortOrderEnumValues

func GetListCertificateAuthoritiesSortOrderEnumValues() []ListCertificateAuthoritiesSortOrderEnum

GetListCertificateAuthoritiesSortOrderEnumValues Enumerates the set of values for ListCertificateAuthoritiesSortOrderEnum

func GetMappingListCertificateAuthoritiesSortOrderEnum

func GetMappingListCertificateAuthoritiesSortOrderEnum(val string) (ListCertificateAuthoritiesSortOrderEnum, bool)

GetMappingListCertificateAuthoritiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCertificateAuthorityVersionsRequest

type ListCertificateAuthorityVersionsRequest struct {

	// The OCID of the certificate authority (CA).
	CertificateAuthorityId *string `mandatory:"true" contributesTo:"path" name:"certificateAuthorityId"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A filter that returns only resources that match the specified version number. The default value is 0, which means that this filter is not applied.
	VersionNumber *int64 `mandatory:"false" contributesTo:"query" name:"versionNumber"`

	// The maximum number of items to return in a paginated "List" call.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The value of the `opc-next-page` response header
	// from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. You can specify only one sort order. The default order for 'VERSION_NUMBER' is ascending.
	SortBy ListCertificateAuthorityVersionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
	SortOrder ListCertificateAuthorityVersionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListCertificateAuthorityVersionsRequest wrapper for the ListCertificateAuthorityVersions operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ListCertificateAuthorityVersions.go.html to see an example of how to use ListCertificateAuthorityVersionsRequest.

func (ListCertificateAuthorityVersionsRequest) BinaryRequestBody

func (request ListCertificateAuthorityVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCertificateAuthorityVersionsRequest) HTTPRequest

func (request ListCertificateAuthorityVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCertificateAuthorityVersionsRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCertificateAuthorityVersionsRequest) String

func (ListCertificateAuthorityVersionsRequest) ValidateEnumValue

func (request ListCertificateAuthorityVersionsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListCertificateAuthorityVersionsResponse

type ListCertificateAuthorityVersionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of CertificateAuthorityVersionCollection instances
	CertificateAuthorityVersionCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListCertificateAuthorityVersionsResponse wrapper for the ListCertificateAuthorityVersions operation

func (ListCertificateAuthorityVersionsResponse) HTTPResponse

func (response ListCertificateAuthorityVersionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCertificateAuthorityVersionsResponse) String

type ListCertificateAuthorityVersionsSortByEnum

type ListCertificateAuthorityVersionsSortByEnum string

ListCertificateAuthorityVersionsSortByEnum Enum with underlying type: string

const (
	ListCertificateAuthorityVersionsSortByVersionNumber ListCertificateAuthorityVersionsSortByEnum = "VERSION_NUMBER"
)

Set of constants representing the allowable values for ListCertificateAuthorityVersionsSortByEnum

func GetListCertificateAuthorityVersionsSortByEnumValues

func GetListCertificateAuthorityVersionsSortByEnumValues() []ListCertificateAuthorityVersionsSortByEnum

GetListCertificateAuthorityVersionsSortByEnumValues Enumerates the set of values for ListCertificateAuthorityVersionsSortByEnum

func GetMappingListCertificateAuthorityVersionsSortByEnum

func GetMappingListCertificateAuthorityVersionsSortByEnum(val string) (ListCertificateAuthorityVersionsSortByEnum, bool)

GetMappingListCertificateAuthorityVersionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCertificateAuthorityVersionsSortOrderEnum

type ListCertificateAuthorityVersionsSortOrderEnum string

ListCertificateAuthorityVersionsSortOrderEnum Enum with underlying type: string

const (
	ListCertificateAuthorityVersionsSortOrderAsc  ListCertificateAuthorityVersionsSortOrderEnum = "ASC"
	ListCertificateAuthorityVersionsSortOrderDesc ListCertificateAuthorityVersionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListCertificateAuthorityVersionsSortOrderEnum

func GetListCertificateAuthorityVersionsSortOrderEnumValues

func GetListCertificateAuthorityVersionsSortOrderEnumValues() []ListCertificateAuthorityVersionsSortOrderEnum

GetListCertificateAuthorityVersionsSortOrderEnumValues Enumerates the set of values for ListCertificateAuthorityVersionsSortOrderEnum

func GetMappingListCertificateAuthorityVersionsSortOrderEnum

func GetMappingListCertificateAuthorityVersionsSortOrderEnum(val string) (ListCertificateAuthorityVersionsSortOrderEnum, bool)

GetMappingListCertificateAuthorityVersionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCertificateVersionsRequest

type ListCertificateVersionsRequest struct {

	// The OCID of the certificate.
	CertificateId *string `mandatory:"true" contributesTo:"path" name:"certificateId"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A filter that returns only resources that match the specified version number. The default value is 0, which means that this filter is not applied.
	VersionNumber *int64 `mandatory:"false" contributesTo:"query" name:"versionNumber"`

	// The maximum number of items to return in a paginated "List" call.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The value of the `opc-next-page` response header
	// from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. You can specify only one sort order. The default order for 'VERSION_NUMBER' is ascending.
	SortBy ListCertificateVersionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
	SortOrder ListCertificateVersionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListCertificateVersionsRequest wrapper for the ListCertificateVersions operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ListCertificateVersions.go.html to see an example of how to use ListCertificateVersionsRequest.

func (ListCertificateVersionsRequest) BinaryRequestBody

func (request ListCertificateVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCertificateVersionsRequest) HTTPRequest

func (request ListCertificateVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCertificateVersionsRequest) RetryPolicy

func (request ListCertificateVersionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCertificateVersionsRequest) String

func (request ListCertificateVersionsRequest) String() string

func (ListCertificateVersionsRequest) ValidateEnumValue

func (request ListCertificateVersionsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListCertificateVersionsResponse

type ListCertificateVersionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of CertificateVersionCollection instances
	CertificateVersionCollection `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListCertificateVersionsResponse wrapper for the ListCertificateVersions operation

func (ListCertificateVersionsResponse) HTTPResponse

func (response ListCertificateVersionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCertificateVersionsResponse) String

func (response ListCertificateVersionsResponse) String() string

type ListCertificateVersionsSortByEnum

type ListCertificateVersionsSortByEnum string

ListCertificateVersionsSortByEnum Enum with underlying type: string

const (
	ListCertificateVersionsSortByVersionNumber ListCertificateVersionsSortByEnum = "VERSION_NUMBER"
)

Set of constants representing the allowable values for ListCertificateVersionsSortByEnum

func GetListCertificateVersionsSortByEnumValues

func GetListCertificateVersionsSortByEnumValues() []ListCertificateVersionsSortByEnum

GetListCertificateVersionsSortByEnumValues Enumerates the set of values for ListCertificateVersionsSortByEnum

func GetMappingListCertificateVersionsSortByEnum

func GetMappingListCertificateVersionsSortByEnum(val string) (ListCertificateVersionsSortByEnum, bool)

GetMappingListCertificateVersionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCertificateVersionsSortOrderEnum

type ListCertificateVersionsSortOrderEnum string

ListCertificateVersionsSortOrderEnum Enum with underlying type: string

const (
	ListCertificateVersionsSortOrderAsc  ListCertificateVersionsSortOrderEnum = "ASC"
	ListCertificateVersionsSortOrderDesc ListCertificateVersionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListCertificateVersionsSortOrderEnum

func GetListCertificateVersionsSortOrderEnumValues

func GetListCertificateVersionsSortOrderEnumValues() []ListCertificateVersionsSortOrderEnum

GetListCertificateVersionsSortOrderEnumValues Enumerates the set of values for ListCertificateVersionsSortOrderEnum

func GetMappingListCertificateVersionsSortOrderEnum

func GetMappingListCertificateVersionsSortOrderEnum(val string) (ListCertificateVersionsSortOrderEnum, bool)

GetMappingListCertificateVersionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCertificatesLifecycleStateEnum

type ListCertificatesLifecycleStateEnum string

ListCertificatesLifecycleStateEnum Enum with underlying type: string

const (
	ListCertificatesLifecycleStateCreating           ListCertificatesLifecycleStateEnum = "CREATING"
	ListCertificatesLifecycleStateActive             ListCertificatesLifecycleStateEnum = "ACTIVE"
	ListCertificatesLifecycleStateUpdating           ListCertificatesLifecycleStateEnum = "UPDATING"
	ListCertificatesLifecycleStateDeleting           ListCertificatesLifecycleStateEnum = "DELETING"
	ListCertificatesLifecycleStateDeleted            ListCertificatesLifecycleStateEnum = "DELETED"
	ListCertificatesLifecycleStateSchedulingDeletion ListCertificatesLifecycleStateEnum = "SCHEDULING_DELETION"
	ListCertificatesLifecycleStatePendingDeletion    ListCertificatesLifecycleStateEnum = "PENDING_DELETION"
	ListCertificatesLifecycleStateCancellingDeletion ListCertificatesLifecycleStateEnum = "CANCELLING_DELETION"
	ListCertificatesLifecycleStateFailed             ListCertificatesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListCertificatesLifecycleStateEnum

func GetListCertificatesLifecycleStateEnumValues

func GetListCertificatesLifecycleStateEnumValues() []ListCertificatesLifecycleStateEnum

GetListCertificatesLifecycleStateEnumValues Enumerates the set of values for ListCertificatesLifecycleStateEnum

func GetMappingListCertificatesLifecycleStateEnum

func GetMappingListCertificatesLifecycleStateEnum(val string) (ListCertificatesLifecycleStateEnum, bool)

GetMappingListCertificatesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCertificatesRequest

type ListCertificatesRequest struct {

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A filter that returns only resources that match the given compartment OCID.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// A filter that returns only resources that match the given lifecycle state. The state value is case-insensitive.
	LifecycleState ListCertificatesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter that returns only resources that match the specified name.
	Name *string `mandatory:"false" contributesTo:"query" name:"name"`

	// The field to sort by. You can specify only one sort order. The default
	// order for `EXPIRATIONDATE` and 'TIMECREATED' is descending. The default order for `NAME`
	// is ascending.
	SortBy ListCertificatesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
	SortOrder ListCertificatesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The maximum number of items to return in a paginated "List" call.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// The value of the `opc-next-page` response header
	// from the previous "List" call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID of the certificate authority (CA). If the parameter is set to null, the service lists all CAs.
	IssuerCertificateAuthorityId *string `mandatory:"false" contributesTo:"query" name:"issuerCertificateAuthorityId"`

	// The OCID of the certificate. If the parameter is set to null, the service lists all certificates.
	CertificateId *string `mandatory:"false" contributesTo:"query" name:"certificateId"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListCertificatesRequest wrapper for the ListCertificates operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ListCertificates.go.html to see an example of how to use ListCertificatesRequest.

func (ListCertificatesRequest) BinaryRequestBody

func (request ListCertificatesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCertificatesRequest) HTTPRequest

func (request ListCertificatesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCertificatesRequest) RetryPolicy

func (request ListCertificatesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCertificatesRequest) String

func (request ListCertificatesRequest) String() string

func (ListCertificatesRequest) ValidateEnumValue

func (request ListCertificatesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListCertificatesResponse

type ListCertificatesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of CertificateCollection instances
	CertificateCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then there are additional items still to get. Include this value as the `page` parameter for the
	// subsequent GET request. For information about pagination, see
	// List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#List_Pagination).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListCertificatesResponse wrapper for the ListCertificates operation

func (ListCertificatesResponse) HTTPResponse

func (response ListCertificatesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCertificatesResponse) String

func (response ListCertificatesResponse) String() string

type ListCertificatesSortByEnum

type ListCertificatesSortByEnum string

ListCertificatesSortByEnum Enum with underlying type: string

const (
	ListCertificatesSortByName           ListCertificatesSortByEnum = "NAME"
	ListCertificatesSortByExpirationdate ListCertificatesSortByEnum = "EXPIRATIONDATE"
	ListCertificatesSortByTimecreated    ListCertificatesSortByEnum = "TIMECREATED"
)

Set of constants representing the allowable values for ListCertificatesSortByEnum

func GetListCertificatesSortByEnumValues

func GetListCertificatesSortByEnumValues() []ListCertificatesSortByEnum

GetListCertificatesSortByEnumValues Enumerates the set of values for ListCertificatesSortByEnum

func GetMappingListCertificatesSortByEnum

func GetMappingListCertificatesSortByEnum(val string) (ListCertificatesSortByEnum, bool)

GetMappingListCertificatesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCertificatesSortOrderEnum

type ListCertificatesSortOrderEnum string

ListCertificatesSortOrderEnum Enum with underlying type: string

const (
	ListCertificatesSortOrderAsc  ListCertificatesSortOrderEnum = "ASC"
	ListCertificatesSortOrderDesc ListCertificatesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListCertificatesSortOrderEnum

func GetListCertificatesSortOrderEnumValues

func GetListCertificatesSortOrderEnumValues() []ListCertificatesSortOrderEnum

GetListCertificatesSortOrderEnumValues Enumerates the set of values for ListCertificatesSortOrderEnum

func GetMappingListCertificatesSortOrderEnum

func GetMappingListCertificatesSortOrderEnum(val string) (ListCertificatesSortOrderEnum, bool)

GetMappingListCertificatesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ObjectStorageBucketConfigDetails

type ObjectStorageBucketConfigDetails struct {

	// The name of the bucket where the CRL is stored.
	ObjectStorageBucketName *string `mandatory:"true" json:"objectStorageBucketName"`

	// The object name in the bucket where the CRL is stored, expressed using a format where the version number of the issuing CA is inserted as part of the Object Storage object name wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2.
	ObjectStorageObjectNameFormat *string `mandatory:"true" json:"objectStorageObjectNameFormat"`

	// The tenancy of the bucket where the CRL is stored.
	ObjectStorageNamespace *string `mandatory:"false" json:"objectStorageNamespace"`
}

ObjectStorageBucketConfigDetails The details of the Object Storage bucket configured to store the certificate revocation list (CRL).

func (ObjectStorageBucketConfigDetails) String

func (ObjectStorageBucketConfigDetails) ValidateEnumValue

func (m ObjectStorageBucketConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RevocationReasonEnum

type RevocationReasonEnum string

RevocationReasonEnum Enum with underlying type: string

const (
	RevocationReasonUnspecified          RevocationReasonEnum = "UNSPECIFIED"
	RevocationReasonKeyCompromise        RevocationReasonEnum = "KEY_COMPROMISE"
	RevocationReasonCaCompromise         RevocationReasonEnum = "CA_COMPROMISE"
	RevocationReasonAffiliationChanged   RevocationReasonEnum = "AFFILIATION_CHANGED"
	RevocationReasonSuperseded           RevocationReasonEnum = "SUPERSEDED"
	RevocationReasonCessationOfOperation RevocationReasonEnum = "CESSATION_OF_OPERATION"
	RevocationReasonPrivilegeWithdrawn   RevocationReasonEnum = "PRIVILEGE_WITHDRAWN"
	RevocationReasonAaCompromise         RevocationReasonEnum = "AA_COMPROMISE"
)

Set of constants representing the allowable values for RevocationReasonEnum

func GetMappingRevocationReasonEnum

func GetMappingRevocationReasonEnum(val string) (RevocationReasonEnum, bool)

GetMappingRevocationReasonEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRevocationReasonEnumValues

func GetRevocationReasonEnumValues() []RevocationReasonEnum

GetRevocationReasonEnumValues Enumerates the set of values for RevocationReasonEnum

type RevocationStatus

type RevocationStatus struct {

	// The time when the entity was revoked, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeOfRevocation *common.SDKTime `mandatory:"true" json:"timeOfRevocation"`

	// The reason the certificate or certificate authority (CA) was revoked.
	RevocationReason RevocationReasonEnum `mandatory:"true" json:"revocationReason"`
}

RevocationStatus The current revocation status of the entity.

func (RevocationStatus) String

func (m RevocationStatus) String() string

func (RevocationStatus) ValidateEnumValue

func (m RevocationStatus) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RevokeCertificateAuthorityVersionDetails

type RevokeCertificateAuthorityVersionDetails struct {

	// The reason the certificate or certificate authority was revoked.
	RevocationReason RevocationReasonEnum `mandatory:"false" json:"revocationReason,omitempty"`
}

RevokeCertificateAuthorityVersionDetails The details of the request to revoke a certificate authority (CA) version.

func (RevokeCertificateAuthorityVersionDetails) String

func (RevokeCertificateAuthorityVersionDetails) ValidateEnumValue

func (m RevokeCertificateAuthorityVersionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RevokeCertificateAuthorityVersionRequest

type RevokeCertificateAuthorityVersionRequest struct {

	// The OCID of the certificate authority (CA).
	CertificateAuthorityId *string `mandatory:"true" contributesTo:"path" name:"certificateAuthorityId"`

	// The version number of the certificate authority (CA).
	CertificateAuthorityVersionNumber *int64 `mandatory:"true" contributesTo:"path" name:"certificateAuthorityVersionNumber"`

	// The details of the request to revoke a CA version.
	RevokeCertificateAuthorityVersionDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case
	// of a timeout or server error without risk of executing that same action
	// again. Retry tokens expire after 24 hours, but can be invalidated
	// before then due to conflicting operations (for example, if a resource has been
	// deleted and purged from the system, then a retry of the original
	// creation request may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RevokeCertificateAuthorityVersionRequest wrapper for the RevokeCertificateAuthorityVersion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/RevokeCertificateAuthorityVersion.go.html to see an example of how to use RevokeCertificateAuthorityVersionRequest.

func (RevokeCertificateAuthorityVersionRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (RevokeCertificateAuthorityVersionRequest) HTTPRequest

func (request RevokeCertificateAuthorityVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RevokeCertificateAuthorityVersionRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RevokeCertificateAuthorityVersionRequest) String

func (RevokeCertificateAuthorityVersionRequest) ValidateEnumValue

func (request RevokeCertificateAuthorityVersionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RevokeCertificateAuthorityVersionResponse

type RevokeCertificateAuthorityVersionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

RevokeCertificateAuthorityVersionResponse wrapper for the RevokeCertificateAuthorityVersion operation

func (RevokeCertificateAuthorityVersionResponse) HTTPResponse

func (response RevokeCertificateAuthorityVersionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RevokeCertificateAuthorityVersionResponse) String

type RevokeCertificateVersionDetails

type RevokeCertificateVersionDetails struct {

	// The reason that the certificate or certificate authority was revoked.
	RevocationReason RevocationReasonEnum `mandatory:"false" json:"revocationReason,omitempty"`
}

RevokeCertificateVersionDetails The details for revoking a certificate version.

func (RevokeCertificateVersionDetails) String

func (RevokeCertificateVersionDetails) ValidateEnumValue

func (m RevokeCertificateVersionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RevokeCertificateVersionRequest

type RevokeCertificateVersionRequest struct {

	// The OCID of the certificate.
	CertificateId *string `mandatory:"true" contributesTo:"path" name:"certificateId"`

	// The version number of the certificate.
	CertificateVersionNumber *int64 `mandatory:"true" contributesTo:"path" name:"certificateVersionNumber"`

	// The details of the request to revoke a certificate version.
	RevokeCertificateVersionDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A token that uniquely identifies a request so it can be retried in case
	// of a timeout or server error without risk of executing that same action
	// again. Retry tokens expire after 24 hours, but can be invalidated
	// before then due to conflicting operations (for example, if a resource has been
	// deleted and purged from the system, then a retry of the original
	// creation request may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

RevokeCertificateVersionRequest wrapper for the RevokeCertificateVersion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/RevokeCertificateVersion.go.html to see an example of how to use RevokeCertificateVersionRequest.

func (RevokeCertificateVersionRequest) BinaryRequestBody

func (request RevokeCertificateVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RevokeCertificateVersionRequest) HTTPRequest

func (request RevokeCertificateVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RevokeCertificateVersionRequest) RetryPolicy

func (request RevokeCertificateVersionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RevokeCertificateVersionRequest) String

func (request RevokeCertificateVersionRequest) String() string

func (RevokeCertificateVersionRequest) ValidateEnumValue

func (request RevokeCertificateVersionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RevokeCertificateVersionResponse

type RevokeCertificateVersionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

RevokeCertificateVersionResponse wrapper for the RevokeCertificateVersion operation

func (RevokeCertificateVersionResponse) HTTPResponse

func (response RevokeCertificateVersionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RevokeCertificateVersionResponse) String

func (response RevokeCertificateVersionResponse) String() string

type ScheduleCertificateAuthorityDeletionDetails

type ScheduleCertificateAuthorityDeletionDetails struct {

	// An optional property indicating when to delete the CA, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"`
}

ScheduleCertificateAuthorityDeletionDetails The details of the request to schedule the deletion of the specified certificate authority (CA).

func (ScheduleCertificateAuthorityDeletionDetails) String

func (ScheduleCertificateAuthorityDeletionDetails) ValidateEnumValue

func (m ScheduleCertificateAuthorityDeletionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ScheduleCertificateAuthorityDeletionRequest

type ScheduleCertificateAuthorityDeletionRequest struct {

	// The OCID of the certificate authority (CA).
	CertificateAuthorityId *string `mandatory:"true" contributesTo:"path" name:"certificateAuthorityId"`

	// The details of the request to schedule the deletion of a CA.
	ScheduleCertificateAuthorityDeletionDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ScheduleCertificateAuthorityDeletionRequest wrapper for the ScheduleCertificateAuthorityDeletion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ScheduleCertificateAuthorityDeletion.go.html to see an example of how to use ScheduleCertificateAuthorityDeletionRequest.

func (ScheduleCertificateAuthorityDeletionRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ScheduleCertificateAuthorityDeletionRequest) HTTPRequest

func (request ScheduleCertificateAuthorityDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ScheduleCertificateAuthorityDeletionRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ScheduleCertificateAuthorityDeletionRequest) String

func (ScheduleCertificateAuthorityDeletionRequest) ValidateEnumValue

func (request ScheduleCertificateAuthorityDeletionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ScheduleCertificateAuthorityDeletionResponse

type ScheduleCertificateAuthorityDeletionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ScheduleCertificateAuthorityDeletionResponse wrapper for the ScheduleCertificateAuthorityDeletion operation

func (ScheduleCertificateAuthorityDeletionResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ScheduleCertificateAuthorityDeletionResponse) String

type ScheduleCertificateAuthorityVersionDeletionDetails

type ScheduleCertificateAuthorityVersionDeletionDetails struct {

	// An optional property indicating when to delete the CA version, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"`
}

ScheduleCertificateAuthorityVersionDeletionDetails The details of the request to schedule the deletion of the specified certificate authority (CA) version.

func (ScheduleCertificateAuthorityVersionDeletionDetails) String

func (ScheduleCertificateAuthorityVersionDeletionDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ScheduleCertificateAuthorityVersionDeletionRequest

type ScheduleCertificateAuthorityVersionDeletionRequest struct {

	// The OCID of the certificate authority (CA).
	CertificateAuthorityId *string `mandatory:"true" contributesTo:"path" name:"certificateAuthorityId"`

	// The version number of the certificate authority (CA).
	CertificateAuthorityVersionNumber *int64 `mandatory:"true" contributesTo:"path" name:"certificateAuthorityVersionNumber"`

	// The details of the request to delete a CA version.
	ScheduleCertificateAuthorityVersionDeletionDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ScheduleCertificateAuthorityVersionDeletionRequest wrapper for the ScheduleCertificateAuthorityVersionDeletion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ScheduleCertificateAuthorityVersionDeletion.go.html to see an example of how to use ScheduleCertificateAuthorityVersionDeletionRequest.

func (ScheduleCertificateAuthorityVersionDeletionRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ScheduleCertificateAuthorityVersionDeletionRequest) HTTPRequest

func (request ScheduleCertificateAuthorityVersionDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ScheduleCertificateAuthorityVersionDeletionRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ScheduleCertificateAuthorityVersionDeletionRequest) String

func (ScheduleCertificateAuthorityVersionDeletionRequest) ValidateEnumValue

func (request ScheduleCertificateAuthorityVersionDeletionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ScheduleCertificateAuthorityVersionDeletionResponse

type ScheduleCertificateAuthorityVersionDeletionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ScheduleCertificateAuthorityVersionDeletionResponse wrapper for the ScheduleCertificateAuthorityVersionDeletion operation

func (ScheduleCertificateAuthorityVersionDeletionResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ScheduleCertificateAuthorityVersionDeletionResponse) String

type ScheduleCertificateDeletionDetails

type ScheduleCertificateDeletionDetails struct {

	// An optional property indicating when to delete the certificate version, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"`
}

ScheduleCertificateDeletionDetails The details for scheduling the deletion of the specified certificate.

func (ScheduleCertificateDeletionDetails) String

func (ScheduleCertificateDeletionDetails) ValidateEnumValue

func (m ScheduleCertificateDeletionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ScheduleCertificateDeletionRequest

type ScheduleCertificateDeletionRequest struct {

	// The OCID of the certificate.
	CertificateId *string `mandatory:"true" contributesTo:"path" name:"certificateId"`

	// The details of the request to schedule a certificate deletion.
	// This sets the lifecycle state of the certificate to `PENDING_DELETION` and then deletes it
	// after the specified retention period ends.
	// You can subsequently use `GetCertificate` to determine the current deletion status.
	ScheduleCertificateDeletionDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ScheduleCertificateDeletionRequest wrapper for the ScheduleCertificateDeletion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ScheduleCertificateDeletion.go.html to see an example of how to use ScheduleCertificateDeletionRequest.

func (ScheduleCertificateDeletionRequest) BinaryRequestBody

func (request ScheduleCertificateDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ScheduleCertificateDeletionRequest) HTTPRequest

func (request ScheduleCertificateDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ScheduleCertificateDeletionRequest) RetryPolicy

func (request ScheduleCertificateDeletionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ScheduleCertificateDeletionRequest) String

func (request ScheduleCertificateDeletionRequest) String() string

func (ScheduleCertificateDeletionRequest) ValidateEnumValue

func (request ScheduleCertificateDeletionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ScheduleCertificateDeletionResponse

type ScheduleCertificateDeletionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ScheduleCertificateDeletionResponse wrapper for the ScheduleCertificateDeletion operation

func (ScheduleCertificateDeletionResponse) HTTPResponse

func (response ScheduleCertificateDeletionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ScheduleCertificateDeletionResponse) String

func (response ScheduleCertificateDeletionResponse) String() string

type ScheduleCertificateVersionDeletionDetails

type ScheduleCertificateVersionDeletionDetails struct {

	// An optional property that indicates when to delete the certificate version, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"`
}

ScheduleCertificateVersionDeletionDetails The details for scheduling the deletion of the specified certificate version.

func (ScheduleCertificateVersionDeletionDetails) String

func (ScheduleCertificateVersionDeletionDetails) ValidateEnumValue

func (m ScheduleCertificateVersionDeletionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ScheduleCertificateVersionDeletionRequest

type ScheduleCertificateVersionDeletionRequest struct {

	// The OCID of the certificate.
	CertificateId *string `mandatory:"true" contributesTo:"path" name:"certificateId"`

	// The version number of the certificate.
	CertificateVersionNumber *int64 `mandatory:"true" contributesTo:"path" name:"certificateVersionNumber"`

	// The details of the request to delete a certificate version.
	ScheduleCertificateVersionDeletionDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ScheduleCertificateVersionDeletionRequest wrapper for the ScheduleCertificateVersionDeletion operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/ScheduleCertificateVersionDeletion.go.html to see an example of how to use ScheduleCertificateVersionDeletionRequest.

func (ScheduleCertificateVersionDeletionRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ScheduleCertificateVersionDeletionRequest) HTTPRequest

func (request ScheduleCertificateVersionDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ScheduleCertificateVersionDeletionRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ScheduleCertificateVersionDeletionRequest) String

func (ScheduleCertificateVersionDeletionRequest) ValidateEnumValue

func (request ScheduleCertificateVersionDeletionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ScheduleCertificateVersionDeletionResponse

type ScheduleCertificateVersionDeletionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ScheduleCertificateVersionDeletionResponse wrapper for the ScheduleCertificateVersionDeletion operation

func (ScheduleCertificateVersionDeletionResponse) HTTPResponse

func (response ScheduleCertificateVersionDeletionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ScheduleCertificateVersionDeletionResponse) String

type SignatureAlgorithmEnum

type SignatureAlgorithmEnum string

SignatureAlgorithmEnum Enum with underlying type: string

const (
	SignatureAlgorithmSha256WithRsa   SignatureAlgorithmEnum = "SHA256_WITH_RSA"
	SignatureAlgorithmSha384WithRsa   SignatureAlgorithmEnum = "SHA384_WITH_RSA"
	SignatureAlgorithmSha512WithRsa   SignatureAlgorithmEnum = "SHA512_WITH_RSA"
	SignatureAlgorithmSha256WithEcdsa SignatureAlgorithmEnum = "SHA256_WITH_ECDSA"
	SignatureAlgorithmSha384WithEcdsa SignatureAlgorithmEnum = "SHA384_WITH_ECDSA"
	SignatureAlgorithmSha512WithEcdsa SignatureAlgorithmEnum = "SHA512_WITH_ECDSA"
)

Set of constants representing the allowable values for SignatureAlgorithmEnum

func GetMappingSignatureAlgorithmEnum

func GetMappingSignatureAlgorithmEnum(val string) (SignatureAlgorithmEnum, bool)

GetMappingSignatureAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSignatureAlgorithmEnumValues

func GetSignatureAlgorithmEnumValues() []SignatureAlgorithmEnum

GetSignatureAlgorithmEnumValues Enumerates the set of values for SignatureAlgorithmEnum

type UpdateCaBundleDetails

type UpdateCaBundleDetails struct {

	// A brief description of the CA bundle.
	Description *string `mandatory:"false" json:"description"`

	// Certificates (in PEM format) to include in the CA bundle.
	CaBundlePem *string `mandatory:"false" json:"caBundlePem"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateCaBundleDetails The details of the CA bundle to update.

func (UpdateCaBundleDetails) String

func (m UpdateCaBundleDetails) String() string

func (UpdateCaBundleDetails) ValidateEnumValue

func (m UpdateCaBundleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateCaBundleRequest

type UpdateCaBundleRequest struct {

	// The OCID of the CA bundle.
	CaBundleId *string `mandatory:"true" contributesTo:"path" name:"caBundleId"`

	// The details of the request to update a CA bundle.
	UpdateCaBundleDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateCaBundleRequest wrapper for the UpdateCaBundle operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/UpdateCaBundle.go.html to see an example of how to use UpdateCaBundleRequest.

func (UpdateCaBundleRequest) BinaryRequestBody

func (request UpdateCaBundleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateCaBundleRequest) HTTPRequest

func (request UpdateCaBundleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateCaBundleRequest) RetryPolicy

func (request UpdateCaBundleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateCaBundleRequest) String

func (request UpdateCaBundleRequest) String() string

func (UpdateCaBundleRequest) ValidateEnumValue

func (request UpdateCaBundleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateCaBundleResponse

type UpdateCaBundleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CaBundle instance
	CaBundle `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateCaBundleResponse wrapper for the UpdateCaBundle operation

func (UpdateCaBundleResponse) HTTPResponse

func (response UpdateCaBundleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateCaBundleResponse) String

func (response UpdateCaBundleResponse) String() string

type UpdateCertificateAuthorityConfigDetails

type UpdateCertificateAuthorityConfigDetails interface {

	// The name of the CA version. When the value is not null, a name is unique across versions of a given CA.
	GetVersionName() *string

	// The rotation state of the CA. The default is `PENDING`, meaning that the CA is staged and available for use. A CA version
	// that you mark as `CURRENT` is currently in use, but you don't yet want to rotate it into current, active use. For example,
	// you might create or update a CA and mark its rotation state as `PENDING` if you haven't yet updated the certificate on the target system.
	GetStage() UpdateCertificateAuthorityConfigDetailsStageEnum
}

UpdateCertificateAuthorityConfigDetails The configuration details for updating a certificate authority (CA).

type UpdateCertificateAuthorityConfigDetailsStageEnum

type UpdateCertificateAuthorityConfigDetailsStageEnum string

UpdateCertificateAuthorityConfigDetailsStageEnum Enum with underlying type: string

const (
	UpdateCertificateAuthorityConfigDetailsStageCurrent UpdateCertificateAuthorityConfigDetailsStageEnum = "CURRENT"
	UpdateCertificateAuthorityConfigDetailsStagePending UpdateCertificateAuthorityConfigDetailsStageEnum = "PENDING"
)

Set of constants representing the allowable values for UpdateCertificateAuthorityConfigDetailsStageEnum

func GetMappingUpdateCertificateAuthorityConfigDetailsStageEnum

func GetMappingUpdateCertificateAuthorityConfigDetailsStageEnum(val string) (UpdateCertificateAuthorityConfigDetailsStageEnum, bool)

GetMappingUpdateCertificateAuthorityConfigDetailsStageEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateCertificateAuthorityConfigDetailsStageEnumValues

func GetUpdateCertificateAuthorityConfigDetailsStageEnumValues() []UpdateCertificateAuthorityConfigDetailsStageEnum

GetUpdateCertificateAuthorityConfigDetailsStageEnumValues Enumerates the set of values for UpdateCertificateAuthorityConfigDetailsStageEnum

type UpdateCertificateAuthorityDetails

type UpdateCertificateAuthorityDetails struct {

	// A brief description of the CA.
	Description *string `mandatory:"false" json:"description"`

	// Makes this version the current version. This property cannot be updated in combination with any other properties.
	CurrentVersionNumber *int64 `mandatory:"false" json:"currentVersionNumber"`

	CertificateAuthorityConfig UpdateCertificateAuthorityConfigDetails `mandatory:"false" json:"certificateAuthorityConfig"`

	CertificateRevocationListDetails *CertificateRevocationListDetails `mandatory:"false" json:"certificateRevocationListDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Usage of predefined tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A list of rules that control how the CA is used and managed.
	CertificateAuthorityRules []CertificateAuthorityRule `mandatory:"false" json:"certificateAuthorityRules"`
}

UpdateCertificateAuthorityDetails The details for updating a certificate authority (CA).

func (UpdateCertificateAuthorityDetails) String

func (*UpdateCertificateAuthorityDetails) UnmarshalJSON

func (m *UpdateCertificateAuthorityDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateCertificateAuthorityDetails) ValidateEnumValue

func (m UpdateCertificateAuthorityDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateCertificateAuthorityRequest

type UpdateCertificateAuthorityRequest struct {

	// The OCID of the certificate authority (CA).
	CertificateAuthorityId *string `mandatory:"true" contributesTo:"path" name:"certificateAuthorityId"`

	// The details of the request to update a CA.
	UpdateCertificateAuthorityDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateCertificateAuthorityRequest wrapper for the UpdateCertificateAuthority operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/UpdateCertificateAuthority.go.html to see an example of how to use UpdateCertificateAuthorityRequest.

func (UpdateCertificateAuthorityRequest) BinaryRequestBody

func (request UpdateCertificateAuthorityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateCertificateAuthorityRequest) HTTPRequest

func (request UpdateCertificateAuthorityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateCertificateAuthorityRequest) RetryPolicy

func (request UpdateCertificateAuthorityRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateCertificateAuthorityRequest) String

func (request UpdateCertificateAuthorityRequest) String() string

func (UpdateCertificateAuthorityRequest) ValidateEnumValue

func (request UpdateCertificateAuthorityRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateCertificateAuthorityResponse

type UpdateCertificateAuthorityResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CertificateAuthority instance
	CertificateAuthority `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateCertificateAuthorityResponse wrapper for the UpdateCertificateAuthority operation

func (UpdateCertificateAuthorityResponse) HTTPResponse

func (response UpdateCertificateAuthorityResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateCertificateAuthorityResponse) String

func (response UpdateCertificateAuthorityResponse) String() string

type UpdateCertificateByImportingConfigDetails

type UpdateCertificateByImportingConfigDetails struct {

	// The certificate chain (in PEM format) for the imported certificate.
	CertChainPem *string `mandatory:"true" json:"certChainPem"`

	// The private key (in PEM format) for the imported certificate.
	PrivateKeyPem *string `mandatory:"true" json:"privateKeyPem"`

	// The certificate (in PEM format) for the imported certificate.
	CertificatePem *string `mandatory:"true" json:"certificatePem"`

	// A name for the certificate version. When the value is not null, a name is unique across versions of a given certificate.
	VersionName *string `mandatory:"false" json:"versionName"`

	// An optional passphrase for the private key.
	PrivateKeyPemPassphrase *string `mandatory:"false" json:"privateKeyPemPassphrase"`

	// The rotation state of the certificate. The default is `CURRENT`, meaning that the certificate is currently in use. A certificate version
	// that you mark as `PENDING` is staged and available for use, but you don't yet want to rotate it into current, active use. For example,
	// you might update a certificate and mark its rotation state as `PENDING` if you haven't yet updated the certificate on the target system.
	Stage UpdateCertificateConfigDetailsStageEnum `mandatory:"false" json:"stage,omitempty"`
}

UpdateCertificateByImportingConfigDetails The details of the configuration for updating a certificate based on the keys from an imported certificate.

func (UpdateCertificateByImportingConfigDetails) GetStage

GetStage returns Stage

func (UpdateCertificateByImportingConfigDetails) GetVersionName

GetVersionName returns VersionName

func (UpdateCertificateByImportingConfigDetails) MarshalJSON

func (m UpdateCertificateByImportingConfigDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateCertificateByImportingConfigDetails) String

func (UpdateCertificateByImportingConfigDetails) ValidateEnumValue

func (m UpdateCertificateByImportingConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateCertificateConfigDetails

type UpdateCertificateConfigDetails interface {

	// A name for the certificate version. When the value is not null, a name is unique across versions of a given certificate.
	GetVersionName() *string

	// The rotation state of the certificate. The default is `CURRENT`, meaning that the certificate is currently in use. A certificate version
	// that you mark as `PENDING` is staged and available for use, but you don't yet want to rotate it into current, active use. For example,
	// you might update a certificate and mark its rotation state as `PENDING` if you haven't yet updated the certificate on the target system.
	GetStage() UpdateCertificateConfigDetailsStageEnum
}

UpdateCertificateConfigDetails The details of the contents of the certificate and certificate metadata.

type UpdateCertificateConfigDetailsStageEnum

type UpdateCertificateConfigDetailsStageEnum string

UpdateCertificateConfigDetailsStageEnum Enum with underlying type: string

const (
	UpdateCertificateConfigDetailsStageCurrent UpdateCertificateConfigDetailsStageEnum = "CURRENT"
	UpdateCertificateConfigDetailsStagePending UpdateCertificateConfigDetailsStageEnum = "PENDING"
)

Set of constants representing the allowable values for UpdateCertificateConfigDetailsStageEnum

func GetMappingUpdateCertificateConfigDetailsStageEnum

func GetMappingUpdateCertificateConfigDetailsStageEnum(val string) (UpdateCertificateConfigDetailsStageEnum, bool)

GetMappingUpdateCertificateConfigDetailsStageEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateCertificateConfigDetailsStageEnumValues

func GetUpdateCertificateConfigDetailsStageEnumValues() []UpdateCertificateConfigDetailsStageEnum

GetUpdateCertificateConfigDetailsStageEnumValues Enumerates the set of values for UpdateCertificateConfigDetailsStageEnum

type UpdateCertificateDetails

type UpdateCertificateDetails struct {

	// A brief description of the certificate. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// Makes this version the current version. This property cannot be updated in combination with any other properties.
	CurrentVersionNumber *int64 `mandatory:"false" json:"currentVersionNumber"`

	CertificateConfig UpdateCertificateConfigDetails `mandatory:"false" json:"certificateConfig"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// An optional list of rules that control how the certificate is used and managed.
	CertificateRules []CertificateRule `mandatory:"false" json:"certificateRules"`
}

UpdateCertificateDetails The details of the certificate to update.

func (UpdateCertificateDetails) String

func (m UpdateCertificateDetails) String() string

func (*UpdateCertificateDetails) UnmarshalJSON

func (m *UpdateCertificateDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateCertificateDetails) ValidateEnumValue

func (m UpdateCertificateDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateCertificateIssuedByInternalCaConfigDetails

type UpdateCertificateIssuedByInternalCaConfigDetails struct {

	// A name for the certificate version. When the value is not null, a name is unique across versions of a given certificate.
	VersionName *string `mandatory:"false" json:"versionName"`

	Validity *Validity `mandatory:"false" json:"validity"`

	// The rotation state of the certificate. The default is `CURRENT`, meaning that the certificate is currently in use. A certificate version
	// that you mark as `PENDING` is staged and available for use, but you don't yet want to rotate it into current, active use. For example,
	// you might update a certificate and mark its rotation state as `PENDING` if you haven't yet updated the certificate on the target system.
	Stage UpdateCertificateConfigDetailsStageEnum `mandatory:"false" json:"stage,omitempty"`
}

UpdateCertificateIssuedByInternalCaConfigDetails The details for updating an internally managed certificate which is issued by a private certificate authority (CA).

func (UpdateCertificateIssuedByInternalCaConfigDetails) GetStage

GetStage returns Stage

func (UpdateCertificateIssuedByInternalCaConfigDetails) GetVersionName

GetVersionName returns VersionName

func (UpdateCertificateIssuedByInternalCaConfigDetails) MarshalJSON

func (m UpdateCertificateIssuedByInternalCaConfigDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateCertificateIssuedByInternalCaConfigDetails) String

func (UpdateCertificateIssuedByInternalCaConfigDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails

type UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails struct {

	// The certificate signing request (in PEM format).
	CsrPem *string `mandatory:"true" json:"csrPem"`

	// A name for the certificate version. When the value is not null, a name is unique across versions of a given certificate.
	VersionName *string `mandatory:"false" json:"versionName"`

	Validity *Validity `mandatory:"false" json:"validity"`

	// The rotation state of the certificate. The default is `CURRENT`, meaning that the certificate is currently in use. A certificate version
	// that you mark as `PENDING` is staged and available for use, but you don't yet want to rotate it into current, active use. For example,
	// you might update a certificate and mark its rotation state as `PENDING` if you haven't yet updated the certificate on the target system.
	Stage UpdateCertificateConfigDetailsStageEnum `mandatory:"false" json:"stage,omitempty"`
}

UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails The details for updating an externally managed certificate which is issued by a private certificate authority (CA).

func (UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) GetStage

GetStage returns Stage

func (UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) GetVersionName

GetVersionName returns VersionName

func (UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) MarshalJSON

MarshalJSON marshals to json representation

func (UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) String

func (UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateCertificateRequest

type UpdateCertificateRequest struct {

	// The OCID of the certificate.
	CertificateId *string `mandatory:"true" contributesTo:"path" name:"certificateId"`

	// The details of the request to update a certificate.
	UpdateCertificateDetails `contributesTo:"body"`

	// Unique Oracle-assigned identifier for the request. If provided, the returned request ID
	// will include this value. Otherwise, a random request ID will be
	// generated by the service.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For optimistic concurrency control. In the PUT or DELETE call for a
	// resource, set the `if-match` parameter to the value of the etag from a
	// previous GET or POST response for that resource. The resource will be
	// updated or deleted only if the etag you provide matches the resource's
	// current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateCertificateRequest wrapper for the UpdateCertificate operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificatesmanagement/UpdateCertificate.go.html to see an example of how to use UpdateCertificateRequest.

func (UpdateCertificateRequest) BinaryRequestBody

func (request UpdateCertificateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateCertificateRequest) HTTPRequest

func (request UpdateCertificateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateCertificateRequest) RetryPolicy

func (request UpdateCertificateRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateCertificateRequest) String

func (request UpdateCertificateRequest) String() string

func (UpdateCertificateRequest) ValidateEnumValue

func (request UpdateCertificateRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateCertificateResponse

type UpdateCertificateResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Certificate instance
	Certificate `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateCertificateResponse wrapper for the UpdateCertificate operation

func (UpdateCertificateResponse) HTTPResponse

func (response UpdateCertificateResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateCertificateResponse) String

func (response UpdateCertificateResponse) String() string

type UpdateRootCaByGeneratingInternallyConfigDetails

type UpdateRootCaByGeneratingInternallyConfigDetails struct {

	// The name of the CA version. When the value is not null, a name is unique across versions of a given CA.
	VersionName *string `mandatory:"false" json:"versionName"`

	Validity *Validity `mandatory:"false" json:"validity"`

	// The rotation state of the CA. The default is `PENDING`, meaning that the CA is staged and available for use. A CA version
	// that you mark as `CURRENT` is currently in use, but you don't yet want to rotate it into current, active use. For example,
	// you might create or update a CA and mark its rotation state as `PENDING` if you haven't yet updated the certificate on the target system.
	Stage UpdateCertificateAuthorityConfigDetailsStageEnum `mandatory:"false" json:"stage,omitempty"`
}

UpdateRootCaByGeneratingInternallyConfigDetails The details for updating a private root certificate authority (CA). Note: This operation automatically rotates the private key.

func (UpdateRootCaByGeneratingInternallyConfigDetails) GetStage

GetStage returns Stage

func (UpdateRootCaByGeneratingInternallyConfigDetails) GetVersionName

GetVersionName returns VersionName

func (UpdateRootCaByGeneratingInternallyConfigDetails) MarshalJSON

func (m UpdateRootCaByGeneratingInternallyConfigDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateRootCaByGeneratingInternallyConfigDetails) String

func (UpdateRootCaByGeneratingInternallyConfigDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateSubordinateCaIssuedByInternalCaConfigDetails

type UpdateSubordinateCaIssuedByInternalCaConfigDetails struct {

	// The name of the CA version. When the value is not null, a name is unique across versions of a given CA.
	VersionName *string `mandatory:"false" json:"versionName"`

	Validity *Validity `mandatory:"false" json:"validity"`

	// The rotation state of the CA. The default is `PENDING`, meaning that the CA is staged and available for use. A CA version
	// that you mark as `CURRENT` is currently in use, but you don't yet want to rotate it into current, active use. For example,
	// you might create or update a CA and mark its rotation state as `PENDING` if you haven't yet updated the certificate on the target system.
	Stage UpdateCertificateAuthorityConfigDetailsStageEnum `mandatory:"false" json:"stage,omitempty"`
}

UpdateSubordinateCaIssuedByInternalCaConfigDetails The details for updating a private subordinate certificate authority (CA) which is issued by a private CA. Note: This operation automatically rotates the private key.

func (UpdateSubordinateCaIssuedByInternalCaConfigDetails) GetStage

GetStage returns Stage

func (UpdateSubordinateCaIssuedByInternalCaConfigDetails) GetVersionName

GetVersionName returns VersionName

func (UpdateSubordinateCaIssuedByInternalCaConfigDetails) MarshalJSON

MarshalJSON marshals to json representation

func (UpdateSubordinateCaIssuedByInternalCaConfigDetails) String

func (UpdateSubordinateCaIssuedByInternalCaConfigDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Validity

type Validity struct {

	// The date on which the certificate validity period ends, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeOfValidityNotAfter *common.SDKTime `mandatory:"true" json:"timeOfValidityNotAfter"`

	// The date on which the certificate validity period begins, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
	// Example: `2019-04-03T21:10:29.600Z`
	TimeOfValidityNotBefore *common.SDKTime `mandatory:"false" json:"timeOfValidityNotBefore"`
}

Validity An object that describes a period of time during which an entity is valid. If this is not provided when you create a certificate, the validity of the issuing CA is used.

func (Validity) String

func (m Validity) String() string

func (Validity) ValidateEnumValue

func (m Validity) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VersionStageEnum

type VersionStageEnum string

VersionStageEnum Enum with underlying type: string

const (
	VersionStageCurrent    VersionStageEnum = "CURRENT"
	VersionStagePending    VersionStageEnum = "PENDING"
	VersionStageLatest     VersionStageEnum = "LATEST"
	VersionStagePrevious   VersionStageEnum = "PREVIOUS"
	VersionStageDeprecated VersionStageEnum = "DEPRECATED"
	VersionStageFailed     VersionStageEnum = "FAILED"
)

Set of constants representing the allowable values for VersionStageEnum

func GetMappingVersionStageEnum

func GetMappingVersionStageEnum(val string) (VersionStageEnum, bool)

GetMappingVersionStageEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVersionStageEnumValues

func GetVersionStageEnumValues() []VersionStageEnum

GetVersionStageEnumValues Enumerates the set of values for VersionStageEnum

Source Files

Jump to

Keyboard shortcuts

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