The zpa_application_segment_multimatch_bulk resource to bulk updates application segment Multimatch in multiple applications.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@bdzscaler/pulumi-zpa";
const _this = new zpa.ApplicationSegmentMultimatchBulk("this", {
applicationIds: [
"72058304855164528",
"72058304855164536",
],
matchStyle: "EXCLUSIVE",
});
import pulumi
import zscaler_pulumi_zpa as zpa
this = zpa.ApplicationSegmentMultimatchBulk("this",
application_ids=[
"72058304855164528",
"72058304855164536",
],
match_style="EXCLUSIVE")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/zscaler/pulumi-zpa/sdk/go/zpa"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zpa.NewApplicationSegmentMultimatchBulk(ctx, "this", &zpa.ApplicationSegmentMultimatchBulkArgs{
ApplicationIds: pulumi.StringArray{
pulumi.String("72058304855164528"),
pulumi.String("72058304855164536"),
},
MatchStyle: pulumi.String("EXCLUSIVE"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zpa = zscaler.PulumiPackage.Zpa;
return await Deployment.RunAsync(() =>
{
var @this = new Zpa.ApplicationSegmentMultimatchBulk("this", new()
{
ApplicationIds = new[]
{
"72058304855164528",
"72058304855164536",
},
MatchStyle = "EXCLUSIVE",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.ApplicationSegmentMultimatchBulk;
import com.pulumi.zpa.ApplicationSegmentMultimatchBulkArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var this_ = new ApplicationSegmentMultimatchBulk("this", ApplicationSegmentMultimatchBulkArgs.builder()
.applicationIds(
"72058304855164528",
"72058304855164536")
.matchStyle("EXCLUSIVE")
.build());
}
}
resources:
this:
type: zpa:ApplicationSegmentMultimatchBulk
properties:
applicationIds:
- '72058304855164528'
- '72058304855164536'
matchStyle: EXCLUSIVE
Create ApplicationSegmentMultimatchBulk Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApplicationSegmentMultimatchBulk(name: string, args: ApplicationSegmentMultimatchBulkArgs, opts?: CustomResourceOptions);@overload
def ApplicationSegmentMultimatchBulk(resource_name: str,
args: ApplicationSegmentMultimatchBulkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApplicationSegmentMultimatchBulk(resource_name: str,
opts: Optional[ResourceOptions] = None,
application_ids: Optional[Sequence[str]] = None,
match_style: Optional[str] = None)func NewApplicationSegmentMultimatchBulk(ctx *Context, name string, args ApplicationSegmentMultimatchBulkArgs, opts ...ResourceOption) (*ApplicationSegmentMultimatchBulk, error)public ApplicationSegmentMultimatchBulk(string name, ApplicationSegmentMultimatchBulkArgs args, CustomResourceOptions? opts = null)
public ApplicationSegmentMultimatchBulk(String name, ApplicationSegmentMultimatchBulkArgs args)
public ApplicationSegmentMultimatchBulk(String name, ApplicationSegmentMultimatchBulkArgs args, CustomResourceOptions options)
type: zpa:ApplicationSegmentMultimatchBulk
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ApplicationSegmentMultimatchBulkArgs
- 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 ApplicationSegmentMultimatchBulkArgs
- 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 ApplicationSegmentMultimatchBulkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationSegmentMultimatchBulkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationSegmentMultimatchBulkArgs
- 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 applicationSegmentMultimatchBulkResource = new Zpa.ApplicationSegmentMultimatchBulk("applicationSegmentMultimatchBulkResource", new()
{
ApplicationIds = new[]
{
"string",
},
MatchStyle = "string",
});
example, err := zpa.NewApplicationSegmentMultimatchBulk(ctx, "applicationSegmentMultimatchBulkResource", &zpa.ApplicationSegmentMultimatchBulkArgs{
ApplicationIds: pulumi.StringArray{
pulumi.String("string"),
},
MatchStyle: pulumi.String("string"),
})
var applicationSegmentMultimatchBulkResource = new ApplicationSegmentMultimatchBulk("applicationSegmentMultimatchBulkResource", ApplicationSegmentMultimatchBulkArgs.builder()
.applicationIds("string")
.matchStyle("string")
.build());
application_segment_multimatch_bulk_resource = zpa.ApplicationSegmentMultimatchBulk("applicationSegmentMultimatchBulkResource",
application_ids=["string"],
match_style="string")
const applicationSegmentMultimatchBulkResource = new zpa.ApplicationSegmentMultimatchBulk("applicationSegmentMultimatchBulkResource", {
applicationIds: ["string"],
matchStyle: "string",
});
type: zpa:ApplicationSegmentMultimatchBulk
properties:
applicationIds:
- string
matchStyle: string
ApplicationSegmentMultimatchBulk 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 ApplicationSegmentMultimatchBulk resource accepts the following input properties:
- Application
Ids List<string> - The list of Application Segment IDs
- Match
Style string - Indicates if Multimatch is enabled for the application segment. If enabled (INCLUSIVE), the request allows traffic to match multiple applications. If disabled (EXCLUSIVE), the request allows traffic to match a single application. A domain can only be INCLUSIVE or EXCLUSIVE, and any application segment can only contain inclusive or exclusive domains. Supported values:
EXCLUSIVEandINCLUSIVE
- Application
Ids []string - The list of Application Segment IDs
- Match
Style string - Indicates if Multimatch is enabled for the application segment. If enabled (INCLUSIVE), the request allows traffic to match multiple applications. If disabled (EXCLUSIVE), the request allows traffic to match a single application. A domain can only be INCLUSIVE or EXCLUSIVE, and any application segment can only contain inclusive or exclusive domains. Supported values:
EXCLUSIVEandINCLUSIVE
- application
Ids List<String> - The list of Application Segment IDs
- match
Style String - Indicates if Multimatch is enabled for the application segment. If enabled (INCLUSIVE), the request allows traffic to match multiple applications. If disabled (EXCLUSIVE), the request allows traffic to match a single application. A domain can only be INCLUSIVE or EXCLUSIVE, and any application segment can only contain inclusive or exclusive domains. Supported values:
EXCLUSIVEandINCLUSIVE
- application
Ids string[] - The list of Application Segment IDs
- match
Style string - Indicates if Multimatch is enabled for the application segment. If enabled (INCLUSIVE), the request allows traffic to match multiple applications. If disabled (EXCLUSIVE), the request allows traffic to match a single application. A domain can only be INCLUSIVE or EXCLUSIVE, and any application segment can only contain inclusive or exclusive domains. Supported values:
EXCLUSIVEandINCLUSIVE
- application_
ids Sequence[str] - The list of Application Segment IDs
- match_
style str - Indicates if Multimatch is enabled for the application segment. If enabled (INCLUSIVE), the request allows traffic to match multiple applications. If disabled (EXCLUSIVE), the request allows traffic to match a single application. A domain can only be INCLUSIVE or EXCLUSIVE, and any application segment can only contain inclusive or exclusive domains. Supported values:
EXCLUSIVEandINCLUSIVE
- application
Ids List<String> - The list of Application Segment IDs
- match
Style String - Indicates if Multimatch is enabled for the application segment. If enabled (INCLUSIVE), the request allows traffic to match multiple applications. If disabled (EXCLUSIVE), the request allows traffic to match a single application. A domain can only be INCLUSIVE or EXCLUSIVE, and any application segment can only contain inclusive or exclusive domains. Supported values:
EXCLUSIVEandINCLUSIVE
Outputs
All input properties are implicitly available as output properties. Additionally, the ApplicationSegmentMultimatchBulk resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ApplicationSegmentMultimatchBulk Resource
Get an existing ApplicationSegmentMultimatchBulk resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ApplicationSegmentMultimatchBulkState, opts?: CustomResourceOptions): ApplicationSegmentMultimatchBulk@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application_ids: Optional[Sequence[str]] = None,
match_style: Optional[str] = None) -> ApplicationSegmentMultimatchBulkfunc GetApplicationSegmentMultimatchBulk(ctx *Context, name string, id IDInput, state *ApplicationSegmentMultimatchBulkState, opts ...ResourceOption) (*ApplicationSegmentMultimatchBulk, error)public static ApplicationSegmentMultimatchBulk Get(string name, Input<string> id, ApplicationSegmentMultimatchBulkState? state, CustomResourceOptions? opts = null)public static ApplicationSegmentMultimatchBulk get(String name, Output<String> id, ApplicationSegmentMultimatchBulkState state, CustomResourceOptions options)resources: _: type: zpa:ApplicationSegmentMultimatchBulk get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Application
Ids List<string> - The list of Application Segment IDs
- Match
Style string - Indicates if Multimatch is enabled for the application segment. If enabled (INCLUSIVE), the request allows traffic to match multiple applications. If disabled (EXCLUSIVE), the request allows traffic to match a single application. A domain can only be INCLUSIVE or EXCLUSIVE, and any application segment can only contain inclusive or exclusive domains. Supported values:
EXCLUSIVEandINCLUSIVE
- Application
Ids []string - The list of Application Segment IDs
- Match
Style string - Indicates if Multimatch is enabled for the application segment. If enabled (INCLUSIVE), the request allows traffic to match multiple applications. If disabled (EXCLUSIVE), the request allows traffic to match a single application. A domain can only be INCLUSIVE or EXCLUSIVE, and any application segment can only contain inclusive or exclusive domains. Supported values:
EXCLUSIVEandINCLUSIVE
- application
Ids List<String> - The list of Application Segment IDs
- match
Style String - Indicates if Multimatch is enabled for the application segment. If enabled (INCLUSIVE), the request allows traffic to match multiple applications. If disabled (EXCLUSIVE), the request allows traffic to match a single application. A domain can only be INCLUSIVE or EXCLUSIVE, and any application segment can only contain inclusive or exclusive domains. Supported values:
EXCLUSIVEandINCLUSIVE
- application
Ids string[] - The list of Application Segment IDs
- match
Style string - Indicates if Multimatch is enabled for the application segment. If enabled (INCLUSIVE), the request allows traffic to match multiple applications. If disabled (EXCLUSIVE), the request allows traffic to match a single application. A domain can only be INCLUSIVE or EXCLUSIVE, and any application segment can only contain inclusive or exclusive domains. Supported values:
EXCLUSIVEandINCLUSIVE
- application_
ids Sequence[str] - The list of Application Segment IDs
- match_
style str - Indicates if Multimatch is enabled for the application segment. If enabled (INCLUSIVE), the request allows traffic to match multiple applications. If disabled (EXCLUSIVE), the request allows traffic to match a single application. A domain can only be INCLUSIVE or EXCLUSIVE, and any application segment can only contain inclusive or exclusive domains. Supported values:
EXCLUSIVEandINCLUSIVE
- application
Ids List<String> - The list of Application Segment IDs
- match
Style String - Indicates if Multimatch is enabled for the application segment. If enabled (INCLUSIVE), the request allows traffic to match multiple applications. If disabled (EXCLUSIVE), the request allows traffic to match a single application. A domain can only be INCLUSIVE or EXCLUSIVE, and any application segment can only contain inclusive or exclusive domains. Supported values:
EXCLUSIVEandINCLUSIVE
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpaTerraform Provider.
