These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.certificateregistration.AppServiceCertificateOrder
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
SSL certificate purchase order. API Version: 2020-10-01.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:certificateregistration:AppServiceCertificateOrder myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}
Create AppServiceCertificateOrder Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppServiceCertificateOrder(name: string, args: AppServiceCertificateOrderArgs, opts?: CustomResourceOptions);
@overload
def AppServiceCertificateOrder(resource_name: str,
args: AppServiceCertificateOrderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppServiceCertificateOrder(resource_name: str,
opts: Optional[ResourceOptions] = None,
product_type: Optional[CertificateProductType] = None,
resource_group_name: Optional[str] = None,
auto_renew: Optional[bool] = None,
certificate_order_name: Optional[str] = None,
certificates: Optional[Mapping[str, AppServiceCertificateArgs]] = None,
csr: Optional[str] = None,
distinguished_name: Optional[str] = None,
key_size: Optional[int] = None,
kind: Optional[str] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
validity_in_years: Optional[int] = None)
func NewAppServiceCertificateOrder(ctx *Context, name string, args AppServiceCertificateOrderArgs, opts ...ResourceOption) (*AppServiceCertificateOrder, error)
public AppServiceCertificateOrder(string name, AppServiceCertificateOrderArgs args, CustomResourceOptions? opts = null)
public AppServiceCertificateOrder(String name, AppServiceCertificateOrderArgs args)
public AppServiceCertificateOrder(String name, AppServiceCertificateOrderArgs args, CustomResourceOptions options)
type: azure-native:certificateregistration:AppServiceCertificateOrder
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AppServiceCertificateOrderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AppServiceCertificateOrderArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AppServiceCertificateOrderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppServiceCertificateOrderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppServiceCertificateOrderArgs
- 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 appServiceCertificateOrderResource = new AzureNative.Certificateregistration.AppServiceCertificateOrder("appServiceCertificateOrderResource", new()
{
ProductType = "StandardDomainValidatedSsl",
ResourceGroupName = "string",
AutoRenew = false,
CertificateOrderName = "string",
Certificates =
{
{ "string",
{
{ "keyVaultId", "string" },
{ "keyVaultSecretName", "string" },
} },
},
Csr = "string",
DistinguishedName = "string",
KeySize = 0,
Kind = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
ValidityInYears = 0,
});
example, err := certificateregistration.NewAppServiceCertificateOrder(ctx, "appServiceCertificateOrderResource", &certificateregistration.AppServiceCertificateOrderArgs{
ProductType: "StandardDomainValidatedSsl",
ResourceGroupName: "string",
AutoRenew: false,
CertificateOrderName: "string",
Certificates: map[string]interface{}{
"string": map[string]interface{}{
"keyVaultId": "string",
"keyVaultSecretName": "string",
},
},
Csr: "string",
DistinguishedName: "string",
KeySize: 0,
Kind: "string",
Location: "string",
Tags: map[string]interface{}{
"string": "string",
},
ValidityInYears: 0,
})
var appServiceCertificateOrderResource = new AppServiceCertificateOrder("appServiceCertificateOrderResource", AppServiceCertificateOrderArgs.builder()
.productType("StandardDomainValidatedSsl")
.resourceGroupName("string")
.autoRenew(false)
.certificateOrderName("string")
.certificates(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.csr("string")
.distinguishedName("string")
.keySize(0)
.kind("string")
.location("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.validityInYears(0)
.build());
app_service_certificate_order_resource = azure_native.certificateregistration.AppServiceCertificateOrder("appServiceCertificateOrderResource",
product_type=StandardDomainValidatedSsl,
resource_group_name=string,
auto_renew=False,
certificate_order_name=string,
certificates={
string: {
keyVaultId: string,
keyVaultSecretName: string,
},
},
csr=string,
distinguished_name=string,
key_size=0,
kind=string,
location=string,
tags={
string: string,
},
validity_in_years=0)
const appServiceCertificateOrderResource = new azure_native.certificateregistration.AppServiceCertificateOrder("appServiceCertificateOrderResource", {
productType: "StandardDomainValidatedSsl",
resourceGroupName: "string",
autoRenew: false,
certificateOrderName: "string",
certificates: {
string: {
keyVaultId: "string",
keyVaultSecretName: "string",
},
},
csr: "string",
distinguishedName: "string",
keySize: 0,
kind: "string",
location: "string",
tags: {
string: "string",
},
validityInYears: 0,
});
type: azure-native:certificateregistration:AppServiceCertificateOrder
properties:
autoRenew: false
certificateOrderName: string
certificates:
string:
keyVaultId: string
keyVaultSecretName: string
csr: string
distinguishedName: string
keySize: 0
kind: string
location: string
productType: StandardDomainValidatedSsl
resourceGroupName: string
tags:
string: string
validityInYears: 0
AppServiceCertificateOrder Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AppServiceCertificateOrder resource accepts the following input properties:
- Product
Type Pulumi.Azure Native. Certificate Registration. Certificate Product Type - Certificate product type.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Auto
Renew bool - true if the certificate should be automatically renewed when it expires; otherwise, false.
- Certificate
Order stringName - Name of the certificate order.
- Certificates
Dictionary<string, Pulumi.
Azure Native. Certificate Registration. Inputs. App Service Certificate Args> - State of the Key Vault secret.
- Csr string
- Last CSR that was created for this order.
- Distinguished
Name string - Certificate distinguished name.
- Key
Size int - Certificate key size.
- Kind string
- Kind of resource.
- Location string
- Resource Location.
- Dictionary<string, string>
- Resource tags.
- Validity
In intYears - Duration in years (must be between 1 and 3).
- Product
Type CertificateProduct Type - Certificate product type.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Auto
Renew bool - true if the certificate should be automatically renewed when it expires; otherwise, false.
- Certificate
Order stringName - Name of the certificate order.
- Certificates
map[string]App
Service Certificate Args - State of the Key Vault secret.
- Csr string
- Last CSR that was created for this order.
- Distinguished
Name string - Certificate distinguished name.
- Key
Size int - Certificate key size.
- Kind string
- Kind of resource.
- Location string
- Resource Location.
- map[string]string
- Resource tags.
- Validity
In intYears - Duration in years (must be between 1 and 3).
- product
Type CertificateProduct Type - Certificate product type.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- auto
Renew Boolean - true if the certificate should be automatically renewed when it expires; otherwise, false.
- certificate
Order StringName - Name of the certificate order.
- certificates
Map<String,App
Service Certificate Args> - State of the Key Vault secret.
- csr String
- Last CSR that was created for this order.
- distinguished
Name String - Certificate distinguished name.
- key
Size Integer - Certificate key size.
- kind String
- Kind of resource.
- location String
- Resource Location.
- Map<String,String>
- Resource tags.
- validity
In IntegerYears - Duration in years (must be between 1 and 3).
- product
Type CertificateProduct Type - Certificate product type.
- resource
Group stringName - Name of the resource group to which the resource belongs.
- auto
Renew boolean - true if the certificate should be automatically renewed when it expires; otherwise, false.
- certificate
Order stringName - Name of the certificate order.
- certificates
{[key: string]: App
Service Certificate Args} - State of the Key Vault secret.
- csr string
- Last CSR that was created for this order.
- distinguished
Name string - Certificate distinguished name.
- key
Size number - Certificate key size.
- kind string
- Kind of resource.
- location string
- Resource Location.
- {[key: string]: string}
- Resource tags.
- validity
In numberYears - Duration in years (must be between 1 and 3).
- product_
type CertificateProduct Type - Certificate product type.
- resource_
group_ strname - Name of the resource group to which the resource belongs.
- auto_
renew bool - true if the certificate should be automatically renewed when it expires; otherwise, false.
- certificate_
order_ strname - Name of the certificate order.
- certificates
Mapping[str, App
Service Certificate Args] - State of the Key Vault secret.
- csr str
- Last CSR that was created for this order.
- distinguished_
name str - Certificate distinguished name.
- key_
size int - Certificate key size.
- kind str
- Kind of resource.
- location str
- Resource Location.
- Mapping[str, str]
- Resource tags.
- validity_
in_ intyears - Duration in years (must be between 1 and 3).
- product
Type "StandardDomain Validated Ssl" | "Standard Domain Validated Wild Card Ssl" - Certificate product type.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- auto
Renew Boolean - true if the certificate should be automatically renewed when it expires; otherwise, false.
- certificate
Order StringName - Name of the certificate order.
- certificates Map<Property Map>
- State of the Key Vault secret.
- csr String
- Last CSR that was created for this order.
- distinguished
Name String - Certificate distinguished name.
- key
Size Number - Certificate key size.
- kind String
- Kind of resource.
- location String
- Resource Location.
- Map<String>
- Resource tags.
- validity
In NumberYears - Duration in years (must be between 1 and 3).
Outputs
All input properties are implicitly available as output properties. Additionally, the AppServiceCertificateOrder resource produces the following output properties:
- App
Service List<string>Certificate Not Renewable Reasons - Reasons why App Service Certificate is not renewable at the current moment.
- Domain
Verification stringToken - Domain verification token.
- Expiration
Time string - Certificate expiration time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Intermediate
Pulumi.
Azure Native. Certificate Registration. Outputs. Certificate Details Response - Intermediate certificate.
- Is
Private boolKey External - true if private key is external; otherwise, false.
- Last
Certificate stringIssuance Time - Certificate last issuance time.
- Name string
- Resource Name.
- Next
Auto stringRenewal Time Stamp - Time stamp when the certificate would be auto renewed next
- Provisioning
State string - Status of certificate order.
- Root
Pulumi.
Azure Native. Certificate Registration. Outputs. Certificate Details Response - Root certificate.
- Serial
Number string - Current serial number of the certificate.
- Signed
Certificate Pulumi.Azure Native. Certificate Registration. Outputs. Certificate Details Response - Signed certificate.
- Status string
- Current order status.
- System
Data Pulumi.Azure Native. Certificate Registration. Outputs. System Data Response - The system metadata relating to this resource.
- Type string
- Resource type.
- App
Service []stringCertificate Not Renewable Reasons - Reasons why App Service Certificate is not renewable at the current moment.
- Domain
Verification stringToken - Domain verification token.
- Expiration
Time string - Certificate expiration time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Intermediate
Certificate
Details Response - Intermediate certificate.
- Is
Private boolKey External - true if private key is external; otherwise, false.
- Last
Certificate stringIssuance Time - Certificate last issuance time.
- Name string
- Resource Name.
- Next
Auto stringRenewal Time Stamp - Time stamp when the certificate would be auto renewed next
- Provisioning
State string - Status of certificate order.
- Root
Certificate
Details Response - Root certificate.
- Serial
Number string - Current serial number of the certificate.
- Signed
Certificate CertificateDetails Response - Signed certificate.
- Status string
- Current order status.
- System
Data SystemData Response - The system metadata relating to this resource.
- Type string
- Resource type.
- app
Service List<String>Certificate Not Renewable Reasons - Reasons why App Service Certificate is not renewable at the current moment.
- domain
Verification StringToken - Domain verification token.
- expiration
Time String - Certificate expiration time.
- id String
- The provider-assigned unique ID for this managed resource.
- intermediate
Certificate
Details Response - Intermediate certificate.
- is
Private BooleanKey External - true if private key is external; otherwise, false.
- last
Certificate StringIssuance Time - Certificate last issuance time.
- name String
- Resource Name.
- next
Auto StringRenewal Time Stamp - Time stamp when the certificate would be auto renewed next
- provisioning
State String - Status of certificate order.
- root
Certificate
Details Response - Root certificate.
- serial
Number String - Current serial number of the certificate.
- signed
Certificate CertificateDetails Response - Signed certificate.
- status String
- Current order status.
- system
Data SystemData Response - The system metadata relating to this resource.
- type String
- Resource type.
- app
Service string[]Certificate Not Renewable Reasons - Reasons why App Service Certificate is not renewable at the current moment.
- domain
Verification stringToken - Domain verification token.
- expiration
Time string - Certificate expiration time.
- id string
- The provider-assigned unique ID for this managed resource.
- intermediate
Certificate
Details Response - Intermediate certificate.
- is
Private booleanKey External - true if private key is external; otherwise, false.
- last
Certificate stringIssuance Time - Certificate last issuance time.
- name string
- Resource Name.
- next
Auto stringRenewal Time Stamp - Time stamp when the certificate would be auto renewed next
- provisioning
State string - Status of certificate order.
- root
Certificate
Details Response - Root certificate.
- serial
Number string - Current serial number of the certificate.
- signed
Certificate CertificateDetails Response - Signed certificate.
- status string
- Current order status.
- system
Data SystemData Response - The system metadata relating to this resource.
- type string
- Resource type.
- app_
service_ Sequence[str]certificate_ not_ renewable_ reasons - Reasons why App Service Certificate is not renewable at the current moment.
- domain_
verification_ strtoken - Domain verification token.
- expiration_
time str - Certificate expiration time.
- id str
- The provider-assigned unique ID for this managed resource.
- intermediate
Certificate
Details Response - Intermediate certificate.
- is_
private_ boolkey_ external - true if private key is external; otherwise, false.
- last_
certificate_ strissuance_ time - Certificate last issuance time.
- name str
- Resource Name.
- next_
auto_ strrenewal_ time_ stamp - Time stamp when the certificate would be auto renewed next
- provisioning_
state str - Status of certificate order.
- root
Certificate
Details Response - Root certificate.
- serial_
number str - Current serial number of the certificate.
- signed_
certificate CertificateDetails Response - Signed certificate.
- status str
- Current order status.
- system_
data SystemData Response - The system metadata relating to this resource.
- type str
- Resource type.
- app
Service List<String>Certificate Not Renewable Reasons - Reasons why App Service Certificate is not renewable at the current moment.
- domain
Verification StringToken - Domain verification token.
- expiration
Time String - Certificate expiration time.
- id String
- The provider-assigned unique ID for this managed resource.
- intermediate Property Map
- Intermediate certificate.
- is
Private BooleanKey External - true if private key is external; otherwise, false.
- last
Certificate StringIssuance Time - Certificate last issuance time.
- name String
- Resource Name.
- next
Auto StringRenewal Time Stamp - Time stamp when the certificate would be auto renewed next
- provisioning
State String - Status of certificate order.
- root Property Map
- Root certificate.
- serial
Number String - Current serial number of the certificate.
- signed
Certificate Property Map - Signed certificate.
- status String
- Current order status.
- system
Data Property Map - The system metadata relating to this resource.
- type String
- Resource type.
Supporting Types
AppServiceCertificate, AppServiceCertificateArgs
- Key
Vault stringId - Key Vault resource Id.
- Key
Vault stringSecret Name - Key Vault secret name.
- Key
Vault stringId - Key Vault resource Id.
- Key
Vault stringSecret Name - Key Vault secret name.
- key
Vault StringId - Key Vault resource Id.
- key
Vault StringSecret Name - Key Vault secret name.
- key
Vault stringId - Key Vault resource Id.
- key
Vault stringSecret Name - Key Vault secret name.
- key_
vault_ strid - Key Vault resource Id.
- key_
vault_ strsecret_ name - Key Vault secret name.
- key
Vault StringId - Key Vault resource Id.
- key
Vault StringSecret Name - Key Vault secret name.
AppServiceCertificateResponse, AppServiceCertificateResponseArgs
- Provisioning
State string - Status of the Key Vault secret.
- Key
Vault stringId - Key Vault resource Id.
- Key
Vault stringSecret Name - Key Vault secret name.
- Provisioning
State string - Status of the Key Vault secret.
- Key
Vault stringId - Key Vault resource Id.
- Key
Vault stringSecret Name - Key Vault secret name.
- provisioning
State String - Status of the Key Vault secret.
- key
Vault StringId - Key Vault resource Id.
- key
Vault StringSecret Name - Key Vault secret name.
- provisioning
State string - Status of the Key Vault secret.
- key
Vault stringId - Key Vault resource Id.
- key
Vault stringSecret Name - Key Vault secret name.
- provisioning_
state str - Status of the Key Vault secret.
- key_
vault_ strid - Key Vault resource Id.
- key_
vault_ strsecret_ name - Key Vault secret name.
- provisioning
State String - Status of the Key Vault secret.
- key
Vault StringId - Key Vault resource Id.
- key
Vault StringSecret Name - Key Vault secret name.
CertificateDetailsResponse, CertificateDetailsResponseArgs
- Issuer string
- Certificate Issuer.
- Not
After string - Date Certificate is valid to.
- Not
Before string - Date Certificate is valid from.
- Raw
Data string - Raw certificate data.
- Serial
Number string - Certificate Serial Number.
- Signature
Algorithm string - Certificate Signature algorithm.
- Subject string
- Certificate Subject.
- Thumbprint string
- Certificate Thumbprint.
- Version int
- Certificate Version.
- Issuer string
- Certificate Issuer.
- Not
After string - Date Certificate is valid to.
- Not
Before string - Date Certificate is valid from.
- Raw
Data string - Raw certificate data.
- Serial
Number string - Certificate Serial Number.
- Signature
Algorithm string - Certificate Signature algorithm.
- Subject string
- Certificate Subject.
- Thumbprint string
- Certificate Thumbprint.
- Version int
- Certificate Version.
- issuer String
- Certificate Issuer.
- not
After String - Date Certificate is valid to.
- not
Before String - Date Certificate is valid from.
- raw
Data String - Raw certificate data.
- serial
Number String - Certificate Serial Number.
- signature
Algorithm String - Certificate Signature algorithm.
- subject String
- Certificate Subject.
- thumbprint String
- Certificate Thumbprint.
- version Integer
- Certificate Version.
- issuer string
- Certificate Issuer.
- not
After string - Date Certificate is valid to.
- not
Before string - Date Certificate is valid from.
- raw
Data string - Raw certificate data.
- serial
Number string - Certificate Serial Number.
- signature
Algorithm string - Certificate Signature algorithm.
- subject string
- Certificate Subject.
- thumbprint string
- Certificate Thumbprint.
- version number
- Certificate Version.
- issuer str
- Certificate Issuer.
- not_
after str - Date Certificate is valid to.
- not_
before str - Date Certificate is valid from.
- raw_
data str - Raw certificate data.
- serial_
number str - Certificate Serial Number.
- signature_
algorithm str - Certificate Signature algorithm.
- subject str
- Certificate Subject.
- thumbprint str
- Certificate Thumbprint.
- version int
- Certificate Version.
- issuer String
- Certificate Issuer.
- not
After String - Date Certificate is valid to.
- not
Before String - Date Certificate is valid from.
- raw
Data String - Raw certificate data.
- serial
Number String - Certificate Serial Number.
- signature
Algorithm String - Certificate Signature algorithm.
- subject String
- Certificate Subject.
- thumbprint String
- Certificate Thumbprint.
- version Number
- Certificate Version.
CertificateProductType, CertificateProductTypeArgs
- Standard
Domain Validated Ssl - StandardDomainValidatedSsl
- Standard
Domain Validated Wild Card Ssl - StandardDomainValidatedWildCardSsl
- Certificate
Product Type Standard Domain Validated Ssl - StandardDomainValidatedSsl
- Certificate
Product Type Standard Domain Validated Wild Card Ssl - StandardDomainValidatedWildCardSsl
- Standard
Domain Validated Ssl - StandardDomainValidatedSsl
- Standard
Domain Validated Wild Card Ssl - StandardDomainValidatedWildCardSsl
- Standard
Domain Validated Ssl - StandardDomainValidatedSsl
- Standard
Domain Validated Wild Card Ssl - StandardDomainValidatedWildCardSsl
- STANDARD_DOMAIN_VALIDATED_SSL
- StandardDomainValidatedSsl
- STANDARD_DOMAIN_VALIDATED_WILD_CARD_SSL
- StandardDomainValidatedWildCardSsl
- "Standard
Domain Validated Ssl" - StandardDomainValidatedSsl
- "Standard
Domain Validated Wild Card Ssl" - StandardDomainValidatedWildCardSsl
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.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi