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

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

    Constructor syntax

    new OciPublisher(name: string, args: OciPublisherArgs, opts?: ComponentResourceOptions);
    @overload
    def OciPublisher(resource_name: str,
                     args: OciPublisherArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def OciPublisher(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     compartment_id: Optional[str] = None,
                     subnet_id: Optional[str] = None,
                     image_id: Optional[str] = None,
                     availability_domain: Optional[str] = None,
                     install_user_password: Optional[str] = None,
                     name_prefix: Optional[str] = None,
                     bootstrap_url: Optional[str] = None,
                     bearer_token: Optional[str] = None,
                     delete_default_user: Optional[bool] = None,
                     guest_network_interface: Optional[_provider.GuestNetworkInterfaceArgs] = None,
                     auth_mode: Optional[str] = None,
                     install_user: Optional[str] = None,
                     api_token: Optional[str] = None,
                     install_user_password_is_hash: Optional[bool] = None,
                     install_user_ssh_authorized_keys: Optional[Sequence[str]] = None,
                     bootstrap: Optional[bool] = 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,
                     shape: Optional[str] = None,
                     ssh_public_key: Optional[str] = None,
                     assign_public_ip: Optional[bool] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     tenant_url: Optional[str] = None,
                     wizard_path: Optional[str] = None)
    func NewOciPublisher(ctx *Context, name string, args OciPublisherArgs, opts ...ResourceOption) (*OciPublisher, error)
    public OciPublisher(string name, OciPublisherArgs args, ComponentResourceOptions? opts = null)
    public OciPublisher(String name, OciPublisherArgs args)
    public OciPublisher(String name, OciPublisherArgs args, ComponentResourceOptions options)
    
    type: netskope-publisher:OciPublisher
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "netskope-publisher_ocipublisher" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args OciPublisherArgs
    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 OciPublisherArgs
    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 OciPublisherArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OciPublisherArgs
    The arguments to resource properties.
    opts ComponentResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OciPublisherArgs
    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 ociPublisherResource = new NetskopePublisher.OciPublisher("ociPublisherResource", new()
    {
        CompartmentId = "string",
        SubnetId = "string",
        ImageId = "string",
        AvailabilityDomain = "string",
        InstallUserPassword = "string",
        NamePrefix = "string",
        BootstrapUrl = "string",
        BearerToken = "string",
        DeleteDefaultUser = false,
        GuestNetworkInterface = new NetskopePublisher.Provider.Inputs.GuestNetworkInterfaceArgs
        {
            Name = "string",
            Addresses = new[]
            {
                "string",
            },
            Dhcp4 = false,
            Gateway4 = "string",
            Mtu = 0,
            Nameservers = new[]
            {
                "string",
            },
        },
        AuthMode = "string",
        InstallUser = "string",
        ApiToken = "string",
        InstallUserPasswordIsHash = false,
        InstallUserSshAuthorizedKeys = new[]
        {
            "string",
        },
        Bootstrap = false,
        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,
        Shape = "string",
        SshPublicKey = "string",
        AssignPublicIp = false,
        Tags = 
        {
            { "string", "string" },
        },
        TenantUrl = "string",
        WizardPath = "string",
    });
    
    example, err := netskopepublisher.NewOciPublisher(ctx, "ociPublisherResource", &netskopepublisher.OciPublisherArgs{
    	CompartmentId:       "string",
    	SubnetId:            "string",
    	ImageId:             "string",
    	AvailabilityDomain:  "string",
    	InstallUserPassword: "string",
    	NamePrefix:          "string",
    	BootstrapUrl:        "string",
    	BearerToken:         "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"),
    		},
    	},
    	AuthMode:                  "string",
    	InstallUser:               "string",
    	ApiToken:                  "string",
    	InstallUserPasswordIsHash: false,
    	InstallUserSshAuthorizedKeys: pulumi.StringArray{
    		"string",
    	},
    	Bootstrap: false,
    	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,
    	Shape:          "string",
    	SshPublicKey:   "string",
    	AssignPublicIp: false,
    	Tags: pulumi.StringMap{
    		"string": "string",
    	},
    	TenantUrl:  "string",
    	WizardPath: "string",
    })
    
    resource "netskope-publisher_ocipublisher" "ociPublisherResource" {
      compartment_id        = "string"
      subnet_id             = "string"
      image_id              = "string"
      availability_domain   = "string"
      install_user_password = "string"
      name_prefix           = "string"
      bootstrap_url         = "string"
      bearer_token          = "string"
      delete_default_user   = false
      guest_network_interface = {
        name        = "string"
        addresses   = ["string"]
        dhcp4       = false
        gateway4    = "string"
        mtu         = 0
        nameservers = ["string"]
      }
      auth_mode                        = "string"
      install_user                     = "string"
      api_token                        = "string"
      install_user_password_is_hash    = false
      install_user_ssh_authorized_keys = ["string"]
      bootstrap                        = false
      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
      shape            = "string"
      ssh_public_key   = "string"
      assign_public_ip = false
      tags = {
        "string" = "string"
      }
      tenant_url  = "string"
      wizard_path = "string"
    }
    
    var ociPublisherResource = new OciPublisher("ociPublisherResource", OciPublisherArgs.builder()
        .compartmentId("string")
        .subnetId("string")
        .imageId("string")
        .availabilityDomain("string")
        .installUserPassword("string")
        .namePrefix("string")
        .bootstrapUrl("string")
        .bearerToken("string")
        .deleteDefaultUser(false)
        .guestNetworkInterface(GuestNetworkInterfaceArgs.builder()
            .name("string")
            .addresses("string")
            .dhcp4(false)
            .gateway4("string")
            .mtu(0)
            .nameservers("string")
            .build())
        .authMode("string")
        .installUser("string")
        .apiToken("string")
        .installUserPasswordIsHash(false)
        .installUserSshAuthorizedKeys("string")
        .bootstrap(false)
        .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)
        .shape("string")
        .sshPublicKey("string")
        .assignPublicIp(false)
        .tags(Map.of("string", "string"))
        .tenantUrl("string")
        .wizardPath("string")
        .build());
    
    oci_publisher_resource = netskope_publisher.OciPublisher("ociPublisherResource",
        compartment_id="string",
        subnet_id="string",
        image_id="string",
        availability_domain="string",
        install_user_password="string",
        name_prefix="string",
        bootstrap_url="string",
        bearer_token="string",
        delete_default_user=False,
        guest_network_interface={
            "name": "string",
            "addresses": ["string"],
            "dhcp4": False,
            "gateway4": "string",
            "mtu": 0,
            "nameservers": ["string"],
        },
        auth_mode="string",
        install_user="string",
        api_token="string",
        install_user_password_is_hash=False,
        install_user_ssh_authorized_keys=["string"],
        bootstrap=False,
        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,
        shape="string",
        ssh_public_key="string",
        assign_public_ip=False,
        tags={
            "string": "string",
        },
        tenant_url="string",
        wizard_path="string")
    
    const ociPublisherResource = new netskope_publisher.OciPublisher("ociPublisherResource", {
        compartmentId: "string",
        subnetId: "string",
        imageId: "string",
        availabilityDomain: "string",
        installUserPassword: "string",
        namePrefix: "string",
        bootstrapUrl: "string",
        bearerToken: "string",
        deleteDefaultUser: false,
        guestNetworkInterface: {
            name: "string",
            addresses: ["string"],
            dhcp4: false,
            gateway4: "string",
            mtu: 0,
            nameservers: ["string"],
        },
        authMode: "string",
        installUser: "string",
        apiToken: "string",
        installUserPasswordIsHash: false,
        installUserSshAuthorizedKeys: ["string"],
        bootstrap: false,
        names: ["string"],
        nonat: false,
        oauth2: {
            clientId: "string",
            clientSecret: "string",
            tokenUrl: "string",
            scope: "string",
        },
        registrations: {
            string: {
                publisherId: 0,
                registrationToken: "string",
                existedBefore: false,
            },
        },
        replicas: 0,
        shape: "string",
        sshPublicKey: "string",
        assignPublicIp: false,
        tags: {
            string: "string",
        },
        tenantUrl: "string",
        wizardPath: "string",
    });
    
    type: netskope-publisher:OciPublisher
    properties:
        apiToken: string
        assignPublicIp: false
        authMode: string
        availabilityDomain: string
        bearerToken: string
        bootstrap: false
        bootstrapUrl: string
        compartmentId: 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
        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
        shape: string
        sshPublicKey: string
        subnetId: string
        tags:
            string: string
        tenantUrl: string
        wizardPath: string
    

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

    availabilityDomain String
    compartmentId String
    imageId String
    subnetId String
    apiToken String
    assignPublicIp Boolean
    authMode String
    bearerToken String
    bootstrap Boolean
    bootstrapUrl String
    deleteDefaultUser Boolean
    guestNetworkInterface GuestNetworkInterface
    installUser String
    installUserPassword String
    installUserPasswordIsHash Boolean
    installUserSshAuthorizedKeys List<String>
    namePrefix String
    names List<String>
    nonat Boolean
    oauth2 NetskopeOAuth2Args
    registrations Map<String,PublisherRegistrationInputArgs>
    replicas Integer
    shape String
    sshPublicKey String
    tags Map<String,String>
    tenantUrl String
    wizardPath String
    availabilityDomain string
    compartmentId string
    imageId string
    subnetId string
    apiToken string
    assignPublicIp boolean
    authMode string
    bearerToken string
    bootstrap boolean
    bootstrapUrl string
    deleteDefaultUser boolean
    guestNetworkInterface providerGuestNetworkInterface
    installUser string
    installUserPassword string
    installUserPasswordIsHash boolean
    installUserSshAuthorizedKeys string[]
    namePrefix string
    names string[]
    nonat boolean
    oauth2 providerNetskopeOAuth2Args
    registrations {[key: string]: providerPublisherRegistrationInputArgs}
    replicas number
    shape string
    sshPublicKey string
    tags {[key: string]: string}
    tenantUrl string
    wizardPath string

    Outputs

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