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

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

    Constructor syntax

    new KubernetesPublisher(name: string, args?: KubernetesPublisherArgs, opts?: ComponentResourceOptions);
    @overload
    def KubernetesPublisher(resource_name: str,
                            args: Optional[KubernetesPublisherArgs] = None,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def KubernetesPublisher(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            api_token: Optional[str] = None,
                            auth_mode: Optional[str] = None,
                            bearer_token: Optional[str] = None,
                            chart_repository: Optional[str] = None,
                            chart_values: Optional[Mapping[str, Any]] = None,
                            chart_version: Optional[str] = None,
                            enrollment_mode: Optional[str] = None,
                            hpa_enabled: Optional[bool] = None,
                            hpa_max_replicas: Optional[int] = None,
                            hpa_min_replicas: Optional[int] = None,
                            image_repository: Optional[str] = None,
                            image_tag: Optional[str] = None,
                            name_prefix: Optional[str] = None,
                            names: Optional[Sequence[str]] = None,
                            namespace: Optional[str] = None,
                            oauth2: Optional[_provider.NetskopeOAuth2ArgsArgs] = None,
                            registrations: Optional[Mapping[str, _provider.PublisherRegistrationInputArgs]] = None,
                            replicas: Optional[int] = None,
                            tags: Optional[Mapping[str, str]] = None,
                            tenant_url: Optional[str] = None,
                            wizard_path: Optional[str] = None,
                            workload_type: Optional[str] = None)
    func NewKubernetesPublisher(ctx *Context, name string, args *KubernetesPublisherArgs, opts ...ResourceOption) (*KubernetesPublisher, error)
    public KubernetesPublisher(string name, KubernetesPublisherArgs? args = null, ComponentResourceOptions? opts = null)
    public KubernetesPublisher(String name, KubernetesPublisherArgs args)
    public KubernetesPublisher(String name, KubernetesPublisherArgs args, ComponentResourceOptions options)
    
    type: netskope-publisher:KubernetesPublisher
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "netskope-publisher_kubernetespublisher" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args KubernetesPublisherArgs
    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 KubernetesPublisherArgs
    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 KubernetesPublisherArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KubernetesPublisherArgs
    The arguments to resource properties.
    opts ComponentResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KubernetesPublisherArgs
    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 kubernetesPublisherResource = new NetskopePublisher.KubernetesPublisher("kubernetesPublisherResource", new()
    {
        ApiToken = "string",
        AuthMode = "string",
        BearerToken = "string",
        ChartRepository = "string",
        ChartValues = 
        {
            { "string", "any" },
        },
        ChartVersion = "string",
        EnrollmentMode = "string",
        HpaEnabled = false,
        HpaMaxReplicas = 0,
        HpaMinReplicas = 0,
        ImageRepository = "string",
        ImageTag = "string",
        NamePrefix = "string",
        Names = new[]
        {
            "string",
        },
        Namespace = "string",
        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" },
        },
        TenantUrl = "string",
        WizardPath = "string",
        WorkloadType = "string",
    });
    
    example, err := netskopepublisher.NewKubernetesPublisher(ctx, "kubernetesPublisherResource", &netskopepublisher.KubernetesPublisherArgs{
    	ApiToken:        "string",
    	AuthMode:        "string",
    	BearerToken:     "string",
    	ChartRepository: "string",
    	ChartValues: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	ChartVersion:    "string",
    	EnrollmentMode:  "string",
    	HpaEnabled:      false,
    	HpaMaxReplicas:  0,
    	HpaMinReplicas:  0,
    	ImageRepository: "string",
    	ImageTag:        "string",
    	NamePrefix:      "string",
    	Names: pulumi.StringArray{
    		"string",
    	},
    	Namespace: "string",
    	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",
    	},
    	TenantUrl:    "string",
    	WizardPath:   "string",
    	WorkloadType: "string",
    })
    
    resource "netskope-publisher_kubernetespublisher" "kubernetesPublisherResource" {
      api_token        = "string"
      auth_mode        = "string"
      bearer_token     = "string"
      chart_repository = "string"
      chart_values = {
        "string" = "any"
      }
      chart_version    = "string"
      enrollment_mode  = "string"
      hpa_enabled      = false
      hpa_max_replicas = 0
      hpa_min_replicas = 0
      image_repository = "string"
      image_tag        = "string"
      name_prefix      = "string"
      names            = ["string"]
      namespace        = "string"
      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"
      }
      tenant_url    = "string"
      wizard_path   = "string"
      workload_type = "string"
    }
    
    var kubernetesPublisherResource = new KubernetesPublisher("kubernetesPublisherResource", KubernetesPublisherArgs.builder()
        .apiToken("string")
        .authMode("string")
        .bearerToken("string")
        .chartRepository("string")
        .chartValues(Map.of("string", "any"))
        .chartVersion("string")
        .enrollmentMode("string")
        .hpaEnabled(false)
        .hpaMaxReplicas(0)
        .hpaMinReplicas(0)
        .imageRepository("string")
        .imageTag("string")
        .namePrefix("string")
        .names("string")
        .namespace("string")
        .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"))
        .tenantUrl("string")
        .wizardPath("string")
        .workloadType("string")
        .build());
    
    kubernetes_publisher_resource = netskope_publisher.KubernetesPublisher("kubernetesPublisherResource",
        api_token="string",
        auth_mode="string",
        bearer_token="string",
        chart_repository="string",
        chart_values={
            "string": "any",
        },
        chart_version="string",
        enrollment_mode="string",
        hpa_enabled=False,
        hpa_max_replicas=0,
        hpa_min_replicas=0,
        image_repository="string",
        image_tag="string",
        name_prefix="string",
        names=["string"],
        namespace="string",
        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",
        },
        tenant_url="string",
        wizard_path="string",
        workload_type="string")
    
    const kubernetesPublisherResource = new netskope_publisher.KubernetesPublisher("kubernetesPublisherResource", {
        apiToken: "string",
        authMode: "string",
        bearerToken: "string",
        chartRepository: "string",
        chartValues: {
            string: "any",
        },
        chartVersion: "string",
        enrollmentMode: "string",
        hpaEnabled: false,
        hpaMaxReplicas: 0,
        hpaMinReplicas: 0,
        imageRepository: "string",
        imageTag: "string",
        namePrefix: "string",
        names: ["string"],
        namespace: "string",
        oauth2: {
            clientId: "string",
            clientSecret: "string",
            tokenUrl: "string",
            scope: "string",
        },
        registrations: {
            string: {
                publisherId: 0,
                registrationToken: "string",
                existedBefore: false,
            },
        },
        replicas: 0,
        tags: {
            string: "string",
        },
        tenantUrl: "string",
        wizardPath: "string",
        workloadType: "string",
    });
    
    type: netskope-publisher:KubernetesPublisher
    properties:
        apiToken: string
        authMode: string
        bearerToken: string
        chartRepository: string
        chartValues:
            string: any
        chartVersion: string
        enrollmentMode: string
        hpaEnabled: false
        hpaMaxReplicas: 0
        hpaMinReplicas: 0
        imageRepository: string
        imageTag: string
        namePrefix: string
        names:
            - string
        namespace: string
        oauth2:
            clientId: string
            clientSecret: string
            scope: string
            tokenUrl: string
        registrations:
            string:
                existedBefore: false
                publisherId: 0
                registrationToken: string
        replicas: 0
        tags:
            string: string
        tenantUrl: string
        wizardPath: string
        workloadType: string
    

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

    ApiToken string
    AuthMode string
    BearerToken string
    ChartRepository string
    ChartValues Dictionary<string, object>
    ChartVersion string
    EnrollmentMode string
    HpaEnabled bool
    HpaMaxReplicas int
    HpaMinReplicas int
    ImageRepository string
    ImageTag string
    NamePrefix string
    Names List<string>
    Namespace string
    Oauth2 Pulumi.NetskopePublisher.Provider.Inputs.NetskopeOAuth2Args
    Registrations Dictionary<string, Pulumi.NetskopePublisher.Provider.Inputs.PublisherRegistrationInputArgs>
    Replicas int
    Tags Dictionary<string, string>
    TenantUrl string
    WizardPath string
    WorkloadType string
    ApiToken string
    AuthMode string
    BearerToken string
    ChartRepository string
    ChartValues map[string]interface{}
    ChartVersion string
    EnrollmentMode string
    HpaEnabled bool
    HpaMaxReplicas int
    HpaMinReplicas int
    ImageRepository string
    ImageTag string
    NamePrefix string
    Names []string
    Namespace string
    Oauth2 NetskopeOAuth2ArgsArgs
    Registrations PublisherRegistrationInputArgs
    Replicas int
    Tags map[string]string
    TenantUrl string
    WizardPath string
    WorkloadType string
    apiToken String
    authMode String
    bearerToken String
    chartRepository String
    chartValues Map<String,Object>
    chartVersion String
    enrollmentMode String
    hpaEnabled Boolean
    hpaMaxReplicas Integer
    hpaMinReplicas Integer
    imageRepository String
    imageTag String
    namePrefix String
    names List<String>
    namespace String
    oauth2 NetskopeOAuth2Args
    registrations Map<String,PublisherRegistrationInputArgs>
    replicas Integer
    tags Map<String,String>
    tenantUrl String
    wizardPath String
    workloadType String
    apiToken string
    authMode string
    bearerToken string
    chartRepository string
    chartValues {[key: string]: any}
    chartVersion string
    enrollmentMode string
    hpaEnabled boolean
    hpaMaxReplicas number
    hpaMinReplicas number
    imageRepository string
    imageTag string
    namePrefix string
    names string[]
    namespace string
    oauth2 providerNetskopeOAuth2Args
    registrations {[key: string]: providerPublisherRegistrationInputArgs}
    replicas number
    tags {[key: string]: string}
    tenantUrl string
    wizardPath string
    workloadType string
    apiToken String
    authMode String
    bearerToken String
    chartRepository String
    chartValues Map<Any>
    chartVersion String
    enrollmentMode String
    hpaEnabled Boolean
    hpaMaxReplicas Number
    hpaMinReplicas Number
    imageRepository String
    imageTag String
    namePrefix String
    names List<String>
    namespace String
    oauth2 Property Map
    registrations Map<Property Map>
    replicas Number
    tags Map<String>
    tenantUrl String
    wizardPath String
    workloadType String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the KubernetesPublisher resource produces the following output properties:

    HelmReleaseNames List<string>
    PublisherNames List<string>
    Publishers Dictionary<string, object>
    HelmReleaseNames []string
    PublisherNames []string
    Publishers map[string]interface{}
    helm_release_names list(string)
    publisher_names list(string)
    publishers map(any)
    helmReleaseNames List<String>
    publisherNames List<String>
    publishers Map<String,Object>
    helmReleaseNames string[]
    publisherNames string[]
    publishers {[key: string]: any}
    helm_release_names Sequence[str]
    publisher_names Sequence[str]
    publishers Mapping[str, Any]
    helmReleaseNames List<String>
    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