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

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

    Constructor syntax

    new NetskopeRegistration(name: string, args: NetskopeRegistrationArgs, opts?: CustomResourceOptions);
    @overload
    def NetskopeRegistration(resource_name: str,
                             args: NetskopeRegistrationArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def NetskopeRegistration(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             publisher_names: Optional[Sequence[str]] = None,
                             tenant_url: Optional[str] = None,
                             api_token: Optional[str] = None,
                             auth_mode: Optional[str] = None,
                             bearer_token: Optional[str] = None,
                             oauth2: Optional[_provider.NetskopeOAuth2ArgsArgs] = None)
    func NewNetskopeRegistration(ctx *Context, name string, args NetskopeRegistrationArgs, opts ...ResourceOption) (*NetskopeRegistration, error)
    public NetskopeRegistration(string name, NetskopeRegistrationArgs args, CustomResourceOptions? opts = null)
    public NetskopeRegistration(String name, NetskopeRegistrationArgs args)
    public NetskopeRegistration(String name, NetskopeRegistrationArgs args, CustomResourceOptions options)
    
    type: netskope-publisher:NetskopeRegistration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "netskope-publisher_netskoperegistration" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args NetskopeRegistrationArgs
    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 NetskopeRegistrationArgs
    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 NetskopeRegistrationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetskopeRegistrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetskopeRegistrationArgs
    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 netskopeRegistrationResource = new NetskopePublisher.NetskopeRegistration("netskopeRegistrationResource", new()
    {
        PublisherNames = new[]
        {
            "string",
        },
        TenantUrl = "string",
        ApiToken = "string",
        AuthMode = "string",
        BearerToken = "string",
        Oauth2 = new NetskopePublisher.Provider.Inputs.NetskopeOAuth2ArgsArgs
        {
            ClientId = "string",
            ClientSecret = "string",
            TokenUrl = "string",
            Scope = "string",
        },
    });
    
    example, err := netskopepublisher.NewNetskopeRegistration(ctx, "netskopeRegistrationResource", &netskopepublisher.NetskopeRegistrationArgs{
    	PublisherNames: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TenantUrl:   pulumi.String("string"),
    	ApiToken:    pulumi.String("string"),
    	AuthMode:    pulumi.String("string"),
    	BearerToken: pulumi.String("string"),
    	Oauth2: &provider.NetskopeOAuth2ArgsArgs{
    		ClientId:     pulumi.String("string"),
    		ClientSecret: pulumi.String("string"),
    		TokenUrl:     pulumi.String("string"),
    		Scope:        pulumi.String("string"),
    	},
    })
    
    resource "netskope-publisher_netskoperegistration" "netskopeRegistrationResource" {
      publisher_names = ["string"]
      tenant_url      = "string"
      api_token       = "string"
      auth_mode       = "string"
      bearer_token    = "string"
      oauth2 = {
        client_id     = "string"
        client_secret = "string"
        token_url     = "string"
        scope         = "string"
      }
    }
    
    var netskopeRegistrationResource = new NetskopeRegistration("netskopeRegistrationResource", NetskopeRegistrationArgs.builder()
        .publisherNames("string")
        .tenantUrl("string")
        .apiToken("string")
        .authMode("string")
        .bearerToken("string")
        .oauth2(NetskopeOAuth2Args.builder()
            .clientId("string")
            .clientSecret("string")
            .tokenUrl("string")
            .scope("string")
            .build())
        .build());
    
    netskope_registration_resource = netskope_publisher.NetskopeRegistration("netskopeRegistrationResource",
        publisher_names=["string"],
        tenant_url="string",
        api_token="string",
        auth_mode="string",
        bearer_token="string",
        oauth2={
            "client_id": "string",
            "client_secret": "string",
            "token_url": "string",
            "scope": "string",
        })
    
    const netskopeRegistrationResource = new netskope_publisher.NetskopeRegistration("netskopeRegistrationResource", {
        publisherNames: ["string"],
        tenantUrl: "string",
        apiToken: "string",
        authMode: "string",
        bearerToken: "string",
        oauth2: {
            clientId: "string",
            clientSecret: "string",
            tokenUrl: "string",
            scope: "string",
        },
    });
    
    type: netskope-publisher:NetskopeRegistration
    properties:
        apiToken: string
        authMode: string
        bearerToken: string
        oauth2:
            clientId: string
            clientSecret: string
            scope: string
            tokenUrl: string
        publisherNames:
            - string
        tenantUrl: string
    

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

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Registrations Dictionary<string, Pulumi.NetskopePublisher.Provider.Outputs.RegistrationRecord>
    Id string
    The provider-assigned unique ID for this managed resource.
    Registrations RegistrationRecord
    id string
    The provider-assigned unique ID for this managed resource.
    registrations map(object)
    id String
    The provider-assigned unique ID for this managed resource.
    registrations Map<String,RegistrationRecord>
    id string
    The provider-assigned unique ID for this managed resource.
    registrations {[key: string]: providerRegistrationRecord}
    id str
    The provider-assigned unique ID for this managed resource.
    registrations Mapping[str, provider.RegistrationRecord]
    id String
    The provider-assigned unique ID for this managed resource.
    registrations Map<Property Map>

    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

    RegistrationRecord, RegistrationRecordArgs

    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