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

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

    Constructor syntax

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

    Parameters

    name string
    The unique name of the resource.
    args AlicloudPublisherArgs
    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 AlicloudPublisherArgs
    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 AlicloudPublisherArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AlicloudPublisherArgs
    The arguments to resource properties.
    opts ComponentResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AlicloudPublisherArgs
    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 alicloudPublisherResource = new NetskopePublisher.AlicloudPublisher("alicloudPublisherResource", new()
    {
        ImageId = "string",
        VswitchId = "string",
        SecurityGroupIds = new[]
        {
            "string",
        },
        InstallUserSshAuthorizedKeys = new[]
        {
            "string",
        },
        KeyName = "string",
        BootstrapUrl = "string",
        DeleteDefaultUser = false,
        GuestNetworkInterface = new NetskopePublisher.Provider.Inputs.GuestNetworkInterfaceArgs
        {
            Name = "string",
            Addresses = new[]
            {
                "string",
            },
            Dhcp4 = false,
            Gateway4 = "string",
            Mtu = 0,
            Nameservers = new[]
            {
                "string",
            },
        },
        BearerToken = "string",
        InstallUser = "string",
        InstallUserPassword = "string",
        InstallUserPasswordIsHash = false,
        AllocatePublicIp = false,
        InstanceType = "string",
        Bootstrap = false,
        NamePrefix = "string",
        Names = new[]
        {
            "string",
        },
        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,
        AuthMode = "string",
        Tags = 
        {
            { "string", "string" },
        },
        TenantUrl = "string",
        ApiToken = "string",
        WizardPath = "string",
    });
    
    example, err := netskopepublisher.NewAlicloudPublisher(ctx, "alicloudPublisherResource", &netskopepublisher.AlicloudPublisherArgs{
    	ImageId:   "string",
    	VswitchId: "string",
    	SecurityGroupIds: pulumi.StringArray{
    		"string",
    	},
    	InstallUserSshAuthorizedKeys: pulumi.StringArray{
    		"string",
    	},
    	KeyName:           "string",
    	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"),
    		},
    	},
    	BearerToken:               "string",
    	InstallUser:               "string",
    	InstallUserPassword:       "string",
    	InstallUserPasswordIsHash: false,
    	AllocatePublicIp:          false,
    	InstanceType:              "string",
    	Bootstrap:                 false,
    	NamePrefix:                "string",
    	Names: pulumi.StringArray{
    		"string",
    	},
    	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,
    	AuthMode: "string",
    	Tags: pulumi.StringMap{
    		"string": "string",
    	},
    	TenantUrl:  "string",
    	ApiToken:   "string",
    	WizardPath: "string",
    })
    
    resource "netskope-publisher_alicloudpublisher" "alicloudPublisherResource" {
      image_id                         = "string"
      vswitch_id                       = "string"
      security_group_ids               = ["string"]
      install_user_ssh_authorized_keys = ["string"]
      key_name                         = "string"
      bootstrap_url                    = "string"
      delete_default_user              = false
      guest_network_interface = {
        name        = "string"
        addresses   = ["string"]
        dhcp4       = false
        gateway4    = "string"
        mtu         = 0
        nameservers = ["string"]
      }
      bearer_token                  = "string"
      install_user                  = "string"
      install_user_password         = "string"
      install_user_password_is_hash = false
      allocate_public_ip            = false
      instance_type                 = "string"
      bootstrap                     = false
      name_prefix                   = "string"
      names                         = ["string"]
      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
      auth_mode = "string"
      tags = {
        "string" = "string"
      }
      tenant_url  = "string"
      api_token   = "string"
      wizard_path = "string"
    }
    
    var alicloudPublisherResource = new AlicloudPublisher("alicloudPublisherResource", AlicloudPublisherArgs.builder()
        .imageId("string")
        .vswitchId("string")
        .securityGroupIds("string")
        .installUserSshAuthorizedKeys("string")
        .keyName("string")
        .bootstrapUrl("string")
        .deleteDefaultUser(false)
        .guestNetworkInterface(GuestNetworkInterfaceArgs.builder()
            .name("string")
            .addresses("string")
            .dhcp4(false)
            .gateway4("string")
            .mtu(0)
            .nameservers("string")
            .build())
        .bearerToken("string")
        .installUser("string")
        .installUserPassword("string")
        .installUserPasswordIsHash(false)
        .allocatePublicIp(false)
        .instanceType("string")
        .bootstrap(false)
        .namePrefix("string")
        .names("string")
        .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)
        .authMode("string")
        .tags(Map.of("string", "string"))
        .tenantUrl("string")
        .apiToken("string")
        .wizardPath("string")
        .build());
    
    alicloud_publisher_resource = netskope_publisher.AlicloudPublisher("alicloudPublisherResource",
        image_id="string",
        vswitch_id="string",
        security_group_ids=["string"],
        install_user_ssh_authorized_keys=["string"],
        key_name="string",
        bootstrap_url="string",
        delete_default_user=False,
        guest_network_interface={
            "name": "string",
            "addresses": ["string"],
            "dhcp4": False,
            "gateway4": "string",
            "mtu": 0,
            "nameservers": ["string"],
        },
        bearer_token="string",
        install_user="string",
        install_user_password="string",
        install_user_password_is_hash=False,
        allocate_public_ip=False,
        instance_type="string",
        bootstrap=False,
        name_prefix="string",
        names=["string"],
        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,
        auth_mode="string",
        tags={
            "string": "string",
        },
        tenant_url="string",
        api_token="string",
        wizard_path="string")
    
    const alicloudPublisherResource = new netskope_publisher.AlicloudPublisher("alicloudPublisherResource", {
        imageId: "string",
        vswitchId: "string",
        securityGroupIds: ["string"],
        installUserSshAuthorizedKeys: ["string"],
        keyName: "string",
        bootstrapUrl: "string",
        deleteDefaultUser: false,
        guestNetworkInterface: {
            name: "string",
            addresses: ["string"],
            dhcp4: false,
            gateway4: "string",
            mtu: 0,
            nameservers: ["string"],
        },
        bearerToken: "string",
        installUser: "string",
        installUserPassword: "string",
        installUserPasswordIsHash: false,
        allocatePublicIp: false,
        instanceType: "string",
        bootstrap: false,
        namePrefix: "string",
        names: ["string"],
        nonat: false,
        oauth2: {
            clientId: "string",
            clientSecret: "string",
            tokenUrl: "string",
            scope: "string",
        },
        registrations: {
            string: {
                publisherId: 0,
                registrationToken: "string",
                existedBefore: false,
            },
        },
        replicas: 0,
        authMode: "string",
        tags: {
            string: "string",
        },
        tenantUrl: "string",
        apiToken: "string",
        wizardPath: "string",
    });
    
    type: netskope-publisher:AlicloudPublisher
    properties:
        allocatePublicIp: false
        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
        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
        registrations:
            string:
                existedBefore: false
                publisherId: 0
                registrationToken: string
        replicas: 0
        securityGroupIds:
            - string
        tags:
            string: string
        tenantUrl: string
        vswitchId: string
        wizardPath: string
    

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

    imageId String
    securityGroupIds List<String>
    vswitchId String
    allocatePublicIp Boolean
    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
    registrations Map<String,PublisherRegistrationInputArgs>
    replicas Integer
    tags Map<String,String>
    tenantUrl String
    wizardPath String
    imageId string
    securityGroupIds string[]
    vswitchId string
    allocatePublicIp boolean
    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
    registrations {[key: string]: providerPublisherRegistrationInputArgs}
    replicas number
    tags {[key: string]: string}
    tenantUrl string
    wizardPath string

    Outputs

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