...

Package certificatesmanagement

import "github.com/oracle/oci-go-sdk/certificatesmanagement"
Overview
Index

Overview ▾

Index ▾

func GetAssociationLifecycleStateEnumStringValues() []string
func GetAssociationTypeEnumStringValues() []string
func GetCaBundleLifecycleStateEnumStringValues() []string
func GetCertificateAuthorityConfigTypeEnumStringValues() []string
func GetCertificateAuthorityLifecycleStateEnumStringValues() []string
func GetCertificateAuthorityRuleRuleTypeEnumStringValues() []string
func GetCertificateConfigTypeEnumStringValues() []string
func GetCertificateLifecycleStateEnumStringValues() []string
func GetCertificateProfileTypeEnumStringValues() []string
func GetCertificateRuleRuleTypeEnumStringValues() []string
func GetCertificateSubjectAlternativeNameTypeEnumStringValues() []string
func GetKeyAlgorithmEnumStringValues() []string
func GetListAssociationsAssociationTypeEnumStringValues() []string
func GetListAssociationsSortByEnumStringValues() []string
func GetListAssociationsSortOrderEnumStringValues() []string
func GetListCaBundlesLifecycleStateEnumStringValues() []string
func GetListCaBundlesSortByEnumStringValues() []string
func GetListCaBundlesSortOrderEnumStringValues() []string
func GetListCertificateAuthoritiesLifecycleStateEnumStringValues() []string
func GetListCertificateAuthoritiesSortByEnumStringValues() []string
func GetListCertificateAuthoritiesSortOrderEnumStringValues() []string
func GetListCertificateAuthorityVersionsSortByEnumStringValues() []string
func GetListCertificateAuthorityVersionsSortOrderEnumStringValues() []string
func GetListCertificateVersionsSortByEnumStringValues() []string
func GetListCertificateVersionsSortOrderEnumStringValues() []string
func GetListCertificatesLifecycleStateEnumStringValues() []string
func GetListCertificatesSortByEnumStringValues() []string
func GetListCertificatesSortOrderEnumStringValues() []string
func GetRevocationReasonEnumStringValues() []string
func GetSignatureAlgorithmEnumStringValues() []string
func GetUpdateCertificateAuthorityConfigDetailsStageEnumStringValues() []string
func GetUpdateCertificateConfigDetailsStageEnumStringValues() []string
func GetVersionStageEnumStringValues() []string
type Association
    func (m Association) String() string
    func (m Association) ValidateEnumValue() (bool, error)
type AssociationCollection
    func (m AssociationCollection) String() string
    func (m AssociationCollection) ValidateEnumValue() (bool, error)
type AssociationLifecycleStateEnum
    func GetAssociationLifecycleStateEnumValues() []AssociationLifecycleStateEnum
    func GetMappingAssociationLifecycleStateEnum(val string) (AssociationLifecycleStateEnum, bool)
type AssociationSummary
    func (m AssociationSummary) String() string
    func (m AssociationSummary) ValidateEnumValue() (bool, error)
type AssociationTypeEnum
    func GetAssociationTypeEnumValues() []AssociationTypeEnum
    func GetMappingAssociationTypeEnum(val string) (AssociationTypeEnum, bool)
type CaBundle
    func (m CaBundle) String() string
    func (m CaBundle) ValidateEnumValue() (bool, error)
type CaBundleCollection
    func (m CaBundleCollection) String() string
    func (m CaBundleCollection) ValidateEnumValue() (bool, error)
type CaBundleLifecycleStateEnum
    func GetCaBundleLifecycleStateEnumValues() []CaBundleLifecycleStateEnum
    func GetMappingCaBundleLifecycleStateEnum(val string) (CaBundleLifecycleStateEnum, bool)
type CaBundleSummary
    func (m CaBundleSummary) String() string
    func (m CaBundleSummary) ValidateEnumValue() (bool, error)
type CancelCertificateAuthorityDeletionRequest
    func (request CancelCertificateAuthorityDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelCertificateAuthorityDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelCertificateAuthorityDeletionRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelCertificateAuthorityDeletionRequest) String() string
    func (request CancelCertificateAuthorityDeletionRequest) ValidateEnumValue() (bool, error)
type CancelCertificateAuthorityDeletionResponse
    func (response CancelCertificateAuthorityDeletionResponse) HTTPResponse() *http.Response
    func (response CancelCertificateAuthorityDeletionResponse) String() string
type CancelCertificateAuthorityVersionDeletionRequest
    func (request CancelCertificateAuthorityVersionDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelCertificateAuthorityVersionDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelCertificateAuthorityVersionDeletionRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelCertificateAuthorityVersionDeletionRequest) String() string
    func (request CancelCertificateAuthorityVersionDeletionRequest) ValidateEnumValue() (bool, error)
type CancelCertificateAuthorityVersionDeletionResponse
    func (response CancelCertificateAuthorityVersionDeletionResponse) HTTPResponse() *http.Response
    func (response CancelCertificateAuthorityVersionDeletionResponse) String() string
type CancelCertificateDeletionRequest
    func (request CancelCertificateDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelCertificateDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelCertificateDeletionRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelCertificateDeletionRequest) String() string
    func (request CancelCertificateDeletionRequest) ValidateEnumValue() (bool, error)
type CancelCertificateDeletionResponse
    func (response CancelCertificateDeletionResponse) HTTPResponse() *http.Response
    func (response CancelCertificateDeletionResponse) String() string
type CancelCertificateVersionDeletionRequest
    func (request CancelCertificateVersionDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelCertificateVersionDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelCertificateVersionDeletionRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelCertificateVersionDeletionRequest) String() string
    func (request CancelCertificateVersionDeletionRequest) ValidateEnumValue() (bool, error)
type CancelCertificateVersionDeletionResponse
    func (response CancelCertificateVersionDeletionResponse) HTTPResponse() *http.Response
    func (response CancelCertificateVersionDeletionResponse) String() string
type Certificate
    func (m Certificate) String() string
    func (m *Certificate) UnmarshalJSON(data []byte) (e error)
    func (m Certificate) ValidateEnumValue() (bool, error)
type CertificateAuthority
    func (m CertificateAuthority) String() string
    func (m *CertificateAuthority) UnmarshalJSON(data []byte) (e error)
    func (m CertificateAuthority) ValidateEnumValue() (bool, error)
type CertificateAuthorityCollection
    func (m CertificateAuthorityCollection) String() string
    func (m CertificateAuthorityCollection) ValidateEnumValue() (bool, error)
type CertificateAuthorityConfigTypeEnum
    func GetCertificateAuthorityConfigTypeEnumValues() []CertificateAuthorityConfigTypeEnum
    func GetMappingCertificateAuthorityConfigTypeEnum(val string) (CertificateAuthorityConfigTypeEnum, bool)
type CertificateAuthorityIssuanceExpiryRule
    func (m CertificateAuthorityIssuanceExpiryRule) MarshalJSON() (buff []byte, e error)
    func (m CertificateAuthorityIssuanceExpiryRule) String() string
    func (m CertificateAuthorityIssuanceExpiryRule) ValidateEnumValue() (bool, error)
type CertificateAuthorityLifecycleStateEnum
    func GetCertificateAuthorityLifecycleStateEnumValues() []CertificateAuthorityLifecycleStateEnum
    func GetMappingCertificateAuthorityLifecycleStateEnum(val string) (CertificateAuthorityLifecycleStateEnum, bool)
type CertificateAuthorityRule
type CertificateAuthorityRuleRuleTypeEnum
    func GetCertificateAuthorityRuleRuleTypeEnumValues() []CertificateAuthorityRuleRuleTypeEnum
    func GetMappingCertificateAuthorityRuleRuleTypeEnum(val string) (CertificateAuthorityRuleRuleTypeEnum, bool)
type CertificateAuthoritySummary
    func (m CertificateAuthoritySummary) String() string
    func (m *CertificateAuthoritySummary) UnmarshalJSON(data []byte) (e error)
    func (m CertificateAuthoritySummary) ValidateEnumValue() (bool, error)
type CertificateAuthorityVersion
    func (m CertificateAuthorityVersion) String() string
    func (m CertificateAuthorityVersion) ValidateEnumValue() (bool, error)
type CertificateAuthorityVersionCollection
    func (m CertificateAuthorityVersionCollection) String() string
    func (m CertificateAuthorityVersionCollection) ValidateEnumValue() (bool, error)
type CertificateAuthorityVersionSummary
    func (m CertificateAuthorityVersionSummary) String() string
    func (m CertificateAuthorityVersionSummary) ValidateEnumValue() (bool, error)
type CertificateCollection
    func (m CertificateCollection) String() string
    func (m CertificateCollection) ValidateEnumValue() (bool, error)
type CertificateConfigTypeEnum
    func GetCertificateConfigTypeEnumValues() []CertificateConfigTypeEnum
    func GetMappingCertificateConfigTypeEnum(val string) (CertificateConfigTypeEnum, bool)
type CertificateLifecycleStateEnum
    func GetCertificateLifecycleStateEnumValues() []CertificateLifecycleStateEnum
    func GetMappingCertificateLifecycleStateEnum(val string) (CertificateLifecycleStateEnum, bool)
type CertificateProfileTypeEnum
    func GetCertificateProfileTypeEnumValues() []CertificateProfileTypeEnum
    func GetMappingCertificateProfileTypeEnum(val string) (CertificateProfileTypeEnum, bool)
type CertificateRenewalRule
    func (m CertificateRenewalRule) MarshalJSON() (buff []byte, e error)
    func (m CertificateRenewalRule) String() string
    func (m CertificateRenewalRule) ValidateEnumValue() (bool, error)
type CertificateRevocationListDetails
    func (m CertificateRevocationListDetails) String() string
    func (m CertificateRevocationListDetails) ValidateEnumValue() (bool, error)
type CertificateRule
type CertificateRuleRuleTypeEnum
    func GetCertificateRuleRuleTypeEnumValues() []CertificateRuleRuleTypeEnum
    func GetMappingCertificateRuleRuleTypeEnum(val string) (CertificateRuleRuleTypeEnum, bool)
type CertificateSubject
    func (m CertificateSubject) String() string
    func (m CertificateSubject) ValidateEnumValue() (bool, error)
type CertificateSubjectAlternativeName
    func (m CertificateSubjectAlternativeName) String() string
    func (m CertificateSubjectAlternativeName) ValidateEnumValue() (bool, error)
type CertificateSubjectAlternativeNameTypeEnum
    func GetCertificateSubjectAlternativeNameTypeEnumValues() []CertificateSubjectAlternativeNameTypeEnum
    func GetMappingCertificateSubjectAlternativeNameTypeEnum(val string) (CertificateSubjectAlternativeNameTypeEnum, bool)
type CertificateSummary
    func (m CertificateSummary) String() string
    func (m *CertificateSummary) UnmarshalJSON(data []byte) (e error)
    func (m CertificateSummary) ValidateEnumValue() (bool, error)
type CertificateVersion
    func (m CertificateVersion) String() string
    func (m CertificateVersion) ValidateEnumValue() (bool, error)
