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

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

    Constructor syntax

    new HypervPublisher(name: string, args: HypervPublisherArgs, opts?: ComponentResourceOptions);
    @overload
    def HypervPublisher(resource_name: str,
                        args: HypervPublisherArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def HypervPublisher(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        hard_drives: Optional[Sequence[_provider.HypervHardDriveArgs]] = None,
                        switch_name: Optional[str] = None,
                        memory_size: Optional[int] = None,
                        minimum_memory: Optional[int] = None,
                        bearer_token: Optional[str] = None,
                        dynamic_memory: Optional[bool] = None,
                        enable_experimental_hyperv: Optional[bool] = None,
                        generation: Optional[int] = None,
                        auto_start_action: Optional[str] = None,
                        maximum_memory: Optional[int] = None,
                        api_token: Optional[str] = None,
                        auto_stop_action: Optional[str] = None,
                        name_prefix: Optional[str] = None,
                        names: Optional[Sequence[str]] = None,
                        oauth2: Optional[_provider.NetskopeOAuth2ArgsArgs] = None,
                        processor_count: Optional[int] = 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,
                        wizard_path: Optional[str] = None)
    func NewHypervPublisher(ctx *Context, name string, args HypervPublisherArgs, opts ...ResourceOption) (*HypervPublisher, error)
    public HypervPublisher(string name, HypervPublisherArgs args, ComponentResourceOptions? opts = null)
    public HypervPublisher(String name, HypervPublisherArgs args)
    public HypervPublisher(String name, HypervPublisherArgs args, ComponentResourceOptions options)
    
    type: netskope-publisher:HypervPublisher
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "netskope-publisher_hypervpublisher" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args HypervPublisherArgs
    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 HypervPublisherArgs
    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 HypervPublisherArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HypervPublisherArgs
    The arguments to resource properties.
    opts ComponentResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HypervPublisherArgs
    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 hypervPublisherResource = new NetskopePublisher.HypervPublisher("hypervPublisherResource", new()
    {
        HardDrives = new[]
        {
            new NetskopePublisher.Provider.Inputs.HypervHardDriveArgs
            {
                Path = "string",
                ControllerLocation = 0,
                ControllerNumber = 0,
                ControllerType = "string",
            },
        },
        SwitchName = "string",
        MemorySize = 0,
        MinimumMemory = 0,
        BearerToken = "string",
        DynamicMemory = false,
        EnableExperimentalHyperv = false,
        Generation = 0,
        AutoStartAction = "string",
        MaximumMemory = 0,
        ApiToken = "string",
        AutoStopAction = "string",
        NamePrefix = "string",
        Names = new[]
        {
            "string",
        },
        Oauth2 = new NetskopePublisher.Provider.Inputs.NetskopeOAuth2ArgsArgs
        {
            ClientId = "string",
            ClientSecret = "string",
            TokenUrl = "string",
            Scope = "string",
        },
        ProcessorCount = 0,
        Registrations = 
        {
            { "string", new NetskopePublisher.Provider.Inputs.PublisherRegistrationInputArgs
            {
                PublisherId = 0,
                RegistrationToken = "string",
                ExistedBefore = false,
            } },
        },
        Replicas = 0,
        AuthMode = "string",
        Tags = 
        {
            { "string", "string" },
        },
        TenantUrl = "string",
        WizardPath = "string",
    });
    
    example, err := netskopepublisher.NewHypervPublisher(ctx, "hypervPublisherResource", &netskopepublisher.HypervPublisherArgs{
    	HardDrives: provider.HypervHardDriveArray{
    		&provider.HypervHardDriveArgs{
    			Path:               pulumi.String("string"),
    			ControllerLocation: pulumi.Int(0),
    			ControllerNumber:   pulumi.Int(0),
    			ControllerType:     pulumi.String("string"),
    		},
    	},
    	SwitchName:               "string",
    	MemorySize:               0,
    	MinimumMemory:            0,
    	BearerToken:              "string",
    	DynamicMemory:            false,
    	EnableExperimentalHyperv: false,
    	Generation:               0,
    	AutoStartAction:          "string",
    	MaximumMemory:            0,
    	ApiToken:                 "string",
    	AutoStopAction:           "string",
    	NamePrefix:               "string",
    	Names: pulumi.StringArray{
    		"string",
    	},
    	Oauth2: &provider.NetskopeOAuth2ArgsArgs{
    		ClientId:     pulumi.String("string"),
    		ClientSecret: pulumi.String("string"),
    		TokenUrl:     pulumi.String("string"),
    		Scope:        pulumi.String("string"),
    	},
    	ProcessorCount: 0,
    	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",
    	WizardPath: "string",
    })
    
    resource "netskope-publisher_hypervpublisher" "hypervPublisherResource" {
      hard_drives {
        path                = "string"
        controller_location = 0
        controller_number   = 0
        controller_type     = "string"
      }
      switch_name                = "string"
      memory_size                = 0
      minimum_memory             = 0
      bearer_token               = "string"
      dynamic_memory             = false
      enable_experimental_hyperv = false
      generation                 = 0
      auto_start_action          = "string"
      maximum_memory             = 0
      api_token                  = "string"
      auto_stop_action           = "string"
      name_prefix                = "string"
      names                      = ["string"]
      oauth2 = {
        client_id     = "string"
        client_secret = "string"
        token_url     = "string"
        scope         = "string"
      }
      processor_count = 0
      registrations = {
        "string" = {
          publisher_id       = 0
          registration_token = "string"
          existed_before     = false
        }
      }
      replicas  = 0
      auth_mode = "string"
      tags = {
        "string" = "string"
      }
      tenant_url  = "string"
      wizard_path = "string"
    }
    
    var hypervPublisherResource = new HypervPublisher("hypervPublisherResource", HypervPublisherArgs.builder()
        .hardDrives(HypervHardDriveArgs.builder()
            .path("string")
            .controllerLocation(0)
            .controllerNumber(0)
            .controllerType("string")
            .build())
        .switchName("string")
        .memorySize(0)
        .minimumMemory(0)
        .bearerToken("string")
        .dynamicMemory(false)
        .enableExperimentalHyperv(false)
        .generation(0)
        .autoStartAction("string")
        .maximumMemory(0)
        .apiToken("string")
        .autoStopAction("string")
        .namePrefix("string")
        .names("string")
        .oauth2(NetskopeOAuth2Args.builder()
            .clientId("string")
            .clientSecret("string")
            .tokenUrl("string")
            .scope("string")
            .build())
        .processorCount(0)
        .registrations(Map.of("string", PublisherRegistrationInputArgs.builder()
            .publisherId(0)
            .registrationToken("string")
            .existedBefore(false)
            .build()))
        .replicas(0)
        .authMode("string")
        .tags(Map.of("string", "string"))
        .tenantUrl("string")
        .wizardPath("string")
        .build());
    
    hyperv_publisher_resource = netskope_publisher.HypervPublisher("hypervPublisherResource",
        hard_drives=[{
            "path": "string",
            "controller_location": 0,
            "controller_number": 0,
            "controller_type": "string",
        }],
        switch_name="string",
        memory_size=0,
        minimum_memory=0,
        bearer_token="string",
        dynamic_memory=False,
        enable_experimental_hyperv=False,
        generation=0,
        auto_start_action="string",
        maximum_memory=0,
        api_token="string",
        auto_stop_action="string",
        name_prefix="string",
        names=["string"],
        oauth2={
            "client_id": "string",
            "client_secret": "string",
            "token_url": "string",
            "scope": "string",
        },
        processor_count=0,
        registrations={
            "string": {
                "publisher_id": 0,
                "registration_token": "string",
                "existed_before": False,
            },
        },
        replicas=0,
        auth_mode="string",
        tags={
            "string": "string",
        },
        tenant_url="string",
        wizard_path="string")
    
    const hypervPublisherResource = new netskope_publisher.HypervPublisher("hypervPublisherResource", {
        hardDrives: [{
            path: "string",
            controllerLocation: 0,
            controllerNumber: 0,
            controllerType: "string",
        }],
        switchName: "string",
        memorySize: 0,
        minimumMemory: 0,
        bearerToken: "string",
        dynamicMemory: false,
        enableExperimentalHyperv: false,
        generation: 0,
        autoStartAction: "string",
        maximumMemory: 0,
        apiToken: "string",
        autoStopAction: "string",
        namePrefix: "string",
        names: ["string"],
        oauth2: {
            clientId: "string",
            clientSecret: "string",
            tokenUrl: "string",
            scope: "string",
        },
        processorCount: 0,
        registrations: {
            string: {
                publisherId: 0,
                registrationToken: "string",
                existedBefore: false,
            },
        },
        replicas: 0,
        authMode: "string",
        tags: {
            string: "string",
        },
        tenantUrl: "string",
        wizardPath: "string",
    });
    
    type: netskope-publisher:HypervPublisher
    properties:
        apiToken: string
        authMode: string
        autoStartAction: string
        autoStopAction: string
        bearerToken: string
        dynamicMemory: false
        enableExperimentalHyperv: false
        generation: 0
        hardDrives:
            - controllerLocation: 0
              controllerNumber: 0
              controllerType: string
              path: string
        maximumMemory: 0
        memorySize: 0
        minimumMemory: 0
        namePrefix: string
        names:
            - string
        oauth2:
            clientId: string
            clientSecret: string
            scope: string
            tokenUrl: string
        processorCount: 0
        registrations:
            string:
                existedBefore: false
                publisherId: 0
                registrationToken: string
        replicas: 0
        switchName: string
        tags:
            string: string
        tenantUrl: string
        wizardPath: string
    

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

    hardDrives List<HypervHardDrive>
    switchName String
    apiToken String
    authMode String
    autoStartAction String
    autoStopAction String
    bearerToken String
    dynamicMemory Boolean
    enableExperimentalHyperv Boolean
    generation Integer
    maximumMemory Integer
    memorySize Integer
    minimumMemory Integer
    namePrefix String
    names List<String>
    oauth2 NetskopeOAuth2Args
    processorCount Integer
    registrations Map<String,PublisherRegistrationInputArgs>
    replicas Integer
    tags Map<String,String>
    tenantUrl String
    wizardPath String
    hardDrives providerHypervHardDrive[]
    switchName string
    apiToken string
    authMode string
    autoStartAction string
    autoStopAction string
    bearerToken string
    dynamicMemory boolean
    enableExperimentalHyperv boolean
    generation number
    maximumMemory number
    memorySize number
    minimumMemory number
    namePrefix string
    names string[]
    oauth2 providerNetskopeOAuth2Args
    processorCount number
    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 HypervPublisher 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

    HypervHardDrive, HypervHardDriveArgs

    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