azure-native.cloudngfw.CertificateObjectLocalRulestack
Explore with Pulumi AI
LocalRulestack Certificate Object Azure REST API version: 2023-09-01.
Other available API versions: 2022-08-29, 2022-08-29-preview, 2023-09-01-preview, 2023-10-10-preview, 2024-01-19-preview, 2024-02-07-preview, 2025-02-06-preview.
Example Usage
CertificateObjectLocalRulestack_CreateOrUpdate_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var certificateObjectLocalRulestack = new AzureNative.Cloudngfw.CertificateObjectLocalRulestack("certificateObjectLocalRulestack", new()
    {
        AuditComment = "comment",
        CertificateSelfSigned = AzureNative.Cloudngfw.BooleanEnum.TRUE,
        CertificateSignerResourceId = "",
        Description = "description",
        LocalRulestackName = "lrs1",
        Name = "armid1",
        ResourceGroupName = "rgopenapi",
    });
});
package main
import (
	cloudngfw "github.com/pulumi/pulumi-azure-native-sdk/cloudngfw/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudngfw.NewCertificateObjectLocalRulestack(ctx, "certificateObjectLocalRulestack", &cloudngfw.CertificateObjectLocalRulestackArgs{
			AuditComment:                pulumi.String("comment"),
			CertificateSelfSigned:       pulumi.String(cloudngfw.BooleanEnumTRUE),
			CertificateSignerResourceId: pulumi.String(""),
			Description:                 pulumi.String("description"),
			LocalRulestackName:          pulumi.String("lrs1"),
			Name:                        pulumi.String("armid1"),
			ResourceGroupName:           pulumi.String("rgopenapi"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.cloudngfw.CertificateObjectLocalRulestack;
import com.pulumi.azurenative.cloudngfw.CertificateObjectLocalRulestackArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var certificateObjectLocalRulestack = new CertificateObjectLocalRulestack("certificateObjectLocalRulestack", CertificateObjectLocalRulestackArgs.builder()
            .auditComment("comment")
            .certificateSelfSigned("TRUE")
            .certificateSignerResourceId("")
            .description("description")
            .localRulestackName("lrs1")
            .name("armid1")
            .resourceGroupName("rgopenapi")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const certificateObjectLocalRulestack = new azure_native.cloudngfw.CertificateObjectLocalRulestack("certificateObjectLocalRulestack", {
    auditComment: "comment",
    certificateSelfSigned: azure_native.cloudngfw.BooleanEnum.TRUE,
    certificateSignerResourceId: "",
    description: "description",
    localRulestackName: "lrs1",
    name: "armid1",
    resourceGroupName: "rgopenapi",
});
import pulumi
import pulumi_azure_native as azure_native
certificate_object_local_rulestack = azure_native.cloudngfw.CertificateObjectLocalRulestack("certificateObjectLocalRulestack",
    audit_comment="comment",
    certificate_self_signed=azure_native.cloudngfw.BooleanEnum.TRUE,
    certificate_signer_resource_id="",
    description="description",
    local_rulestack_name="lrs1",
    name="armid1",
    resource_group_name="rgopenapi")
resources:
  certificateObjectLocalRulestack:
    type: azure-native:cloudngfw:CertificateObjectLocalRulestack
    properties:
      auditComment: comment
      certificateSelfSigned: TRUE
      certificateSignerResourceId: ""
      description: description
      localRulestackName: lrs1
      name: armid1
      resourceGroupName: rgopenapi
CertificateObjectLocalRulestack_CreateOrUpdate_MinimumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var certificateObjectLocalRulestack = new AzureNative.Cloudngfw.CertificateObjectLocalRulestack("certificateObjectLocalRulestack", new()
    {
        CertificateSelfSigned = AzureNative.Cloudngfw.BooleanEnum.TRUE,
        LocalRulestackName = "lrs1",
        Name = "armid1",
        ResourceGroupName = "rgopenapi",
    });
});
package main
import (
	cloudngfw "github.com/pulumi/pulumi-azure-native-sdk/cloudngfw/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudngfw.NewCertificateObjectLocalRulestack(ctx, "certificateObjectLocalRulestack", &cloudngfw.CertificateObjectLocalRulestackArgs{
			CertificateSelfSigned: pulumi.String(cloudngfw.BooleanEnumTRUE),
			LocalRulestackName:    pulumi.String("lrs1"),
			Name:                  pulumi.String("armid1"),
			ResourceGroupName:     pulumi.String("rgopenapi"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.cloudngfw.CertificateObjectLocalRulestack;
import com.pulumi.azurenative.cloudngfw.CertificateObjectLocalRulestackArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var certificateObjectLocalRulestack = new CertificateObjectLocalRulestack("certificateObjectLocalRulestack", CertificateObjectLocalRulestackArgs.builder()
            .certificateSelfSigned("TRUE")
            .localRulestackName("lrs1")
            .name("armid1")
            .resourceGroupName("rgopenapi")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const certificateObjectLocalRulestack = new azure_native.cloudngfw.CertificateObjectLocalRulestack("certificateObjectLocalRulestack", {
    certificateSelfSigned: azure_native.cloudngfw.BooleanEnum.TRUE,
    localRulestackName: "lrs1",
    name: "armid1",
    resourceGroupName: "rgopenapi",
});
import pulumi
import pulumi_azure_native as azure_native
certificate_object_local_rulestack = azure_native.cloudngfw.CertificateObjectLocalRulestack("certificateObjectLocalRulestack",
    certificate_self_signed=azure_native.cloudngfw.BooleanEnum.TRUE,
    local_rulestack_name="lrs1",
    name="armid1",
    resource_group_name="rgopenapi")
resources:
  certificateObjectLocalRulestack:
    type: azure-native:cloudngfw:CertificateObjectLocalRulestack
    properties:
      certificateSelfSigned: TRUE
      localRulestackName: lrs1
      name: armid1
      resourceGroupName: rgopenapi
Create CertificateObjectLocalRulestack Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CertificateObjectLocalRulestack(name: string, args: CertificateObjectLocalRulestackArgs, opts?: CustomResourceOptions);@overload
def CertificateObjectLocalRulestack(resource_name: str,
                                    args: CertificateObjectLocalRulestackArgs,
                                    opts: Optional[ResourceOptions] = None)
@overload
def CertificateObjectLocalRulestack(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    certificate_self_signed: Optional[Union[str, BooleanEnum]] = None,
                                    local_rulestack_name: Optional[str] = None,
                                    resource_group_name: Optional[str] = None,
                                    audit_comment: Optional[str] = None,
                                    certificate_signer_resource_id: Optional[str] = None,
                                    description: Optional[str] = None,
                                    name: Optional[str] = None)func NewCertificateObjectLocalRulestack(ctx *Context, name string, args CertificateObjectLocalRulestackArgs, opts ...ResourceOption) (*CertificateObjectLocalRulestack, error)public CertificateObjectLocalRulestack(string name, CertificateObjectLocalRulestackArgs args, CustomResourceOptions? opts = null)
public CertificateObjectLocalRulestack(String name, CertificateObjectLocalRulestackArgs args)
public CertificateObjectLocalRulestack(String name, CertificateObjectLocalRulestackArgs args, CustomResourceOptions options)
type: azure-native:cloudngfw:CertificateObjectLocalRulestack
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 CertificateObjectLocalRulestackArgs
- 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 CertificateObjectLocalRulestackArgs
- 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 CertificateObjectLocalRulestackArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CertificateObjectLocalRulestackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CertificateObjectLocalRulestackArgs
- 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 certificateObjectLocalRulestackResource = new AzureNative.Cloudngfw.CertificateObjectLocalRulestack("certificateObjectLocalRulestackResource", new()
{
    CertificateSelfSigned = "string",
    LocalRulestackName = "string",
    ResourceGroupName = "string",
    AuditComment = "string",
    CertificateSignerResourceId = "string",
    Description = "string",
    Name = "string",
});
example, err := cloudngfw.NewCertificateObjectLocalRulestack(ctx, "certificateObjectLocalRulestackResource", &cloudngfw.CertificateObjectLocalRulestackArgs{
	CertificateSelfSigned:       pulumi.String("string"),
	LocalRulestackName:          pulumi.String("string"),
	ResourceGroupName:           pulumi.String("string"),
	AuditComment:                pulumi.String("string"),
	CertificateSignerResourceId: pulumi.String("string"),
	Description:                 pulumi.String("string"),
	Name:                        pulumi.String("string"),
})
var certificateObjectLocalRulestackResource = new CertificateObjectLocalRulestack("certificateObjectLocalRulestackResource", CertificateObjectLocalRulestackArgs.builder()
    .certificateSelfSigned("string")
    .localRulestackName("string")
    .resourceGroupName("string")
    .auditComment("string")
    .certificateSignerResourceId("string")
    .description("string")
    .name("string")
    .build());
certificate_object_local_rulestack_resource = azure_native.cloudngfw.CertificateObjectLocalRulestack("certificateObjectLocalRulestackResource",
    certificate_self_signed="string",
    local_rulestack_name="string",
    resource_group_name="string",
    audit_comment="string",
    certificate_signer_resource_id="string",
    description="string",
    name="string")
const certificateObjectLocalRulestackResource = new azure_native.cloudngfw.CertificateObjectLocalRulestack("certificateObjectLocalRulestackResource", {
    certificateSelfSigned: "string",
    localRulestackName: "string",
    resourceGroupName: "string",
    auditComment: "string",
    certificateSignerResourceId: "string",
    description: "string",
    name: "string",
});
type: azure-native:cloudngfw:CertificateObjectLocalRulestack
properties:
    auditComment: string
    certificateSelfSigned: string
    certificateSignerResourceId: string
    description: string
    localRulestackName: string
    name: string
    resourceGroupName: string
CertificateObjectLocalRulestack 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 CertificateObjectLocalRulestack resource accepts the following input properties:
- CertificateSelf string | Pulumi.Signed Azure Native. Cloudngfw. Boolean Enum 
- use certificate self signed
- LocalRulestack stringName 
- LocalRulestack resource name
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- AuditComment string
- comment for this object
- CertificateSigner stringResource Id 
- Resource Id of certificate signer, to be populated only when certificateSelfSigned is false
- Description string
- user description for this object
- Name string
- certificate name
- CertificateSelf string | BooleanSigned Enum 
- use certificate self signed
- LocalRulestack stringName 
- LocalRulestack resource name
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- AuditComment string
- comment for this object
- CertificateSigner stringResource Id 
- Resource Id of certificate signer, to be populated only when certificateSelfSigned is false
- Description string
- user description for this object
- Name string
- certificate name
- certificateSelf String | BooleanSigned Enum 
- use certificate self signed
- localRulestack StringName 
- LocalRulestack resource name
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- auditComment String
- comment for this object
- certificateSigner StringResource Id 
- Resource Id of certificate signer, to be populated only when certificateSelfSigned is false
- description String
- user description for this object
- name String
- certificate name
- certificateSelf string | BooleanSigned Enum 
- use certificate self signed
- localRulestack stringName 
- LocalRulestack resource name
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- auditComment string
- comment for this object
- certificateSigner stringResource Id 
- Resource Id of certificate signer, to be populated only when certificateSelfSigned is false
- description string
- user description for this object
- name string
- certificate name
- certificate_self_ str | Booleansigned Enum 
- use certificate self signed
- local_rulestack_ strname 
- LocalRulestack resource name
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- audit_comment str
- comment for this object
- certificate_signer_ strresource_ id 
- Resource Id of certificate signer, to be populated only when certificateSelfSigned is false
- description str
- user description for this object
- name str
- certificate name
- certificateSelf String | "TRUE" | "FALSE"Signed 
- use certificate self signed
- localRulestack StringName 
- LocalRulestack resource name
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- auditComment String
- comment for this object
- certificateSigner StringResource Id 
- Resource Id of certificate signer, to be populated only when certificateSelfSigned is false
- description String
- user description for this object
- name String
- certificate name
Outputs
All input properties are implicitly available as output properties. Additionally, the CertificateObjectLocalRulestack resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- ProvisioningState string
- Provisioning state of the resource.
- SystemData Pulumi.Azure Native. Cloudngfw. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Etag string
- read only string representing last create or update
- Id string
- The provider-assigned unique ID for this managed resource.
- ProvisioningState string
- Provisioning state of the resource.
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Etag string
- read only string representing last create or update
- id String
- The provider-assigned unique ID for this managed resource.
- provisioningState String
- Provisioning state of the resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag String
- read only string representing last create or update
- id string
- The provider-assigned unique ID for this managed resource.
- provisioningState string
- Provisioning state of the resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag string
- read only string representing last create or update
- id str
- The provider-assigned unique ID for this managed resource.
- provisioning_state str
- Provisioning state of the resource.
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag str
- read only string representing last create or update
- id String
- The provider-assigned unique ID for this managed resource.
- provisioningState String
- Provisioning state of the resource.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag String
- read only string representing last create or update
Supporting Types
BooleanEnum, BooleanEnumArgs    
- TRUE
- TRUE
- FALSE
- FALSE
- BooleanEnum TRUE 
- TRUE
- BooleanEnum FALSE 
- FALSE
- TRUE
- TRUE
- FALSE
- FALSE
- TRUE
- TRUE
- FALSE
- FALSE
- TRUE
- TRUE
- FALSE
- FALSE
- "TRUE"
- TRUE
- "FALSE"
- FALSE
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified 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:cloudngfw:CertificateObjectLocalRulestack armid1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/certificates/{name} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0