1. Packages
  2. Packages
  3. Netskope Publisher
  4. API Docs
  5. UpcloudPublisher
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 UpcloudPublisher Resource

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

    Constructor syntax

    new UpcloudPublisher(name: string, args: UpcloudPublisherArgs, opts?: ComponentResourceOptions);
    @overload
    def UpcloudPublisher(resource_name: str,
                         args: UpcloudPublisherArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def UpcloudPublisher(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         zone: Optional[str] = None,
                         name_prefix: Optional[str] = None,
                         template: Optional[str] = None,
                         bootstrap: Optional[bool] = None,
                         bootstrap_url: Optional[str] = None,
                         delete_default_user: Optional[bool] = None,
                         guest_network_interface: Optional[_provider.GuestNetworkInterfaceArgs] = None,
                         hostname: 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,
                         api_token: Optional[str] = None,
                         bearer_token: Optional[str] = None,
                         nonat: Optional[bool] = None,
                         names: Optional[Sequence[str]] = None,
                         oauth2: Optional[_provider.NetskopeOAuth2ArgsArgs] = None,
                         placement_labels: Optional[Sequence[str]] = None,
                         plan: Optional[str] = None,
                         registrations: Optional[Mapping[str, _provider.PublisherRegistrationInputArgs]] = None,
                         replicas: Optional[int] = None,
                         tags: Optional[Mapping[str, str]] = None,
                         network_interfaces: Optional[Sequence[Mapping[str, Any]]] = None,
                         tenant_url: Optional[str] = None,
                         wizard_path: Optional[str] = None,
                         auth_mode: Optional[str] = None)
    func NewUpcloudPublisher(ctx *Context, name string, args UpcloudPublisherArgs, opts ...ResourceOption) (*UpcloudPublisher, error)
    public UpcloudPublisher(string name, UpcloudPublisherArgs args, ComponentResourceOptions? opts = null)
    public UpcloudPublisher(String name, UpcloudPublisherArgs args)
    public UpcloudPublisher(String name, UpcloudPublisherArgs args, ComponentResourceOptions options)
    
    type: netskope-publisher:UpcloudPublisher
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "netskope-publisher_upcloudpublisher" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args UpcloudPublisherArgs
    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 UpcloudPublisherArgs
    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 UpcloudPublisherArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UpcloudPublisherArgs
    The arguments to resource properties.
    opts ComponentResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args UpcloudPublisherArgs
    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 upcloudPublisherResource = new NetskopePublisher.UpcloudPublisher("upcloudPublisherResource", new()
    {
        Zone = "string",
        NamePrefix = "string",
        Template = "string",
        Bootstrap = false,
        BootstrapUrl = "string",
        DeleteDefaultUser = false,
        GuestNetworkInterface = new NetskopePublisher.Provider.Inputs.GuestNetworkInterfaceArgs
        {
            Name = "string",
            Addresses = new[]
            {
                "string",
            },
            Dhcp4 = false,
            Gateway4 = "string",
            Mtu = 0,
            Nameservers = new[]
            {
                "string",
            },
        },
        Hostname = "string",
        InstallUser = "string",
        InstallUserPassword = "string",
        InstallUserPasswordIsHash = false,
        InstallUserSshAuthorizedKeys = new[]
        {
            "string",
        },
        ApiToken = "string",
        BearerToken = "string",
        Nonat = false,
        Names = new[]
        {
            "string",
        },
        Oauth2 = new NetskopePublisher.Provider.Inputs.NetskopeOAuth2ArgsArgs
        {
            ClientId = "string",
            ClientSecret = "string",
            TokenUrl = "string",
            Scope = "string",
        },
        PlacementLabels = new[]
        {
            "string",
        },
        Plan = "string",
        Registrations = 
        {
            { "string", new NetskopePublisher.Provider.Inputs.PublisherRegistrationInputArgs
            {
                PublisherId = 0,
                RegistrationToken = "string",
                ExistedBefore = false,
            } },
        },
        Replicas = 0,
        Tags = 
        {
            { "string", "string" },
        },
        NetworkInterfaces = new[]
        {
            
            {
                { "string", "any" },
            },
        },
        TenantUrl = "string",
        WizardPath = "string",
        AuthMode = "string",
    });
    
    example, err := netskopepublisher.NewUpcloudPublisher(ctx, "upcloudPublisherResource", &netskopepublisher.UpcloudPublisherArgs{
    	Zone:              "string",
    	NamePrefix:        "string",
    	Template:          "string",
    	Bootstrap:         false,
    	BootstrapUrl:      "string",
    	DeleteDefaultUser: false,
    	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"),
    		},
    	},
    	Hostname:                  "string",
    	InstallUser:               "string",
    	InstallUserPassword:       "string",
    	InstallUserPasswordIsHash: false,
    	InstallUserSshAuthorizedKeys: pulumi.StringArray{
    		"string",
    	},
    	ApiToken:    "string",
    	BearerToken: "string",
    	Nonat:       false,
    	Names: pulumi.StringArray{
    		"string",
    	},
    	Oauth2: &provider.NetskopeOAuth2ArgsArgs{
    		ClientId:     pulumi.String("string"),
    		ClientSecret: pulumi.String("string"),
    		TokenUrl:     pulumi.String("string"),
    		Scope:        pulumi.String("string"),
    	},
    	PlacementLabels: pulumi.StringArray{
    		"string",
    	},
    	Plan: "string",
    	Registrations: provider.PublisherRegistrationInputMap{
    		"string": &provider.PublisherRegistrationInputArgs{
    			PublisherId:       pulumi.Int(0),
    			RegistrationToken: pulumi.String("string"),
    			ExistedBefore:     pulumi.Bool(false),
    		},
    	},
    	Replicas: 0,
    	Tags: pulumi.StringMap{
    		"string": "string",
    	},
    	NetworkInterfaces: pulumi.MapArray{
    		pulumi.Map{
    			"string": pulumi.Any("any"),
    		},
    	},
    	TenantUrl:  "string",
    	WizardPath: "string",
    	AuthMode:   "string",
    })
    
    resource "netskope-publisher_upcloudpublisher" "upcloudPublisherResource" {
      zone                = "string"
      name_prefix         = "string"
      template            = "string"
      bootstrap           = false
      bootstrap_url       = "string"
      delete_default_user = false
      guest_network_interface = {
        name        = "string"
        addresses   = ["string"]
        dhcp4       = false
        gateway4    = "string"
        mtu         = 0
        nameservers = ["string"]
      }
      hostname                         = "string"
      install_user                     = "string"
      install_user_password            = "string"
      install_user_password_is_hash    = false
      install_user_ssh_authorized_keys = ["string"]
      api_token                        = "string"
      bearer_token                     = "string"
      nonat                            = false
      names                            = ["string"]
      oauth2 = {
        client_id     = "string"
        client_secret = "string"
        token_url     = "string"
        scope         = "string"
      }
      placement_labels = ["string"]
      plan             = "string"
      registrations = {
        "string" = {
          publisher_id       = 0
          registration_token = "string"
          existed_before     = false
        }
      }
      replicas = 0
      tags = {
        "string" = "string"
      }
      network_interfaces = [{
        "string" = "any"
      }]
      tenant_url  = "string"
      wizard_path = "string"
      auth_mode   = "string"
    }
    
    var upcloudPublisherResource = new UpcloudPublisher("upcloudPublisherResource", UpcloudPublisherArgs.builder()
        .zone("string")
        .namePrefix("string")
        .template("string")
        .bootstrap(false)
        .bootstrapUrl("string")
        .deleteDefaultUser(false)
        .guestNetworkInterface(GuestNetworkInterfaceArgs.builder()
            .name("string")
            .addresses("string")
            .dhcp4(false)
            .gateway4("string")
            .mtu(0)
            .nameservers("string")
            .build())
        .hostname("string")
        .installUser("string")
        .installUserPassword("string")
        .installUserPasswordIsHash(false)
        .installUserSshAuthorizedKeys("string")
        .apiToken("string")
        .bearerToken("string")
        .nonat(false)
        .names("string")
        .oauth2(NetskopeOAuth2Args.builder()
            .clientId("string")
            .clientSecret("string")
            .tokenUrl("string")
            .scope("string")
            .build())
        .placementLabels("string")
        .plan("string")
        .registrations(Map.of("string", PublisherRegistrationInputArgs.builder()
            .publisherId(0)
            .registrationToken("string")
            .existedBefore(false)
            .build()))
        .replicas(0)
        .tags(Map.of("string", "string"))
        .networkInterfaces(Map.of("string", "any"))
        .tenantUrl("string")
        .wizardPath("string")
        .authMode("string")
        .build());
    
    upcloud_publisher_resource = netskope_publisher.UpcloudPublisher("upcloudPublisherResource",
        zone="string",
        name_prefix="string",
        template="string",
        bootstrap=False,
        bootstrap_url="string",
        delete_default_user=False,
        guest_network_interface={
            "name": "string",
            "addresses": ["string"],
            "dhcp4": False,
            "gateway4": "string",
            "mtu": 0,
            "nameservers": ["string"],
        },
        hostname="string",
        install_user="string",
        install_user_password="string",
        install_user_password_is_hash=False,
        install_user_ssh_authorized_keys=["string"],
        api_token="string",
        bearer_token="string",
        nonat=False,
        names=["string"],
        oauth2={
            "client_id": "string",
            "client_secret": "string",
            "token_url": "string",
            "scope": "string",
        },
        placement_labels=["string"],
        plan="string",
        registrations={
            "string": {
                "publisher_id": 0,
                "registration_token": "string",
                "existed_before": False,
            },
        },
        replicas=0,
        tags={
            "string": "string",
        },
        network_interfaces=[{
            "string": "any",
        }],
        tenant_url="string",
        wizard_path="string",
        auth_mode="string")
    
    const upcloudPublisherResource = new netskope_publisher.UpcloudPublisher("upcloudPublisherResource", {
        zone: "string",
        namePrefix: "string",
        template: "string",
        bootstrap: false,
        bootstrapUrl: "string",
        deleteDefaultUser: false,
        guestNetworkInterface: {
            name: "string",
            addresses: ["string"],
            dhcp4: false,
            gateway4: "string",
            mtu: 0,
            nameservers: ["string"],
        },
        hostname: "string",
        installUser: "string",
        installUserPassword: "string",
        installUserPasswordIsHash: false,
        installUserSshAuthorizedKeys: ["string"],
        apiToken: "string",
        bearerToken: "string",
        nonat: false,
        names: ["string"],
        oauth2: {
            clientId: "string",
            clientSecret: "string",
            tokenUrl: "string",
            scope: "string",
        },
        placementLabels: ["string"],
        plan: "string",
        registrations: {
            string: {
                publisherId: 0,
                registrationToken: "string",
                existedBefore: false,
            },
        },
        replicas: 0,
        tags: {
            string: "string",
        },
        networkInterfaces: [{
            string: "any",
        }],
        tenantUrl: "string",
        wizardPath: "string",
        authMode: "string",
    });
    
    type: netskope-publisher:UpcloudPublisher
    properties:
        apiToken: string
        authMode: string
        bearerToken: string
        bootstrap: false
        bootstrapUrl: string
        deleteDefaultUser: false
        guestNetworkInterface:
            addresses:
                - string
            dhcp4: false
            gateway4: string
            mtu: 0
            name: string
            nameservers:
                - string
        hostname: string
        installUser: string
        installUserPassword: string
        installUserPasswordIsHash: false
        installUserSshAuthorizedKeys:
            - string
        namePrefix: string
        names:
            - string
        networkInterfaces:
            - string: any
        nonat: false
        oauth2:
            clientId: string
            clientSecret: string
            scope: string
            tokenUrl: string
        placementLabels:
            - string
        plan: string
        registrations:
            string:
                existedBefore: false
                publisherId: 0
                registrationToken: string
        replicas: 0
        tags:
            string: string
        template: string
        tenantUrl: string
        wizardPath: string
        zone: string
    

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

    Zone string
    ApiToken string
    AuthMode string
    BearerToken string
    Bootstrap bool
    BootstrapUrl string
    DeleteDefaultUser bool
    GuestNetworkInterface Pulumi.NetskopePublisher.Provider.Inputs.GuestNetworkInterface
    Hostname string
    InstallUser string
    InstallUserPassword string
    InstallUserPasswordIsHash bool
    InstallUserSshAuthorizedKeys List<string>
    NamePrefix string
    Names List<string>
    NetworkInterfaces List<ImmutableDictionary<string, object>>
    Nonat bool
    Oauth2 Pulumi.NetskopePublisher.Provider.Inputs.NetskopeOAuth2Args
    PlacementLabels List<string>
    Plan string
    Registrations Dictionary<string, Pulumi.NetskopePublisher.Provider.Inputs.PublisherRegistrationInputArgs>
    Replicas int
    Tags Dictionary<string, string>
    Template string
    TenantUrl string
    WizardPath string
    zone String
    apiToken String
    authMode String
    bearerToken String
    bootstrap Boolean
    bootstrapUrl String
    deleteDefaultUser Boolean
    guestNetworkInterface GuestNetworkInterface
    hostname String
    installUser String
    installUserPassword String
    installUserPasswordIsHash Boolean
    installUserSshAuthorizedKeys List<String>
    namePrefix String
    names List<String>
    networkInterfaces List<Map<String,Object>>
    nonat Boolean
    oauth2 NetskopeOAuth2Args
    placementLabels List<String>
    plan String
    registrations Map<String,PublisherRegistrationInputArgs>
    replicas Integer
    tags Map<String,String>
    template String
    tenantUrl String
    wizardPath String
    zone string
    apiToken string
    authMode string
    bearerToken string
    bootstrap boolean
    bootstrapUrl string
    deleteDefaultUser boolean
    guestNetworkInterface providerGuestNetworkInterface
    hostname string
    installUser string
    installUserPassword string
    installUserPasswordIsHash boolean
    installUserSshAuthorizedKeys string[]
    namePrefix string
    names string[]
    networkInterfaces {[key: string]: any}[]
    nonat boolean
    oauth2 providerNetskopeOAuth2Args
    placementLabels string[]
    plan string
    registrations {[key: string]: providerPublisherRegistrationInputArgs}
    replicas number
    tags {[key: string]: string}
    template string
    tenantUrl string
    wizardPath string
    zone String
    apiToken String
    authMode String
    bearerToken String
    bootstrap Boolean
    bootstrapUrl String
    deleteDefaultUser Boolean
    guestNetworkInterface Property Map
    hostname String
    installUser String
    installUserPassword String
    installUserPasswordIsHash Boolean
    installUserSshAuthorizedKeys List<String>
    namePrefix String
    names List<String>
    networkInterfaces List<Map<Any>>
    nonat Boolean
    oauth2 Property Map
    placementLabels List<String>
    plan String
    registrations Map<Property Map>
    replicas Number
    tags Map<String>
    template String
    tenantUrl String
    wizardPath String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the UpcloudPublisher 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