type CertificateVersionCollection
    func (m CertificateVersionCollection) String() string
    func (m CertificateVersionCollection) ValidateEnumValue() (bool, error)
type CertificateVersionSummary
    func (m CertificateVersionSummary) String() string
    func (m CertificateVersionSummary) ValidateEnumValue() (bool, error)
type CertificatesManagementClient
    func NewCertificatesManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CertificatesManagementClient, err error)
    func NewCertificatesManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CertificatesManagementClient, err error)
    func (client CertificatesManagementClient) CancelCertificateAuthorityDeletion(ctx context.Context, request CancelCertificateAuthorityDeletionRequest) (response CancelCertificateAuthorityDeletionResponse, err error)
    func (client CertificatesManagementClient) CancelCertificateAuthorityVersionDeletion(ctx context.Context, request CancelCertificateAuthorityVersionDeletionRequest) (response CancelCertificateAuthorityVersionDeletionResponse, err error)
    func (client CertificatesManagementClient) CancelCertificateDeletion(ctx context.Context, request CancelCertificateDeletionRequest) (response CancelCertificateDeletionResponse, err error)
    func (client CertificatesManagementClient) CancelCertificateVersionDeletion(ctx context.Context, request CancelCertificateVersionDeletionRequest) (response CancelCertificateVersionDeletionResponse, err error)
    func (client CertificatesManagementClient) ChangeCaBundleCompartment(ctx context.Context, request ChangeCaBundleCompartmentRequest) (response ChangeCaBundleCompartmentResponse, err error)
    func (client CertificatesManagementClient) ChangeCertificateAuthorityCompartment(ctx context.Context, request ChangeCertificateAuthorityCompartmentRequest) (response ChangeCertificateAuthorityCompartmentResponse, err error)
    func (client CertificatesManagementClient) ChangeCertificateCompartment(ctx context.Context, request ChangeCertificateCompartmentRequest) (response ChangeCertificateCompartmentResponse, err error)
    func (client *CertificatesManagementClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client CertificatesManagementClient) CreateCaBundle(ctx context.Context, request CreateCaBundleRequest) (response CreateCaBundleResponse, err error)
    func (client CertificatesManagementClient) CreateCertificate(ctx context.Context, request CreateCertificateRequest) (response CreateCertificateResponse, err error)
    func (client CertificatesManagementClient) CreateCertificateAuthority(ctx context.Context, request CreateCertificateAuthorityRequest) (response CreateCertificateAuthorityResponse, err error)
    func (client CertificatesManagementClient) DeleteCaBundle(ctx context.Context, request DeleteCaBundleRequest) (response DeleteCaBundleResponse, err error)
    func (client CertificatesManagementClient) GetAssociation(ctx context.Context, request GetAssociationRequest) (response GetAssociationResponse, err error)
    func (client CertificatesManagementClient) GetCaBundle(ctx context.Context, request GetCaBundleRequest) (response GetCaBundleResponse, err error)
    func (client CertificatesManagementClient) GetCertificate(ctx context.Context, request GetCertificateRequest) (response GetCertificateResponse, err error)
    func (client CertificatesManagementClient) GetCertificateAuthority(ctx context.Context, request GetCertificateAuthorityRequest) (response GetCertificateAuthorityResponse, err error)
    func (client CertificatesManagementClient) GetCertificateAuthorityVersion(ctx context.Context, request GetCertificateAuthorityVersionRequest) (response GetCertificateAuthorityVersionResponse, err error)
    func (client CertificatesManagementClient) GetCertificateVersion(ctx context.Context, request GetCertificateVersionRequest) (response GetCertificateVersionResponse, err error)
    func (client CertificatesManagementClient) ListAssociations(ctx context.Context, request ListAssociationsRequest) (response ListAssociationsResponse, err error)
    func (client CertificatesManagementClient) ListCaBundles(ctx context.Context, request ListCaBundlesRequest) (response ListCaBundlesResponse, err error)
    func (client CertificatesManagementClient) ListCertificateAuthorities(ctx context.Context, request ListCertificateAuthoritiesRequest) (response ListCertificateAuthoritiesResponse, err error)
    func (client CertificatesManagementClient) ListCertificateAuthorityVersions(ctx context.Context, request ListCertificateAuthorityVersionsRequest) (response ListCertificateAuthorityVersionsResponse, err error)
    func (client CertificatesManagementClient) ListCertificateVersions(ctx context.Context, request ListCertificateVersionsRequest) (response ListCertificateVersionsResponse, err error)
    func (client CertificatesManagementClient) ListCertificates(ctx context.Context, request ListCertificatesRequest) (response ListCertificatesResponse, err error)
    func (client CertificatesManagementClient) RevokeCertificateAuthorityVersion(ctx context.Context, request RevokeCertificateAuthorityVersionRequest) (response RevokeCertificateAuthorityVersionResponse, err error)
    func (client CertificatesManagementClient) RevokeCertificateVersion(ctx context.Context, request RevokeCertificateVersionRequest) (response RevokeCertificateVersionResponse, err error)
    func (client CertificatesManagementClient) ScheduleCertificateAuthorityDeletion(ctx context.Context, request ScheduleCertificateAuthorityDeletionRequest) (response ScheduleCertificateAuthorityDeletionResponse, err error)
    func (client CertificatesManagementClient) ScheduleCertificateAuthorityVersionDeletion(ctx context.Context, request ScheduleCertificateAuthorityVersionDeletionRequest) (response ScheduleCertificateAuthorityVersionDeletionResponse, err error)
    func (client CertificatesManagementClient) ScheduleCertificateDeletion(ctx context.Context, request ScheduleCertificateDeletionRequest) (response ScheduleCertificateDeletionResponse, err error)
    func (client CertificatesManagementClient) ScheduleCertificateVersionDeletion(ctx context.Context, request ScheduleCertificateVersionDeletionRequest) (response ScheduleCertificateVersionDeletionResponse, err error)
    func (client *CertificatesManagementClient) SetRegion(region string)
    func (client CertificatesManagementClient) UpdateCaBundle(ctx context.Context, request UpdateCaBundleRequest) (response UpdateCaBundleResponse, err error)
    func (client CertificatesManagementClient) UpdateCertificate(ctx context.Context, request UpdateCertificateRequest) (response UpdateCertificateResponse, err error)
    func (client CertificatesManagementClient) UpdateCertificateAuthority(ctx context.Context, request UpdateCertificateAuthorityRequest) (response UpdateCertificateAuthorityResponse, err error)
