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

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

    Constructor syntax

    new PrivateApp(name: string, args: PrivateAppArgs, opts?: CustomResourceOptions);
    @overload
    def PrivateApp(resource_name: str,
                   args: PrivateAppArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def PrivateApp(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   is_user_portal_app: Optional[bool] = None,
                   use_publisher_dns: Optional[bool] = None,
                   app_name: Optional[str] = None,
                   trust_self_signed_certs: Optional[bool] = None,
                   tenant_url: Optional[str] = None,
                   protocols: Optional[Sequence[_provider.PrivateAppProtocolArgs]] = None,
                   clientless_access: Optional[bool] = None,
                   host: Optional[str] = None,
                   auth_mode: Optional[str] = None,
                   oauth2: Optional[_provider.NetskopeOAuth2ArgsArgs] = None,
                   bearer_token: Optional[str] = None,
                   publishers: Optional[Sequence[_provider.PrivateAppPublisherArgs]] = None,
                   tags: Optional[Sequence[str]] = None,
                   adopt_existing: Optional[bool] = None,
                   app_type: Optional[str] = None,
                   api_token: Optional[str] = None)
    func NewPrivateApp(ctx *Context, name string, args PrivateAppArgs, opts ...ResourceOption) (*PrivateApp, error)
    public PrivateApp(string name, PrivateAppArgs args, CustomResourceOptions? opts = null)
    public PrivateApp(String name, PrivateAppArgs args)
    public PrivateApp(String name, PrivateAppArgs args, CustomResourceOptions options)
    
    type: netskope-publisher:PrivateApp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "netskope-publisher_privateapp" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PrivateAppArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PrivateAppArgs
    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 PrivateAppArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PrivateAppArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PrivateAppArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var privateAppResource = new NetskopePublisher.PrivateApp("privateAppResource", new()
    {
        IsUserPortalApp = false,
        UsePublisherDns = false,
        AppName = "string",
        TrustSelfSignedCerts = false,
        TenantUrl = "string",
        Protocols = new[]
        {
            new NetskopePublisher.Provider.Inputs.PrivateAppProtocolArgs
            {
                Ports = "string",
                Type = "string",
            },
        },
        ClientlessAccess = false,
        Host = "string",
        AuthMode = "string",
        Oauth2 = new NetskopePublisher.Provider.Inputs.NetskopeOAuth2ArgsArgs
        {
            ClientId = "string",
            ClientSecret = "string",
            TokenUrl = "string",
            Scope = "string",
        },
        BearerToken = "string",
        Publishers = new[]
        {
            new NetskopePublisher.Provider.Inputs.PrivateAppPublisherArgs
            {
                PublisherId = 0,
                PublisherName = "string",
            },
        },
        Tags = new[]
        {
            "string",
        },
        AdoptExisting = false,
        AppType = "string",
        ApiToken = "string",
    });
    
    example, err := netskopepublisher.NewPrivateApp(ctx, "privateAppResource", &netskopepublisher.PrivateAppArgs{
    	IsUserPortalApp:      pulumi.Bool(false),
    	UsePublisherDns:      pulumi.Bool(false),
    	AppName:              pulumi.String("string"),
    	TrustSelfSignedCerts: pulumi.Bool(false),
    	TenantUrl:            pulumi.String("string"),
    	Protocols: provider.PrivateAppProtocolArray{
    		&provider.PrivateAppProtocolArgs{
    			Ports: pulumi.String("string"),
    			Type:  pulumi.String("string"),
    		},
    	},
    	ClientlessAccess: pulumi.Bool(false),
    	Host:             pulumi.String("string"),
    	AuthMode:         pulumi.String("string"),
    	Oauth2: &provider.NetskopeOAuth2ArgsArgs{
    		ClientId:     pulumi.String("string"),
    		ClientSecret: pulumi.String("string"),
    		TokenUrl:     pulumi.String("string"),
    		Scope:        pulumi.String("string"),
    	},
    	BearerToken: pulumi.String("string"),
    	Publishers: provider.PrivateAppPublisherArray{
    		&provider.PrivateAppPublisherArgs{
    			PublisherId:   pulumi.Int(0),
    			PublisherName: pulumi.String("string"),
    		},
    	},
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AdoptExisting: pulumi.Bool(false),
    	AppType:       pulumi.String("string"),
    	ApiToken:      pulumi.String("string"),
    })
    
    resource "netskope-publisher_privateapp" "privateAppResource" {
      is_user_portal_app      = false
      use_publisher_dns       = false
      app_name                = "string"
      trust_self_signed_certs = false
      tenant_url              = "string"
      protocols {
        ports = "string"
        type  = "string"
      }
      clientless_access = false
      host              = "string"
      auth_mode         = "string"
      oauth2 = {
        client_id     = "string"
        client_secret = "string"
        token_url     = "string"
        scope         = "string"
      }
      bearer_token = "string"
      publishers {
        publisher_id   = 0
        publisher_name = "string"
      }
      tags           = ["string"]
      adopt_existing = false
      app_type       = "string"
      api_token      = "string"
    }
    
    var privateAppResource = new PrivateApp("privateAppResource", PrivateAppArgs.builder()
        .isUserPortalApp(false)
        .usePublisherDns(false)
        .appName("string")
        .trustSelfSignedCerts(false)
        .tenantUrl("string")
        .protocols(PrivateAppProtocolArgs.builder()
            .ports("string")
            .type("string")
            .build())
        .clientlessAccess(false)
        .host("string")
        .authMode("string")
        .oauth2(NetskopeOAuth2Args.builder()
            .clientId("string")
            .clientSecret("string")
            .tokenUrl("string")
            .scope("string")
            .build())
        .bearerToken("string")
        .publishers(PrivateAppPublisherArgs.builder()
            .publisherId(0)
            .publisherName("string")
            .build())
        .tags("string")
        .adoptExisting(false)
        .appType("string")
        .apiToken("string")
        .build());
    
    private_app_resource = netskope_publisher.PrivateApp("privateAppResource",
        is_user_portal_app=False,
        use_publisher_dns=False,
        app_name="string",
        trust_self_signed_certs=False,
        tenant_url="string",
        protocols=[{
            "ports": "string",
            "type": "string",
        }],
        clientless_access=False,
        host="string",
        auth_mode="string",
        oauth2={
            "client_id": "string",
            "client_secret": "string",
            "token_url": "string",
            "scope": "string",
        },
        bearer_token="string",
        publishers=[{
            "publisher_id": 0,
            "publisher_name": "string",
        }],
        tags=["string"],
        adopt_existing=False,
        app_type="string",
        api_token="string")
    
    const privateAppResource = new netskope_publisher.PrivateApp("privateAppResource", {
        isUserPortalApp: false,
        usePublisherDns: false,
        appName: "string",
        trustSelfSignedCerts: false,
        tenantUrl: "string",
        protocols: [{
            ports: "string",
            type: "string",
        }],
        clientlessAccess: false,
        host: "string",
        authMode: "string",
        oauth2: {
            clientId: "string",
            clientSecret: "string",
            tokenUrl: "string",
            scope: "string",
        },
        bearerToken: "string",
        publishers: [{
            publisherId: 0,
            publisherName: "string",
        }],
        tags: ["string"],
        adoptExisting: false,
        appType: "string",
        apiToken: "string",
    });
    
    type: netskope-publisher:PrivateApp
    properties:
        adoptExisting: false
        apiToken: string
        appName: string
        appType: string
        authMode: string
        bearerToken: string
        clientlessAccess: false
        host: string
        isUserPortalApp: false
        oauth2:
            clientId: string
            clientSecret: string
            scope: string
            tokenUrl: string
        protocols:
            - ports: string
              type: string
        publishers:
            - publisherId: 0
              publisherName: string
        tags:
            - string
        tenantUrl: string
        trustSelfSignedCerts: false
        usePublisherDns: false
    

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

    Outputs

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

    AppId int
    Id string
    The provider-assigned unique ID for this managed resource.
    AppId int
    Id string
    The provider-assigned unique ID for this managed resource.
    app_id number
    id string
    The provider-assigned unique ID for this managed resource.
    appId Integer
    id String
    The provider-assigned unique ID for this managed resource.
    appId number
    id string
    The provider-assigned unique ID for this managed resource.
    app_id int
    id str
    The provider-assigned unique ID for this managed resource.
    appId Number
    id String
    The provider-assigned unique ID for this managed resource.

    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

    PrivateAppProtocol, PrivateAppProtocolArgs

    Ports string
    Type string
    Ports string
    Type string
    ports string
    type string
    ports String
    type String
    ports string
    type string
    ports str
    type str
    ports String
    type String

    PrivateAppPublisher, PrivateAppPublisherArgs

    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