Viewing docs for Netskope Publisher v0.3.4
published on Thursday, May 21, 2026 by johnneerdael
published on Thursday, May 21, 2026 by johnneerdael
Viewing docs for Netskope Publisher v0.3.4
published on Thursday, May 21, 2026 by johnneerdael
published on Thursday, May 21, 2026 by johnneerdael
Create TagPublisherAssignment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TagPublisherAssignment(name: string, args: TagPublisherAssignmentArgs, opts?: CustomResourceOptions);@overload
def TagPublisherAssignment(resource_name: str,
args: TagPublisherAssignmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TagPublisherAssignment(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_tags: Optional[Sequence[str]] = None,
publisher_placement_labels: Optional[Sequence[str]] = None,
publishers: Optional[Mapping[str, _provider.PublisherAssignmentInputArgs]] = None,
tenant_url: Optional[str] = None,
api_token: Optional[str] = None,
auth_mode: Optional[str] = None,
bearer_token: Optional[str] = None,
match_mode: Optional[str] = None,
oauth2: Optional[_provider.NetskopeOAuth2ArgsArgs] = None)func NewTagPublisherAssignment(ctx *Context, name string, args TagPublisherAssignmentArgs, opts ...ResourceOption) (*TagPublisherAssignment, error)public TagPublisherAssignment(string name, TagPublisherAssignmentArgs args, CustomResourceOptions? opts = null)
public TagPublisherAssignment(String name, TagPublisherAssignmentArgs args)
public TagPublisherAssignment(String name, TagPublisherAssignmentArgs args, CustomResourceOptions options)
type: netskope-publisher:TagPublisherAssignment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "netskope-publisher_tagpublisherassignment" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TagPublisherAssignmentArgs
- 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 TagPublisherAssignmentArgs
- 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 TagPublisherAssignmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TagPublisherAssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TagPublisherAssignmentArgs
- 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 tagPublisherAssignmentResource = new NetskopePublisher.TagPublisherAssignment("tagPublisherAssignmentResource", new()
{
AppTags = new[]
{
"string",
},
PublisherPlacementLabels = new[]
{
"string",
},
Publishers =
{
{ "string", new NetskopePublisher.Provider.Inputs.PublisherAssignmentInputArgs
{
PublisherId = 0,
PlacementLabels = new[]
{
"string",
},
} },
},
TenantUrl = "string",
ApiToken = "string",
AuthMode = "string",
BearerToken = "string",
MatchMode = "string",
Oauth2 = new NetskopePublisher.Provider.Inputs.NetskopeOAuth2ArgsArgs
{
ClientId = "string",
ClientSecret = "string",
TokenUrl = "string",
Scope = "string",
},
});
example, err := netskopepublisher.NewTagPublisherAssignment(ctx, "tagPublisherAssignmentResource", &netskopepublisher.TagPublisherAssignmentArgs{
AppTags: pulumi.StringArray{
pulumi.String("string"),
},
PublisherPlacementLabels: pulumi.StringArray{
pulumi.String("string"),
},
Publishers: provider.PublisherAssignmentInputMap{
"string": &provider.PublisherAssignmentInputArgs{
PublisherId: pulumi.Int(0),
PlacementLabels: pulumi.StringArray{
pulumi.String("string"),
},
},
},
TenantUrl: pulumi.String("string"),
ApiToken: pulumi.String("string"),
AuthMode: pulumi.String("string"),
BearerToken: pulumi.String("string"),
MatchMode: 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_tagpublisherassignment" "tagPublisherAssignmentResource" {
app_tags = ["string"]
publisher_placement_labels = ["string"]
publishers = {
"string" = {
publisher_id = 0
placement_labels = ["string"]
}
}
tenant_url = "string"
api_token = "string"
auth_mode = "string"
bearer_token = "string"
match_mode = "string"
oauth2 = {
client_id = "string"
client_secret = "string"
token_url = "string"
scope = "string"
}
}
var tagPublisherAssignmentResource = new TagPublisherAssignment("tagPublisherAssignmentResource", TagPublisherAssignmentArgs.builder()
.appTags("string")
.publisherPlacementLabels("string")
.publishers(Map.of("string", PublisherAssignmentInputArgs.builder()
.publisherId(0)
.placementLabels("string")
.build()))
.tenantUrl("string")
.apiToken("string")
.authMode("string")
.bearerToken("string")
.matchMode("string")
.oauth2(NetskopeOAuth2Args.builder()
.clientId("string")
.clientSecret("string")
.tokenUrl("string")
.scope("string")
.build())
.build());
tag_publisher_assignment_resource = netskope_publisher.TagPublisherAssignment("tagPublisherAssignmentResource",
app_tags=["string"],
publisher_placement_labels=["string"],
publishers={
"string": {
"publisher_id": 0,
"placement_labels": ["string"],
},
},
tenant_url="string",
api_token="string",
auth_mode="string",
bearer_token="string",
match_mode="string",
oauth2={
"client_id": "string",
"client_secret": "string",
"token_url": "string",
"scope": "string",
})
const tagPublisherAssignmentResource = new netskope_publisher.TagPublisherAssignment("tagPublisherAssignmentResource", {
appTags: ["string"],
publisherPlacementLabels: ["string"],
publishers: {
string: {
publisherId: 0,
placementLabels: ["string"],
},
},
tenantUrl: "string",
apiToken: "string",
authMode: "string",
bearerToken: "string",
matchMode: "string",
oauth2: {
clientId: "string",
clientSecret: "string",
tokenUrl: "string",
scope: "string",
},
});
type: netskope-publisher:TagPublisherAssignment
properties:
apiToken: string
appTags:
- string
authMode: string
bearerToken: string
matchMode: string
oauth2:
clientId: string
clientSecret: string
scope: string
tokenUrl: string
publisherPlacementLabels:
- string
publishers:
string:
placementLabels:
- string
publisherId: 0
tenantUrl: string
TagPublisherAssignment 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 TagPublisherAssignment resource accepts the following input properties:
- List<string>
- Publisher
Placement List<string>Labels - Publishers
Dictionary<string, Pulumi.
Netskope Publisher. Provider. Inputs. Publisher Assignment Input Args> - Tenant
Url string - Api
Token string - Auth
Mode string - Bearer
Token string - Match
Mode string - Oauth2
Pulumi.
Netskope Publisher. Provider. Inputs. Netskope OAuth2Args
- []string
- Publisher
Placement []stringLabels - Publishers
Publisher
Assignment Input Args - Tenant
Url string - Api
Token string - Auth
Mode string - Bearer
Token string - Match
Mode string - Oauth2
Netskope
OAuth2Args Args
- list(string)
- publisher_
placement_ list(string)labels - publishers map(object)
- tenant_
url string - api_
token string - auth_
mode string - bearer_
token string - match_
mode string - oauth2 object
- List<String>
- publisher
Placement List<String>Labels - publishers
Map<String,Publisher
Assignment Input Args> - tenant
Url String - api
Token String - auth
Mode String - bearer
Token String - match
Mode String - oauth2
Netskope
OAuth2Args
- string[]
- publisher
Placement string[]Labels - publishers
{[key: string]: provider
Publisher Assignment Input Args} - tenant
Url string - api
Token string - auth
Mode string - bearer
Token string - match
Mode string - oauth2
provider
Netskope OAuth2Args
- Sequence[str]
- publisher_
placement_ Sequence[str]labels - publishers
Mapping[str, provider.
Publisher Assignment Input Args] - tenant_
url str - api_
token str - auth_
mode str - bearer_
token str - match_
mode str - oauth2
provider.
Netskope OAuth2Args Args
- List<String>
- publisher
Placement List<String>Labels - publishers Map<Property Map>
- tenant
Url String - api
Token String - auth
Mode String - bearer
Token String - match
Mode String - oauth2 Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the TagPublisherAssignment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Matched
Apps List<string> - Selected
Publishers List<int>
- Id string
- The provider-assigned unique ID for this managed resource.
- Matched
Apps []string - Selected
Publishers []int
- id string
- The provider-assigned unique ID for this managed resource.
- matched_
apps list(string) - selected_
publishers list(number)
- id String
- The provider-assigned unique ID for this managed resource.
- matched
Apps List<String> - selected
Publishers List<Integer>
- id string
- The provider-assigned unique ID for this managed resource.
- matched
Apps string[] - selected
Publishers number[]
- id str
- The provider-assigned unique ID for this managed resource.
- matched_
apps Sequence[str] - selected_
publishers Sequence[int]
- id String
- The provider-assigned unique ID for this managed resource.
- matched
Apps List<String> - selected
Publishers List<Number>
Supporting Types
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
PublisherAssignmentInput, PublisherAssignmentInputArgs
- Publisher
Id int - Placement
Labels List<string>
- Publisher
Id int - Placement
Labels []string
- publisher_
id number - placement_
labels list(string)
- publisher
Id Integer - placement
Labels List<String>
- publisher
Id number - placement
Labels string[]
- publisher_
id int - placement_
labels Sequence[str]
- publisher
Id Number - placement
Labels List<String>
Package Details
- Repository
- netskope-publisher johnneerdael/pulumi-netskope-publisher
- License
- Apache-2.0
Viewing docs for Netskope Publisher v0.3.4
published on Thursday, May 21, 2026 by johnneerdael
published on Thursday, May 21, 2026 by johnneerdael