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=2025-02-15
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
ca
|
path | True |
string |
Name of the CA certificate. Regex pattern: |
namespace
|
path | True |
string |
Name of the namespace. Regex pattern: |
resource
|
path | True |
string |
The name of the resource group within the user's subscription. |
subscription
|
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 |
OK |
|
Other Status Codes |
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=2025-02-15
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 |
---|---|
Ca |
The CA Certificate resource. |
Ca |
Provisioning state of the CA Certificate resource. |
created |
The type of identity that created the resource. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
system |
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 |
Provisioning state of the CA Certificate resource. |
|
systemData |
The system metadata relating to the Event Grid 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 |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
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 |
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 |
The type of identity that last modified the resource. |