1. Packages
  2. Zitadel
  3. API Docs
  4. DefaultPrivacyPolicy
zitadel v0.1.8 published on Thursday, May 30, 2024 by pulumiverse

zitadel.DefaultPrivacyPolicy

Explore with Pulumi AI

zitadel logo
zitadel v0.1.8 published on Thursday, May 30, 2024 by pulumiverse

    Resource representing the default privacy policy.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zitadel = Pulumiverse.Zitadel;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Zitadel.DefaultPrivacyPolicy("default", new()
        {
            HelpLink = "https://example.com/help",
            PrivacyLink = "https://example.com/privacy",
            SupportEmail = "support@example.com",
            TosLink = "https://example.com/tos",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := zitadel.NewDefaultPrivacyPolicy(ctx, "default", &zitadel.DefaultPrivacyPolicyArgs{
    			HelpLink:     pulumi.String("https://example.com/help"),
    			PrivacyLink:  pulumi.String("https://example.com/privacy"),
    			SupportEmail: pulumi.String("support@example.com"),
    			TosLink:      pulumi.String("https://example.com/tos"),
    		})
    		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.zitadel.DefaultPrivacyPolicy;
    import com.pulumi.zitadel.DefaultPrivacyPolicyArgs;
    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 default_ = new DefaultPrivacyPolicy("default", DefaultPrivacyPolicyArgs.builder()        
                .helpLink("https://example.com/help")
                .privacyLink("https://example.com/privacy")
                .supportEmail("support@example.com")
                .tosLink("https://example.com/tos")
                .build());
    
        }
    }
    
    import pulumi
    import pulumiverse_zitadel as zitadel
    
    default = zitadel.DefaultPrivacyPolicy("default",
        help_link="https://example.com/help",
        privacy_link="https://example.com/privacy",
        support_email="support@example.com",
        tos_link="https://example.com/tos")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as zitadel from "@pulumiverse/zitadel";
    
    const _default = new zitadel.DefaultPrivacyPolicy("default", {
        helpLink: "https://example.com/help",
        privacyLink: "https://example.com/privacy",
        supportEmail: "support@example.com",
        tosLink: "https://example.com/tos",
    });
    
    resources:
      default:
        type: zitadel:DefaultPrivacyPolicy
        properties:
          helpLink: https://example.com/help
          privacyLink: https://example.com/privacy
          supportEmail: support@example.com
          tosLink: https://example.com/tos
    

    Create DefaultPrivacyPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DefaultPrivacyPolicy(name: string, args?: DefaultPrivacyPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def DefaultPrivacyPolicy(resource_name: str,
                             args: Optional[DefaultPrivacyPolicyArgs] = None,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def DefaultPrivacyPolicy(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             help_link: Optional[str] = None,
                             privacy_link: Optional[str] = None,
                             support_email: Optional[str] = None,
                             tos_link: Optional[str] = None)
    func NewDefaultPrivacyPolicy(ctx *Context, name string, args *DefaultPrivacyPolicyArgs, opts ...ResourceOption) (*DefaultPrivacyPolicy, error)
    public DefaultPrivacyPolicy(string name, DefaultPrivacyPolicyArgs? args = null, CustomResourceOptions? opts = null)
    public DefaultPrivacyPolicy(String name, DefaultPrivacyPolicyArgs args)
    public DefaultPrivacyPolicy(String name, DefaultPrivacyPolicyArgs args, CustomResourceOptions options)
    
    type: zitadel:DefaultPrivacyPolicy
    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 DefaultPrivacyPolicyArgs
    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 DefaultPrivacyPolicyArgs
    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 DefaultPrivacyPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DefaultPrivacyPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DefaultPrivacyPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var defaultPrivacyPolicyResource = new Zitadel.DefaultPrivacyPolicy("defaultPrivacyPolicyResource", new()
    {
        HelpLink = "string",
        PrivacyLink = "string",
        SupportEmail = "string",
        TosLink = "string",
    });
    
    example, err := zitadel.NewDefaultPrivacyPolicy(ctx, "defaultPrivacyPolicyResource", &zitadel.DefaultPrivacyPolicyArgs{
    	HelpLink:     pulumi.String("string"),
    	PrivacyLink:  pulumi.String("string"),
    	SupportEmail: pulumi.String("string"),
    	TosLink:      pulumi.String("string"),
    })
    
    var defaultPrivacyPolicyResource = new DefaultPrivacyPolicy("defaultPrivacyPolicyResource", DefaultPrivacyPolicyArgs.builder()
        .helpLink("string")
        .privacyLink("string")
        .supportEmail("string")
        .tosLink("string")
        .build());
    
    default_privacy_policy_resource = zitadel.DefaultPrivacyPolicy("defaultPrivacyPolicyResource",
        help_link="string",
        privacy_link="string",
        support_email="string",
        tos_link="string")
    
    const defaultPrivacyPolicyResource = new zitadel.DefaultPrivacyPolicy("defaultPrivacyPolicyResource", {
        helpLink: "string",
        privacyLink: "string",
        supportEmail: "string",
        tosLink: "string",
    });
    
    type: zitadel:DefaultPrivacyPolicy
    properties:
        helpLink: string
        privacyLink: string
        supportEmail: string
        tosLink: string
    

    DefaultPrivacyPolicy 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 DefaultPrivacyPolicy resource accepts the following input properties:

    HelpLink string
    PrivacyLink string
    SupportEmail string
    TosLink string
    HelpLink string
    PrivacyLink string
    SupportEmail string
    TosLink string
    helpLink String
    privacyLink String
    supportEmail String
    tosLink String
    helpLink string
    privacyLink string
    supportEmail string
    tosLink string
    helpLink String
    privacyLink String
    supportEmail String
    tosLink String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DefaultPrivacyPolicy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DefaultPrivacyPolicy Resource

    Get an existing DefaultPrivacyPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DefaultPrivacyPolicyState, opts?: CustomResourceOptions): DefaultPrivacyPolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            help_link: Optional[str] = None,
            privacy_link: Optional[str] = None,
            support_email: Optional[str] = None,
            tos_link: Optional[str] = None) -> DefaultPrivacyPolicy
    func GetDefaultPrivacyPolicy(ctx *Context, name string, id IDInput, state *DefaultPrivacyPolicyState, opts ...ResourceOption) (*DefaultPrivacyPolicy, error)
    public static DefaultPrivacyPolicy Get(string name, Input<string> id, DefaultPrivacyPolicyState? state, CustomResourceOptions? opts = null)
    public static DefaultPrivacyPolicy get(String name, Output<String> id, DefaultPrivacyPolicyState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    HelpLink string
    PrivacyLink string
    SupportEmail string
    TosLink string
    HelpLink string
    PrivacyLink string
    SupportEmail string
    TosLink string
    helpLink String
    privacyLink String
    supportEmail String
    tosLink String
    helpLink string
    privacyLink string
    supportEmail string
    tosLink string
    helpLink String
    privacyLink String
    supportEmail String
    tosLink String

    Import

    terraform The resource can be imported using the ID format <>, e.g.

     $ pulumi import zitadel:index/defaultPrivacyPolicy:DefaultPrivacyPolicy imported ''
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    zitadel pulumiverse/pulumi-zitadel
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the zitadel Terraform Provider.
    zitadel logo
    zitadel v0.1.8 published on Thursday, May 30, 2024 by pulumiverse