1. Packages
  2. Packages
  3. Netskope Publisher
  4. API Docs
  5. HcloudPublisher
Viewing docs for Netskope Publisher v0.1.11
published on Wednesday, May 20, 2026 by johnneerdael
netskope-publisher logo
Viewing docs for Netskope Publisher v0.1.11
published on Wednesday, May 20, 2026 by johnneerdael

    Create HcloudPublisher Resource

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

    Constructor syntax

    new HcloudPublisher(name: string, args?: HcloudPublisherArgs, opts?: ComponentResourceOptions);
    @overload
    def HcloudPublisher(resource_name: str,
                        args: Optional[HcloudPublisherArgs] = None,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def HcloudPublisher(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        api_token: Optional[str] = None,
                        assign_public_ip: Optional[bool] = None,
                        auth_mode: Optional[str] = None,
                        bearer_token: Optional[str] = None,
                        bootstrap: Optional[bool] = None,
                        bootstrap_url: Optional[str] = None,
                        datacenter: Optional[str] = None,
                        delete_default_user: Optional[bool] = None,
                        firewall_ids: Optional[Sequence[int]] = None,
                        guest_network_interface: Optional[_provider.GuestNetworkInterfaceArgs] = None,
                        image: 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,
                        location: Optional[str] = None,
                        name_prefix: Optional[str] = None,
                        names: Optional[Sequence[str]] = None,
                        network_id: Optional[int] = None,
                        nonat: Optional[bool] = None,
                        oauth2: Optional[_provider.NetskopeOAuth2ArgsArgs] = None,
                        registrations: Optional[Mapping[str, _provider.PublisherRegistrationInputArgs]] = None,
                        replicas: Optional[int] = None,
                        server_type: Optional[str] = None,
                        ssh_keys: Optional[Sequence[str]] = None,
                        tags: Optional[Mapping[str, str]] = None,
                        tenant_url: Optional[str] = None,
                        wizard_path: Optional[str] = None)
    func NewHcloudPublisher(ctx *Context, name string, args *HcloudPublisherArgs, opts ...ResourceOption) (*HcloudPublisher, error)
    public HcloudPublisher(string name, HcloudPublisherArgs? args = null, ComponentResourceOptions? opts = null)
    public HcloudPublisher(String name, HcloudPublisherArgs args)
    public HcloudPublisher(String name, HcloudPublisherArgs args, ComponentResourceOptions options)
    
    type: netskope-publisher:HcloudPublisher
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "netskope-publisher_hcloudpublisher" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args HcloudPublisherArgs
    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 HcloudPublisherArgs
    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 HcloudPublisherArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HcloudPublisherArgs
    The arguments to resource properties.
    opts ComponentResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HcloudPublisherArgs
    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 hcloudPublisherResource = new NetskopePublisher.HcloudPublisher("hcloudPublisherResource", new()
    {
        ApiToken = "string",
        AssignPublicIp = false,
        AuthMode = "string",
        BearerToken = "string",
        Bootstrap = false,
        BootstrapUrl = "string",
        Datacenter = "string",
        DeleteDefaultUser = false,
        FirewallIds = new[]
        {
            0,
        },
        GuestNetworkInterface = new NetskopePublisher.Provider.Inputs.GuestNetworkInterfaceArgs
        {
            Name = "string",
            Addresses = new[]
            {
                "string",
            },
            Dhcp4 = false,
            Gateway4 = "string",
            Mtu = 0,
            Nameservers = new[]
            {
                "string",
            },
        },
        Image = "string",
        InstallUser = "string",
        InstallUserPassword = "string",
        InstallUserPasswordIsHash = false,
        InstallUserSshAuthorizedKeys = new[]
        {
            "string",
        },
        Location = "string",
        NamePrefix = "string",
        Names = new[]
        {
            "string",
        },
        NetworkId = 0,
        Nonat = false,
        Oauth2 = new NetskopePublisher.Provider.Inputs.NetskopeOAuth2ArgsArgs
        {
            ClientId = "string",
            ClientSecret = "string",
            TokenUrl = "string",
            Scope = "string",
        },
        Registrations = 
        {
            { "string", new NetskopePublisher.Provider.Inputs.PublisherRegistrationInputArgs
            {
                PublisherId = 0,
                RegistrationToken = "string",
                ExistedBefore = false,
            } },
        },
        Replicas = 0,
        ServerType = "string",
        SshKeys = new[]
        {
            "string",
        },
        Tags = 
        {
            { "string", "string" },
        },
        TenantUrl = "string",
        WizardPath = "string",
    });
    
    example, err := netskopepublisher.NewHcloudPublisher(ctx, "hcloudPublisherResource", &netskopepublisher.HcloudPublisherArgs{
    	ApiToken:          "string",
    	AssignPublicIp:    false,
    	AuthMode:          "string",
    	BearerToken:       "string",
    	Bootstrap:         false,
    	BootstrapUrl:      "string",
    	Datacenter:        "string",
    	DeleteDefaultUser: false,
    	FirewallIds: pulumi.IntArray{
    		0,
    	},
    	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"),
    		},
    	},
    	Image:                     "string",
    	InstallUser:               "string",
    	InstallUserPassword:       "string",
    	InstallUserPasswordIsHash: false,
    	InstallUserSshAuthorizedKeys: pulumi.StringArray{
    		"string",
    	},
    	Location:   "string",
    	NamePrefix: "string",
    	Names: pulumi.StringArray{
    		"string",
    	},
    	NetworkId: 0,
    	Nonat:     false,
    	Oauth2: &provider.NetskopeOAuth2ArgsArgs{
    		ClientId:     pulumi.String("string"),
    		ClientSecret: pulumi.String("string"),
    		TokenUrl:     pulumi.String("string"),
    		Scope:        pulumi.String("string"),
    	},
    	Registrations: provider.PublisherRegistrationInputMap{
    		"string": &provider.PublisherRegistrationInputArgs{
    			PublisherId:       pulumi.Int(0),
    			RegistrationToken: pulumi.String("string"),
    			ExistedBefore:     pulumi.Bool(false),
    		},
    	},
    	Replicas:   0,
    	ServerType: "string",
    	SshKeys: pulumi.StringArray{
    		"string",
    	},
    	Tags: pulumi.StringMap{
    		"string": "string",
    	},
    	TenantUrl:  "string",
    	WizardPath: "string",
    })
    
    resource "netskope-publisher_hcloudpublisher" "hcloudPublisherResource" {
      api_token           = "string"
      assign_public_ip    = false
      auth_mode           = "string"
      bearer_token        = "string"
      bootstrap           = false
      bootstrap_url       = "string"
      datacenter          = "string"
      delete_default_user = false
      firewall_ids        = [0]
      guest_network_interface = {
        name        = "string"
        addresses   = ["string"]
        dhcp4       = false
        gateway4    = "string"
        mtu         = 0
        nameservers = ["string"]
      }
      image                            = "string"
      install_user                     = "string"
      install_user_password            = "string"
      install_user_password_is_hash    = false
      install_user_ssh_authorized_keys = ["string"]
      location                         = "string"
      name_prefix                      = "string"
      names                            = ["string"]
      network_id                       = 0
      nonat                            = false
      oauth2 = {
        client_id     = "string"
        client_secret = "string"
        token_url     = "string"
        scope         = "string"
      }
      registrations = {
        "string" = {
          publisher_id       = 0
          registration_token = "string"
          existed_before     = false
        }
      }
      replicas    = 0
      server_type = "string"
      ssh_keys    = ["string"]
      tags = {
        "string" = "string"
      }
      tenant_url  = "string"
      wizard_path = "string"
    }
    
    var hcloudPublisherResource = new HcloudPublisher("hcloudPublisherResource", HcloudPublisherArgs.builder()
        .apiToken("string")
        .assignPublicIp(false)
        .authMode("string")
        .bearerToken("string")
        .bootstrap(false)
        .bootstrapUrl("string")
        .datacenter("string")
        .deleteDefaultUser(false)
        .firewallIds(0)
        .guestNetworkInterface(GuestNetworkInterfaceArgs.builder()
            .name("string")
            .addresses("string")
            .dhcp4(false)
            .gateway4("string")
            .mtu(0)
            .nameservers("string")
            .build())
        .image("string")
        .installUser("string")
        .installUserPassword("string")
        .installUserPasswordIsHash(false)
        .installUserSshAuthorizedKeys("string")
        .location("string")
        .namePrefix("string")
        .names("string")
        .networkId(0)
        .nonat(false)
        .oauth2(NetskopeOAuth2Args.builder()
            .clientId("string")
            .clientSecret("string")
            .tokenUrl("string")
            .scope("string")
            .build())
        .registrations(Map.of("string", PublisherRegistrationInputArgs.builder()
            .publisherId(0)
            .registrationToken("string")
            .existedBefore(false)
            .build()))
        .replicas(0)
        .serverType("string")
        .sshKeys("string")
        .tags(Map.of("string", "string"))
        .tenantUrl("string")
        .wizardPath("string")
        .build());
    
    hcloud_publisher_resource = netskope_publisher.HcloudPublisher("hcloudPublisherResource",
        api_token="string",
        assign_public_ip=False,
        auth_mode="string",
        bearer_token="string",
        bootstrap=False,
        bootstrap_url="string",
        datacenter="string",
        delete_default_user=False,
        firewall_ids=[0],
        guest_network_interface={
            "name": "string",
            "addresses": ["string"],
            "dhcp4": False,
            "gateway4": "string",
            "mtu": 0,
            "nameservers": ["string"],
        },
        image="string",
        install_user="string",
        install_user_password="string",
        install_user_password_is_hash=False,
        install_user_ssh_authorized_keys=["string"],
        location="string",
        name_prefix="string",
        names=["string"],
        network_id=0,
        nonat=False,
        oauth2={
            "client_id": "string",
            "client_secret": "string",
            "token_url": "string",
            "scope": "string",
        },
        registrations={
            "string": {
                "publisher_id": 0,
                "registration_token": "string",
                "existed_before": False,
            },
        },
        replicas=0,
        server_type="string",
        ssh_keys=["string"],
        tags={
            "string": "string",
        },
        tenant_url="string",
        wizard_path="string")
    
    const hcloudPublisherResource = new netskope_publisher.HcloudPublisher("hcloudPublisherResource", {
        apiToken: "string",
        assignPublicIp: false,
        authMode: "string",
        bearerToken: "string",
        bootstrap: false,
        bootstrapUrl: "string",
        datacenter: "string",
        deleteDefaultUser: false,
        firewallIds: [0],
        guestNetworkInterface: {
            name: "string",
            addresses: ["string"],
            dhcp4: false,
            gateway4: "string",
            mtu: 0,
            nameservers: ["string"],
        },
        image: "string",
        installUser: "string",
        installUserPassword: "string",
        installUserPasswordIsHash: false,
        installUserSshAuthorizedKeys: ["string"],
        location: "string",
        namePrefix: "string",
        names: ["string"],
        networkId: 0,
        nonat: false,
        oauth2: {
            clientId: "string",
            clientSecret: "string",
            tokenUrl: "string",
            scope: "string",
        },
        registrations: {
            string: {
                publisherId: 0,
                registrationToken: "string",
                existedBefore: false,
            },
        },
        replicas: 0,
        serverType: "string",
        sshKeys: ["string"],
        tags: {
            string: "string",
        },
        tenantUrl: "string",
        wizardPath: "string",
    });
    
    type: netskope-publisher:HcloudPublisher
    properties:
        apiToken: string
        assignPublicIp: false
        authMode: string
        bearerToken: string
        bootstrap: false
        bootstrapUrl: string
        datacenter: string
        deleteDefaultUser: false
        firewallIds:
            - 0
        guestNetworkInterface:
            addresses:
                - string
            dhcp4: false
            gateway4: string
            mtu: 0
            name: string
            nameservers:
                - string
        image: string
        installUser: string
        installUserPassword: string
        installUserPasswordIsHash: false
        installUserSshAuthorizedKeys:
            - string
        location: string
        namePrefix: string
        names:
            - string
        networkId: 0
        nonat: false
        oauth2:
            clientId: string
            clientSecret: string
            scope: string
            tokenUrl: string
        registrations:
            string:
                existedBefore: false
                publisherId: 0
                registrationToken: string
        replicas: 0
        serverType: string
        sshKeys:
            - string
        tags:
            string: string
        tenantUrl: string
        wizardPath: string
    

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

    ApiToken string
    AssignPublicIp bool
    AuthMode string
    BearerToken string
    Bootstrap bool
    BootstrapUrl string
    Datacenter string
    DeleteDefaultUser bool
    FirewallIds List<int>
    GuestNetworkInterface Pulumi.NetskopePublisher.Provider.Inputs.GuestNetworkInterface
    Image string
    InstallUser string
    InstallUserPassword string
    InstallUserPasswordIsHash bool
    InstallUserSshAuthorizedKeys List<string>
    Location string
    NamePrefix string
    Names List<string>
    NetworkId int
    Nonat bool
    Oauth2 Pulumi.NetskopePublisher.Provider.Inputs.NetskopeOAuth2Args
    Registrations Dictionary<string, Pulumi.NetskopePublisher.Provider.Inputs.PublisherRegistrationInputArgs>
    Replicas int
    ServerType string
    SshKeys List<string>
    Tags Dictionary<string, string>
    TenantUrl string
    WizardPath string
    apiToken String
    assignPublicIp Boolean
    authMode String
    bearerToken String
    bootstrap Boolean
    bootstrapUrl String
    datacenter String
    deleteDefaultUser Boolean
    firewallIds List<Integer>
    guestNetworkInterface GuestNetworkInterface
    image String
    installUser String
    installUserPassword String
    installUserPasswordIsHash Boolean
    installUserSshAuthorizedKeys List<String>
    location String
    namePrefix String
    names List<String>
    networkId Integer
    nonat Boolean
    oauth2 NetskopeOAuth2Args
    registrations Map<String,PublisherRegistrationInputArgs>
    replicas Integer
    serverType String
    sshKeys List<String>
    tags Map<String,String>
    tenantUrl String
    wizardPath String
    apiToken string
    assignPublicIp boolean
    authMode string
    bearerToken string
    bootstrap boolean
    bootstrapUrl string
    datacenter string
    deleteDefaultUser boolean
    firewallIds number[]
    guestNetworkInterface providerGuestNetworkInterface
    image string
    installUser string
    installUserPassword string
    installUserPasswordIsHash boolean
    installUserSshAuthorizedKeys string[]
    location string
    namePrefix string
    names string[]
    networkId number
    nonat boolean
    oauth2 providerNetskopeOAuth2Args
    registrations {[key: string]: providerPublisherRegistrationInputArgs}
    replicas number
    serverType string
    sshKeys string[]
    tags {[key: string]: string}
    tenantUrl string
    wizardPath string
    apiToken String
    assignPublicIp Boolean
    authMode String
    bearerToken String
    bootstrap Boolean
    bootstrapUrl String
    datacenter String
    deleteDefaultUser Boolean
    firewallIds List<Number>
    guestNetworkInterface Property Map
    image String
    installUser String
    installUserPassword String
    installUserPasswordIsHash Boolean
    installUserSshAuthorizedKeys List<String>
    location String
    namePrefix String
    names List<String>
    networkId Number
    nonat Boolean
    oauth2 Property Map
    registrations Map<Property Map>
    replicas Number
    serverType String
    sshKeys List<String>
    tags Map<String>
    tenantUrl String
    wizardPath String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the HcloudPublisher 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.1.11
    published on Wednesday, May 20, 2026 by johnneerdael

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial