azure-native-v2.eventgrid.CaCertificate
Explore with Pulumi AI
The CA Certificate resource. Azure REST API version: 2023-06-01-preview.
Other available API versions: 2023-12-15-preview, 2024-06-01-preview, 2024-12-15-preview.
Create CaCertificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CaCertificate(name: string, args: CaCertificateArgs, opts?: CustomResourceOptions);
@overload
def CaCertificate(resource_name: str,
args: CaCertificateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CaCertificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
namespace_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
ca_certificate_name: Optional[str] = None,
description: Optional[str] = None,
encoded_certificate: Optional[str] = None)
func NewCaCertificate(ctx *Context, name string, args CaCertificateArgs, opts ...ResourceOption) (*CaCertificate, error)
public CaCertificate(string name, CaCertificateArgs args, CustomResourceOptions? opts = null)
public CaCertificate(String name, CaCertificateArgs args)
public CaCertificate(String name, CaCertificateArgs args, CustomResourceOptions options)
type: azure-native:eventgrid:CaCertificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. CaCertificateArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. CaCertificateArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. CaCertificateArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. CaCertificateArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. CaCertificateArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var caCertificateResource = new AzureNative.Eventgrid.CaCertificate("caCertificateResource", new()
{
NamespaceName = "string",
ResourceGroupName = "string",
CaCertificateName = "string",
Description = "string",
EncodedCertificate = "string",
});
example, err := eventgrid.NewCaCertificate(ctx, "caCertificateResource", &eventgrid.CaCertificateArgs{
NamespaceName: "string",
ResourceGroupName: "string",
CaCertificateName: "string",
Description: "string",
EncodedCertificate: "string",
})
var caCertificateResource = new CaCertificate("caCertificateResource", CaCertificateArgs.builder()
.namespaceName("string")
.resourceGroupName("string")
.caCertificateName("string")
.description("string")
.encodedCertificate("string")
.build());
ca_certificate_resource = azure_native.eventgrid.CaCertificate("caCertificateResource",
namespace_name=string,
resource_group_name=string,
ca_certificate_name=string,
description=string,
encoded_certificate=string)
const caCertificateResource = new azure_native.eventgrid.CaCertificate("caCertificateResource", {
namespaceName: "string",
resourceGroupName: "string",
caCertificateName: "string",
description: "string",
encodedCertificate: "string",
});
type: azure-native:eventgrid:CaCertificate
properties:
caCertificateName: string
description: string
encodedCertificate: string
namespaceName: string
resourceGroupName: string
CaCertificate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CaCertificate resource accepts the following input properties:
- Namespace
Name This property is required. Changes to this property will trigger replacement.
- Name of the namespace.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription.
- Ca
Certificate Name Changes to this property will trigger replacement.
- The CA certificate name.
- Description string
- Description for the CA Certificate resource.
- Encoded
Certificate string - Base64 encoded PEM (Privacy Enhanced Mail) format certificate data.
- Namespace
Name This property is required. Changes to this property will trigger replacement.
- Name of the namespace.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription.
- Ca
Certificate Name Changes to this property will trigger replacement.
- The CA certificate name.
- Description string
- Description for the CA Certificate resource.
- Encoded
Certificate string - Base64 encoded PEM (Privacy Enhanced Mail) format certificate data.
- namespace
Name This property is required. Changes to this property will trigger replacement.
- Name of the namespace.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription.
- ca
Certificate Name Changes to this property will trigger replacement.
- The CA certificate name.
- description String
- Description for the CA Certificate resource.
- encoded
Certificate String - Base64 encoded PEM (Privacy Enhanced Mail) format certificate data.
- namespace
Name This property is required. Changes to this property will trigger replacement.
- Name of the namespace.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription.
- ca
Certificate Name Changes to this property will trigger replacement.
- The CA certificate name.
- description string
- Description for the CA Certificate resource.
- encoded
Certificate string - Base64 encoded PEM (Privacy Enhanced Mail) format certificate data.
- namespace_
name This property is required. Changes to this property will trigger replacement.
- Name of the namespace.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription.
- ca_
certificate_ name Changes to this property will trigger replacement.
- The CA certificate name.
- description str
- Description for the CA Certificate resource.
- encoded_
certificate str - Base64 encoded PEM (Privacy Enhanced Mail) format certificate data.
- namespace
Name This property is required. Changes to this property will trigger replacement.
- Name of the namespace.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription.
- ca
Certificate Name Changes to this property will trigger replacement.
- The CA certificate name.
- description String
- Description for the CA Certificate resource.
- encoded
Certificate String - Base64 encoded PEM (Privacy Enhanced Mail) format certificate data.
Outputs
All input properties are implicitly available as output properties. Additionally, the CaCertificate resource produces the following output properties:
- Expiry
Time stringIn Utc - Certificate expiry time in UTC. This is a read-only field.
- Id string
- The provider-assigned unique ID for this managed resource.
- Issue
Time stringIn Utc - Certificate issue time in UTC. This is a read-only field.
- Name string
- Name of the resource.
- Provisioning
State string - Provisioning state of the CA Certificate resource.
- System
Data Pulumi.Azure Native. Event Grid. Outputs. System Data Response - The system metadata relating to the CaCertificate resource.
- Type string
- Type of the resource.
- Expiry
Time stringIn Utc - Certificate expiry time in UTC. This is a read-only field.
- Id string
- The provider-assigned unique ID for this managed resource.
- Issue
Time stringIn Utc - Certificate issue time in UTC. This is a read-only field.
- Name string
- Name of the resource.
- Provisioning
State string - Provisioning state of the CA Certificate resource.
- System
Data SystemData Response - The system metadata relating to the CaCertificate resource.
- Type string
- Type of the resource.
- expiry
Time StringIn Utc - Certificate expiry time in UTC. This is a read-only field.
- id String
- The provider-assigned unique ID for this managed resource.
- issue
Time StringIn Utc - Certificate issue time in UTC. This is a read-only field.
- name String
- Name of the resource.
- provisioning
State String - Provisioning state of the CA Certificate resource.
- system
Data SystemData Response - The system metadata relating to the CaCertificate resource.
- type String
- Type of the resource.
- expiry
Time stringIn Utc - Certificate expiry time in UTC. This is a read-only field.
- id string
- The provider-assigned unique ID for this managed resource.
- issue
Time stringIn Utc - Certificate issue time in UTC. This is a read-only field.
- name string
- Name of the resource.
- provisioning
State string - Provisioning state of the CA Certificate resource.
- system
Data SystemData Response - The system metadata relating to the CaCertificate resource.
- type string
- Type of the resource.
- expiry_
time_ strin_ utc - Certificate expiry time in UTC. This is a read-only field.
- id str
- The provider-assigned unique ID for this managed resource.
- issue_
time_ strin_ utc - Certificate issue time in UTC. This is a read-only field.
- name str
- Name of the resource.
- provisioning_
state str - Provisioning state of the CA Certificate resource.
- system_
data SystemData Response - The system metadata relating to the CaCertificate resource.
- type str
- Type of the resource.
- expiry
Time StringIn Utc - Certificate expiry time in UTC. This is a read-only field.
- id String
- The provider-assigned unique ID for this managed resource.
- issue
Time StringIn Utc - Certificate issue time in UTC. This is a read-only field.
- name String
- Name of the resource.
- provisioning
State String - Provisioning state of the CA Certificate resource.
- system
Data Property Map - The system metadata relating to the CaCertificate resource.
- type String
- Type of the resource.
Supporting Types
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:eventgrid:CaCertificate exampleCACertificateName1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/caCertificates/{caCertificateName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0