type ChangeCaBundleCompartmentDetails
    func (m ChangeCaBundleCompartmentDetails) String() string
    func (m ChangeCaBundleCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeCaBundleCompartmentRequest
    func (request ChangeCaBundleCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeCaBundleCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeCaBundleCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeCaBundleCompartmentRequest) String() string
    func (request ChangeCaBundleCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeCaBundleCompartmentResponse
    func (response ChangeCaBundleCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeCaBundleCompartmentResponse) String() string
type ChangeCertificateAuthorityCompartmentDetails
    func (m ChangeCertificateAuthorityCompartmentDetails) String() string
    func (m ChangeCertificateAuthorityCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeCertificateAuthorityCompartmentRequest
    func (request ChangeCertificateAuthorityCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeCertificateAuthorityCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeCertificateAuthorityCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeCertificateAuthorityCompartmentRequest) String() string
    func (request ChangeCertificateAuthorityCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeCertificateAuthorityCompartmentResponse
    func (response ChangeCertificateAuthorityCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeCertificateAuthorityCompartmentResponse) String() string
type ChangeCertificateCompartmentDetails
    func (m ChangeCertificateCompartmentDetails) String() string
    func (m ChangeCertificateCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeCertificateCompartmentRequest
    func (request ChangeCertificateCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeCertificateCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeCertificateCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeCertificateCompartmentRequest) String() string
    func (request ChangeCertificateCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeCertificateCompartmentResponse
    func (response ChangeCertificateCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeCertificateCompartmentResponse) String() string
type CreateCaBundleDetails
    func (m CreateCaBundleDetails) String() string
    func (m CreateCaBundleDetails) ValidateEnumValue() (bool, error)
type CreateCaBundleRequest
    func (request CreateCaBundleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateCaBundleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateCaBundleRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateCaBundleRequest) String() string
    func (request CreateCaBundleRequest) ValidateEnumValue() (bool, error)
type CreateCaBundleResponse
    func (response CreateCaBundleResponse) HTTPResponse() *http.Response
    func (response CreateCaBundleResponse) String() string
type CreateCertificateAuthorityConfigDetails
type CreateCertificateAuthorityDetails
    func (m CreateCertificateAuthorityDetails) String() string
    func (m *CreateCertificateAuthorityDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateCertificateAuthorityDetails) ValidateEnumValue() (bool, error)
type CreateCertificateAuthorityRequest
    func (request CreateCertificateAuthorityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateCertificateAuthorityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateCertificateAuthorityRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateCertificateAuthorityRequest) String() string
    func (request CreateCertificateAuthorityRequest) ValidateEnumValue() (bool, error)
type CreateCertificateAuthorityResponse
    func (response CreateCertificateAuthorityResponse) HTTPResponse() *http.Response
    func (response CreateCertificateAuthorityResponse) String() string
type CreateCertificateByImportingConfigDetails
    func (m CreateCertificateByImportingConfigDetails) GetVersionName() *string
    func (m CreateCertificateByImportingConfigDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateCertificateByImportingConfigDetails) String() string
    func (m CreateCertificateByImportingConfigDetails) ValidateEnumValue() (bool, error)
type CreateCertificateConfigDetails
type CreateCertificateDetails
    func (m CreateCertificateDetails) String() string
    func (m *CreateCertificateDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateCertificateDetails) ValidateEnumValue() (bool, error)
type CreateCertificateIssuedByInternalCaConfigDetails
    func (m CreateCertificateIssuedByInternalCaConfigDetails) GetVersionName() *string
    func (m CreateCertificateIssuedByInternalCaConfigDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateCertificateIssuedByInternalCaConfigDetails) String() string
    func (m CreateCertificateIssuedByInternalCaConfigDetails) ValidateEnumValue() (bool, error)
type CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails
    func (m CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails) GetVersionName() *string
    func (m CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails) String() string
    func (m CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails) ValidateEnumValue() (bool, error)
type CreateCertificateRequest
    func (request CreateCertificateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateCertificateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateCertificateRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateCertificateRequest) String() string
    func (request CreateCertificateRequest) ValidateEnumValue() (bool, error)
type CreateCertificateResponse
    func (response CreateCertificateResponse) HTTPResponse() *http.Response
    func (response CreateCertificateResponse) String() string
type CreateRootCaByGeneratingInternallyConfigDetails
    func (m CreateRootCaByGeneratingInternallyConfigDetails) GetVersionName() *string
    func (m CreateRootCaByGeneratingInternallyConfigDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateRootCaByGeneratingInternallyConfigDetails) String() string
    func (m CreateRootCaByGeneratingInternallyConfigDetails) ValidateEnumValue() (bool, error)
type CreateSubordinateCaIssuedByInternalCaConfigDetails
    func (m CreateSubordinateCaIssuedByInternalCaConfigDetails) GetVersionName() *string
    func (m CreateSubordinateCaIssuedByInternalCaConfigDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateSubordinateCaIssuedByInternalCaConfigDetails) String() string
    func (m CreateSubordinateCaIssuedByInternalCaConfigDetails) ValidateEnumValue() (bool, error)
type DeleteCaBundleRequest
    func (request DeleteCaBundleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteCaBundleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteCaBundleRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteCaBundleRequest) String() string
    func (request DeleteCaBundleRequest) ValidateEnumValue() (bool, error)
type DeleteCaBundleResponse
    func (response DeleteCaBundleResponse) HTTPResponse() *http.Response
    func (response DeleteCaBundleResponse) String() string
type GetAssociationRequest
    func (request GetAssociationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetAssociationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetAssociationRequest) RetryPolicy() *common.RetryPolicy
    func (request GetAssociationRequest) String() string
    func (request GetAssociationRequest) ValidateEnumValue() (bool, error)
type GetAssociationResponse
    func (response GetAssociationResponse) HTTPResponse() *http.Response
    func (response GetAssociationResponse) String() string
type GetCaBundleRequest
    func (request GetCaBundleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetCaBundleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetCaBundleRequest) RetryPolicy() *common.RetryPolicy
    func (request GetCaBundleRequest) String() string
    func (request GetCaBundleRequest) ValidateEnumValue() (bool, error)
type GetCaBundleResponse
    func (response GetCaBundleResponse) HTTPResponse() *http.Response
    func (response GetCaBundleResponse) String() string
type GetCertificateAuthorityRequest
    func (request GetCertificateAuthorityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetCertificateAuthorityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetCertificateAuthorityRequest) RetryPolicy() *common.RetryPolicy
    func (request GetCertificateAuthorityRequest) String() string
    func (request GetCertificateAuthorityRequest) ValidateEnumValue() (bool, error)
type GetCertificateAuthorityResponse
    func (response GetCertificateAuthorityResponse) HTTPResponse() *http.Response
    func (response GetCertificateAuthorityResponse) String() string
type GetCertificateAuthorityVersionRequest
    func (request GetCertificateAuthorityVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetCertificateAuthorityVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetCertificateAuthorityVersionRequest) RetryPolicy() *common.RetryPolicy
    func (request GetCertificateAuthorityVersionRequest) String() string
    func (request GetCertificateAuthorityVersionRequest) ValidateEnumValue() (bool, error)
type GetCertificateAuthorityVersionResponse
    func (response GetCertificateAuthorityVersionResponse) HTTPResponse() *http.Response
    func (response GetCertificateAuthorityVersionResponse) String() string
type GetCertificateRequest
    func (request GetCertificateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetCertificateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetCertificateRequest) RetryPolicy() *common.RetryPolicy
    func (request GetCertificateRequest) String() string
    func (request GetCertificateRequest) ValidateEnumValue() (bool, error)
type GetCertificateResponse
    func (response GetCertificateResponse) HTTPResponse() *http.Response
    func (response GetCertificateResponse) String() string
type GetCertificateVersionRequest
    func (request GetCertificateVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetCertificateVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetCertificateVersionRequest) RetryPolicy() *common.RetryPolicy
    func (request GetCertificateVersionRequest) String() string
    func (request GetCertificateVersionRequest) ValidateEnumValue() (bool, error)
type GetCertificateVersionResponse
    func (response GetCertificateVersionResponse) HTTPResponse() *http.Response
    func (response GetCertificateVersionResponse) String() string
type KeyAlgorithmEnum
    func GetKeyAlgorithmEnumValues() []KeyAlgorithmEnum
    func GetMappingKeyAlgorithmEnum(val string) (KeyAlgorithmEnum, bool)
type ListAssociationsAssociationTypeEnum
    func GetListAssociationsAssociationTypeEnumValues() []ListAssociationsAssociationTypeEnum
    func GetMappingListAssociationsAssociationTypeEnum(val string) (ListAssociationsAssociationTypeEnum, bool)
type ListAssociationsRequest
    func (request ListAssociationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListAssociationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListAssociationsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListAssociationsRequest) String() string
    func (request ListAssociationsRequest) ValidateEnumValue() (bool, error)
type ListAssociationsResponse
    func (response ListAssociationsResponse) HTTPResponse() *http.Response
    func (response ListAssociationsResponse) String() string
type ListAssociationsSortByEnum
    func GetListAssociationsSortByEnumValues() []ListAssociationsSortByEnum
    func GetMappingListAssociationsSortByEnum(val string) (ListAssociationsSortByEnum, bool)
type ListAssociationsSortOrderEnum
    func GetListAssociationsSortOrderEnumValues() []ListAssociationsSortOrderEnum
    func GetMappingListAssociationsSortOrderEnum(val string) (ListAssociationsSortOrderEnum, bool)
type ListCaBundlesLifecycleStateEnum
    func GetListCaBundlesLifecycleStateEnumValues() []ListCaBundlesLifecycleStateEnum
    func GetMappingListCaBundlesLifecycleStateEnum(val string) (ListCaBundlesLifecycleStateEnum, bool)
type ListCaBundlesRequest
    func (request ListCaBundlesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListCaBundlesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListCaBundlesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListCaBundlesRequest) String() string
    func (request ListCaBundlesRequest) ValidateEnumValue() (bool, error)
type ListCaBundlesResponse
    func (response ListCaBundlesResponse) HTTPResponse() *http.Response
    func (response ListCaBundlesResponse) String() string
type ListCaBundlesSortByEnum
    func GetListCaBundlesSortByEnumValues() []ListCaBundlesSortByEnum
    func GetMappingListCaBundlesSortByEnum(val string) (ListCaBundlesSortByEnum, bool)
type ListCaBundlesSortOrderEnum
    func GetListCaBundlesSortOrderEnumValues() []ListCaBundlesSortOrderEnum
    func GetMappingListCaBundlesSortOrderEnum(val string) (ListCaBundlesSortOrderEnum, bool)
type ListCertificateAuthoritiesLifecycleStateEnum
    func GetListCertificateAuthoritiesLifecycleStateEnumValues() []ListCertificateAuthoritiesLifecycleStateEnum
    func GetMappingListCertificateAuthoritiesLifecycleStateEnum(val string) (ListCertificateAuthoritiesLifecycleStateEnum, bool)
type ListCertificateAuthoritiesRequest
    func (request ListCertificateAuthoritiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListCertificateAuthoritiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListCertificateAuthoritiesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListCertificateAuthoritiesRequest) String() string
    func (request ListCertificateAuthoritiesRequest) ValidateEnumValue() (bool, error)
type ListCertificateAuthoritiesResponse
    func (response ListCertificateAuthoritiesResponse) HTTPResponse() *http.Response
    func (response ListCertificateAuthoritiesResponse) String() string
type ListCertificateAuthoritiesSortByEnum
    func GetListCertificateAuthoritiesSortByEnumValues() []ListCertificateAuthoritiesSortByEnum
    func GetMappingListCertificateAuthoritiesSortByEnum(val string) (ListCertificateAuthoritiesSortByEnum, bool)
type ListCertificateAuthoritiesSortOrderEnum
    func GetListCertificateAuthoritiesSortOrderEnumValues() []ListCertificateAuthoritiesSortOrderEnum
    func GetMappingListCertificateAuthoritiesSortOrderEnum(val string) (ListCertificateAuthoritiesSortOrderEnum, bool)
type ListCertificateAuthorityVersionsRequest
    func (request ListCertificateAuthorityVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListCertificateAuthorityVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListCertificateAuthorityVersionsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListCertificateAuthorityVersionsRequest) String() string
    func (request ListCertificateAuthorityVersionsRequest) ValidateEnumValue() (bool, error)
type ListCertificateAuthorityVersionsResponse
    func (response ListCertificateAuthorityVersionsResponse) HTTPResponse() *http.Response
    func (response ListCertificateAuthorityVersionsResponse) String() string
type ListCertificateAuthorityVersionsSortByEnum
    func GetListCertificateAuthorityVersionsSortByEnumValues() []ListCertificateAuthorityVersionsSortByEnum
    func GetMappingListCertificateAuthorityVersionsSortByEnum(val string) (ListCertificateAuthorityVersionsSortByEnum, bool)
type ListCertificateAuthorityVersionsSortOrderEnum
    func GetListCertificateAuthorityVersionsSortOrderEnumValues() []ListCertificateAuthorityVersionsSortOrderEnum
    func GetMappingListCertificateAuthorityVersionsSortOrderEnum(val string) (ListCertificateAuthorityVersionsSortOrderEnum, bool)
type ListCertificateVersionsRequest
    func (request ListCertificateVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListCertificateVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListCertificateVersionsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListCertificateVersionsRequest) String() string
    func (request ListCertificateVersionsRequest) ValidateEnumValue() (bool, error)
type ListCertificateVersionsResponse
    func (response ListCertificateVersionsResponse) HTTPResponse() *http.Response
    func (response ListCertificateVersionsResponse) String() string
type ListCertificateVersionsSortByEnum
    func GetListCertificateVersionsSortByEnumValues() []ListCertificateVersionsSortByEnum
    func GetMappingListCertificateVersionsSortByEnum(val string) (ListCertificateVersionsSortByEnum, bool)
type ListCertificateVersionsSortOrderEnum
    func GetListCertificateVersionsSortOrderEnumValues() []ListCertificateVersionsSortOrderEnum
    func GetMappingListCertificateVersionsSortOrderEnum(val string) (ListCertificateVersionsSortOrderEnum, bool)
type ListCertificatesLifecycleStateEnum
    func GetListCertificatesLifecycleStateEnumValues() []ListCertificatesLifecycleStateEnum
    func GetMappingListCertificatesLifecycleStateEnum(val string) (ListCertificatesLifecycleStateEnum, bool)
type ListCertificatesRequest
    func (request ListCertificatesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListCertificatesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListCertificatesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListCertificatesRequest) String() string
    func (request ListCertificatesRequest) ValidateEnumValue() (bool, error)
type ListCertificatesResponse
    func (response ListCertificatesResponse) HTTPResponse() *http.Response
    func (response ListCertificatesResponse) String() string
type ListCertificatesSortByEnum
    func GetListCertificatesSortByEnumValues() []ListCertificatesSortByEnum
    func GetMappingListCertificatesSortByEnum(val string) (ListCertificatesSortByEnum, bool)
type ListCertificatesSortOrderEnum
    func GetListCertificatesSortOrderEnumValues() []ListCertificatesSortOrderEnum
    func GetMappingListCertificatesSortOrderEnum(val string) (ListCertificatesSortOrderEnum, bool)
type ObjectStorageBucketConfigDetails
    func (m ObjectStorageBucketConfigDetails) String() string
    func (m ObjectStorageBucketConfigDetails) ValidateEnumValue() (bool, error)
type RevocationReasonEnum
    func GetMappingRevocationReasonEnum(val string) (RevocationReasonEnum, bool)
    func GetRevocationReasonEnumValues() []RevocationReasonEnum
type RevocationStatus
    func (m RevocationStatus) String() string
    func (m RevocationStatus) ValidateEnumValue() (bool, error)
type RevokeCertificateAuthorityVersionDetails
    func (m RevokeCertificateAuthorityVersionDetails) String() string
    func (m RevokeCertificateAuthorityVersionDetails) ValidateEnumValue() (bool, error)
type RevokeCertificateAuthorityVersionRequest
    func (request RevokeCertificateAuthorityVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RevokeCertificateAuthorityVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RevokeCertificateAuthorityVersionRequest) RetryPolicy() *common.RetryPolicy
    func (request RevokeCertificateAuthorityVersionRequest) String() string
    func (request RevokeCertificateAuthorityVersionRequest) ValidateEnumValue() (bool, error)
type RevokeCertificateAuthorityVersionResponse
    func (response RevokeCertificateAuthorityVersionResponse) HTTPResponse() *http.Response
    func (response RevokeCertificateAuthorityVersionResponse) String() string
type RevokeCertificateVersionDetails
    func (m RevokeCertificateVersionDetails) String() string
    func (m RevokeCertificateVersionDetails) ValidateEnumValue() (bool, error)
type RevokeCertificateVersionRequest
    func (request RevokeCertificateVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RevokeCertificateVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RevokeCertificateVersionRequest) RetryPolicy() *common.RetryPolicy
    func (request RevokeCertificateVersionRequest) String() string
    func (request RevokeCertificateVersionRequest) ValidateEnumValue() (bool, error)
type RevokeCertificateVersionResponse
    func (response RevokeCertificateVersionResponse) HTTPResponse() *http.Response
    func (response RevokeCertificateVersionResponse) String() string
type ScheduleCertificateAuthorityDeletionDetails
    func (m ScheduleCertificateAuthorityDeletionDetails) String() string
    func (m ScheduleCertificateAuthorityDeletionDetails) ValidateEnumValue() (bool, error)
type ScheduleCertificateAuthorityDeletionRequest
    func (request ScheduleCertificateAuthorityDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ScheduleCertificateAuthorityDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ScheduleCertificateAuthorityDeletionRequest) RetryPolicy() *common.RetryPolicy
    func (request ScheduleCertificateAuthorityDeletionRequest) String() string
    func (request ScheduleCertificateAuthorityDeletionRequest) ValidateEnumValue() (bool, error)
type ScheduleCertificateAuthorityDeletionResponse
    func (response ScheduleCertificateAuthorityDeletionResponse) HTTPResponse() *http.Response
    func (response ScheduleCertificateAuthorityDeletionResponse) String() string
type ScheduleCertificateAuthorityVersionDeletionDetails
    func (m ScheduleCertificateAuthorityVersionDeletionDetails) String() string
    func (m ScheduleCertificateAuthorityVersionDeletionDetails) ValidateEnumValue() (bool, error)
type ScheduleCertificateAuthorityVersionDeletionRequest
    func (request ScheduleCertificateAuthorityVersionDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ScheduleCertificateAuthorityVersionDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ScheduleCertificateAuthorityVersionDeletionRequest) RetryPolicy() *common.RetryPolicy
    func (request ScheduleCertificateAuthorityVersionDeletionRequest) String() string
    func (request ScheduleCertificateAuthorityVersionDeletionRequest) ValidateEnumValue() (bool, error)
type ScheduleCertificateAuthorityVersionDeletionResponse
    func (response ScheduleCertificateAuthorityVersionDeletionResponse) HTTPResponse() *http.Response
    func (response ScheduleCertificateAuthorityVersionDeletionResponse) String() string
type ScheduleCertificateDeletionDetails
    func (m ScheduleCertificateDeletionDetails) String() string
    func (m ScheduleCertificateDeletionDetails) ValidateEnumValue() (bool, error)
type ScheduleCertificateDeletionRequest
    func (request ScheduleCertificateDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ScheduleCertificateDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ScheduleCertificateDeletionRequest) RetryPolicy() *common.RetryPolicy
    func (request ScheduleCertificateDeletionRequest) String() string
    func (request ScheduleCertificateDeletionRequest) ValidateEnumValue() (bool, error)
type ScheduleCertificateDeletionResponse
    func (response ScheduleCertificateDeletionResponse) HTTPResponse() *http.Response
    func (response ScheduleCertificateDeletionResponse) String() string
type ScheduleCertificateVersionDeletionDetails
    func (m ScheduleCertificateVersionDeletionDetails) String() string
    func (m ScheduleCertificateVersionDeletionDetails) ValidateEnumValue() (bool, error)
type ScheduleCertificateVersionDeletionRequest
    func (request ScheduleCertificateVersionDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ScheduleCertificateVersionDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ScheduleCertificateVersionDeletionRequest) RetryPolicy() *common.RetryPolicy
    func (request ScheduleCertificateVersionDeletionRequest) String() string
    func (request ScheduleCertificateVersionDeletionRequest) ValidateEnumValue() (bool, error)
type ScheduleCertificateVersionDeletionResponse
    func (response ScheduleCertificateVersionDeletionResponse) HTTPResponse() *http.Response
    func (response ScheduleCertificateVersionDeletionResponse) String() string
type SignatureAlgorithmEnum
    func GetMappingSignatureAlgorithmEnum(val string) (SignatureAlgorithmEnum, bool)
    func GetSignatureAlgorithmEnumValues() []SignatureAlgorithmEnum
type UpdateCaBundleDetails
    func (m UpdateCaBundleDetails) String() string
    func (m UpdateCaBundleDetails) ValidateEnumValue() (bool, error)
type UpdateCaBundleRequest
    func (request UpdateCaBundleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateCaBundleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateCaBundleRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateCaBundleRequest) String() string
    func (request UpdateCaBundleRequest) ValidateEnumValue() (bool, error)
type UpdateCaBundleResponse
    func (response UpdateCaBundleResponse) HTTPResponse() *http.Response
    func (response UpdateCaBundleResponse) String() string
type UpdateCertificateAuthorityConfigDetails
type UpdateCertificateAuthorityConfigDetailsStageEnum
    func GetMappingUpdateCertificateAuthorityConfigDetailsStageEnum(val string) (UpdateCertificateAuthorityConfigDetailsStageEnum, bool)
    func GetUpdateCertificateAuthorityConfigDetailsStageEnumValues() []UpdateCertificateAuthorityConfigDetailsStageEnum
type UpdateCertificateAuthorityDetails
    func (m UpdateCertificateAuthorityDetails) String() string
    func (m *UpdateCertificateAuthorityDetails) UnmarshalJSON(data []byte) (e error)
    func (m UpdateCertificateAuthorityDetails) ValidateEnumValue() (bool, error)
type UpdateCertificateAuthorityRequest
    func (request UpdateCertificateAuthorityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateCertificateAuthorityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateCertificateAuthorityRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateCertificateAuthorityRequest) String() string
    func (request UpdateCertificateAuthorityRequest) ValidateEnumValue() (bool, error)
type UpdateCertificateAuthorityResponse
    func (response UpdateCertificateAuthorityResponse) HTTPResponse() *http.Response
    func (response UpdateCertificateAuthorityResponse) String() string
type UpdateCertificateByImportingConfigDetails
    func (m UpdateCertificateByImportingConfigDetails) GetStage() UpdateCertificateConfigDetailsStageEnum
    func (m UpdateCertificateByImportingConfigDetails) GetVersionName() *string
    func (m UpdateCertificateByImportingConfigDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateCertificateByImportingConfigDetails) String() string
    func (m UpdateCertificateByImportingConfigDetails) ValidateEnumValue() (bool, error)
type UpdateCertificateConfigDetails
type UpdateCertificateConfigDetailsStageEnum
    func GetMappingUpdateCertificateConfigDetailsStageEnum(val string) (UpdateCertificateConfigDetailsStageEnum, bool)
    func GetUpdateCertificateConfigDetailsStageEnumValues() []UpdateCertificateConfigDetailsStageEnum
type UpdateCertificateDetails
    func (m UpdateCertificateDetails) String() string
    func (m *UpdateCertificateDetails) UnmarshalJSON(data []byte) (e error)
    func (m UpdateCertificateDetails) ValidateEnumValue() (bool, error)
type UpdateCertificateIssuedByInternalCaConfigDetails
    func (m UpdateCertificateIssuedByInternalCaConfigDetails) GetStage() UpdateCertificateConfigDetailsStageEnum
    func (m UpdateCertificateIssuedByInternalCaConfigDetails) GetVersionName() *string
    func (m UpdateCertificateIssuedByInternalCaConfigDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateCertificateIssuedByInternalCaConfigDetails) String() string
    func (m UpdateCertificateIssuedByInternalCaConfigDetails) ValidateEnumValue() (bool, error)
type UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails
    func (m UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) GetStage() UpdateCertificateConfigDetailsStageEnum
    func (m UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) GetVersionName() *string
    func (m UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) String() string
    func (m UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) ValidateEnumValue() (bool, error)
type UpdateCertificateRequest
    func (request UpdateCertificateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateCertificateRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateCertificateRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateCertificateRequest) String() string
    func (request UpdateCertificateRequest) ValidateEnumValue() (bool, error)
type UpdateCertificateResponse
    func (response UpdateCertificateResponse) HTTPResponse() *http.Response
    func (response UpdateCertificateResponse) String() string
type UpdateRootCaByGeneratingInternallyConfigDetails
    func (m UpdateRootCaByGeneratingInternallyConfigDetails) GetStage() UpdateCertificateAuthorityConfigDetailsStageEnum
    func (m UpdateRootCaByGeneratingInternallyConfigDetails) GetVersionName() *string
    func (m UpdateRootCaByGeneratingInternallyConfigDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateRootCaByGeneratingInternallyConfigDetails) String() string
    func (m UpdateRootCaByGeneratingInternallyConfigDetails) ValidateEnumValue() (bool, error)
type UpdateSubordinateCaIssuedByInternalCaConfigDetails
    func (m UpdateSubordinateCaIssuedByInternalCaConfigDetails) GetStage() UpdateCertificateAuthorityConfigDetailsStageEnum
    func (m UpdateSubordinateCaIssuedByInternalCaConfigDetails) GetVersionName() *string
    func (m UpdateSubordinateCaIssuedByInternalCaConfigDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateSubordinateCaIssuedByInternalCaConfigDetails) String() string
    func (m UpdateSubordinateCaIssuedByInternalCaConfigDetails) ValidateEnumValue() (bool, error)
type Validity
    func (m Validity) String() string
    func (m Validity) ValidateEnumValue() (bool, error)
type VersionStageEnum
    func GetMappingVersionStageEnum(val string) (VersionStageEnum, bool)
    func GetVersionStageEnumValues() []VersionStageEnum

Package files

association.go association_collection.go association_lifecycle_state.go association_summary.go association_type.go ca_bundle.go ca_bundle_collection.go ca_bundle_lifecycle_state.go ca_bundle_summary.go cancel_certificate_authority_deletion_request_response.go cancel_certificate_authority_version_deletion_request_response.go cancel_certificate_deletion_request_response.go cancel_certificate_version_deletion_request_response.go certificate.go certificate_authority.go certificate_authority_collection.go certificate_authority_config_type.go certificate_authority_issuance_expiry_rule.go certificate_authority_lifecycle_state.go certificate_authority_rule.go certificate_authority_summary.go certificate_authority_version.go certificate_authority_version_collection.go certificate_authority_version_summary.go certificate_collection.go certificate_config_type.go certificate_lifecycle_state.go certificate_profile_type.go certificate_renewal_rule.go certificate_revocation_list_details.go certificate_rule.go certificate_subject.go certificate_subject_alternative_name.go certificate_summary.go certificate_version.go certificate_version_collection.go certificate_version_summary.go certificatesmanagement_client.go change_ca_bundle_compartment_details.go change_ca_bundle_compartment_request_response.go change_certificate_authority_compartment_details.go change_certificate_authority_compartment_request_response.go change_certificate_compartment_details.go change_certificate_compartment_request_response.go create_ca_bundle_details.go create_ca_bundle_request_response.go create_certificate_authority_config_details.go create_certificate_authority_details.go create_certificate_authority_request_response.go create_certificate_by_importing_config_details.go create_certificate_config_details.go create_certificate_details.go create_certificate_issued_by_internal_ca_config_details.go create_certificate_managed_externally_issued_by_internal_ca_config_details.go create_certificate_request_response.go create_root_ca_by_generating_internally_config_details.go create_subordinate_ca_issued_by_internal_ca_config_details.go delete_ca_bundle_request_response.go get_association_request_response.go get_ca_bundle_request_response.go get_certificate_authority_request_response.go get_certificate_authority_version_request_response.go get_certificate_request_response.go get_certificate_version_request_response.go key_algorithm.go list_associations_request_response.go list_ca_bundles_request_response.go list_certificate_authorities_request_response.go list_certificate_authority_versions_request_response.go list_certificate_versions_request_response.go list_certificates_request_response.go object_storage_bucket_config_details.go revocation_reason.go revocation_status.go revoke_certificate_authority_version_details.go revoke_certificate_authority_version_request_response.go revoke_certificate_version_details.go revoke_certificate_version_request_response.go schedule_certificate_authority_deletion_details.go schedule_certificate_authority_deletion_request_response.go schedule_certificate_authority_version_deletion_details.go schedule_certificate_authority_version_deletion_request_response.go schedule_certificate_deletion_details.go schedule_certificate_deletion_request_response.go schedule_certificate_version_deletion_details.go schedule_certificate_version_deletion_request_response.go signature_algorithm.go update_ca_bundle_details.go update_ca_bundle_request_response.go update_certificate_authority_config_details.go update_certificate_authority_details.go update_certificate_authority_request_response.go update_certificate_by_importing_config_details.go update_certificate_config_details.go update_certificate_details.go update_certificate_issued_by_internal_ca_config_details.go update_certificate_managed_externally_issued_by_internal_ca_config_details.go update_certificate_request_response.go update_root_ca_by_generating_internally_config_details.go update_subordinate_ca_issued_by_internal_ca_config_details.go validity.go version_stage.go

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

type Association

Association The details of the 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"`
}

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

AssociationCollection The results of an association search.

type AssociationCollection struct {

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

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

AssociationLifecycleStateEnum Enum with underlying type: string

type AssociationLifecycleStateEnum string

Set of constants representing the allowable values for AssociationLifecycleStateEnum

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

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

AssociationSummary The details of the association.

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"`
}

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

AssociationTypeEnum Enum with underlying type: string

type AssociationTypeEnum string

Set of constants representing the allowable values for AssociationTypeEnum

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

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

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

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"`
}

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

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

type CaBundleCollection struct {

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

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

CaBundleLifecycleStateEnum Enum with underlying type: string

type CaBundleLifecycleStateEnum string

Set of constants representing the allowable values for CaBundleLifecycleStateEnum

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

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

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

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"`
}

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

CancelCertificateAuthorityDeletionRequest wrapper for the CancelCertificateAuthorityDeletion operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/CancelCertificateAuthorityDeletion.go.html to see an example of how to use 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
}

func (CancelCertificateAuthorityDeletionRequest) BinaryRequestBody

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

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

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

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

func (CancelCertificateAuthorityDeletionRequest) String

func (request CancelCertificateAuthorityDeletionRequest) String() 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

CancelCertificateAuthorityDeletionResponse wrapper for the CancelCertificateAuthorityDeletion operation

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"`
}

func (CancelCertificateAuthorityDeletionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelCertificateAuthorityDeletionResponse) String

func (response CancelCertificateAuthorityDeletionResponse) String() string

type CancelCertificateAuthorityVersionDeletionRequest

CancelCertificateAuthorityVersionDeletionRequest wrapper for the CancelCertificateAuthorityVersionDeletion operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/CancelCertificateAuthorityVersionDeletion.go.html to see an example of how to use 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
}

func (CancelCertificateAuthorityVersionDeletionRequest) BinaryRequestBody

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

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

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

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

func (CancelCertificateAuthorityVersionDeletionRequest) String

func (request CancelCertificateAuthorityVersionDeletionRequest) String() 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

CancelCertificateAuthorityVersionDeletionResponse wrapper for the CancelCertificateAuthorityVersionDeletion operation

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"`
}

func (CancelCertificateAuthorityVersionDeletionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelCertificateAuthorityVersionDeletionResponse) String

func (response CancelCertificateAuthorityVersionDeletionResponse) String() string

type CancelCertificateDeletionRequest

CancelCertificateDeletionRequest wrapper for the CancelCertificateDeletion operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/CancelCertificateDeletion.go.html to see an example of how to use 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
}

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

CancelCertificateDeletionResponse wrapper for the CancelCertificateDeletion operation

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"`
}

func (CancelCertificateDeletionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelCertificateDeletionResponse) String

func (response CancelCertificateDeletionResponse) String() string

type CancelCertificateVersionDeletionRequest

CancelCertificateVersionDeletionRequest wrapper for the CancelCertificateVersionDeletion operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/CancelCertificateVersionDeletion.go.html to see an example of how to use 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
}

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

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

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

func (CancelCertificateVersionDeletionRequest) String

func (request CancelCertificateVersionDeletionRequest) String() 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

CancelCertificateVersionDeletionResponse wrapper for the CancelCertificateVersionDeletion operation

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"`
}

func (CancelCertificateVersionDeletionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelCertificateVersionDeletionResponse) String

func (response CancelCertificateVersionDeletionResponse) String() string

type Certificate

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

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"`
}

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

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

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"`
}

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

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

