1. Packages
  2. Packages
  3. Netskope Publisher
  4. API Docs
  5. TencentcloudPublisher
Viewing docs for Netskope Publisher v0.3.4
published on Thursday, May 21, 2026 by johnneerdael
netskope-publisher logo
Viewing docs for Netskope Publisher v0.3.4
published on Thursday, May 21, 2026 by johnneerdael

    Create TencentcloudPublisher Resource

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

    Constructor syntax

    new TencentcloudPublisher(name: string, args: TencentcloudPublisherArgs, opts?: ComponentResourceOptions);
    @overload
    def TencentcloudPublisher(resource_name: str,
                              args: TencentcloudPublisherArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def TencentcloudPublisher(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              availability_zone: Optional[str] = None,
                              image_id: Optional[str] = None,
                              key_name: Optional[str] = None,
                              system_disk_type: Optional[str] = None,
                              bootstrap: Optional[bool] = None,
                              bootstrap_url: Optional[str] = None,
                              names: Optional[Sequence[str]] = None,
                              guest_network_interface: Optional[_provider.GuestNetworkInterfaceArgs] = None,
                              auth_mode: Optional[str] = None,
                              install_user: Optional[str] = None,
                              install_user_password: Optional[str] = None,
                              install_user_password_is_hash: Optional[bool] = None,
                              install_user_ssh_authorized_keys: Optional[Sequence[str]] = None,
                              instance_type: Optional[str] = None,
                              bearer_token: Optional[str] = None,
                              api_token: Optional[str] = None,
                              delete_default_user: Optional[bool] = None,
                              nonat: Optional[bool] = None,
                              oauth2: Optional[_provider.NetskopeOAuth2ArgsArgs] = None,
                              placement_labels: Optional[Sequence[str]] = None,
                              registrations: Optional[Mapping[str, _provider.PublisherRegistrationInputArgs]] = None,
                              replicas: Optional[int] = None,
                              security_groups: Optional[Sequence[str]] = None,
                              subnet_id: Optional[str] = None,
                              system_disk_size: Optional[int] = None,
                              name_prefix: Optional[str] = None,
                              tags: Optional[Mapping[str, str]] = None,
                              tenant_url: Optional[str] = None,
                              vpc_id: Optional[str] = None,
                              wizard_path: Optional[str] = None)
    func NewTencentcloudPublisher(ctx *Context, name string, args TencentcloudPublisherArgs, opts ...ResourceOption) (*TencentcloudPublisher, error)
    public TencentcloudPublisher(string name, TencentcloudPublisherArgs args, ComponentResourceOptions? opts = null)
    public TencentcloudPublisher(String name, TencentcloudPublisherArgs args)
    public TencentcloudPublisher(String name, TencentcloudPublisherArgs args, ComponentResourceOptions options)
    
    type: netskope-publisher:TencentcloudPublisher
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "netskope-publisher_tencentcloudpublisher" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TencentcloudPublisherArgs
    The arguments to resource properties.
    opts ComponentResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TencentcloudPublisherArgs
    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 TencentcloudPublisherArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TencentcloudPublisherArgs
    The arguments to resource properties.
    opts ComponentResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TencentcloudPublisherArgs
    The arguments to resource properties.
    options ComponentResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var tencentcloudPublisherResource = new NetskopePublisher.TencentcloudPublisher("tencentcloudPublisherResource", new()
    {
        AvailabilityZone = "string",
        ImageId = "string",
        KeyName = "string",
        SystemDiskType = "string",
        Bootstrap = false,
        BootstrapUrl = "string",
        Names = new[]
        {
            "string",
        },
        GuestNetworkInterface = new NetskopePublisher.Provider.Inputs.GuestNetworkInterfaceArgs
        {
            Name = "string",
            Addresses = new[]
            {
                "string",
            },
            Dhcp4 = false,
            Gateway4 = "string",
            Mtu = 0,
            Nameservers = new[]
            {
                "string",
            },
        },
        AuthMode = "string",
        InstallUser = "string",
        InstallUserPassword = "string",
        InstallUserPasswordIsHash = false,
        InstallUserSshAuthorizedKeys = new[]
        {
            "string",
        },
        InstanceType = "string",
        BearerToken = "string",
        ApiToken = "string",
        DeleteDefaultUser = false,
        Nonat = false,
        Oauth2 = new NetskopePublisher.Provider.Inputs.NetskopeOAuth2ArgsArgs
        {
            ClientId = "string",
            ClientSecret = "string",
            TokenUrl = "string",
            Scope = "string",
        },
        PlacementLabels = new[]
        {
            "string",
        },
        Registrations = 
        {
            { "string", new NetskopePublisher.Provider.Inputs.PublisherRegistrationInputArgs
            {
                PublisherId = 0,
                RegistrationToken = "string",
                ExistedBefore = false,
            } },
        },
        Replicas = 0,
        SecurityGroups = new[]
        {
            "string",
        },
        SubnetId = "string",
        SystemDiskSize = 0,
        NamePrefix = "string",
        Tags = 
        {
            { "string", "string" },
        },
        TenantUrl = "string",
        VpcId = "string",
        WizardPath = "string",
    });
    
    example, err := netskopepublisher.NewTencentcloudPublisher(ctx, "tencentcloudPublisherResource", &netskopepublisher.TencentcloudPublisherArgs{
    	AvailabilityZone: "string",
    	ImageId:          "string",
    	KeyName:          "string",
    	SystemDiskType:   "string",
    	Bootstrap:        false,
    	BootstrapUrl:     "string",
    	Names: pulumi.StringArray{
    		"string",
    	},
    	GuestNetworkInterface: &provider.GuestNetworkInterfaceArgs{
    		Name: pulumi.String("string"),
    		Addresses: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Dhcp4:    pulumi.Bool(false),
    		Gateway4: pulumi.String("string"),
    		Mtu:      pulumi.Int(0),
    		Nameservers: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	AuthMode:                  "string",
    	InstallUser:               "string",
    	InstallUserPassword:       "string",
    	InstallUserPasswordIsHash: false,
    	InstallUserSshAuthorizedKeys: pulumi.StringArray{
    		"string",
    	},
    	InstanceType:      "string",
    	BearerToken:       "string",
    	ApiToken:          "string",
    	DeleteDefaultUser: false,
    	Nonat:             false,
    	Oauth2: &provider.NetskopeOAuth2ArgsArgs{
    		ClientId:     pulumi.String("string"),
    		ClientSecret: pulumi.String("string"),
    		TokenUrl:     pulumi.String("string"),
    		Scope:        pulumi.String("string"),
    	},
    	PlacementLabels: pulumi.StringArray{
    		"string",
    	},
    	Registrations: provider.PublisherRegistrationInputMap{
    		"string": &provider.PublisherRegistrationInputArgs{
    			PublisherId:       pulumi.Int(0),
    			RegistrationToken: pulumi.String("string"),
    			ExistedBefore:     pulumi.Bool(false),
    		},
    	},
    	Replicas: 0,
    	SecurityGroups: pulumi.StringArray{
    		"string",
    	},
    	SubnetId:       "string",
    	SystemDiskSize: 0,
    	NamePrefix:     "string",
    	Tags: pulumi.StringMap{
    		"string": "string",
    	},
    	TenantUrl:  "string",
    	VpcId:      "string",
    	WizardPath: "string",
    })
    
    resource "netskope-publisher_tencentcloudpublisher" "tencentcloudPublisherResource" {
      availability_zone = "string"
      image_id          = "string"
      key_name          = "string"
      system_disk_type  = "string"
      bootstrap         = false
      bootstrap_url     = "string"
      names             = ["string"]
      guest_network_interface = {
        name        = "string"
        addresses   = ["string"]
        dhcp4       = false
        gateway4    = "string"
        mtu         = 0
        nameservers = ["string"]
      }
      auth_mode                        = "string"
      install_user                     = "string"
      install_user_password            = "string"
      install_user_password_is_hash    = false
      install_user_ssh_authorized_keys = ["string"]
      instance_type                    = "string"
      bearer_token                     = "string"
      api_token                        = "string"
      delete_default_user              = false
      nonat                            = false
      oauth2 = {
        client_id     = "string"
        client_secret = "string"
        token_url     = "string"
        scope         = "string"
      }
      placement_labels = ["string"]
      registrations = {
        "string" = {
          publisher_id       = 0
          registration_token = "string"
          existed_before     = false
        }
      }
      replicas         = 0
      security_groups  = ["string"]
      subnet_id        = "string"
      system_disk_size = 0
      name_prefix      = "string"
      tags = {
        "string" = "string"
      }
      tenant_url  = "string"
      vpc_id      = "string"
      wizard_path = "string"
    }
    
    var tencentcloudPublisherResource = new TencentcloudPublisher("tencentcloudPublisherResource", TencentcloudPublisherArgs.builder()
        .availabilityZone("string")
        .imageId("string")
        .keyName("string")
        .systemDiskType("string")
        .bootstrap(false)
        .bootstrapUrl("string")
        .names("string")
        .guestNetworkInterface(GuestNetworkInterfaceArgs.builder()
            .name("string")
            .addresses("string")
            .dhcp4(false)
            .gateway4("string")
            .mtu(0)
            .nameservers("string")
            .build())
        .authMode("string")
        .installUser("string")
        .installUserPassword("string")
        .installUserPasswordIsHash(false)
        .installUserSshAuthorizedKeys("string")
        .instanceType("string")
        .bearerToken("string")
        .apiToken("string")
        .deleteDefaultUser(false)
        .nonat(false)
        .oauth2(NetskopeOAuth2Args.builder()
            .clientId("string")
            .clientSecret("string")
            .tokenUrl("string")
            .scope("string")
            .build())
        .placementLabels("string")
        .registrations(Map.of("string", PublisherRegistrationInputArgs.builder()
            .publisherId(0)
            .registrationToken("string")
            .existedBefore(false)
            .build()))
        .replicas(0)
        .securityGroups("string")
        .subnetId("string")
        .systemDiskSize(0)
        .namePrefix("string")
        .tags(Map.of("string", "string"))
        .tenantUrl("string")
        .vpcId("string")
        .wizardPath("string")
        .build());
    
    tencentcloud_publisher_resource = netskope_publisher.TencentcloudPublisher("tencentcloudPublisherResource",
        availability_zone="string",
        image_id="string",
        key_name="string",
        system_disk_type="string",
        bootstrap=False,
        bootstrap_url="string",
        names=["string"],
        guest_network_interface={
            "name": "string",
            "addresses": ["string"],
            "dhcp4": False,
            "gateway4": "string",
            "mtu": 0,
            "nameservers": ["string"],
        },
        auth_mode="string",
        install_user="string",
        install_user_password="string",
        install_user_password_is_hash=False,
        install_user_ssh_authorized_keys=["string"],
        instance_type="string",
        bearer_token="string",
        api_token="string",
        delete_default_user=False,
        nonat=False,
        oauth2={
            "client_id": "string",
            "client_secret": "string",
            "token_url": "string",
            "scope": "string",
        },
        placement_labels=["string"],
        registrations={
            "string": {
                "publisher_id": 0,
                "registration_token": "string",
                "existed_before": False,
            },
        },
        replicas=0,
        security_groups=["string"],
        subnet_id="string",
        system_disk_size=0,
        name_prefix="string",
        tags={
            "string": "string",
        },
        tenant_url="string",
        vpc_id="string",
        wizard_path="string")
    
    const tencentcloudPublisherResource = new netskope_publisher.TencentcloudPublisher("tencentcloudPublisherResource", {
        availabilityZone: "string",
        imageId: "string",
        keyName: "string",
        systemDiskType: "string",
        bootstrap: false,
        bootstrapUrl: "string",
        names: ["string"],
        guestNetworkInterface: {
            name: "string",
            addresses: ["string"],
            dhcp4: false,
            gateway4: "string",
            mtu: 0,
            nameservers: ["string"],
        },
        authMode: "string",
        installUser: "string",
        installUserPassword: "string",
        installUserPasswordIsHash: false,
        installUserSshAuthorizedKeys: ["string"],
        instanceType: "string",
        bearerToken: "string",
        apiToken: "string",
        deleteDefaultUser: false,
        nonat: false,
        oauth2: {
            clientId: "string",
            clientSecret: "string",
            tokenUrl: "string",
            scope: "string",
        },
        placementLabels: ["string"],
        registrations: {
            string: {
                publisherId: 0,
                registrationToken: "string",
                existedBefore: false,
            },
        },
        replicas: 0,
        securityGroups: ["string"],
        subnetId: "string",
        systemDiskSize: 0,
        namePrefix: "string",
        tags: {
            string: "string",
        },
        tenantUrl: "string",
        vpcId: "string",
        wizardPath: "string",
    });
    
    type: netskope-publisher:TencentcloudPublisher
    properties:
        apiToken: string
        authMode: string
        availabilityZone: string
        bearerToken: string
        bootstrap: false
        bootstrapUrl: string
        deleteDefaultUser: false
        guestNetworkInterface:
            addresses:
                - string
            dhcp4: false
            gateway4: string
            mtu: 0
            name: string
            nameservers:
                - string
        imageId: string
        installUser: string
        installUserPassword: string
        installUserPasswordIsHash: false
        installUserSshAuthorizedKeys:
            - string
        instanceType: string
        keyName: string
        namePrefix: string
        names:
            - string
        nonat: false
        oauth2:
            clientId: string
            clientSecret: string
            scope: string
            tokenUrl: string
        placementLabels:
            - string
        registrations:
            string:
                existedBefore: false
                publisherId: 0
                registrationToken: string
        replicas: 0
        securityGroups:
            - string
        subnetId: string
        systemDiskSize: 0
        systemDiskType: string
        tags:
            string: string
        tenantUrl: string
        vpcId: string
        wizardPath: string
    

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

    availabilityZone String
    imageId String
    apiToken String
    authMode String
    bearerToken String
    bootstrap Boolean
    bootstrapUrl String
    deleteDefaultUser Boolean
    guestNetworkInterface GuestNetworkInterface
    installUser String
    installUserPassword String
    installUserPasswordIsHash Boolean
    installUserSshAuthorizedKeys List<String>
    instanceType String
    keyName String
    namePrefix String
    names List<String>
    nonat Boolean
    oauth2 NetskopeOAuth2Args
    placementLabels List<String>
    registrations Map<String,PublisherRegistrationInputArgs>
    replicas Integer
    securityGroups List<String>
    subnetId String
    systemDiskSize Integer
    systemDiskType String
    tags Map<String,String>
    tenantUrl String
    vpcId String
    wizardPath String
    availabilityZone string
    imageId string
    apiToken string
    authMode string
    bearerToken string
    bootstrap boolean
    bootstrapUrl string
    deleteDefaultUser boolean
    guestNetworkInterface providerGuestNetworkInterface
    installUser string
    installUserPassword string
    installUserPasswordIsHash boolean
    installUserSshAuthorizedKeys string[]
    instanceType string
    keyName string
    namePrefix string
    names string[]
    nonat boolean
    oauth2 providerNetskopeOAuth2Args
    placementLabels string[]
    registrations {[key: string]: providerPublisherRegistrationInputArgs}
    replicas number
    securityGroups string[]
    subnetId string
    systemDiskSize number
    systemDiskType string
    tags {[key: string]: string}
    tenantUrl string
    vpcId string
    wizardPath string

    Outputs

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

    PublisherNames List<string>
    Publishers Dictionary<string, object>
    PublisherNames []string
    Publishers map[string]interface{}
    publisher_names list(string)
    publishers map(any)
    publisherNames List<String>
    publishers Map<String,Object>
    publisherNames string[]
    publishers {[key: string]: any}
    publisher_names Sequence[str]
    publishers Mapping[str, Any]
    publisherNames List<String>
    publishers Map<Any>

    Supporting Types

    GuestNetworkInterface, GuestNetworkInterfaceArgs

    Name string
    Addresses List<string>
    Dhcp4 bool
    Gateway4 string
    Mtu int
    Nameservers List<string>
    Name string
    Addresses []string
    Dhcp4 bool
    Gateway4 string
    Mtu int
    Nameservers []string
    name string
    addresses list(string)
    dhcp4 bool
    gateway4 string
    mtu number
    nameservers list(string)
    name String
    addresses List<String>
    dhcp4 Boolean
    gateway4 String
    mtu Integer
    nameservers List<String>
    name string
    addresses string[]
    dhcp4 boolean
    gateway4 string
    mtu number
    nameservers string[]
    name str
    addresses Sequence[str]
    dhcp4 bool
    gateway4 str
    mtu int
    nameservers Sequence[str]
    name String
    addresses List<String>
    dhcp4 Boolean
    gateway4 String
    mtu Number
    nameservers List<String>

    NetskopeOAuth2Args, NetskopeOAuth2ArgsArgs

    ClientId string
    ClientSecret string
    TokenUrl string
    Scope string
    ClientId string
    ClientSecret string
    TokenUrl string
    Scope string
    client_id string
    client_secret string
    token_url string
    scope string
    clientId String
    clientSecret String
    tokenUrl String
    scope String
    clientId string
    clientSecret string
    tokenUrl string
    scope string
    clientId String
    clientSecret String
    tokenUrl String
    scope String

    PublisherRegistrationInput, PublisherRegistrationInputArgs

    Package Details

    Repository
    netskope-publisher johnneerdael/pulumi-netskope-publisher
    License
    Apache-2.0
    netskope-publisher logo
    Viewing docs for Netskope Publisher v0.3.4
    published on Thursday, May 21, 2026 by johnneerdael

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial