1. Packages
  2. Zitadel
  3. API Docs
  4. DefaultPrivacyPolicy
zitadel v0.0.12 published on Sunday, Jun 11, 2023 by pulumiverse

zitadel.DefaultPrivacyPolicy

Explore with Pulumi AI

zitadel logo
zitadel v0.0.12 published on Sunday, Jun 11, 2023 by pulumiverse

    Resource representing the default privacy policy.

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Zitadel = Pulumiverse.Zitadel;
    
    return await Deployment.RunAsync(() => 
    {
        var privacyPolicy = new Zitadel.DefaultPrivacyPolicy("privacyPolicy", new()
        {
            HelpLink = "https://google.com",
            PrivacyLink = "https://google.com",
            TosLink = "https://google.com",
        });
    
    });
    
    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, "privacyPolicy", &zitadel.DefaultPrivacyPolicyArgs{
    			HelpLink:    pulumi.String("https://google.com"),
    			PrivacyLink: pulumi.String("https://google.com"),
    			TosLink:     pulumi.String("https://google.com"),
    		})
    		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 privacyPolicy = new DefaultPrivacyPolicy("privacyPolicy", DefaultPrivacyPolicyArgs.builder()        
                .helpLink("https://google.com")
                .privacyLink("https://google.com")
                .tosLink("https://google.com")
                .build());
    
        }
    }
    
    import pulumi
    import pulumiverse_zitadel as zitadel
    
    privacy_policy = zitadel.DefaultPrivacyPolicy("privacyPolicy",
        help_link="https://google.com",
        privacy_link="https://google.com",
        tos_link="https://google.com")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as zitadel from "@pulumi/zitadel";
    
    const privacyPolicy = new zitadel.DefaultPrivacyPolicy("privacy_policy", {
        helpLink: "https://google.com",
        privacyLink: "https://google.com",
        tosLink: "https://google.com",
    });
    
    resources:
      privacyPolicy:
        type: zitadel:DefaultPrivacyPolicy
        properties:
          helpLink: https://google.com
          privacyLink: https://google.com
          tosLink: https://google.com
    

    Create DefaultPrivacyPolicy Resource

    new DefaultPrivacyPolicy(name: string, args: DefaultPrivacyPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def DefaultPrivacyPolicy(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             help_link: Optional[str] = None,
                             privacy_link: Optional[str] = None,
                             tos_link: Optional[str] = None)
    @overload
    def DefaultPrivacyPolicy(resource_name: str,
                             args: DefaultPrivacyPolicyArgs,
                             opts: Optional[ResourceOptions] = None)
    func NewDefaultPrivacyPolicy(ctx *Context, name string, args DefaultPrivacyPolicyArgs, opts ...ResourceOption) (*DefaultPrivacyPolicy, error)
    public DefaultPrivacyPolicy(string name, DefaultPrivacyPolicyArgs args, 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.
    
    
    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.

    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
    TosLink string
    HelpLink string
    PrivacyLink string
    TosLink string
    helpLink String
    privacyLink String
    tosLink String
    helpLink string
    privacyLink string
    tosLink string
    helpLink String
    privacyLink 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,
            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
    TosLink string
    HelpLink string
    PrivacyLink string
    TosLink string
    helpLink String
    privacyLink String
    tosLink String
    helpLink string
    privacyLink string
    tosLink string
    helpLink String
    privacyLink String
    tosLink String

    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.0.12 published on Sunday, Jun 11, 2023 by pulumiverse