type CertificateAuthorityCollection struct {

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

func (CertificateAuthorityCollection) String

func (m CertificateAuthorityCollection) String() 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

CertificateAuthorityConfigTypeEnum Enum with underlying type: string

type CertificateAuthorityConfigTypeEnum string

Set of constants representing the allowable values for CertificateAuthorityConfigTypeEnum

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

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

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`.

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"`
}

func (CertificateAuthorityIssuanceExpiryRule) MarshalJSON

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

MarshalJSON marshals to json representation

func (CertificateAuthorityIssuanceExpiryRule) String

func (m CertificateAuthorityIssuanceExpiryRule) String() 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

CertificateAuthorityLifecycleStateEnum Enum with underlying type: string

type CertificateAuthorityLifecycleStateEnum string

Set of constants representing the allowable values for CertificateAuthorityLifecycleStateEnum

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"
)

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

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

type CertificateAuthorityRule interface {
}

type CertificateAuthorityRuleRuleTypeEnum

CertificateAuthorityRuleRuleTypeEnum Enum with underlying type: string

type CertificateAuthorityRuleRuleTypeEnum string

Set of constants representing the allowable values for CertificateAuthorityRuleRuleTypeEnum

const (
    CertificateAuthorityRuleRuleTypeCertificateAuthorityIssuanceExpiryRule CertificateAuthorityRuleRuleTypeEnum = "CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE"
)

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

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

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"`
}

func (CertificateAuthoritySummary) String

func (m CertificateAuthoritySummary) String() 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

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

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"`
}

func (CertificateAuthorityVersion) String

func (m CertificateAuthorityVersion) String() 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

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

type CertificateAuthorityVersionCollection struct {

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

func (CertificateAuthorityVersionCollection) String

func (m CertificateAuthorityVersionCollection) String() 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

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

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"`
}

func (CertificateAuthorityVersionSummary) String

func (m CertificateAuthorityVersionSummary) String() 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

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

type CertificateCollection struct {

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

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

CertificateConfigTypeEnum Enum with underlying type: string

type CertificateConfigTypeEnum string

Set of constants representing the allowable values for CertificateConfigTypeEnum

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

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

CertificateLifecycleStateEnum Enum with underlying type: string

type CertificateLifecycleStateEnum string

Set of constants representing the allowable values for CertificateLifecycleStateEnum

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"
)

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

CertificateProfileTypeEnum Enum with underlying type: string

type CertificateProfileTypeEnum string

Set of constants representing the allowable values for CertificateProfileTypeEnum

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

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

CertificateRenewalRule A rule that imposes constraints on certificate renewal.

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"`
}

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

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

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"`
}

func (CertificateRevocationListDetails) String

func (m CertificateRevocationListDetails) String() 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

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

type CertificateRule interface {
}

type CertificateRuleRuleTypeEnum

CertificateRuleRuleTypeEnum Enum with underlying type: string

type CertificateRuleRuleTypeEnum string

Set of constants representing the allowable values for CertificateRuleRuleTypeEnum

const (
    CertificateRuleRuleTypeCertificateRenewalRule CertificateRuleRuleTypeEnum = "CERTIFICATE_RENEWAL_RULE"
)

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

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

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"`
}

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

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".

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"`
}

func (CertificateSubjectAlternativeName) String

func (m CertificateSubjectAlternativeName) String() 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

CertificateSubjectAlternativeNameTypeEnum Enum with underlying type: string

type CertificateSubjectAlternativeNameTypeEnum string

Set of constants representing the allowable values for CertificateSubjectAlternativeNameTypeEnum

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

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

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

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"`
}

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

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

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"`
}

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

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

type CertificateVersionCollection struct {

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

func (CertificateVersionCollection) String

func (m CertificateVersionCollection) String() 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

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

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"`
}

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

CertificatesManagementClient a client for CertificatesManagement

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

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

func (client CertificatesManagementClient) CancelCertificateAuthorityDeletion(ctx context.Context, request CancelCertificateAuthorityDeletionRequest) (response CancelCertificateAuthorityDeletionResponse, err error)

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/65.63.2/certificatesmanagement/CancelCertificateAuthorityDeletion.go.html to see an example of how to use CancelCertificateAuthorityDeletion API.

func (CertificatesManagementClient) CancelCertificateAuthorityVersionDeletion

func (client CertificatesManagementClient) CancelCertificateAuthorityVersionDeletion(ctx context.Context, request CancelCertificateAuthorityVersionDeletionRequest) (response CancelCertificateAuthorityVersionDeletionResponse, err error)

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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/certificatesmanagement/ChangeCaBundleCompartment.go.html to see an example of how to use ChangeCaBundleCompartment API.

func (CertificatesManagementClient) ChangeCertificateAuthorityCompartment

func (client CertificatesManagementClient) ChangeCertificateAuthorityCompartment(ctx context.Context, request ChangeCertificateAuthorityCompartmentRequest) (response ChangeCertificateAuthorityCompartmentResponse, err error)

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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/certificatesmanagement/ListCertificates.go.html to see an example of how to use ListCertificates API.

func (CertificatesManagementClient) RevokeCertificateAuthorityVersion

func (client CertificatesManagementClient) RevokeCertificateAuthorityVersion(ctx context.Context, request RevokeCertificateAuthorityVersionRequest) (response RevokeCertificateAuthorityVersionResponse, err error)

RevokeCertificateAuthorityVersion Revokes a certificate authority (CA) version.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/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/65.63.2/certificatesmanagement/RevokeCertificateVersion.go.html to see an example of how to use RevokeCertificateVersion API.

func (CertificatesManagementClient) ScheduleCertificateAuthorityDeletion

func (client CertificatesManagementClient) ScheduleCertificateAuthorityDeletion(ctx context.Context, request ScheduleCertificateAuthorityDeletionRequest) (response ScheduleCertificateAuthorityDeletionResponse, err error)

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/65.63.2/certificatesmanagement/ScheduleCertificateAuthorityDeletion.go.html to see an example of how to use ScheduleCertificateAuthorityDeletion API.

func (CertificatesManagementClient) ScheduleCertificateAuthorityVersionDeletion

func (client CertificatesManagementClient) ScheduleCertificateAuthorityVersionDeletion(ctx context.Context, request ScheduleCertificateAuthorityVersionDeletionRequest) (response ScheduleCertificateAuthorityVersionDeletionResponse, err error)

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/65.63.2/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/65.63.2/certificatesmanagement/ScheduleCertificateDeletion.go.html to see an example of how to use ScheduleCertificateDeletion API.

func (CertificatesManagementClient) ScheduleCertificateVersionDeletion

func (client CertificatesManagementClient) ScheduleCertificateVersionDeletion(ctx context.Context, request ScheduleCertificateVersionDeletionRequest) (response ScheduleCertificateVersionDeletionResponse, err error)

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/65.63.2/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/65.63.2/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/65.63.2/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/65.63.2/certificatesmanagement/UpdateCertificateAuthority.go.html to see an example of how to use UpdateCertificateAuthority API.

type ChangeCaBundleCompartmentDetails

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

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"`
}

func (ChangeCaBundleCompartmentDetails) String

func (m ChangeCaBundleCompartmentDetails) String() 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

ChangeCaBundleCompartmentRequest wrapper for the ChangeCaBundleCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/ChangeCaBundleCompartment.go.html to see an example of how to use 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
}

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

ChangeCaBundleCompartmentResponse wrapper for the ChangeCaBundleCompartment operation

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"`
}

func (ChangeCaBundleCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeCaBundleCompartmentResponse) String

func (response ChangeCaBundleCompartmentResponse) String() string

type ChangeCertificateAuthorityCompartmentDetails

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

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"`
}

func (ChangeCertificateAuthorityCompartmentDetails) String

func (m ChangeCertificateAuthorityCompartmentDetails) String() 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

ChangeCertificateAuthorityCompartmentRequest wrapper for the ChangeCertificateAuthorityCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/ChangeCertificateAuthorityCompartment.go.html to see an example of how to use 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
}

func (ChangeCertificateAuthorityCompartmentRequest) BinaryRequestBody

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

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

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

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

func (ChangeCertificateAuthorityCompartmentRequest) String

func (request ChangeCertificateAuthorityCompartmentRequest) String() 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

ChangeCertificateAuthorityCompartmentResponse wrapper for the ChangeCertificateAuthorityCompartment operation

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"`
}

func (ChangeCertificateAuthorityCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeCertificateAuthorityCompartmentResponse) String

func (response ChangeCertificateAuthorityCompartmentResponse) String() string

type ChangeCertificateCompartmentDetails

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

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"`
}

func (ChangeCertificateCompartmentDetails) String

func (m ChangeCertificateCompartmentDetails) String() 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

ChangeCertificateCompartmentRequest wrapper for the ChangeCertificateCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/ChangeCertificateCompartment.go.html to see an example of how to use 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
}

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

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

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

func (ChangeCertificateCompartmentRequest) String

func (request ChangeCertificateCompartmentRequest) String() 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

ChangeCertificateCompartmentResponse wrapper for the ChangeCertificateCompartment operation

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"`
}

func (ChangeCertificateCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeCertificateCompartmentResponse) String

func (response ChangeCertificateCompartmentResponse) String() string

type CreateCaBundleDetails

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

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"`
}

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

CreateCaBundleRequest wrapper for the CreateCaBundle operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/CreateCaBundle.go.html to see an example of how to use 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
}

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

CreateCaBundleResponse wrapper for the CreateCaBundle operation

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"`
}

func (CreateCaBundleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateCaBundleResponse) String

func (response CreateCaBundleResponse) String() string

type CreateCertificateAuthorityConfigDetails

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

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
}

type CreateCertificateAuthorityDetails

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

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"`
}

func (CreateCertificateAuthorityDetails) String

func (m CreateCertificateAuthorityDetails) String() 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

CreateCertificateAuthorityRequest wrapper for the CreateCertificateAuthority operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/CreateCertificateAuthority.go.html to see an example of how to use 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
}

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

CreateCertificateAuthorityResponse wrapper for the CreateCertificateAuthority operation

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"`
}

func (CreateCertificateAuthorityResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateCertificateAuthorityResponse) String

func (response CreateCertificateAuthorityResponse) String() string

type CreateCertificateByImportingConfigDetails

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

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"`
}

func (CreateCertificateByImportingConfigDetails) GetVersionName

func (m CreateCertificateByImportingConfigDetails) GetVersionName() *string

GetVersionName returns VersionName

func (CreateCertificateByImportingConfigDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateCertificateByImportingConfigDetails) String

func (m CreateCertificateByImportingConfigDetails) String() 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

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

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
}

type CreateCertificateDetails

CreateCertificateDetails The details of the certificate to create.

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"`
}

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

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

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"`
}

func (CreateCertificateIssuedByInternalCaConfigDetails) GetVersionName

func (m CreateCertificateIssuedByInternalCaConfigDetails) GetVersionName() *string

GetVersionName returns VersionName

func (CreateCertificateIssuedByInternalCaConfigDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateCertificateIssuedByInternalCaConfigDetails) String

func (m CreateCertificateIssuedByInternalCaConfigDetails) String() string

func (CreateCertificateIssuedByInternalCaConfigDetails) ValidateEnumValue

func (m CreateCertificateIssuedByInternalCaConfigDetails) 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 CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails

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

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"`
}

func (CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails) GetVersionName

func (m CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails) GetVersionName() *string

GetVersionName returns VersionName

func (CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails) String

func (m CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails) String() string

func (CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails) ValidateEnumValue

func (m CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails) 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 CreateCertificateRequest

CreateCertificateRequest wrapper for the CreateCertificate operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/CreateCertificate.go.html to see an example of how to use 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
}

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

CreateCertificateResponse wrapper for the CreateCertificate operation

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"`
}

func (CreateCertificateResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateCertificateResponse) String

func (response CreateCertificateResponse) String() string

type CreateRootCaByGeneratingInternallyConfigDetails

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

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"`
}

func (CreateRootCaByGeneratingInternallyConfigDetails) GetVersionName

func (m CreateRootCaByGeneratingInternallyConfigDetails) GetVersionName() *string

GetVersionName returns VersionName

func (CreateRootCaByGeneratingInternallyConfigDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateRootCaByGeneratingInternallyConfigDetails) String

func (m CreateRootCaByGeneratingInternallyConfigDetails) String() string

func (CreateRootCaByGeneratingInternallyConfigDetails) ValidateEnumValue

func (m CreateRootCaByGeneratingInternallyConfigDetails) 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 CreateSubordinateCaIssuedByInternalCaConfigDetails

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

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"`
}

func (CreateSubordinateCaIssuedByInternalCaConfigDetails) GetVersionName

func (m CreateSubordinateCaIssuedByInternalCaConfigDetails) GetVersionName() *string

GetVersionName returns VersionName

func (CreateSubordinateCaIssuedByInternalCaConfigDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateSubordinateCaIssuedByInternalCaConfigDetails) String

func (m CreateSubordinateCaIssuedByInternalCaConfigDetails) String() string

func (CreateSubordinateCaIssuedByInternalCaConfigDetails) ValidateEnumValue

func (m CreateSubordinateCaIssuedByInternalCaConfigDetails) 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 DeleteCaBundleRequest

DeleteCaBundleRequest wrapper for the DeleteCaBundle operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/DeleteCaBundle.go.html to see an example of how to use 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
}

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

DeleteCaBundleResponse wrapper for the DeleteCaBundle operation

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"`
}

func (DeleteCaBundleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteCaBundleResponse) String

func (response DeleteCaBundleResponse) String() string

type GetAssociationRequest

GetAssociationRequest wrapper for the GetAssociation operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/GetAssociation.go.html to see an example of how to use 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
}

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

GetAssociationResponse wrapper for the GetAssociation operation

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"`
}

func (GetAssociationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAssociationResponse) String

func (response GetAssociationResponse) String() string

type GetCaBundleRequest

GetCaBundleRequest wrapper for the GetCaBundle operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/GetCaBundle.go.html to see an example of how to use 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
}

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

GetCaBundleResponse wrapper for the GetCaBundle operation

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"`
}

func (GetCaBundleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetCaBundleResponse) String

func (response GetCaBundleResponse) String() string

type GetCertificateAuthorityRequest

GetCertificateAuthorityRequest wrapper for the GetCertificateAuthority operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/GetCertificateAuthority.go.html to see an example of how to use 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
}

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

GetCertificateAuthorityResponse wrapper for the GetCertificateAuthority operation

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"`
}

func (GetCertificateAuthorityResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetCertificateAuthorityResponse) String

func (response GetCertificateAuthorityResponse) String() string

type GetCertificateAuthorityVersionRequest

GetCertificateAuthorityVersionRequest wrapper for the GetCertificateAuthorityVersion operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/GetCertificateAuthorityVersion.go.html to see an example of how to use 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
}

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

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

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

func (GetCertificateAuthorityVersionRequest) String

func (request GetCertificateAuthorityVersionRequest) String() 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

GetCertificateAuthorityVersionResponse wrapper for the GetCertificateAuthorityVersion operation

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"`
}

func (GetCertificateAuthorityVersionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetCertificateAuthorityVersionResponse) String

func (response GetCertificateAuthorityVersionResponse) String() string

type GetCertificateRequest

GetCertificateRequest wrapper for the GetCertificate operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/GetCertificate.go.html to see an example of how to use 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
}

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

