Ca Certificates - Get

Get a CA certificate.
Get properties of a CA certificate.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/caCertificates/{caCertificateName}?api-version=2024-06-01-preview

URI Parameters

Name In Required Type Description
caCertificateName
path True

string

Name of the CA certificate.

Regex pattern: ^[a-zA-Z0-9-]*$

namespaceName
path True

string

Name of the namespace.

Regex pattern: ^[a-zA-Z0-9-]*$

resourceGroupName
path True

string

The name of the resource group within the user's subscription.

subscriptionId
path True

string

Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

api-version
query True

string

Version of the API to be used with the client request.

Responses

Name Type Description
200 OK

CaCertificate

OK

Other Status Codes

ErrorResponse

Error response returned if request was unsuccessful.

Examples

CaCertificates_Get

Sample request

GET https://management.azure.com/subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/namespaces/exampleNamespaceName1/caCertificates/exampleCACertificateName1?api-version=2024-06-01-preview

Sample response

{
  "properties": {
    "encodedCertificate": "base64EncodePemFormattedCertificateString",
    "issueTimeInUtc": "2022-09-12T23:06:43+00:00",
    "expiryTimeInUtc": "2022-10-12T23:06:43+00:00",
    "provisioningState": "Succeeded",
    "description": "This is a test Root certificate"
  },
  "id": "/subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/namespaces/exampleNamespaceName1/caCertificates/exampleCACertificateName1",
  "name": "exampleCACertificateName1",
  "type": "Microsoft.EventGrid/namespaces/caCertificates"
}

Definitions

Name Description
CaCertificate

The CA Certificate resource.

CaCertificateProvisioningState

Provisioning state of the CA Certificate resource.

createdByType

The type of identity that created the resource.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

systemData

Metadata pertaining to creation and last modification of the resource.

CaCertificate

The CA Certificate resource.

Name Type Description
id

string

Fully qualified identifier of the resource.

name

string

Name of the resource.

properties.description

string

Description for the CA Certificate resource.

properties.encodedCertificate

string

Base64 encoded PEM (Privacy Enhanced Mail) format certificate data.

properties.expiryTimeInUtc

string

Certificate expiry time in UTC. This is a read-only field.

properties.issueTimeInUtc

string

Certificate issue time in UTC. This is a read-only field.

properties.provisioningState

CaCertificateProvisioningState

Provisioning state of the CA Certificate resource.

systemData

systemData

The system metadata relating to the CaCertificate resource.

type

string

Type of the resource.

CaCertificateProvisioningState

Provisioning state of the CA Certificate resource.

Name Type Description
Canceled

string

Creating

string

Deleted

string

Deleting

string

Failed

string

Succeeded

string

Updating

string

createdByType

The type of identity that created the resource.

Name Type Description
Application

string

Key

string

ManagedIdentity

string

User

string

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

systemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string

The timestamp of resource last modification (UTC)

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.