Viewing docs for Netskope Publisher v0.1.11
published on Wednesday, May 20, 2026 by johnneerdael
published on Wednesday, May 20, 2026 by johnneerdael
Viewing docs for Netskope Publisher v0.1.11
published on Wednesday, May 20, 2026 by johnneerdael
published on Wednesday, May 20, 2026 by johnneerdael
Create GcpPublisher Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GcpPublisher(name: string, args: GcpPublisherArgs, opts?: ComponentResourceOptions);@overload
def GcpPublisher(resource_name: str,
args: GcpPublisherArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GcpPublisher(resource_name: str,
opts: Optional[ResourceOptions] = None,
image: Optional[str] = None,
zone: Optional[str] = None,
subnetwork: Optional[str] = None,
project: Optional[str] = None,
network: Optional[str] = None,
name_prefix: Optional[str] = None,
bootstrap: Optional[bool] = None,
guest_network_interface: Optional[_provider.GuestNetworkInterfaceArgs] = None,
bootstrap_url: Optional[str] = None,
install_user: Optional[str] = None,
install_user_password: Optional[str] = None,
install_user_password_is_hash: Optional[bool] = None,
install_user_ssh_authorized_keys: Optional[Sequence[str]] = None,
machine_type: Optional[str] = None,
api_token: Optional[str] = None,
names: Optional[Sequence[str]] = None,
delete_default_user: Optional[bool] = None,
network_tags: Optional[Sequence[str]] = None,
nonat: Optional[bool] = None,
oauth2: Optional[_provider.NetskopeOAuth2ArgsArgs] = None,
bearer_token: Optional[str] = None,
registrations: Optional[Mapping[str, _provider.PublisherRegistrationInputArgs]] = None,
replicas: Optional[int] = None,
service_account: Optional[_provider.GcpServiceAccountArgs] = None,
auth_mode: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tenant_url: Optional[str] = None,
wizard_path: Optional[str] = None,
assign_public_ip: Optional[bool] = None)func NewGcpPublisher(ctx *Context, name string, args GcpPublisherArgs, opts ...ResourceOption) (*GcpPublisher, error)public GcpPublisher(string name, GcpPublisherArgs args, ComponentResourceOptions? opts = null)
public GcpPublisher(String name, GcpPublisherArgs args)
public GcpPublisher(String name, GcpPublisherArgs args, ComponentResourceOptions options)
type: netskope-publisher:GcpPublisher
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "netskope-publisher_gcppublisher" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args GcpPublisherArgs
- 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 GcpPublisherArgs
- 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 GcpPublisherArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GcpPublisherArgs
- The arguments to resource properties.
- opts ComponentResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GcpPublisherArgs
- 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 gcpPublisherResource = new NetskopePublisher.GcpPublisher("gcpPublisherResource", new()
{
Image = "string",
Zone = "string",
Subnetwork = "string",
Project = "string",
Network = "string",
NamePrefix = "string",
Bootstrap = false,
GuestNetworkInterface = new NetskopePublisher.Provider.Inputs.GuestNetworkInterfaceArgs
{
Name = "string",
Addresses = new[]
{
"string",
},
Dhcp4 = false,
Gateway4 = "string",
Mtu = 0,
Nameservers = new[]
{
"string",
},
},
BootstrapUrl = "string",
InstallUser = "string",
InstallUserPassword = "string",
InstallUserPasswordIsHash = false,
InstallUserSshAuthorizedKeys = new[]
{
"string",
},
MachineType = "string",
ApiToken = "string",
Names = new[]
{
"string",
},
DeleteDefaultUser = false,
NetworkTags = new[]
{
"string",
},
Nonat = false,
Oauth2 = new NetskopePublisher.Provider.Inputs.NetskopeOAuth2ArgsArgs
{
ClientId = "string",
ClientSecret = "string",
TokenUrl = "string",
Scope = "string",
},
BearerToken = "string",
Registrations =
{
{ "string", new NetskopePublisher.Provider.Inputs.PublisherRegistrationInputArgs
{
PublisherId = 0,
RegistrationToken = "string",
ExistedBefore = false,
} },
},
Replicas = 0,
ServiceAccount = new NetskopePublisher.Provider.Inputs.GcpServiceAccountArgs
{
Email = "string",
Scopes = new[]
{
"string",
},
},
AuthMode = "string",
Tags =
{
{ "string", "string" },
},
TenantUrl = "string",
WizardPath = "string",
AssignPublicIp = false,
});
example, err := netskopepublisher.NewGcpPublisher(ctx, "gcpPublisherResource", &netskopepublisher.GcpPublisherArgs{
Image: "string",
Zone: "string",
Subnetwork: "string",
Project: "string",
Network: "string",
NamePrefix: "string",
Bootstrap: 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"),
},
},
BootstrapUrl: "string",
InstallUser: "string",
InstallUserPassword: "string",
InstallUserPasswordIsHash: false,
InstallUserSshAuthorizedKeys: pulumi.StringArray{
"string",
},
MachineType: "string",
ApiToken: "string",
Names: pulumi.StringArray{
"string",
},
DeleteDefaultUser: false,
NetworkTags: pulumi.StringArray{
"string",
},
Nonat: false,
Oauth2: &provider.NetskopeOAuth2ArgsArgs{
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
TokenUrl: pulumi.String("string"),
Scope: pulumi.String("string"),
},
BearerToken: "string",
Registrations: provider.PublisherRegistrationInputMap{
"string": &provider.PublisherRegistrationInputArgs{
PublisherId: pulumi.Int(0),
RegistrationToken: pulumi.String("string"),
ExistedBefore: pulumi.Bool(false),
},
},
Replicas: 0,
ServiceAccount: &provider.GcpServiceAccountArgs{
Email: pulumi.String("string"),
Scopes: pulumi.StringArray{
pulumi.String("string"),
},
},
AuthMode: "string",
Tags: pulumi.StringMap{
"string": "string",
},
TenantUrl: "string",
WizardPath: "string",
AssignPublicIp: false,
})
resource "netskope-publisher_gcppublisher" "gcpPublisherResource" {
image = "string"
zone = "string"
subnetwork = "string"
project = "string"
network = "string"
name_prefix = "string"
bootstrap = false
guest_network_interface = {
name = "string"
addresses = ["string"]
dhcp4 = false
gateway4 = "string"
mtu = 0
nameservers = ["string"]
}
bootstrap_url = "string"
install_user = "string"
install_user_password = "string"
install_user_password_is_hash = false
install_user_ssh_authorized_keys = ["string"]
machine_type = "string"
api_token = "string"
names = ["string"]
delete_default_user = false
network_tags = ["string"]
nonat = false
oauth2 = {
client_id = "string"
client_secret = "string"
token_url = "string"
scope = "string"
}
bearer_token = "string"
registrations = {
"string" = {
publisher_id = 0
registration_token = "string"
existed_before = false
}
}
replicas = 0
service_account = {
email = "string"
scopes = ["string"]
}
auth_mode = "string"
tags = {
"string" = "string"
}
tenant_url = "string"
wizard_path = "string"
assign_public_ip = false
}
var gcpPublisherResource = new GcpPublisher("gcpPublisherResource", GcpPublisherArgs.builder()
.image("string")
.zone("string")
.subnetwork("string")
.project("string")
.network("string")
.namePrefix("string")
.bootstrap(false)
.guestNetworkInterface(GuestNetworkInterfaceArgs.builder()
.name("string")
.addresses("string")
.dhcp4(false)
.gateway4("string")
.mtu(0)
.nameservers("string")
.build())
.bootstrapUrl("string")
.installUser("string")
.installUserPassword("string")
.installUserPasswordIsHash(false)
.installUserSshAuthorizedKeys("string")
.machineType("string")
.apiToken("string")
.names("string")
.deleteDefaultUser(false)
.networkTags("string")
.nonat(false)
.oauth2(NetskopeOAuth2Args.builder()
.clientId("string")
.clientSecret("string")
.tokenUrl("string")
.scope("string")
.build())
.bearerToken("string")
.registrations(Map.of("string", PublisherRegistrationInputArgs.builder()
.publisherId(0)
.registrationToken("string")
.existedBefore(false)
.build()))
.replicas(0)
.serviceAccount(GcpServiceAccountArgs.builder()
.email("string")
.scopes("string")
.build())
.authMode("string")
.tags(Map.of("string", "string"))
.tenantUrl("string")
.wizardPath("string")
.assignPublicIp(false)
.build());
gcp_publisher_resource = netskope_publisher.GcpPublisher("gcpPublisherResource",
image="string",
zone="string",
subnetwork="string",
project="string",
network="string",
name_prefix="string",
bootstrap=False,
guest_network_interface={
"name": "string",
"addresses": ["string"],
"dhcp4": False,
"gateway4": "string",
"mtu": 0,
"nameservers": ["string"],
},
bootstrap_url="string",
install_user="string",
install_user_password="string",
install_user_password_is_hash=False,
install_user_ssh_authorized_keys=["string"],
machine_type="string",
api_token="string",
names=["string"],
delete_default_user=False,
network_tags=["string"],
nonat=False,
oauth2={
"client_id": "string",
"client_secret": "string",
"token_url": "string",
"scope": "string",
},
bearer_token="string",
registrations={
"string": {
"publisher_id": 0,
"registration_token": "string",
"existed_before": False,
},
},
replicas=0,
service_account={
"email": "string",
"scopes": ["string"],
},
auth_mode="string",
tags={
"string": "string",
},
tenant_url="string",
wizard_path="string",
assign_public_ip=False)
const gcpPublisherResource = new netskope_publisher.GcpPublisher("gcpPublisherResource", {
image: "string",
zone: "string",
subnetwork: "string",
project: "string",
network: "string",
namePrefix: "string",
bootstrap: false,
guestNetworkInterface: {
name: "string",
addresses: ["string"],
dhcp4: false,
gateway4: "string",
mtu: 0,
nameservers: ["string"],
},
bootstrapUrl: "string",
installUser: "string",
installUserPassword: "string",
installUserPasswordIsHash: false,
installUserSshAuthorizedKeys: ["string"],
machineType: "string",
apiToken: "string",
names: ["string"],
deleteDefaultUser: false,
networkTags: ["string"],
nonat: false,
oauth2: {
clientId: "string",
clientSecret: "string",
tokenUrl: "string",
scope: "string",
},
bearerToken: "string",
registrations: {
string: {
publisherId: 0,
registrationToken: "string",
existedBefore: false,
},
},
replicas: 0,
serviceAccount: {
email: "string",
scopes: ["string"],
},
authMode: "string",
tags: {
string: "string",
},
tenantUrl: "string",
wizardPath: "string",
assignPublicIp: false,
});
type: netskope-publisher:GcpPublisher
properties:
apiToken: string
assignPublicIp: false
authMode: string
bearerToken: string
bootstrap: false
bootstrapUrl: string
deleteDefaultUser: false
guestNetworkInterface:
addresses:
- string
dhcp4: false
gateway4: string
mtu: 0
name: string
nameservers:
- string
image: string
installUser: string
installUserPassword: string
installUserPasswordIsHash: false
installUserSshAuthorizedKeys:
- string
machineType: string
namePrefix: string
names:
- string
network: string
networkTags:
- string
nonat: false
oauth2:
clientId: string
clientSecret: string
scope: string
tokenUrl: string
project: string
registrations:
string:
existedBefore: false
publisherId: 0
registrationToken: string
replicas: 0
serviceAccount:
email: string
scopes:
- string
subnetwork: string
tags:
string: string
tenantUrl: string
wizardPath: string
zone: string
GcpPublisher 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 GcpPublisher resource accepts the following input properties:
- Image string
- Network string
- Project string
- Subnetwork string
- Zone string
- Api
Token string - Assign
Public boolIp - Auth
Mode string - Bearer
Token string - Bootstrap bool
- Bootstrap
Url string - Delete
Default boolUser - Guest
Network Pulumi.Interface Netskope Publisher. Provider. Inputs. Guest Network Interface - Install
User string - Install
User stringPassword - Install
User boolPassword Is Hash - List<string>
- Machine
Type string - Name
Prefix string - Names List<string>
- List<string>
- Nonat bool
- Oauth2
Pulumi.
Netskope Publisher. Provider. Inputs. Netskope OAuth2Args - Registrations
Dictionary<string, Pulumi.
Netskope Publisher. Provider. Inputs. Publisher Registration Input Args> - Replicas int
- Service
Account Pulumi.Netskope Publisher. Provider. Inputs. Gcp Service Account - Dictionary<string, string>
- Tenant
Url string - Wizard
Path string
- Image string
- Network string
- Project string
- Subnetwork string
- Zone string
- Api
Token string - Assign
Public boolIp - Auth
Mode string - Bearer
Token string - Bootstrap bool
- Bootstrap
Url string - Delete
Default boolUser - Guest
Network GuestInterface Network Interface Args - Install
User string - Install
User stringPassword - Install
User boolPassword Is Hash - []string
- Machine
Type string - Name
Prefix string - Names []string
- []string
- Nonat bool
- Oauth2
Netskope
OAuth2Args Args - Registrations
Publisher
Registration Input Args - Replicas int
- Service
Account GcpService Account Args - map[string]string
- Tenant
Url string - Wizard
Path string
- image string
- network string
- project string
- subnetwork string
- zone string
- api_
token string - assign_
public_ boolip - auth_
mode string - bearer_
token string - bootstrap bool
- bootstrap_
url string - delete_
default_ booluser - guest_
network_ objectinterface - install_
user string - install_
user_ stringpassword - install_
user_ boolpassword_ is_ hash - list(string)
- machine_
type string - name_
prefix string - names list(string)
- list(string)
- nonat bool
- oauth2 object
- registrations map(object)
- replicas number
- service_
account object - map(string)
- tenant_
url string - wizard_
path string
- image String
- network String
- project String
- subnetwork String
- zone String
- api
Token String - assign
Public BooleanIp - auth
Mode String - bearer
Token String - bootstrap Boolean
- bootstrap
Url String - delete
Default BooleanUser - guest
Network GuestInterface Network Interface - install
User String - install
User StringPassword - install
User BooleanPassword Is Hash - List<String>
- machine
Type String - name
Prefix String - names List<String>
- List<String>
- nonat Boolean
- oauth2
Netskope
OAuth2Args - registrations
Map<String,Publisher
Registration Input Args> - replicas Integer
- service
Account GcpService Account - Map<String,String>
- tenant
Url String - wizard
Path String
- image string
- network string
- project string
- subnetwork string
- zone string
- api
Token string - assign
Public booleanIp - auth
Mode string - bearer
Token string - bootstrap boolean
- bootstrap
Url string - delete
Default booleanUser - guest
Network providerInterface Guest Network Interface - install
User string - install
User stringPassword - install
User booleanPassword Is Hash - string[]
- machine
Type string - name
Prefix string - names string[]
- string[]
- nonat boolean
- oauth2
provider
Netskope OAuth2Args - registrations
{[key: string]: provider
Publisher Registration Input Args} - replicas number
- service
Account providerGcp Service Account - {[key: string]: string}
- tenant
Url string - wizard
Path string
- image str
- network str
- project str
- subnetwork str
- zone str
- api_
token str - assign_
public_ boolip - auth_
mode str - bearer_
token str - bootstrap bool
- bootstrap_
url str - delete_
default_ booluser - guest_
network_ provider.interface Guest Network Interface Args - install_
user str - install_
user_ strpassword - install_
user_ boolpassword_ is_ hash - Sequence[str]
- machine_
type str - name_
prefix str - names Sequence[str]
- Sequence[str]
- nonat bool
- oauth2
provider.
Netskope OAuth2Args Args - registrations
Mapping[str, provider.
Publisher Registration Input Args] - replicas int
- service_
account provider.Gcp Service Account Args - Mapping[str, str]
- tenant_
url str - wizard_
path str
- image String
- network String
- project String
- subnetwork String
- zone String
- api
Token String - assign
Public BooleanIp - auth
Mode String - bearer
Token String - bootstrap Boolean
- bootstrap
Url String - delete
Default BooleanUser - guest
Network Property MapInterface - install
User String - install
User StringPassword - install
User BooleanPassword Is Hash - List<String>
- machine
Type String - name
Prefix String - names List<String>
- List<String>
- nonat Boolean
- oauth2 Property Map
- registrations Map<Property Map>
- replicas Number
- service
Account Property Map - Map<String>
- tenant
Url String - wizard
Path String
Outputs
All input properties are implicitly available as output properties. Additionally, the GcpPublisher resource produces the following output properties:
- Publisher
Names List<string> - Publishers Dictionary<string, object>
- Publisher
Names []string - Publishers map[string]interface{}
- publisher_
names list(string) - publishers map(any)
- publisher
Names List<String> - publishers Map<String,Object>
- publisher
Names string[] - publishers {[key: string]: any}
- publisher_
names Sequence[str] - publishers Mapping[str, Any]
- publisher
Names List<String> - publishers Map<Any>
Supporting Types
GcpServiceAccount, GcpServiceAccountArgs
GuestNetworkInterface, GuestNetworkInterfaceArgs
NetskopeOAuth2Args, NetskopeOAuth2ArgsArgs
- Client
Id string - Client
Secret string - Token
Url string - Scope string
- Client
Id string - Client
Secret string - Token
Url string - Scope string
- client_
id string - client_
secret string - token_
url string - scope string
- client
Id String - client
Secret String - token
Url String - scope String
- client
Id string - client
Secret string - token
Url string - scope string
- client_
id str - client_
secret str - token_
url str - scope str
- client
Id String - client
Secret String - token
Url String - scope String
PublisherRegistrationInput, PublisherRegistrationInputArgs
- Publisher
Id int - Registration
Token string - Existed
Before bool
- Publisher
Id int - Registration
Token string - Existed
Before bool
- publisher_
id number - registration_
token string - existed_
before bool
- publisher
Id Integer - registration
Token String - existed
Before Boolean
- publisher
Id number - registration
Token string - existed
Before boolean
- publisher_
id int - registration_
token str - existed_
before bool
- publisher
Id Number - registration
Token String - existed
Before Boolean
Package Details
- Repository
- netskope-publisher johnneerdael/pulumi-netskope-publisher
- License
- Apache-2.0
Viewing docs for Netskope Publisher v0.1.11
published on Wednesday, May 20, 2026 by johnneerdael
published on Wednesday, May 20, 2026 by johnneerdael