azure-native-v2.certificateregistration.AppServiceCertificateOrderCertificate
Explore with Pulumi AI
Key Vault container ARM resource for a certificate that is purchased through Azure. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-10-01.
Other available API versions: 2020-10-01, 2023-01-01, 2023-12-01, 2024-04-01.
Create AppServiceCertificateOrderCertificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppServiceCertificateOrderCertificate(name: string, args: AppServiceCertificateOrderCertificateArgs, opts?: CustomResourceOptions);
@overload
def AppServiceCertificateOrderCertificate(resource_name: str,
args: AppServiceCertificateOrderCertificateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppServiceCertificateOrderCertificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificate_order_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
key_vault_id: Optional[str] = None,
key_vault_secret_name: Optional[str] = None,
kind: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewAppServiceCertificateOrderCertificate(ctx *Context, name string, args AppServiceCertificateOrderCertificateArgs, opts ...ResourceOption) (*AppServiceCertificateOrderCertificate, error)
public AppServiceCertificateOrderCertificate(string name, AppServiceCertificateOrderCertificateArgs args, CustomResourceOptions? opts = null)
public AppServiceCertificateOrderCertificate(String name, AppServiceCertificateOrderCertificateArgs args)
public AppServiceCertificateOrderCertificate(String name, AppServiceCertificateOrderCertificateArgs args, CustomResourceOptions options)
type: azure-native:certificateregistration:AppServiceCertificateOrderCertificate
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. AppServiceCertificateOrderCertificateArgs - 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. AppServiceCertificateOrderCertificateArgs - 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. AppServiceCertificateOrderCertificateArgs - 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. AppServiceCertificateOrderCertificateArgs - 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. AppServiceCertificateOrderCertificateArgs - 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 appServiceCertificateOrderCertificateResource = new AzureNative.Certificateregistration.AppServiceCertificateOrderCertificate("appServiceCertificateOrderCertificateResource", new()
{
CertificateOrderName = "string",
ResourceGroupName = "string",
KeyVaultId = "string",
KeyVaultSecretName = "string",
Kind = "string",
Location = "string",
Name = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := certificateregistration.NewAppServiceCertificateOrderCertificate(ctx, "appServiceCertificateOrderCertificateResource", &certificateregistration.AppServiceCertificateOrderCertificateArgs{
CertificateOrderName: "string",
ResourceGroupName: "string",
KeyVaultId: "string",
KeyVaultSecretName: "string",
Kind: "string",
Location: "string",
Name: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var appServiceCertificateOrderCertificateResource = new AppServiceCertificateOrderCertificate("appServiceCertificateOrderCertificateResource", AppServiceCertificateOrderCertificateArgs.builder()
.certificateOrderName("string")
.resourceGroupName("string")
.keyVaultId("string")
.keyVaultSecretName("string")
.kind("string")
.location("string")
.name("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
app_service_certificate_order_certificate_resource = azure_native.certificateregistration.AppServiceCertificateOrderCertificate("appServiceCertificateOrderCertificateResource",
certificate_order_name=string,
resource_group_name=string,
key_vault_id=string,
key_vault_secret_name=string,
kind=string,
location=string,
name=string,
tags={
string: string,
})
const appServiceCertificateOrderCertificateResource = new azure_native.certificateregistration.AppServiceCertificateOrderCertificate("appServiceCertificateOrderCertificateResource", {
certificateOrderName: "string",
resourceGroupName: "string",
keyVaultId: "string",
keyVaultSecretName: "string",
kind: "string",
location: "string",
name: "string",
tags: {
string: "string",
},
});
type: azure-native:certificateregistration:AppServiceCertificateOrderCertificate
properties:
certificateOrderName: string
keyVaultId: string
keyVaultSecretName: string
kind: string
location: string
name: string
resourceGroupName: string
tags:
string: string
AppServiceCertificateOrderCertificate 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 AppServiceCertificateOrderCertificate resource accepts the following input properties:
- Certificate
Order Name This property is required. Changes to this property will trigger replacement.
- Name of the certificate order.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- Key
Vault stringId - Key Vault resource Id.
- Key
Vault stringSecret Name - Key Vault secret name.
- Kind string
- Kind of resource.
- Location string
- Resource Location.
- Name
Changes to this property will trigger replacement.
- Name of the certificate.
- Dictionary<string, string>
- Resource tags.
- Certificate
Order Name This property is required. Changes to this property will trigger replacement.
- Name of the certificate order.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- Key
Vault stringId - Key Vault resource Id.
- Key
Vault stringSecret Name - Key Vault secret name.
- Kind string
- Kind of resource.
- Location string
- Resource Location.
- Name
Changes to this property will trigger replacement.
- Name of the certificate.
- map[string]string
- Resource tags.
- certificate
Order Name This property is required. Changes to this property will trigger replacement.
- Name of the certificate order.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- key
Vault StringId - Key Vault resource Id.
- key
Vault StringSecret Name - Key Vault secret name.
- kind String
- Kind of resource.
- location String
- Resource Location.
- name
Changes to this property will trigger replacement.
- Name of the certificate.
- Map<String,String>
- Resource tags.
- certificate
Order Name This property is required. Changes to this property will trigger replacement.
- Name of the certificate order.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- key
Vault stringId - Key Vault resource Id.
- key
Vault stringSecret Name - Key Vault secret name.
- kind string
- Kind of resource.
- location string
- Resource Location.
- name
Changes to this property will trigger replacement.
- Name of the certificate.
- {[key: string]: string}
- Resource tags.
- certificate_
order_ name This property is required. Changes to this property will trigger replacement.
- Name of the certificate order.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- key_
vault_ strid - Key Vault resource Id.
- key_
vault_ strsecret_ name - Key Vault secret name.
- kind str
- Kind of resource.
- location str
- Resource Location.
- name
Changes to this property will trigger replacement.
- Name of the certificate.
- Mapping[str, str]
- Resource tags.
- certificate
Order Name This property is required. Changes to this property will trigger replacement.
- Name of the certificate order.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- key
Vault StringId - Key Vault resource Id.
- key
Vault StringSecret Name - Key Vault secret name.
- kind String
- Kind of resource.
- location String
- Resource Location.
- name
Changes to this property will trigger replacement.
- Name of the certificate.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the AppServiceCertificateOrderCertificate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - Status of the Key Vault secret.
- Type string
- Resource type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - Status of the Key Vault secret.
- Type string
- Resource type.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - Status of the Key Vault secret.
- type String
- Resource type.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioning
State string - Status of the Key Vault secret.
- type string
- Resource type.
- id str
- The provider-assigned unique ID for this managed resource.
- provisioning_
state str - Status of the Key Vault secret.
- type str
- Resource type.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - Status of the Key Vault secret.
- type String
- Resource type.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:certificateregistration:AppServiceCertificateOrderCertificate SampleCertName1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}
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