Documentation ¶
Index ¶
- func GetCertificateBundleCertificateBundleTypeEnumStringValues() []string
- func GetGetCertificateAuthorityBundleStageEnumStringValues() []string
- func GetGetCertificateBundleCertificateBundleTypeEnumStringValues() []string
- func GetGetCertificateBundleStageEnumStringValues() []string
- func GetListCertificateAuthorityBundleVersionsSortByEnumStringValues() []string
- func GetListCertificateAuthorityBundleVersionsSortOrderEnumStringValues() []string
- func GetListCertificateBundleVersionsSortByEnumStringValues() []string
- func GetListCertificateBundleVersionsSortOrderEnumStringValues() []string
- func GetRevocationReasonEnumStringValues() []string
- func GetVersionStageEnumStringValues() []string
- type CaBundle
- type CertificateAuthorityBundle
- type CertificateAuthorityBundleVersionCollection
- type CertificateAuthorityBundleVersionSummary
- type CertificateBundle
- type CertificateBundleCertificateBundleTypeEnum
- type CertificateBundlePublicOnly
- func (m CertificateBundlePublicOnly) GetCertChainPem() *string
- func (m CertificateBundlePublicOnly) GetCertificateId() *string
- func (m CertificateBundlePublicOnly) GetCertificateName() *string
- func (m CertificateBundlePublicOnly) GetCertificatePem() *string
- func (m CertificateBundlePublicOnly) GetRevocationStatus() *RevocationStatus
- func (m CertificateBundlePublicOnly) GetSerialNumber() *string
- func (m CertificateBundlePublicOnly) GetStages() []VersionStageEnum
- func (m CertificateBundlePublicOnly) GetTimeCreated() *common.SDKTime
- func (m CertificateBundlePublicOnly) GetValidity() *Validity
- func (m CertificateBundlePublicOnly) GetVersionName() *string
- func (m CertificateBundlePublicOnly) GetVersionNumber() *int64
- func (m CertificateBundlePublicOnly) MarshalJSON() (buff []byte, e error)
- func (m CertificateBundlePublicOnly) String() string
- func (m CertificateBundlePublicOnly) ValidateEnumValue() (bool, error)
- type CertificateBundleVersionCollection
- type CertificateBundleVersionSummary
- type CertificateBundleWithPrivateKey
- func (m CertificateBundleWithPrivateKey) GetCertChainPem() *string
- func (m CertificateBundleWithPrivateKey) GetCertificateId() *string
- func (m CertificateBundleWithPrivateKey) GetCertificateName() *string
- func (m CertificateBundleWithPrivateKey) GetCertificatePem() *string
- func (m CertificateBundleWithPrivateKey) GetRevocationStatus() *RevocationStatus
- func (m CertificateBundleWithPrivateKey) GetSerialNumber() *string
- func (m CertificateBundleWithPrivateKey) GetStages() []VersionStageEnum
- func (m CertificateBundleWithPrivateKey) GetTimeCreated() *common.SDKTime
- func (m CertificateBundleWithPrivateKey) GetValidity() *Validity
- func (m CertificateBundleWithPrivateKey) GetVersionName() *string
- func (m CertificateBundleWithPrivateKey) GetVersionNumber() *int64
- func (m CertificateBundleWithPrivateKey) MarshalJSON() (buff []byte, e error)
- func (m CertificateBundleWithPrivateKey) String() string
- func (m CertificateBundleWithPrivateKey) ValidateEnumValue() (bool, error)
- type CertificatesClient
- func (client *CertificatesClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client CertificatesClient) GetCaBundle(ctx context.Context, request GetCaBundleRequest) (response GetCaBundleResponse, err error)
- func (client CertificatesClient) GetCertificateAuthorityBundle(ctx context.Context, request GetCertificateAuthorityBundleRequest) (response GetCertificateAuthorityBundleResponse, err error)
- func (client CertificatesClient) GetCertificateBundle(ctx context.Context, request GetCertificateBundleRequest) (response GetCertificateBundleResponse, err error)
- func (client CertificatesClient) ListCertificateAuthorityBundleVersions(ctx context.Context, request ListCertificateAuthorityBundleVersionsRequest) (response ListCertificateAuthorityBundleVersionsResponse, err error)
- func (client CertificatesClient) ListCertificateBundleVersions(ctx context.Context, request ListCertificateBundleVersionsRequest) (response ListCertificateBundleVersionsResponse, err error)
- func (client *CertificatesClient) SetRegion(region string)
- type GetCaBundleRequest
- func (request GetCaBundleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetCaBundleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetCaBundleRequest) RetryPolicy() *common.RetryPolicy
- func (request GetCaBundleRequest) String() string
- func (request GetCaBundleRequest) ValidateEnumValue() (bool, error)
- type GetCaBundleResponse
- type GetCertificateAuthorityBundleRequest
- func (request GetCertificateAuthorityBundleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetCertificateAuthorityBundleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetCertificateAuthorityBundleRequest) RetryPolicy() *common.RetryPolicy
- func (request GetCertificateAuthorityBundleRequest) String() string
- func (request GetCertificateAuthorityBundleRequest) ValidateEnumValue() (bool, error)
- type GetCertificateAuthorityBundleResponse
- type GetCertificateAuthorityBundleStageEnum
- type GetCertificateBundleCertificateBundleTypeEnum
- type GetCertificateBundleRequest
- func (request GetCertificateBundleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetCertificateBundleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetCertificateBundleRequest) RetryPolicy() *common.RetryPolicy
- func (request GetCertificateBundleRequest) String() string
- func (request GetCertificateBundleRequest) ValidateEnumValue() (bool, error)
- type GetCertificateBundleResponse
- type GetCertificateBundleStageEnum
- type ListCertificateAuthorityBundleVersionsRequest
- func (request ListCertificateAuthorityBundleVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListCertificateAuthorityBundleVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListCertificateAuthorityBundleVersionsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListCertificateAuthorityBundleVersionsRequest) String() string
- func (request ListCertificateAuthorityBundleVersionsRequest) ValidateEnumValue() (bool, error)
- type ListCertificateAuthorityBundleVersionsResponse
- type ListCertificateAuthorityBundleVersionsSortByEnum
- type ListCertificateAuthorityBundleVersionsSortOrderEnum
- type ListCertificateBundleVersionsRequest
- func (request ListCertificateBundleVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListCertificateBundleVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListCertificateBundleVersionsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListCertificateBundleVersionsRequest) String() string
- func (request ListCertificateBundleVersionsRequest) ValidateEnumValue() (bool, error)
- type ListCertificateBundleVersionsResponse
- type ListCertificateBundleVersionsSortByEnum
- type ListCertificateBundleVersionsSortOrderEnum
- type RevocationReasonEnum
- type RevocationStatus
- type Validity
- type VersionStageEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCertificateBundleCertificateBundleTypeEnumStringValues ¶
func GetCertificateBundleCertificateBundleTypeEnumStringValues() []string
GetCertificateBundleCertificateBundleTypeEnumStringValues Enumerates the set of values in String for CertificateBundleCertificateBundleTypeEnum
func GetGetCertificateAuthorityBundleStageEnumStringValues ¶
func GetGetCertificateAuthorityBundleStageEnumStringValues() []string
GetGetCertificateAuthorityBundleStageEnumStringValues Enumerates the set of values in String for GetCertificateAuthorityBundleStageEnum
func GetGetCertificateBundleCertificateBundleTypeEnumStringValues ¶
func GetGetCertificateBundleCertificateBundleTypeEnumStringValues() []string
GetGetCertificateBundleCertificateBundleTypeEnumStringValues Enumerates the set of values in String for GetCertificateBundleCertificateBundleTypeEnum
func GetGetCertificateBundleStageEnumStringValues ¶
func GetGetCertificateBundleStageEnumStringValues() []string
GetGetCertificateBundleStageEnumStringValues Enumerates the set of values in String for GetCertificateBundleStageEnum
func GetListCertificateAuthorityBundleVersionsSortByEnumStringValues ¶
func GetListCertificateAuthorityBundleVersionsSortByEnumStringValues() []string
GetListCertificateAuthorityBundleVersionsSortByEnumStringValues Enumerates the set of values in String for ListCertificateAuthorityBundleVersionsSortByEnum
func GetListCertificateAuthorityBundleVersionsSortOrderEnumStringValues ¶
func GetListCertificateAuthorityBundleVersionsSortOrderEnumStringValues() []string
GetListCertificateAuthorityBundleVersionsSortOrderEnumStringValues Enumerates the set of values in String for ListCertificateAuthorityBundleVersionsSortOrderEnum
func GetListCertificateBundleVersionsSortByEnumStringValues ¶
func GetListCertificateBundleVersionsSortByEnumStringValues() []string
GetListCertificateBundleVersionsSortByEnumStringValues Enumerates the set of values in String for ListCertificateBundleVersionsSortByEnum
func GetListCertificateBundleVersionsSortOrderEnumStringValues ¶
func GetListCertificateBundleVersionsSortOrderEnumStringValues() []string
GetListCertificateBundleVersionsSortOrderEnumStringValues Enumerates the set of values in String for ListCertificateBundleVersionsSortOrderEnum
func GetRevocationReasonEnumStringValues ¶
func GetRevocationReasonEnumStringValues() []string
GetRevocationReasonEnumStringValues Enumerates the set of values in String for RevocationReasonEnum
func GetVersionStageEnumStringValues ¶
func GetVersionStageEnumStringValues() []string
GetVersionStageEnumStringValues Enumerates the set of values in String for VersionStageEnum
Types ¶
type CaBundle ¶
type CaBundle struct { // The OCID of the CA bundle. Id *string `mandatory:"true" json:"id"` // A user-friendly name for the CA bundle. Names are unique within a compartment. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods. Name *string `mandatory:"true" json:"name"` // Certificates (in PEM format) in the CA bundle. Can be of arbitrary length. CaBundlePem *string `mandatory:"true" json:"caBundlePem"` }
CaBundle The contents of the CA bundle (root and intermediate certificates), properties of the CA bundle, and user-provided contextual metadata for the CA bundle.
func (CaBundle) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CertificateAuthorityBundle ¶
type CertificateAuthorityBundle struct { // The OCID of the certificate authority (CA). CertificateAuthorityId *string `mandatory:"true" json:"certificateAuthorityId"` // The name of the CA. CertificateAuthorityName *string `mandatory:"true" json:"certificateAuthorityName"` // 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:"true" json:"serialNumber"` // The certificate (in PEM format) for this CA version. CertificatePem *string `mandatory:"true" json:"certificatePem"` // 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 version number of the CA. VersionNumber *int64 `mandatory:"true" json:"versionNumber"` Validity *Validity `mandatory:"true" json:"validity"` // A list of rotation states for this CA. Stages []VersionStageEnum `mandatory:"true" json:"stages"` // The certificate chain (in PEM format) for this CA version. CertChainPem *string `mandatory:"false" json:"certChainPem"` // The name of the CA. VersionName *string `mandatory:"false" json:"versionName"` RevocationStatus *RevocationStatus `mandatory:"false" json:"revocationStatus"` }
CertificateAuthorityBundle The contents of the certificate, properties of the certificate (and certificate version), and user-provided contextual metadata for the certificate.
func (CertificateAuthorityBundle) String ¶
func (m CertificateAuthorityBundle) String() string
func (CertificateAuthorityBundle) ValidateEnumValue ¶
func (m CertificateAuthorityBundle) 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 CertificateAuthorityBundleVersionCollection ¶
type CertificateAuthorityBundleVersionCollection struct { // A list of CA version summary objects. Items []CertificateAuthorityBundleVersionSummary `mandatory:"true" json:"items"` }
CertificateAuthorityBundleVersionCollection The results of a certificate authority (CA) version search. Results contain CA version summary objects and other data.
func (CertificateAuthorityBundleVersionCollection) String ¶
func (m CertificateAuthorityBundleVersionCollection) String() string
func (CertificateAuthorityBundleVersionCollection) ValidateEnumValue ¶
func (m CertificateAuthorityBundleVersionCollection) 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 CertificateAuthorityBundleVersionSummary ¶
type CertificateAuthorityBundleVersionSummary struct { // The OCID of the certificate authority (CA). CertificateAuthorityId *string `mandatory:"true" json:"certificateAuthorityId"` // An 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"` // The name of the CA. CertificateAuthorityName *string `mandatory:"true" json:"certificateAuthorityName"` // 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 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"` }
CertificateAuthorityBundleVersionSummary The properties of a version of a bundle for a certificate authority (CA). Certificate authority bundle version summary objects do not include the actual contents of the certificate.
func (CertificateAuthorityBundleVersionSummary) String ¶
func (m CertificateAuthorityBundleVersionSummary) String() string
func (CertificateAuthorityBundleVersionSummary) ValidateEnumValue ¶
func (m CertificateAuthorityBundleVersionSummary) 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 CertificateBundle ¶
type CertificateBundle interface { // The OCID of the certificate. GetCertificateId() *string // The name of the certificate. GetCertificateName() *string // The version number of the certificate. GetVersionNumber() *int64 // 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` GetSerialNumber() *string // An 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` GetTimeCreated() *common.SDKTime GetValidity() *Validity // A list of rotation states for the certificate bundle. GetStages() []VersionStageEnum // The certificate in PEM format. GetCertificatePem() *string // The certificate chain (in PEM format) for the certificate bundle. GetCertChainPem() *string // The name of the certificate version. GetVersionName() *string GetRevocationStatus() *RevocationStatus }
CertificateBundle The contents of the certificate, properties of the certificate (and certificate version), and user-provided contextual metadata for the certificate.
type CertificateBundleCertificateBundleTypeEnum ¶
type CertificateBundleCertificateBundleTypeEnum string
CertificateBundleCertificateBundleTypeEnum Enum with underlying type: string
const ( CertificateBundleCertificateBundleTypePublicOnly CertificateBundleCertificateBundleTypeEnum = "CERTIFICATE_CONTENT_PUBLIC_ONLY" CertificateBundleCertificateBundleTypeWithPrivateKey CertificateBundleCertificateBundleTypeEnum = "CERTIFICATE_CONTENT_WITH_PRIVATE_KEY" )
Set of constants representing the allowable values for CertificateBundleCertificateBundleTypeEnum
func GetCertificateBundleCertificateBundleTypeEnumValues ¶
func GetCertificateBundleCertificateBundleTypeEnumValues() []CertificateBundleCertificateBundleTypeEnum
GetCertificateBundleCertificateBundleTypeEnumValues Enumerates the set of values for CertificateBundleCertificateBundleTypeEnum
func GetMappingCertificateBundleCertificateBundleTypeEnum ¶
func GetMappingCertificateBundleCertificateBundleTypeEnum(val string) (CertificateBundleCertificateBundleTypeEnum, bool)
GetMappingCertificateBundleCertificateBundleTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type CertificateBundlePublicOnly ¶
type CertificateBundlePublicOnly struct { // The OCID of the certificate. CertificateId *string `mandatory:"true" json:"certificateId"` // The name of the certificate. CertificateName *string `mandatory:"true" json:"certificateName"` // The version number of the certificate. VersionNumber *int64 `mandatory:"true" json:"versionNumber"` // 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:"true" json:"serialNumber"` // An 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"` Validity *Validity `mandatory:"true" json:"validity"` // The certificate in PEM format. CertificatePem *string `mandatory:"false" json:"certificatePem"` // The certificate chain (in PEM format) for the certificate bundle. CertChainPem *string `mandatory:"false" json:"certChainPem"` // The name of the certificate version. VersionName *string `mandatory:"false" json:"versionName"` RevocationStatus *RevocationStatus `mandatory:"false" json:"revocationStatus"` // A list of rotation states for the certificate bundle. Stages []VersionStageEnum `mandatory:"true" json:"stages"` }
CertificateBundlePublicOnly A certificate bundle, not including the private key.
func (CertificateBundlePublicOnly) GetCertChainPem ¶
func (m CertificateBundlePublicOnly) GetCertChainPem() *string
GetCertChainPem returns CertChainPem
func (CertificateBundlePublicOnly) GetCertificateId ¶
func (m CertificateBundlePublicOnly) GetCertificateId() *string
GetCertificateId returns CertificateId
func (CertificateBundlePublicOnly) GetCertificateName ¶
func (m CertificateBundlePublicOnly) GetCertificateName() *string
GetCertificateName returns CertificateName
func (CertificateBundlePublicOnly) GetCertificatePem ¶
func (m CertificateBundlePublicOnly) GetCertificatePem() *string
GetCertificatePem returns CertificatePem
func (CertificateBundlePublicOnly) GetRevocationStatus ¶
func (m CertificateBundlePublicOnly) GetRevocationStatus() *RevocationStatus
GetRevocationStatus returns RevocationStatus
func (CertificateBundlePublicOnly) GetSerialNumber ¶
func (m CertificateBundlePublicOnly) GetSerialNumber() *string
GetSerialNumber returns SerialNumber
func (CertificateBundlePublicOnly) GetStages ¶
func (m CertificateBundlePublicOnly) GetStages() []VersionStageEnum
GetStages returns Stages
func (CertificateBundlePublicOnly) GetTimeCreated ¶
func (m CertificateBundlePublicOnly) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (CertificateBundlePublicOnly) GetValidity ¶
func (m CertificateBundlePublicOnly) GetValidity() *Validity
GetValidity returns Validity
func (CertificateBundlePublicOnly) GetVersionName ¶
func (m CertificateBundlePublicOnly) GetVersionName() *string
GetVersionName returns VersionName
func (CertificateBundlePublicOnly) GetVersionNumber ¶
func (m CertificateBundlePublicOnly) GetVersionNumber() *int64
GetVersionNumber returns VersionNumber
func (CertificateBundlePublicOnly) MarshalJSON ¶
func (m CertificateBundlePublicOnly) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CertificateBundlePublicOnly) String ¶
func (m CertificateBundlePublicOnly) String() string
func (CertificateBundlePublicOnly) ValidateEnumValue ¶
func (m CertificateBundlePublicOnly) 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 CertificateBundleVersionCollection ¶
type CertificateBundleVersionCollection struct { // A list of certificate bundle version summary objects. Items []CertificateBundleVersionSummary `mandatory:"true" json:"items"` }
CertificateBundleVersionCollection The results of a certificate bundle versions search. Results contain certificate bundle version summary objects.
func (CertificateBundleVersionCollection) String ¶
func (m CertificateBundleVersionCollection) String() string
func (CertificateBundleVersionCollection) ValidateEnumValue ¶
func (m CertificateBundleVersionCollection) 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 CertificateBundleVersionSummary ¶
type CertificateBundleVersionSummary struct { // The OCID of the certificate. CertificateId *string `mandatory:"true" json:"certificateId"` // The name of the certificate. CertificateName *string `mandatory:"true" json:"certificateName"` // The version number of the certificate. VersionNumber *int64 `mandatory:"true" json:"versionNumber"` // An 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"` // A list of rotation states for this certificate bundle 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 name of the certificate version. VersionName *string `mandatory:"false" json:"versionName"` Validity *Validity `mandatory:"false" json:"validity"` // 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"` RevocationStatus *RevocationStatus `mandatory:"false" json:"revocationStatus"` }
CertificateBundleVersionSummary The properties of the certificate bundle. Certificate bundle version summary objects do not include the actual contents of the certificate.
func (CertificateBundleVersionSummary) String ¶
func (m CertificateBundleVersionSummary) String() string
func (CertificateBundleVersionSummary) ValidateEnumValue ¶
func (m CertificateBundleVersionSummary) 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 CertificateBundleWithPrivateKey ¶
type CertificateBundleWithPrivateKey struct { // The OCID of the certificate. CertificateId *string `mandatory:"true" json:"certificateId"` // The name of the certificate. CertificateName *string `mandatory:"true" json:"certificateName"` // The version number of the certificate. VersionNumber *int64 `mandatory:"true" json:"versionNumber"` // 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:"true" json:"serialNumber"` // An 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"` Validity *Validity `mandatory:"true" json:"validity"` // The private key (in PEM format) for the certificate. PrivateKeyPem *string `mandatory:"true" json:"privateKeyPem"` // The certificate in PEM format. CertificatePem *string `mandatory:"false" json:"certificatePem"` // The certificate chain (in PEM format) for the certificate bundle. CertChainPem *string `mandatory:"false" json:"certChainPem"` // The name of the certificate version. VersionName *string `mandatory:"false" json:"versionName"` RevocationStatus *RevocationStatus `mandatory:"false" json:"revocationStatus"` // An optional passphrase for the private key. PrivateKeyPemPassphrase *string `mandatory:"false" json:"privateKeyPemPassphrase"` // A list of rotation states for the certificate bundle. Stages []VersionStageEnum `mandatory:"true" json:"stages"` }
CertificateBundleWithPrivateKey A certificate bundle, including the private key.
func (CertificateBundleWithPrivateKey) GetCertChainPem ¶
func (m CertificateBundleWithPrivateKey) GetCertChainPem() *string
GetCertChainPem returns CertChainPem
func (CertificateBundleWithPrivateKey) GetCertificateId ¶
func (m CertificateBundleWithPrivateKey) GetCertificateId() *string
GetCertificateId returns CertificateId
func (CertificateBundleWithPrivateKey) GetCertificateName ¶
func (m CertificateBundleWithPrivateKey) GetCertificateName() *string
GetCertificateName returns CertificateName
func (CertificateBundleWithPrivateKey) GetCertificatePem ¶
func (m CertificateBundleWithPrivateKey) GetCertificatePem() *string
GetCertificatePem returns CertificatePem
func (CertificateBundleWithPrivateKey) GetRevocationStatus ¶
func (m CertificateBundleWithPrivateKey) GetRevocationStatus() *RevocationStatus
GetRevocationStatus returns RevocationStatus
func (CertificateBundleWithPrivateKey) GetSerialNumber ¶
func (m CertificateBundleWithPrivateKey) GetSerialNumber() *string
GetSerialNumber returns SerialNumber
func (CertificateBundleWithPrivateKey) GetStages ¶
func (m CertificateBundleWithPrivateKey) GetStages() []VersionStageEnum
GetStages returns Stages
func (CertificateBundleWithPrivateKey) GetTimeCreated ¶
func (m CertificateBundleWithPrivateKey) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (CertificateBundleWithPrivateKey) GetValidity ¶
func (m CertificateBundleWithPrivateKey) GetValidity() *Validity
GetValidity returns Validity
func (CertificateBundleWithPrivateKey) GetVersionName ¶
func (m CertificateBundleWithPrivateKey) GetVersionName() *string
GetVersionName returns VersionName
func (CertificateBundleWithPrivateKey) GetVersionNumber ¶
func (m CertificateBundleWithPrivateKey) GetVersionNumber() *int64
GetVersionNumber returns VersionNumber
func (CertificateBundleWithPrivateKey) MarshalJSON ¶
func (m CertificateBundleWithPrivateKey) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CertificateBundleWithPrivateKey) String ¶
func (m CertificateBundleWithPrivateKey) String() string
func (CertificateBundleWithPrivateKey) ValidateEnumValue ¶
func (m CertificateBundleWithPrivateKey) 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 CertificatesClient ¶
type CertificatesClient struct { common.BaseClient // contains filtered or unexported fields }
CertificatesClient a client for Certificates
func NewCertificatesClientWithConfigurationProvider ¶
func NewCertificatesClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CertificatesClient, err error)
NewCertificatesClientWithConfigurationProvider Creates a new default Certificates client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewCertificatesClientWithOboToken ¶
func NewCertificatesClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CertificatesClient, err error)
NewCertificatesClientWithOboToken Creates a new default Certificates 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 (*CertificatesClient) ConfigurationProvider ¶
func (client *CertificatesClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (CertificatesClient) GetCaBundle ¶
func (client CertificatesClient) GetCaBundle(ctx context.Context, request GetCaBundleRequest) (response GetCaBundleResponse, err error)
GetCaBundle Gets a ca-bundle bundle.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificates/GetCaBundle.go.html to see an example of how to use GetCaBundle API.
func (CertificatesClient) GetCertificateAuthorityBundle ¶
func (client CertificatesClient) GetCertificateAuthorityBundle(ctx context.Context, request GetCertificateAuthorityBundleRequest) (response GetCertificateAuthorityBundleResponse, err error)
GetCertificateAuthorityBundle Gets a certificate authority bundle that matches either the specified `stage`, `name`, or `versionNumber` parameter. If none of these parameters are provided, the bundle for the certificate authority version marked as `CURRENT` will be returned.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificates/GetCertificateAuthorityBundle.go.html to see an example of how to use GetCertificateAuthorityBundle API.
func (CertificatesClient) GetCertificateBundle ¶
func (client CertificatesClient) GetCertificateBundle(ctx context.Context, request GetCertificateBundleRequest) (response GetCertificateBundleResponse, err error)
GetCertificateBundle Gets a certificate bundle that matches either the specified `stage`, `versionName`, or `versionNumber` parameter. If none of these parameters are provided, the bundle for the certificate version marked as `CURRENT` will be returned. By default, the private key is not included in the query result, and a CertificateBundlePublicOnly is returned. If the private key is needed, use the CertificateBundleTypeQueryParam parameter to get a CertificateBundleWithPrivateKey response.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificates/GetCertificateBundle.go.html to see an example of how to use GetCertificateBundle API.
func (CertificatesClient) ListCertificateAuthorityBundleVersions ¶
func (client CertificatesClient) ListCertificateAuthorityBundleVersions(ctx context.Context, request ListCertificateAuthorityBundleVersionsRequest) (response ListCertificateAuthorityBundleVersionsResponse, err error)
ListCertificateAuthorityBundleVersions Lists all certificate authority bundle versions for the specified certificate authority.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificates/ListCertificateAuthorityBundleVersions.go.html to see an example of how to use ListCertificateAuthorityBundleVersions API.
func (CertificatesClient) ListCertificateBundleVersions ¶
func (client CertificatesClient) ListCertificateBundleVersions(ctx context.Context, request ListCertificateBundleVersionsRequest) (response ListCertificateBundleVersionsResponse, err error)
ListCertificateBundleVersions Lists all certificate bundle versions for the specified certificate.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificates/ListCertificateBundleVersions.go.html to see an example of how to use ListCertificateBundleVersions API.
func (*CertificatesClient) SetRegion ¶
func (client *CertificatesClient) SetRegion(region string)
SetRegion overrides the region of this client.
type GetCaBundleRequest ¶
type GetCaBundleRequest struct { // The OCID of the CA bundle. CaBundleId *string `mandatory:"true" contributesTo:"path" name:"caBundleId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, // please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetCaBundleRequest wrapper for the GetCaBundle operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificates/GetCaBundle.go.html to see an example of how to use GetCaBundleRequest.
func (GetCaBundleRequest) BinaryRequestBody ¶
func (request GetCaBundleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetCaBundleRequest) HTTPRequest ¶
func (request GetCaBundleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetCaBundleRequest) RetryPolicy ¶
func (request GetCaBundleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetCaBundleRequest) String ¶
func (request GetCaBundleRequest) String() string
func (GetCaBundleRequest) ValidateEnumValue ¶
func (request GetCaBundleRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetCaBundleResponse ¶
type GetCaBundleResponse struct { // The underlying http response RawResponse *http.Response // The CaBundle instance CaBundle `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetCaBundleResponse wrapper for the GetCaBundle operation
func (GetCaBundleResponse) HTTPResponse ¶
func (response GetCaBundleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetCaBundleResponse) String ¶
func (response GetCaBundleResponse) String() string
type GetCertificateAuthorityBundleRequest ¶
type GetCertificateAuthorityBundleRequest struct { // The OCID of the certificate authority (CA). CertificateAuthorityId *string `mandatory:"true" contributesTo:"path" name:"certificateAuthorityId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, // please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The version number of the certificate authority (CA). VersionNumber *int64 `mandatory:"false" contributesTo:"query" name:"versionNumber"` // The name of the certificate authority (CA). (This might be referred to as the name of the CA version, as every CA consists of at least one version.) Names are unique across versions of a given CA. CertificateAuthorityVersionName *string `mandatory:"false" contributesTo:"query" name:"certificateAuthorityVersionName"` // The rotation state of the certificate version. Stage GetCertificateAuthorityBundleStageEnum `mandatory:"false" contributesTo:"query" name:"stage" 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 }
GetCertificateAuthorityBundleRequest wrapper for the GetCertificateAuthorityBundle operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificates/GetCertificateAuthorityBundle.go.html to see an example of how to use GetCertificateAuthorityBundleRequest.
func (GetCertificateAuthorityBundleRequest) BinaryRequestBody ¶
func (request GetCertificateAuthorityBundleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetCertificateAuthorityBundleRequest) HTTPRequest ¶
func (request GetCertificateAuthorityBundleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetCertificateAuthorityBundleRequest) RetryPolicy ¶
func (request GetCertificateAuthorityBundleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetCertificateAuthorityBundleRequest) String ¶
func (request GetCertificateAuthorityBundleRequest) String() string
func (GetCertificateAuthorityBundleRequest) ValidateEnumValue ¶
func (request GetCertificateAuthorityBundleRequest) 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 GetCertificateAuthorityBundleResponse ¶
type GetCertificateAuthorityBundleResponse struct { // The underlying http response RawResponse *http.Response // The CertificateAuthorityBundle instance CertificateAuthorityBundle `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"` }
GetCertificateAuthorityBundleResponse wrapper for the GetCertificateAuthorityBundle operation
func (GetCertificateAuthorityBundleResponse) HTTPResponse ¶
func (response GetCertificateAuthorityBundleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetCertificateAuthorityBundleResponse) String ¶
func (response GetCertificateAuthorityBundleResponse) String() string
type GetCertificateAuthorityBundleStageEnum ¶
type GetCertificateAuthorityBundleStageEnum string
GetCertificateAuthorityBundleStageEnum Enum with underlying type: string
const ( GetCertificateAuthorityBundleStageCurrent GetCertificateAuthorityBundleStageEnum = "CURRENT" GetCertificateAuthorityBundleStagePending GetCertificateAuthorityBundleStageEnum = "PENDING" GetCertificateAuthorityBundleStageLatest GetCertificateAuthorityBundleStageEnum = "LATEST" GetCertificateAuthorityBundleStagePrevious GetCertificateAuthorityBundleStageEnum = "PREVIOUS" GetCertificateAuthorityBundleStageDeprecated GetCertificateAuthorityBundleStageEnum = "DEPRECATED" )
Set of constants representing the allowable values for GetCertificateAuthorityBundleStageEnum
func GetGetCertificateAuthorityBundleStageEnumValues ¶
func GetGetCertificateAuthorityBundleStageEnumValues() []GetCertificateAuthorityBundleStageEnum
GetGetCertificateAuthorityBundleStageEnumValues Enumerates the set of values for GetCertificateAuthorityBundleStageEnum
func GetMappingGetCertificateAuthorityBundleStageEnum ¶
func GetMappingGetCertificateAuthorityBundleStageEnum(val string) (GetCertificateAuthorityBundleStageEnum, bool)
GetMappingGetCertificateAuthorityBundleStageEnum performs case Insensitive comparison on enum value and return the desired enum
type GetCertificateBundleCertificateBundleTypeEnum ¶
type GetCertificateBundleCertificateBundleTypeEnum string
GetCertificateBundleCertificateBundleTypeEnum Enum with underlying type: string
const ( GetCertificateBundleCertificateBundleTypePublicOnly GetCertificateBundleCertificateBundleTypeEnum = "CERTIFICATE_CONTENT_PUBLIC_ONLY" GetCertificateBundleCertificateBundleTypeWithPrivateKey GetCertificateBundleCertificateBundleTypeEnum = "CERTIFICATE_CONTENT_WITH_PRIVATE_KEY" )
Set of constants representing the allowable values for GetCertificateBundleCertificateBundleTypeEnum
func GetGetCertificateBundleCertificateBundleTypeEnumValues ¶
func GetGetCertificateBundleCertificateBundleTypeEnumValues() []GetCertificateBundleCertificateBundleTypeEnum
GetGetCertificateBundleCertificateBundleTypeEnumValues Enumerates the set of values for GetCertificateBundleCertificateBundleTypeEnum
func GetMappingGetCertificateBundleCertificateBundleTypeEnum ¶
func GetMappingGetCertificateBundleCertificateBundleTypeEnum(val string) (GetCertificateBundleCertificateBundleTypeEnum, bool)
GetMappingGetCertificateBundleCertificateBundleTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type GetCertificateBundleRequest ¶
type GetCertificateBundleRequest struct { // The OCID of the certificate. CertificateId *string `mandatory:"true" contributesTo:"path" name:"certificateId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, // please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The version number of the certificate. The default value is 0, which means that this query parameter is ignored. VersionNumber *int64 `mandatory:"false" contributesTo:"query" name:"versionNumber"` // The name of the certificate. (This might be referred to as the name of the certificate version, as every certificate consists of at least one version.) Names are unique across versions of a given certificate. CertificateVersionName *string `mandatory:"false" contributesTo:"query" name:"certificateVersionName"` // The rotation state of the certificate version. Stage GetCertificateBundleStageEnum `mandatory:"false" contributesTo:"query" name:"stage" omitEmpty:"true"` // The type of certificate bundle. By default, the private key fields are not returned. When querying for certificate bundles, to return results with certificate contents, the private key in PEM format, and the private key passphrase, specify the value of this parameter as `CERTIFICATE_CONTENT_WITH_PRIVATE_KEY`. CertificateBundleType GetCertificateBundleCertificateBundleTypeEnum `mandatory:"false" contributesTo:"query" name:"certificateBundleType" 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 }
GetCertificateBundleRequest wrapper for the GetCertificateBundle operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificates/GetCertificateBundle.go.html to see an example of how to use GetCertificateBundleRequest.
func (GetCertificateBundleRequest) BinaryRequestBody ¶
func (request GetCertificateBundleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetCertificateBundleRequest) HTTPRequest ¶
func (request GetCertificateBundleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetCertificateBundleRequest) RetryPolicy ¶
func (request GetCertificateBundleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetCertificateBundleRequest) String ¶
func (request GetCertificateBundleRequest) String() string
func (GetCertificateBundleRequest) ValidateEnumValue ¶
func (request GetCertificateBundleRequest) 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 GetCertificateBundleResponse ¶
type GetCertificateBundleResponse struct { // The underlying http response RawResponse *http.Response // The CertificateBundle instance CertificateBundle `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"` }
GetCertificateBundleResponse wrapper for the GetCertificateBundle operation
func (GetCertificateBundleResponse) HTTPResponse ¶
func (response GetCertificateBundleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetCertificateBundleResponse) String ¶
func (response GetCertificateBundleResponse) String() string
type GetCertificateBundleStageEnum ¶
type GetCertificateBundleStageEnum string
GetCertificateBundleStageEnum Enum with underlying type: string
const ( GetCertificateBundleStageCurrent GetCertificateBundleStageEnum = "CURRENT" GetCertificateBundleStagePending GetCertificateBundleStageEnum = "PENDING" GetCertificateBundleStageLatest GetCertificateBundleStageEnum = "LATEST" GetCertificateBundleStagePrevious GetCertificateBundleStageEnum = "PREVIOUS" GetCertificateBundleStageDeprecated GetCertificateBundleStageEnum = "DEPRECATED" )
Set of constants representing the allowable values for GetCertificateBundleStageEnum
func GetGetCertificateBundleStageEnumValues ¶
func GetGetCertificateBundleStageEnumValues() []GetCertificateBundleStageEnum
GetGetCertificateBundleStageEnumValues Enumerates the set of values for GetCertificateBundleStageEnum
func GetMappingGetCertificateBundleStageEnum ¶
func GetMappingGetCertificateBundleStageEnum(val string) (GetCertificateBundleStageEnum, bool)
GetMappingGetCertificateBundleStageEnum performs case Insensitive comparison on enum value and return the desired enum
type ListCertificateAuthorityBundleVersionsRequest ¶
type ListCertificateAuthorityBundleVersionsRequest struct { // The OCID of the certificate authority (CA). CertificateAuthorityId *string `mandatory:"true" contributesTo:"path" name:"certificateAuthorityId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, // please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The field to sort by. You can specify only one sort order. The default // order for `VERSION_NUMBER` is ascending. SortBy ListCertificateAuthorityBundleVersionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListCertificateAuthorityBundleVersionsSortOrderEnum `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 }
ListCertificateAuthorityBundleVersionsRequest wrapper for the ListCertificateAuthorityBundleVersions operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificates/ListCertificateAuthorityBundleVersions.go.html to see an example of how to use ListCertificateAuthorityBundleVersionsRequest.
func (ListCertificateAuthorityBundleVersionsRequest) BinaryRequestBody ¶
func (request ListCertificateAuthorityBundleVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListCertificateAuthorityBundleVersionsRequest) HTTPRequest ¶
func (request ListCertificateAuthorityBundleVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListCertificateAuthorityBundleVersionsRequest) RetryPolicy ¶
func (request ListCertificateAuthorityBundleVersionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListCertificateAuthorityBundleVersionsRequest) String ¶
func (request ListCertificateAuthorityBundleVersionsRequest) String() string
func (ListCertificateAuthorityBundleVersionsRequest) ValidateEnumValue ¶
func (request ListCertificateAuthorityBundleVersionsRequest) 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 ListCertificateAuthorityBundleVersionsResponse ¶
type ListCertificateAuthorityBundleVersionsResponse struct { // The underlying http response RawResponse *http.Response // The CertificateAuthorityBundleVersionCollection instance CertificateAuthorityBundleVersionCollection `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"` }
ListCertificateAuthorityBundleVersionsResponse wrapper for the ListCertificateAuthorityBundleVersions operation
func (ListCertificateAuthorityBundleVersionsResponse) HTTPResponse ¶
func (response ListCertificateAuthorityBundleVersionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListCertificateAuthorityBundleVersionsResponse) String ¶
func (response ListCertificateAuthorityBundleVersionsResponse) String() string
type ListCertificateAuthorityBundleVersionsSortByEnum ¶
type ListCertificateAuthorityBundleVersionsSortByEnum string
ListCertificateAuthorityBundleVersionsSortByEnum Enum with underlying type: string
const (
ListCertificateAuthorityBundleVersionsSortByVersionNumber ListCertificateAuthorityBundleVersionsSortByEnum = "VERSION_NUMBER"
)
Set of constants representing the allowable values for ListCertificateAuthorityBundleVersionsSortByEnum
func GetListCertificateAuthorityBundleVersionsSortByEnumValues ¶
func GetListCertificateAuthorityBundleVersionsSortByEnumValues() []ListCertificateAuthorityBundleVersionsSortByEnum
GetListCertificateAuthorityBundleVersionsSortByEnumValues Enumerates the set of values for ListCertificateAuthorityBundleVersionsSortByEnum
func GetMappingListCertificateAuthorityBundleVersionsSortByEnum ¶
func GetMappingListCertificateAuthorityBundleVersionsSortByEnum(val string) (ListCertificateAuthorityBundleVersionsSortByEnum, bool)
GetMappingListCertificateAuthorityBundleVersionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListCertificateAuthorityBundleVersionsSortOrderEnum ¶
type ListCertificateAuthorityBundleVersionsSortOrderEnum string
ListCertificateAuthorityBundleVersionsSortOrderEnum Enum with underlying type: string
const ( ListCertificateAuthorityBundleVersionsSortOrderAsc ListCertificateAuthorityBundleVersionsSortOrderEnum = "ASC" ListCertificateAuthorityBundleVersionsSortOrderDesc ListCertificateAuthorityBundleVersionsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListCertificateAuthorityBundleVersionsSortOrderEnum
func GetListCertificateAuthorityBundleVersionsSortOrderEnumValues ¶
func GetListCertificateAuthorityBundleVersionsSortOrderEnumValues() []ListCertificateAuthorityBundleVersionsSortOrderEnum
GetListCertificateAuthorityBundleVersionsSortOrderEnumValues Enumerates the set of values for ListCertificateAuthorityBundleVersionsSortOrderEnum
func GetMappingListCertificateAuthorityBundleVersionsSortOrderEnum ¶
func GetMappingListCertificateAuthorityBundleVersionsSortOrderEnum(val string) (ListCertificateAuthorityBundleVersionsSortOrderEnum, bool)
GetMappingListCertificateAuthorityBundleVersionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListCertificateBundleVersionsRequest ¶
type ListCertificateBundleVersionsRequest struct { // The OCID of the certificate. CertificateId *string `mandatory:"true" contributesTo:"path" name:"certificateId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, // please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The field to sort by. You can specify only one sort order. The default // order for `VERSION_NUMBER` is ascending. SortBy ListCertificateBundleVersionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListCertificateBundleVersionsSortOrderEnum `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 }
ListCertificateBundleVersionsRequest wrapper for the ListCertificateBundleVersions operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/certificates/ListCertificateBundleVersions.go.html to see an example of how to use ListCertificateBundleVersionsRequest.
func (ListCertificateBundleVersionsRequest) BinaryRequestBody ¶
func (request ListCertificateBundleVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListCertificateBundleVersionsRequest) HTTPRequest ¶
func (request ListCertificateBundleVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListCertificateBundleVersionsRequest) RetryPolicy ¶
func (request ListCertificateBundleVersionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListCertificateBundleVersionsRequest) String ¶
func (request ListCertificateBundleVersionsRequest) String() string
func (ListCertificateBundleVersionsRequest) ValidateEnumValue ¶
func (request ListCertificateBundleVersionsRequest) 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 ListCertificateBundleVersionsResponse ¶
type ListCertificateBundleVersionsResponse struct { // The underlying http response RawResponse *http.Response // The CertificateBundleVersionCollection instance CertificateBundleVersionCollection `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"` }
ListCertificateBundleVersionsResponse wrapper for the ListCertificateBundleVersions operation
func (ListCertificateBundleVersionsResponse) HTTPResponse ¶
func (response ListCertificateBundleVersionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListCertificateBundleVersionsResponse) String ¶
func (response ListCertificateBundleVersionsResponse) String() string
type ListCertificateBundleVersionsSortByEnum ¶
type ListCertificateBundleVersionsSortByEnum string
ListCertificateBundleVersionsSortByEnum Enum with underlying type: string
const (
ListCertificateBundleVersionsSortByVersionNumber ListCertificateBundleVersionsSortByEnum = "VERSION_NUMBER"
)
Set of constants representing the allowable values for ListCertificateBundleVersionsSortByEnum
func GetListCertificateBundleVersionsSortByEnumValues ¶
func GetListCertificateBundleVersionsSortByEnumValues() []ListCertificateBundleVersionsSortByEnum
GetListCertificateBundleVersionsSortByEnumValues Enumerates the set of values for ListCertificateBundleVersionsSortByEnum
func GetMappingListCertificateBundleVersionsSortByEnum ¶
func GetMappingListCertificateBundleVersionsSortByEnum(val string) (ListCertificateBundleVersionsSortByEnum, bool)
GetMappingListCertificateBundleVersionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListCertificateBundleVersionsSortOrderEnum ¶
type ListCertificateBundleVersionsSortOrderEnum string
ListCertificateBundleVersionsSortOrderEnum Enum with underlying type: string
const ( ListCertificateBundleVersionsSortOrderAsc ListCertificateBundleVersionsSortOrderEnum = "ASC" ListCertificateBundleVersionsSortOrderDesc ListCertificateBundleVersionsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListCertificateBundleVersionsSortOrderEnum
func GetListCertificateBundleVersionsSortOrderEnumValues ¶
func GetListCertificateBundleVersionsSortOrderEnumValues() []ListCertificateBundleVersionsSortOrderEnum
GetListCertificateBundleVersionsSortOrderEnumValues Enumerates the set of values for ListCertificateBundleVersionsSortOrderEnum
func GetMappingListCertificateBundleVersionsSortOrderEnum ¶
func GetMappingListCertificateBundleVersionsSortOrderEnum(val string) (ListCertificateBundleVersionsSortOrderEnum, bool)
GetMappingListCertificateBundleVersionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type RevocationReasonEnum ¶
type RevocationReasonEnum string
RevocationReasonEnum Enum with underlying type: string
const ( RevocationReasonUnspecified RevocationReasonEnum = "UNSPECIFIED" RevocationReasonKeyCompromise RevocationReasonEnum = "KEY_COMPROMISE" RevocationReasonCaCompromise RevocationReasonEnum = "CA_COMPROMISE" RevocationReasonAffiliationChanged RevocationReasonEnum = "AFFILIATION_CHANGED" RevocationReasonSuperseded RevocationReasonEnum = "SUPERSEDED" RevocationReasonCessationOfOperation RevocationReasonEnum = "CESSATION_OF_OPERATION" RevocationReasonPrivilegeWithdrawn RevocationReasonEnum = "PRIVILEGE_WITHDRAWN" RevocationReasonAaCompromise RevocationReasonEnum = "AA_COMPROMISE" )
Set of constants representing the allowable values for RevocationReasonEnum
func GetMappingRevocationReasonEnum ¶
func GetMappingRevocationReasonEnum(val string) (RevocationReasonEnum, bool)
GetMappingRevocationReasonEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRevocationReasonEnumValues ¶
func GetRevocationReasonEnumValues() []RevocationReasonEnum
GetRevocationReasonEnumValues Enumerates the set of values for RevocationReasonEnum
type RevocationStatus ¶
type RevocationStatus struct { // The time when the certificate or CA was revoked. TimeRevoked *common.SDKTime `mandatory:"true" json:"timeRevoked"` // The reason that the certificate or CA was revoked. RevocationReason RevocationReasonEnum `mandatory:"true" json:"revocationReason"` }
RevocationStatus The current revocation status of the certificate or certificate authority (CA).
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 Validity ¶
type Validity struct { // 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:"true" json:"timeOfValidityNotBefore"` // 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"` }
Validity An object that describes a period of time during which an entity is valid.
func (Validity) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type VersionStageEnum ¶
type VersionStageEnum string
VersionStageEnum Enum with underlying type: string
const ( VersionStageCurrent VersionStageEnum = "CURRENT" VersionStagePending VersionStageEnum = "PENDING" VersionStageLatest VersionStageEnum = "LATEST" VersionStagePrevious VersionStageEnum = "PREVIOUS" VersionStageDeprecated VersionStageEnum = "DEPRECATED" VersionStageFailed VersionStageEnum = "FAILED" )
Set of constants representing the allowable values for VersionStageEnum
func GetMappingVersionStageEnum ¶
func GetMappingVersionStageEnum(val string) (VersionStageEnum, bool)
GetMappingVersionStageEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVersionStageEnumValues ¶
func GetVersionStageEnumValues() []VersionStageEnum
GetVersionStageEnumValues Enumerates the set of values for VersionStageEnum
Source Files ¶
- ca_bundle.go
- certificate_authority_bundle.go
- certificate_authority_bundle_version_collection.go
- certificate_authority_bundle_version_summary.go
- certificate_bundle.go
- certificate_bundle_public_only.go
- certificate_bundle_version_collection.go
- certificate_bundle_version_summary.go
- certificate_bundle_with_private_key.go
- certificates_client.go
- get_ca_bundle_request_response.go
- get_certificate_authority_bundle_request_response.go
- get_certificate_bundle_request_response.go
- list_certificate_authority_bundle_versions_request_response.go
- list_certificate_bundle_versions_request_response.go
- revocation_reason.go
- revocation_status.go
- validity.go
- version_stage.go