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

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

    Constructor syntax

    new VspherePublisher(name: string, args: VspherePublisherArgs, opts?: ComponentResourceOptions);
    @overload
    def VspherePublisher(resource_name: str,
                         args: VspherePublisherArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def VspherePublisher(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         datacenter: Optional[str] = None,
                         template_name: Optional[str] = None,
                         network_name: Optional[str] = None,
                         datastore: Optional[str] = None,
                         names: Optional[Sequence[str]] = None,
                         bearer_token: Optional[str] = None,
                         folder: Optional[str] = None,
                         host: Optional[str] = None,
                         memory: Optional[int] = None,
                         name_prefix: Optional[str] = None,
                         api_token: Optional[str] = None,
                         cluster: Optional[str] = None,
                         num_cpus: Optional[int] = None,
                         oauth2: Optional[_provider.NetskopeOAuth2ArgsArgs] = None,
                         registrations: Optional[Mapping[str, _provider.PublisherRegistrationInputArgs]] = None,
                         replicas: Optional[int] = None,
                         tags: Optional[Mapping[str, str]] = None,
                         auth_mode: Optional[str] = None,
                         tenant_url: Optional[str] = None,
                         wizard_path: Optional[str] = None)
    func NewVspherePublisher(ctx *Context, name string, args VspherePublisherArgs, opts ...ResourceOption) (*VspherePublisher, error)
    public VspherePublisher(string name, VspherePublisherArgs args, ComponentResourceOptions? opts = null)
    public VspherePublisher(String name, VspherePublisherArgs args)
    public VspherePublisher(String name, VspherePublisherArgs args, ComponentResourceOptions options)
    
    type: netskope-publisher:VspherePublisher
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "netskope-publisher_vspherepublisher" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args VspherePublisherArgs
    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 VspherePublisherArgs
    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 VspherePublisherArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VspherePublisherArgs
    The arguments to resource properties.
    opts ComponentResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VspherePublisherArgs
    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 vspherePublisherResource = new NetskopePublisher.VspherePublisher("vspherePublisherResource", new()
    {
        Datacenter = "string",
        TemplateName = "string",
        NetworkName = "string",
        Datastore = "string",
        Names = new[]
        {
            "string",
        },
        BearerToken = "string",
        Folder = "string",
        Host = "string",
        Memory = 0,
        NamePrefix = "string",
        ApiToken = "string",
        Cluster = "string",
        NumCpus = 0,
        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,
        Tags = 
        {
            { "string", "string" },
        },
        AuthMode = "string",
        TenantUrl = "string",
        WizardPath = "string",
    });
    
    example, err := netskopepublisher.NewVspherePublisher(ctx, "vspherePublisherResource", &netskopepublisher.VspherePublisherArgs{
    	Datacenter:   "string",
    	TemplateName: "string",
    	NetworkName:  "string",
    	Datastore:    "string",
    	Names: pulumi.StringArray{
    		"string",
    	},
    	BearerToken: "string",
    	Folder:      "string",
    	Host:        "string",
    	Memory:      0,
    	NamePrefix:  "string",
    	ApiToken:    "string",
    	Cluster:     "string",
    	NumCpus:     0,
    	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,
    	Tags: pulumi.StringMap{
    		"string": "string",
    	},
    	AuthMode:   "string",
    	TenantUrl:  "string",
    	WizardPath: "string",
    })
    
    resource "netskope-publisher_vspherepublisher" "vspherePublisherResource" {
      datacenter    = "string"
      template_name = "string"
      network_name  = "string"
      datastore     = "string"
      names         = ["string"]
      bearer_token  = "string"
      folder        = "string"
      host          = "string"
      memory        = 0
      name_prefix   = "string"
      api_token     = "string"
      cluster       = "string"
      num_cpus      = 0
      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
      tags = {
        "string" = "string"
      }
      auth_mode   = "string"
      tenant_url  = "string"
      wizard_path = "string"
    }
    
    var vspherePublisherResource = new VspherePublisher("vspherePublisherResource", VspherePublisherArgs.builder()
        .datacenter("string")
        .templateName("string")
        .networkName("string")
        .datastore("string")
        .names("string")
        .bearerToken("string")
        .folder("string")
        .host("string")
        .memory(0)
        .namePrefix("string")
        .apiToken("string")
        .cluster("string")
        .numCpus(0)
        .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)
        .tags(Map.of("string", "string"))
        .authMode("string")
        .tenantUrl("string")
        .wizardPath("string")
        .build());
    
    vsphere_publisher_resource = netskope_publisher.VspherePublisher("vspherePublisherResource",
        datacenter="string",
        template_name="string",
        network_name="string",
        datastore="string",
        names=["string"],
        bearer_token="string",
        folder="string",
        host="string",
        memory=0,
        name_prefix="string",
        api_token="string",
        cluster="string",
        num_cpus=0,
        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,
        tags={
            "string": "string",
        },
        auth_mode="string",
        tenant_url="string",
        wizard_path="string")
    
    const vspherePublisherResource = new netskope_publisher.VspherePublisher("vspherePublisherResource", {
        datacenter: "string",
        templateName: "string",
        networkName: "string",
        datastore: "string",
        names: ["string"],
        bearerToken: "string",
        folder: "string",
        host: "string",
        memory: 0,
        namePrefix: "string",
        apiToken: "string",
        cluster: "string",
        numCpus: 0,
        oauth2: {
            clientId: "string",
            clientSecret: "string",
            tokenUrl: "string",
            scope: "string",
        },
        registrations: {
            string: {
                publisherId: 0,
                registrationToken: "string",
                existedBefore: false,
            },
        },
        replicas: 0,
        tags: {
            string: "string",
        },
        authMode: "string",
        tenantUrl: "string",
        wizardPath: "string",
    });
    
    type: netskope-publisher:VspherePublisher
    properties:
        apiToken: string
        authMode: string
        bearerToken: string
        cluster: string
        datacenter: string
        datastore: string
        folder: string
        host: string
        memory: 0
        namePrefix: string
        names:
            - string
        networkName: string
        numCpus: 0
        oauth2:
            clientId: string
            clientSecret: string
            scope: string
            tokenUrl: string
        registrations:
            string:
                existedBefore: false
                publisherId: 0
                registrationToken: string
        replicas: 0
        tags:
            string: string
        templateName: string
        tenantUrl: string
        wizardPath: string
    

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

    Datacenter string
    Datastore string
    NetworkName string
    TemplateName string
    ApiToken string
    AuthMode string
    BearerToken string
    Cluster string
    Folder string
    Host string
    Memory int
    NamePrefix string
    Names List<string>
    NumCpus int
    Oauth2 Pulumi.NetskopePublisher.Provider.Inputs.NetskopeOAuth2Args
    Registrations Dictionary<string, Pulumi.NetskopePublisher.Provider.Inputs.PublisherRegistrationInputArgs>
    Replicas int
    Tags Dictionary<string, string>
    TenantUrl string
    WizardPath string
    Datacenter string
    Datastore string
    NetworkName string
    TemplateName string
    ApiToken string
    AuthMode string
    BearerToken string
    Cluster string
    Folder string
    Host string
    Memory int
    NamePrefix string
    Names []string
    NumCpus int
    Oauth2 NetskopeOAuth2ArgsArgs
    Registrations PublisherRegistrationInputArgs
    Replicas int
    Tags map[string]string
    TenantUrl string
    WizardPath string
    datacenter string
    datastore string
    network_name string
    template_name string
    api_token string
    auth_mode string
    bearer_token string
    cluster string
    folder string
    host string
    memory number
    name_prefix string
    names list(string)
    num_cpus number
    oauth2 object
    registrations map(object)
    replicas number
    tags map(string)
    tenant_url string
    wizard_path string
    datacenter String
    datastore String
    networkName String
    templateName String
    apiToken String
    authMode String
    bearerToken String
    cluster String
    folder String
    host String
    memory Integer
    namePrefix String
    names List<String>
    numCpus Integer
    oauth2 NetskopeOAuth2Args
    registrations Map<String,PublisherRegistrationInputArgs>
    replicas Integer
    tags Map<String,String>
    tenantUrl String
    wizardPath String
    datacenter string
    datastore string
    networkName string
    templateName string
    apiToken string
    authMode string
    bearerToken string
    cluster string
    folder string
    host string
    memory number
    namePrefix string
    names string[]
    numCpus number
    oauth2 providerNetskopeOAuth2Args
    registrations {[key: string]: providerPublisherRegistrationInputArgs}
    replicas number
    tags {[key: string]: string}
    tenantUrl string
    wizardPath string
    datacenter str
    datastore str
    network_name str
    template_name str
    api_token str
    auth_mode str
    bearer_token str
    cluster str
    folder str
    host str
    memory int
    name_prefix str
    names Sequence[str]
    num_cpus int
    oauth2 provider.NetskopeOAuth2ArgsArgs
    registrations Mapping[str, provider.PublisherRegistrationInputArgs]
    replicas int
    tags Mapping[str, str]
    tenant_url str
    wizard_path str
    datacenter String
    datastore String
    networkName String
    templateName String
    apiToken String
    authMode String
    bearerToken String
    cluster String
    folder String
    host String
    memory Number
    namePrefix String
    names List<String>
    numCpus Number
    oauth2 Property Map
    registrations Map<Property Map>
    replicas Number
    tags Map<String>
    tenantUrl String
    wizardPath String

    Outputs

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

    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