GetCertificateResponse wrapper for the GetCertificate operation

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"`
}

func (GetCertificateResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetCertificateResponse) String

func (response GetCertificateResponse) String() string

type GetCertificateVersionRequest

GetCertificateVersionRequest wrapper for the GetCertificateVersion operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/GetCertificateVersion.go.html to see an example of how to use 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
}

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

GetCertificateVersionResponse wrapper for the GetCertificateVersion operation

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"`
}

func (GetCertificateVersionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetCertificateVersionResponse) String

func (response GetCertificateVersionResponse) String() string

type KeyAlgorithmEnum

KeyAlgorithmEnum Enum with underlying type: string

type KeyAlgorithmEnum string

Set of constants representing the allowable values for KeyAlgorithmEnum

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

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

ListAssociationsAssociationTypeEnum Enum with underlying type: string

type ListAssociationsAssociationTypeEnum string

Set of constants representing the allowable values for ListAssociationsAssociationTypeEnum

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

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

ListAssociationsRequest wrapper for the ListAssociations operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/ListAssociations.go.html to see an example of how to use 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
}

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

ListAssociationsResponse wrapper for the ListAssociations operation

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"`
}

func (ListAssociationsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAssociationsResponse) String

func (response ListAssociationsResponse) String() string

type ListAssociationsSortByEnum

ListAssociationsSortByEnum Enum with underlying type: string

type ListAssociationsSortByEnum string

Set of constants representing the allowable values for ListAssociationsSortByEnum

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

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

ListAssociationsSortOrderEnum Enum with underlying type: string

type ListAssociationsSortOrderEnum string

Set of constants representing the allowable values for ListAssociationsSortOrderEnum

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

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

ListCaBundlesLifecycleStateEnum Enum with underlying type: string

type ListCaBundlesLifecycleStateEnum string

Set of constants representing the allowable values for ListCaBundlesLifecycleStateEnum

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

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

ListCaBundlesRequest wrapper for the ListCaBundles operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/ListCaBundles.go.html to see an example of how to use 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
}

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

ListCaBundlesResponse wrapper for the ListCaBundles operation

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"`
}

func (ListCaBundlesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListCaBundlesResponse) String

func (response ListCaBundlesResponse) String() string

type ListCaBundlesSortByEnum

ListCaBundlesSortByEnum Enum with underlying type: string

type ListCaBundlesSortByEnum string

Set of constants representing the allowable values for ListCaBundlesSortByEnum

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

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

ListCaBundlesSortOrderEnum Enum with underlying type: string

type ListCaBundlesSortOrderEnum string

Set of constants representing the allowable values for ListCaBundlesSortOrderEnum

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

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

ListCertificateAuthoritiesLifecycleStateEnum Enum with underlying type: string

type ListCertificateAuthoritiesLifecycleStateEnum string

Set of constants representing the allowable values for ListCertificateAuthoritiesLifecycleStateEnum

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"
)

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

ListCertificateAuthoritiesRequest wrapper for the ListCertificateAuthorities operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/ListCertificateAuthorities.go.html to see an example of how to use 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
}

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

ListCertificateAuthoritiesResponse wrapper for the ListCertificateAuthorities operation

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"`
}

func (ListCertificateAuthoritiesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListCertificateAuthoritiesResponse) String

func (response ListCertificateAuthoritiesResponse) String() string

type ListCertificateAuthoritiesSortByEnum

ListCertificateAuthoritiesSortByEnum Enum with underlying type: string

type ListCertificateAuthoritiesSortByEnum string

Set of constants representing the allowable values for ListCertificateAuthoritiesSortByEnum

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

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

ListCertificateAuthoritiesSortOrderEnum Enum with underlying type: string

type ListCertificateAuthoritiesSortOrderEnum string

Set of constants representing the allowable values for ListCertificateAuthoritiesSortOrderEnum

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

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

ListCertificateAuthorityVersionsRequest wrapper for the ListCertificateAuthorityVersions operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/ListCertificateAuthorityVersions.go.html to see an example of how to use 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
}

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

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

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

func (ListCertificateAuthorityVersionsRequest) String

func (request ListCertificateAuthorityVersionsRequest) String() 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

ListCertificateAuthorityVersionsResponse wrapper for the ListCertificateAuthorityVersions operation

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"`
}

func (ListCertificateAuthorityVersionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListCertificateAuthorityVersionsResponse) String

func (response ListCertificateAuthorityVersionsResponse) String() string

type ListCertificateAuthorityVersionsSortByEnum

ListCertificateAuthorityVersionsSortByEnum Enum with underlying type: string

type ListCertificateAuthorityVersionsSortByEnum string

Set of constants representing the allowable values for ListCertificateAuthorityVersionsSortByEnum

const (
    ListCertificateAuthorityVersionsSortByVersionNumber ListCertificateAuthorityVersionsSortByEnum = "VERSION_NUMBER"
)

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

ListCertificateAuthorityVersionsSortOrderEnum Enum with underlying type: string

type ListCertificateAuthorityVersionsSortOrderEnum string

Set of constants representing the allowable values for ListCertificateAuthorityVersionsSortOrderEnum

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

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

ListCertificateVersionsRequest wrapper for the ListCertificateVersions operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/ListCertificateVersions.go.html to see an example of how to use 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
}

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

ListCertificateVersionsResponse wrapper for the ListCertificateVersions operation

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"`
}

func (ListCertificateVersionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListCertificateVersionsResponse) String

func (response ListCertificateVersionsResponse) String() string

type ListCertificateVersionsSortByEnum

ListCertificateVersionsSortByEnum Enum with underlying type: string

type ListCertificateVersionsSortByEnum string

Set of constants representing the allowable values for ListCertificateVersionsSortByEnum

const (
    ListCertificateVersionsSortByVersionNumber ListCertificateVersionsSortByEnum = "VERSION_NUMBER"
)

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

ListCertificateVersionsSortOrderEnum Enum with underlying type: string

type ListCertificateVersionsSortOrderEnum string

Set of constants representing the allowable values for ListCertificateVersionsSortOrderEnum

const (
    ListCertificateVersionsSortOrderAsc  ListCertificateVersionsSortOrderEnum = "ASC"
    ListCertificateVersionsSortOrderDesc ListCertificateVersionsSortOrderEnum = "DESC"
)

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

ListCertificatesLifecycleStateEnum Enum with underlying type: string

type ListCertificatesLifecycleStateEnum string

Set of constants representing the allowable values for ListCertificatesLifecycleStateEnum

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"
)

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

ListCertificatesRequest wrapper for the ListCertificates operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/ListCertificates.go.html to see an example of how to use 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
}

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

ListCertificatesResponse wrapper for the ListCertificates operation

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"`
}

func (ListCertificatesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListCertificatesResponse) String

func (response ListCertificatesResponse) String() string

type ListCertificatesSortByEnum

ListCertificatesSortByEnum Enum with underlying type: string

type ListCertificatesSortByEnum string

Set of constants representing the allowable values for ListCertificatesSortByEnum

const (
    ListCertificatesSortByName           ListCertificatesSortByEnum = "NAME"
    ListCertificatesSortByExpirationdate ListCertificatesSortByEnum = "EXPIRATIONDATE"
    ListCertificatesSortByTimecreated    ListCertificatesSortByEnum = "TIMECREATED"
)

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

ListCertificatesSortOrderEnum Enum with underlying type: string

type ListCertificatesSortOrderEnum string

Set of constants representing the allowable values for ListCertificatesSortOrderEnum

const (
    ListCertificatesSortOrderAsc  ListCertificatesSortOrderEnum = "ASC"
    ListCertificatesSortOrderDesc ListCertificatesSortOrderEnum = "DESC"
)

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

ObjectStorageBucketConfigDetails The details of the Object Storage bucket configured to store the certificate revocation list (CRL).

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"`
}

func (ObjectStorageBucketConfigDetails) String

func (m ObjectStorageBucketConfigDetails) String() 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

RevocationReasonEnum Enum with underlying type: string

type RevocationReasonEnum string

Set of constants representing the allowable values for RevocationReasonEnum

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"
)

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

RevocationStatus The current revocation status of the entity.

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"`
}

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

RevokeCertificateAuthorityVersionDetails The details of the request to revoke a certificate authority (CA) version.

type RevokeCertificateAuthorityVersionDetails struct {

    // The reason the certificate or certificate authority was revoked.
    RevocationReason RevocationReasonEnum `mandatory:"false" json:"revocationReason,omitempty"`
}

func (RevokeCertificateAuthorityVersionDetails) String

func (m RevokeCertificateAuthorityVersionDetails) String() 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

RevokeCertificateAuthorityVersionRequest wrapper for the RevokeCertificateAuthorityVersion operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/RevokeCertificateAuthorityVersion.go.html to see an example of how to use 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
}

func (RevokeCertificateAuthorityVersionRequest) BinaryRequestBody

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

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

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

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

func (RevokeCertificateAuthorityVersionRequest) String

func (request RevokeCertificateAuthorityVersionRequest) String() 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

RevokeCertificateAuthorityVersionResponse wrapper for the RevokeCertificateAuthorityVersion operation

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"`
}

func (RevokeCertificateAuthorityVersionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RevokeCertificateAuthorityVersionResponse) String

func (response RevokeCertificateAuthorityVersionResponse) String() string

type RevokeCertificateVersionDetails

RevokeCertificateVersionDetails The details for revoking a certificate version.

type RevokeCertificateVersionDetails struct {

    // The reason that the certificate or certificate authority was revoked.
    RevocationReason RevocationReasonEnum `mandatory:"false" json:"revocationReason,omitempty"`
}

func (RevokeCertificateVersionDetails) String

func (m RevokeCertificateVersionDetails) String() 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

RevokeCertificateVersionRequest wrapper for the RevokeCertificateVersion operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/RevokeCertificateVersion.go.html to see an example of how to use 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
}

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

RevokeCertificateVersionResponse wrapper for the RevokeCertificateVersion operation

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"`
}

func (RevokeCertificateVersionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RevokeCertificateVersionResponse) String

func (response RevokeCertificateVersionResponse) String() string

type ScheduleCertificateAuthorityDeletionDetails

ScheduleCertificateAuthorityDeletionDetails The details of the request to schedule the deletion of the specified certificate authority (CA).

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"`
}

func (ScheduleCertificateAuthorityDeletionDetails) String

func (m ScheduleCertificateAuthorityDeletionDetails) String() 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

ScheduleCertificateAuthorityDeletionRequest wrapper for the ScheduleCertificateAuthorityDeletion operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/ScheduleCertificateAuthorityDeletion.go.html to see an example of how to use 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
}

func (ScheduleCertificateAuthorityDeletionRequest) BinaryRequestBody

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

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

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

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

func (ScheduleCertificateAuthorityDeletionRequest) String

func (request ScheduleCertificateAuthorityDeletionRequest) String() 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

ScheduleCertificateAuthorityDeletionResponse wrapper for the ScheduleCertificateAuthorityDeletion operation

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"`
}

func (ScheduleCertificateAuthorityDeletionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ScheduleCertificateAuthorityDeletionResponse) String

