azure-native.cloudngfw.CertificateObjectGlobalRulestack
Explore with Pulumi AI
GlobalRulestack 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.
Example Usage
CertificateObjectGlobalRulestack_CreateOrUpdate_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var certificateObjectGlobalRulestack = new AzureNative.Cloudngfw.CertificateObjectGlobalRulestack("certificateObjectGlobalRulestack", new()
{
AuditComment = "comment",
CertificateSelfSigned = AzureNative.Cloudngfw.BooleanEnum.TRUE,
CertificateSignerResourceId = "",
Description = "description",
GlobalRulestackName = "praval",
Name = "armid1",
});
});
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.NewCertificateObjectGlobalRulestack(ctx, "certificateObjectGlobalRulestack", &cloudngfw.CertificateObjectGlobalRulestackArgs{
AuditComment: pulumi.String("comment"),
CertificateSelfSigned: pulumi.String(cloudngfw.BooleanEnumTRUE),
CertificateSignerResourceId: pulumi.String(""),
Description: pulumi.String("description"),
GlobalRulestackName: pulumi.String("praval"),
Name: pulumi.String("armid1"),
})
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.CertificateObjectGlobalRulestack;
import com.pulumi.azurenative.cloudngfw.CertificateObjectGlobalRulestackArgs;
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 certificateObjectGlobalRulestack = new CertificateObjectGlobalRulestack("certificateObjectGlobalRulestack", CertificateObjectGlobalRulestackArgs.builder()
.auditComment("comment")
.certificateSelfSigned("TRUE")
.certificateSignerResourceId("")
.description("description")
.globalRulestackName("praval")
.name("armid1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
certificate_object_global_rulestack = azure_native.cloudngfw.CertificateObjectGlobalRulestack("certificateObjectGlobalRulestack",
audit_comment="comment",
certificate_self_signed=azure_native.cloudngfw.BooleanEnum.TRUE,
certificate_signer_resource_id="",
description="description",
global_rulestack_name="praval",
name="armid1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const certificateObjectGlobalRulestack = new azure_native.cloudngfw.CertificateObjectGlobalRulestack("certificateObjectGlobalRulestack", {
auditComment: "comment",
certificateSelfSigned: azure_native.cloudngfw.BooleanEnum.TRUE,
certificateSignerResourceId: "",
description: "description",
globalRulestackName: "praval",
name: "armid1",
});
resources:
certificateObjectGlobalRulestack:
type: azure-native:cloudngfw:CertificateObjectGlobalRulestack
properties:
auditComment: comment
certificateSelfSigned: TRUE
certificateSignerResourceId:
description: description
globalRulestackName: praval
name: armid1
CertificateObjectGlobalRulestack_CreateOrUpdate_MinimumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var certificateObjectGlobalRulestack = new AzureNative.Cloudngfw.CertificateObjectGlobalRulestack("certificateObjectGlobalRulestack", new()
{
CertificateSelfSigned = AzureNative.Cloudngfw.BooleanEnum.TRUE,
GlobalRulestackName = "praval",
Name = "armid1",
});
});
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.NewCertificateObjectGlobalRulestack(ctx, "certificateObjectGlobalRulestack", &cloudngfw.CertificateObjectGlobalRulestackArgs{
CertificateSelfSigned: pulumi.String(cloudngfw.BooleanEnumTRUE),
GlobalRulestackName: pulumi.String("praval"),
Name: pulumi.String("armid1"),
})
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.CertificateObjectGlobalRulestack;
import com.pulumi.azurenative.cloudngfw.CertificateObjectGlobalRulestackArgs;
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 certificateObjectGlobalRulestack = new CertificateObjectGlobalRulestack("certificateObjectGlobalRulestack", CertificateObjectGlobalRulestackArgs.builder()
.certificateSelfSigned("TRUE")
.globalRulestackName("praval")
.name("armid1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
certificate_object_global_rulestack = azure_native.cloudngfw.CertificateObjectGlobalRulestack("certificateObjectGlobalRulestack",
certificate_self_signed=azure_native.cloudngfw.BooleanEnum.TRUE,
global_rulestack_name="praval",
name="armid1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const certificateObjectGlobalRulestack = new azure_native.cloudngfw.CertificateObjectGlobalRulestack("certificateObjectGlobalRulestack", {
certificateSelfSigned: azure_native.cloudngfw.BooleanEnum.TRUE,
globalRulestackName: "praval",
name: "armid1",
});
resources:
certificateObjectGlobalRulestack:
type: azure-native:cloudngfw:CertificateObjectGlobalRulestack
properties:
certificateSelfSigned: TRUE
globalRulestackName: praval
name: armid1
Create CertificateObjectGlobalRulestack Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CertificateObjectGlobalRulestack(name: string, args: CertificateObjectGlobalRulestackArgs, opts?: CustomResourceOptions);
@overload
def CertificateObjectGlobalRulestack(resource_name: str,
args: CertificateObjectGlobalRulestackArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CertificateObjectGlobalRulestack(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificate_self_signed: Optional[Union[str, BooleanEnum]] = None,
global_rulestack_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 NewCertificateObjectGlobalRulestack(ctx *Context, name string, args CertificateObjectGlobalRulestackArgs, opts ...ResourceOption) (*CertificateObjectGlobalRulestack, error)
public CertificateObjectGlobalRulestack(string name, CertificateObjectGlobalRulestackArgs args, CustomResourceOptions? opts = null)
public CertificateObjectGlobalRulestack(String name, CertificateObjectGlobalRulestackArgs args)
public CertificateObjectGlobalRulestack(String name, CertificateObjectGlobalRulestackArgs args, CustomResourceOptions options)
type: azure-native:cloudngfw:CertificateObjectGlobalRulestack
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 CertificateObjectGlobalRulestackArgs
- 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 CertificateObjectGlobalRulestackArgs
- 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 CertificateObjectGlobalRulestackArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CertificateObjectGlobalRulestackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CertificateObjectGlobalRulestackArgs
- 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 certificateObjectGlobalRulestackResource = new AzureNative.Cloudngfw.CertificateObjectGlobalRulestack("certificateObjectGlobalRulestackResource", new()
{
CertificateSelfSigned = "string",
GlobalRulestackName = "string",
AuditComment = "string",
CertificateSignerResourceId = "string",
Description = "string",
Name = "string",
});
example, err := cloudngfw.NewCertificateObjectGlobalRulestack(ctx, "certificateObjectGlobalRulestackResource", &cloudngfw.CertificateObjectGlobalRulestackArgs{
CertificateSelfSigned: pulumi.String("string"),
GlobalRulestackName: pulumi.String("string"),
AuditComment: pulumi.String("string"),
CertificateSignerResourceId: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
})
var certificateObjectGlobalRulestackResource = new CertificateObjectGlobalRulestack("certificateObjectGlobalRulestackResource", CertificateObjectGlobalRulestackArgs.builder()
.certificateSelfSigned("string")
.globalRulestackName("string")
.auditComment("string")
.certificateSignerResourceId("string")
.description("string")
.name("string")
.build());
certificate_object_global_rulestack_resource = azure_native.cloudngfw.CertificateObjectGlobalRulestack("certificateObjectGlobalRulestackResource",
certificate_self_signed="string",
global_rulestack_name="string",
audit_comment="string",
certificate_signer_resource_id="string",
description="string",
name="string")
const certificateObjectGlobalRulestackResource = new azure_native.cloudngfw.CertificateObjectGlobalRulestack("certificateObjectGlobalRulestackResource", {
certificateSelfSigned: "string",
globalRulestackName: "string",
auditComment: "string",
certificateSignerResourceId: "string",
description: "string",
name: "string",
});
type: azure-native:cloudngfw:CertificateObjectGlobalRulestack
properties:
auditComment: string
certificateSelfSigned: string
certificateSignerResourceId: string
description: string
globalRulestackName: string
name: string
CertificateObjectGlobalRulestack 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 CertificateObjectGlobalRulestack resource accepts the following input properties:
- Certificate
Self string | Pulumi.Signed Azure Native. Cloudngfw. Boolean Enum - use certificate self signed
- Global
Rulestack stringName - GlobalRulestack resource name
- Audit
Comment string - comment for this object
- Certificate
Signer 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 string | BooleanSigned Enum - use certificate self signed
- Global
Rulestack stringName - GlobalRulestack resource name
- Audit
Comment string - comment for this object
- Certificate
Signer 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 String | BooleanSigned Enum - use certificate self signed
- global
Rulestack StringName - GlobalRulestack resource name
- audit
Comment String - comment for this object
- certificate
Signer 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 string | BooleanSigned Enum - use certificate self signed
- global
Rulestack stringName - GlobalRulestack resource name
- audit
Comment string - comment for this object
- certificate
Signer 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
- global_
rulestack_ strname - GlobalRulestack resource name
- 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
- certificate
Self String | "TRUE" | "FALSE"Signed - use certificate self signed
- global
Rulestack StringName - GlobalRulestack resource name
- audit
Comment String - comment for this object
- certificate
Signer 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 CertificateObjectGlobalRulestack resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - Provisioning state of the resource.
- System
Data 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.
- Provisioning
State string - Provisioning state of the resource.
- System
Data 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.
- provisioning
State String - Provisioning state of the resource.
- system
Data 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.
- provisioning
State string - Provisioning state of the resource.
- system
Data 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.
- provisioning
State String - Provisioning state of the resource.
- system
Data 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
- Boolean
Enum TRUE - TRUE
- Boolean
Enum FALSE - FALSE
- TRUE
- TRUE
- FALSE
- FALSE
- TRUE
- TRUE
- FALSE
- FALSE
- TRUE
- TRUE
- FALSE
- FALSE
- "TRUE"
- TRUE
- "FALSE"
- FALSE
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:cloudngfw:CertificateObjectGlobalRulestack armid1 /providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/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