func (response ScheduleCertificateAuthorityDeletionResponse) String() string

type ScheduleCertificateAuthorityVersionDeletionDetails

ScheduleCertificateAuthorityVersionDeletionDetails The details of the request to schedule the deletion of the specified certificate authority (CA) version.

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"`
}

func (ScheduleCertificateAuthorityVersionDeletionDetails) String

func (m ScheduleCertificateAuthorityVersionDeletionDetails) String() string

func (ScheduleCertificateAuthorityVersionDeletionDetails) ValidateEnumValue

func (m ScheduleCertificateAuthorityVersionDeletionDetails) 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 ScheduleCertificateAuthorityVersionDeletionRequest

ScheduleCertificateAuthorityVersionDeletionRequest wrapper for the ScheduleCertificateAuthorityVersionDeletion operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/ScheduleCertificateAuthorityVersionDeletion.go.html to see an example of how to use 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
}

func (ScheduleCertificateAuthorityVersionDeletionRequest) BinaryRequestBody

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

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

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

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

func (ScheduleCertificateAuthorityVersionDeletionRequest) String

func (request ScheduleCertificateAuthorityVersionDeletionRequest) String() 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

ScheduleCertificateAuthorityVersionDeletionResponse wrapper for the ScheduleCertificateAuthorityVersionDeletion operation

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"`
}

func (ScheduleCertificateAuthorityVersionDeletionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ScheduleCertificateAuthorityVersionDeletionResponse) String

func (response ScheduleCertificateAuthorityVersionDeletionResponse) String() string

type ScheduleCertificateDeletionDetails

ScheduleCertificateDeletionDetails The details for scheduling the deletion of the specified certificate.

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"`
}

func (ScheduleCertificateDeletionDetails) String

func (m ScheduleCertificateDeletionDetails) String() 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

ScheduleCertificateDeletionRequest wrapper for the ScheduleCertificateDeletion operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/ScheduleCertificateDeletion.go.html to see an example of how to use 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
}

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

ScheduleCertificateDeletionResponse wrapper for the ScheduleCertificateDeletion operation

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"`
}

func (ScheduleCertificateDeletionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ScheduleCertificateDeletionResponse) String

func (response ScheduleCertificateDeletionResponse) String() string

type ScheduleCertificateVersionDeletionDetails

ScheduleCertificateVersionDeletionDetails The details for scheduling the deletion of the specified certificate version.

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"`
}

func (ScheduleCertificateVersionDeletionDetails) String

func (m ScheduleCertificateVersionDeletionDetails) String() 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

ScheduleCertificateVersionDeletionRequest wrapper for the ScheduleCertificateVersionDeletion operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/ScheduleCertificateVersionDeletion.go.html to see an example of how to use 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
}

func (ScheduleCertificateVersionDeletionRequest) BinaryRequestBody

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

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

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

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

func (ScheduleCertificateVersionDeletionRequest) String

func (request ScheduleCertificateVersionDeletionRequest) String() 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

ScheduleCertificateVersionDeletionResponse wrapper for the ScheduleCertificateVersionDeletion operation

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"`
}

func (ScheduleCertificateVersionDeletionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ScheduleCertificateVersionDeletionResponse) String

func (response ScheduleCertificateVersionDeletionResponse) String() string

type SignatureAlgorithmEnum

SignatureAlgorithmEnum Enum with underlying type: string

type SignatureAlgorithmEnum string

Set of constants representing the allowable values for SignatureAlgorithmEnum

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"
)

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

UpdateCaBundleDetails The details of the CA bundle to update.

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"`
}

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

UpdateCaBundleRequest wrapper for the UpdateCaBundle operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/UpdateCaBundle.go.html to see an example of how to use 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
}

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

UpdateCaBundleResponse wrapper for the UpdateCaBundle operation

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"`
}

func (UpdateCaBundleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateCaBundleResponse) String

func (response UpdateCaBundleResponse) String() string

type UpdateCertificateAuthorityConfigDetails

UpdateCertificateAuthorityConfigDetails The configuration details for updating a certificate authority (CA).

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
}

type UpdateCertificateAuthorityConfigDetailsStageEnum

UpdateCertificateAuthorityConfigDetailsStageEnum Enum with underlying type: string

type UpdateCertificateAuthorityConfigDetailsStageEnum string

Set of constants representing the allowable values for UpdateCertificateAuthorityConfigDetailsStageEnum

const (
    UpdateCertificateAuthorityConfigDetailsStageCurrent UpdateCertificateAuthorityConfigDetailsStageEnum = "CURRENT"
    UpdateCertificateAuthorityConfigDetailsStagePending UpdateCertificateAuthorityConfigDetailsStageEnum = "PENDING"
)

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

UpdateCertificateAuthorityDetails The details for updating a certificate authority (CA).

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"`
}

func (UpdateCertificateAuthorityDetails) String

func (m UpdateCertificateAuthorityDetails) String() 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

UpdateCertificateAuthorityRequest wrapper for the UpdateCertificateAuthority operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/UpdateCertificateAuthority.go.html to see an example of how to use 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
}

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

UpdateCertificateAuthorityResponse wrapper for the UpdateCertificateAuthority operation

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"`
}

func (UpdateCertificateAuthorityResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateCertificateAuthorityResponse) String

func (response UpdateCertificateAuthorityResponse) String() string

type UpdateCertificateByImportingConfigDetails

UpdateCertificateByImportingConfigDetails The details of the configuration for updating a certificate based on the keys from an imported certificate.

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"`
}

func (UpdateCertificateByImportingConfigDetails) GetStage

func (m UpdateCertificateByImportingConfigDetails) GetStage() UpdateCertificateConfigDetailsStageEnum

GetStage returns Stage

func (UpdateCertificateByImportingConfigDetails) GetVersionName

func (m UpdateCertificateByImportingConfigDetails) GetVersionName() *string

GetVersionName returns VersionName

func (UpdateCertificateByImportingConfigDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateCertificateByImportingConfigDetails) String

func (m UpdateCertificateByImportingConfigDetails) String() 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

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

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
}

type UpdateCertificateConfigDetailsStageEnum

UpdateCertificateConfigDetailsStageEnum Enum with underlying type: string

type UpdateCertificateConfigDetailsStageEnum string

Set of constants representing the allowable values for UpdateCertificateConfigDetailsStageEnum

const (
    UpdateCertificateConfigDetailsStageCurrent UpdateCertificateConfigDetailsStageEnum = "CURRENT"
    UpdateCertificateConfigDetailsStagePending UpdateCertificateConfigDetailsStageEnum = "PENDING"
)

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

UpdateCertificateDetails The details of the certificate to update.

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"`
}

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

UpdateCertificateIssuedByInternalCaConfigDetails The details for updating an internally managed certificate which is issued by a private certificate authority (CA).

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"`
}

func (UpdateCertificateIssuedByInternalCaConfigDetails) GetStage

func (m UpdateCertificateIssuedByInternalCaConfigDetails) GetStage() UpdateCertificateConfigDetailsStageEnum

GetStage returns Stage

func (UpdateCertificateIssuedByInternalCaConfigDetails) GetVersionName

func (m UpdateCertificateIssuedByInternalCaConfigDetails) GetVersionName() *string

GetVersionName returns VersionName

func (UpdateCertificateIssuedByInternalCaConfigDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateCertificateIssuedByInternalCaConfigDetails) String

func (m UpdateCertificateIssuedByInternalCaConfigDetails) String() string

func (UpdateCertificateIssuedByInternalCaConfigDetails) ValidateEnumValue

func (m UpdateCertificateIssuedByInternalCaConfigDetails) 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 UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails

UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails The details for updating an externally managed certificate which is issued by a private certificate authority (CA).

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"`
}

func (UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) GetStage

func (m UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) GetStage() UpdateCertificateConfigDetailsStageEnum

GetStage returns Stage

func (UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) GetVersionName

func (m UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) GetVersionName() *string

GetVersionName returns VersionName

func (UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) String

func (m UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) String() string

func (UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) ValidateEnumValue

func (m UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails) 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 UpdateCertificateRequest

UpdateCertificateRequest wrapper for the UpdateCertificate operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/certificatesmanagement/UpdateCertificate.go.html to see an example of how to use 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
}

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

UpdateCertificateResponse wrapper for the UpdateCertificate operation

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"`
}

func (UpdateCertificateResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateCertificateResponse) String

func (response UpdateCertificateResponse) String() string

type UpdateRootCaByGeneratingInternallyConfigDetails

UpdateRootCaByGeneratingInternallyConfigDetails The details for updating a private root certificate authority (CA). Note: This operation automatically rotates the private key.

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"`
}

func (UpdateRootCaByGeneratingInternallyConfigDetails) GetStage

func (m UpdateRootCaByGeneratingInternallyConfigDetails) GetStage() UpdateCertificateAuthorityConfigDetailsStageEnum

GetStage returns Stage

func (UpdateRootCaByGeneratingInternallyConfigDetails) GetVersionName

func (m UpdateRootCaByGeneratingInternallyConfigDetails) GetVersionName() *string

GetVersionName returns VersionName

func (UpdateRootCaByGeneratingInternallyConfigDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateRootCaByGeneratingInternallyConfigDetails) String

func (m UpdateRootCaByGeneratingInternallyConfigDetails) String() string

func (UpdateRootCaByGeneratingInternallyConfigDetails) ValidateEnumValue

func (m UpdateRootCaByGeneratingInternallyConfigDetails) 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 UpdateSubordinateCaIssuedByInternalCaConfigDetails

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.

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"`
}

func (UpdateSubordinateCaIssuedByInternalCaConfigDetails) GetStage

func (m UpdateSubordinateCaIssuedByInternalCaConfigDetails) GetStage() UpdateCertificateAuthorityConfigDetailsStageEnum

GetStage returns Stage

func (UpdateSubordinateCaIssuedByInternalCaConfigDetails) GetVersionName

func (m UpdateSubordinateCaIssuedByInternalCaConfigDetails) GetVersionName() *string

GetVersionName returns VersionName

func (UpdateSubordinateCaIssuedByInternalCaConfigDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateSubordinateCaIssuedByInternalCaConfigDetails) String

func (m UpdateSubordinateCaIssuedByInternalCaConfigDetails) String() string

func (UpdateSubordinateCaIssuedByInternalCaConfigDetails) ValidateEnumValue

func (m UpdateSubordinateCaIssuedByInternalCaConfigDetails) 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 Validity

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.

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"`
}

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

VersionStageEnum Enum with underlying type: string

type VersionStageEnum string

Set of constants representing the allowable values for VersionStageEnum

const (
    VersionStageCurrent    VersionStageEnum = "CURRENT"
    VersionStagePending    VersionStageEnum = "PENDING"
    VersionStageLatest     VersionStageEnum = "LATEST"
    VersionStagePrevious   VersionStageEnum = "PREVIOUS"
    VersionStageDeprecated VersionStageEnum = "DEPRECATED"
    VersionStageFailed     VersionStageEnum = "FAILED"
)

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