zpa.PRAApproval
Explore with Pulumi AI
The zpa_pra_approval_controller resource creates a privileged remote access approval in the Zscaler Private Access cloud. This resource allows third-party users and contractors to be able to log in to a Privileged Remote Access (PRA) portal.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.SegmentGroup;
import com.pulumi.zpa.SegmentGroupArgs;
import com.pulumi.zpa.ConnectorGroup;
import com.pulumi.zpa.ConnectorGroupArgs;
import com.pulumi.zpa.ServerGroup;
import com.pulumi.zpa.ServerGroupArgs;
import com.pulumi.zpa.inputs.ServerGroupAppConnectorGroupArgs;
import com.pulumi.zpa.ApplicationSegment;
import com.pulumi.zpa.ApplicationSegmentArgs;
import com.pulumi.zpa.inputs.ApplicationSegmentServerGroupArgs;
import com.pulumi.zpa.PRAApproval;
import com.pulumi.zpa.PRAApprovalArgs;
import com.pulumi.zpa.inputs.PRAApprovalApplicationArgs;
import com.pulumi.zpa.inputs.PRAApprovalWorkingHourArgs;
import com.pulumi.resources.CustomResourceOptions;
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) {
// ZPA Segment Group resource
var thisSegmentGroup = new SegmentGroup("thisSegmentGroup", SegmentGroupArgs.builder()
.description("Example")
.enabled(true)
.build());
// ZPA App Connector Group resource
var thisConnectorGroup = new ConnectorGroup("thisConnectorGroup", ConnectorGroupArgs.builder()
.description("Example")
.enabled(true)
.cityCountry("San Jose, CA")
.countryCode("US")
.latitude("37.338")
.longitude("-121.8863")
.location("San Jose, CA, US")
.upgradeDay("SUNDAY")
.upgradeTimeInSecs("66600")
.overrideVersionProfile(true)
.versionProfileId(0)
.dnsQueryType("IPV4")
.build());
// ZPA Server Group resource
var thisServerGroup = new ServerGroup("thisServerGroup", ServerGroupArgs.builder()
.description("Example")
.enabled(true)
.dynamicDiscovery(false)
.appConnectorGroups(ServerGroupAppConnectorGroupArgs.builder()
.ids(thisConnectorGroup.id())
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(thisConnectorGroup)
.build());
// ZPA Application Segment resource
var thisApplicationSegment = new ApplicationSegment("thisApplicationSegment", ApplicationSegmentArgs.builder()
.description("Example")
.enabled(true)
.healthReporting("ON_ACCESS")
.bypassType("NEVER")
.isCnameEnabled(true)
.tcpPortRanges(
"8080",
"8080")
.domainNames("server.acme.com")
.segmentGroupId(thisSegmentGroup.id())
.serverGroups(ApplicationSegmentServerGroupArgs.builder()
.ids(thisServerGroup.id())
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(
thisServerGroup,
thisSegmentGroup)
.build());
// Create PRA Approval Controller
var thisPRAApproval = new PRAApproval("thisPRAApproval", PRAApprovalArgs.builder()
.emailIds("jdoe@acme.com")
.startTime("Tue, 07 Mar 2024 11:05:30 PST")
.endTime("Tue, 07 Jun 2024 11:05:30 PST")
.status("FUTURE")
.applications(PRAApprovalApplicationArgs.builder()
.ids(thisApplicationSegment.id())
.build())
.workingHours(PRAApprovalWorkingHourArgs.builder()
.days(
"FRI",
"MON",
"SAT",
"SUN",
"THU",
"TUE",
"WED")
.startTime("00:10")
.startTimeCron("0 0 8 ? * MON,TUE,WED,THU,FRI,SAT")
.endTime("09:15")
.endTimeCron("0 15 17 ? * MON,TUE,WED,THU,FRI,SAT")
.timezone("America/Vancouver")
.build())
.build());
}
}
resources:
# ZPA Application Segment resource
thisApplicationSegment:
type: zpa:ApplicationSegment
properties:
description: Example
enabled: true
healthReporting: ON_ACCESS
bypassType: NEVER
isCnameEnabled: true
tcpPortRanges:
- '8080'
- '8080'
domainNames:
- server.acme.com
segmentGroupId: ${thisSegmentGroup.id}
serverGroups:
- ids:
- ${thisServerGroup.id}
options:
dependson:
- ${thisServerGroup}
- ${thisSegmentGroup}
# ZPA Segment Group resource
thisSegmentGroup:
type: zpa:SegmentGroup
properties:
description: Example
enabled: true
# ZPA Server Group resource
thisServerGroup:
type: zpa:ServerGroup
properties:
description: Example
enabled: true
dynamicDiscovery: false
appConnectorGroups:
- ids:
- ${thisConnectorGroup.id}
options:
dependson:
- ${thisConnectorGroup}
# ZPA App Connector Group resource
thisConnectorGroup:
type: zpa:ConnectorGroup
properties:
description: Example
enabled: true
cityCountry: San Jose, CA
countryCode: US
latitude: '37.338'
longitude: '-121.8863'
location: San Jose, CA, US
upgradeDay: SUNDAY
upgradeTimeInSecs: '66600'
overrideVersionProfile: true
versionProfileId: 0
dnsQueryType: IPV4
# Create PRA Approval Controller
thisPRAApproval:
type: zpa:PRAApproval
properties:
emailIds:
- jdoe@acme.com
startTime: Tue, 07 Mar 2024 11:05:30 PST
endTime: Tue, 07 Jun 2024 11:05:30 PST
status: FUTURE
applications:
- ids:
- ${thisApplicationSegment.id}
workingHours:
- days:
- FRI
- MON
- SAT
- SUN
- THU
- TUE
- WED
startTime: 00:10
startTimeCron: 0 0 8 ? * MON,TUE,WED,THU,FRI,SAT
endTime: 09:15
endTimeCron: 0 15 17 ? * MON,TUE,WED,THU,FRI,SAT
timezone: America/Vancouver
Create PRAApproval Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PRAApproval(name: string, args: PRAApprovalArgs, opts?: CustomResourceOptions);
@overload
def PRAApproval(resource_name: str,
args: PRAApprovalArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PRAApproval(resource_name: str,
opts: Optional[ResourceOptions] = None,
applications: Optional[Sequence[PRAApprovalApplicationArgs]] = None,
email_ids: Optional[str] = None,
end_time: Optional[str] = None,
microtenant_id: Optional[str] = None,
start_time: Optional[str] = None,
status: Optional[str] = None,
working_hours: Optional[Sequence[PRAApprovalWorkingHourArgs]] = None)
func NewPRAApproval(ctx *Context, name string, args PRAApprovalArgs, opts ...ResourceOption) (*PRAApproval, error)
public PRAApproval(string name, PRAApprovalArgs args, CustomResourceOptions? opts = null)
public PRAApproval(String name, PRAApprovalArgs args)
public PRAApproval(String name, PRAApprovalArgs args, CustomResourceOptions options)
type: zpa:PRAApproval
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 PRAApprovalArgs
- 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 PRAApprovalArgs
- 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 PRAApprovalArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PRAApprovalArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PRAApprovalArgs
- 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 praapprovalResource = new Zpa.PRAApproval("praapprovalResource", new()
{
Applications = new[]
{
new Zpa.Inputs.PRAApprovalApplicationArgs
{
Ids = new[]
{
"string",
},
},
},
EmailIds = "string",
EndTime = "string",
MicrotenantId = "string",
StartTime = "string",
Status = "string",
WorkingHours = new[]
{
new Zpa.Inputs.PRAApprovalWorkingHourArgs
{
Days = new[]
{
"string",
},
EndTime = "string",
EndTimeCron = "string",
StartTime = "string",
StartTimeCron = "string",
Timezone = "string",
},
},
});
example, err := zpa.NewPRAApproval(ctx, "praapprovalResource", &zpa.PRAApprovalArgs{
Applications: zpa.PRAApprovalApplicationArray{
&zpa.PRAApprovalApplicationArgs{
Ids: pulumi.StringArray{
pulumi.String("string"),
},
},
},
EmailIds: pulumi.String("string"),
EndTime: pulumi.String("string"),
MicrotenantId: pulumi.String("string"),
StartTime: pulumi.String("string"),
Status: pulumi.String("string"),
WorkingHours: zpa.PRAApprovalWorkingHourArray{
&zpa.PRAApprovalWorkingHourArgs{
Days: pulumi.StringArray{
pulumi.String("string"),
},
EndTime: pulumi.String("string"),
EndTimeCron: pulumi.String("string"),
StartTime: pulumi.String("string"),
StartTimeCron: pulumi.String("string"),
Timezone: pulumi.String("string"),
},
},
})
var praapprovalResource = new PRAApproval("praapprovalResource", PRAApprovalArgs.builder()
.applications(PRAApprovalApplicationArgs.builder()
.ids("string")
.build())
.emailIds("string")
.endTime("string")
.microtenantId("string")
.startTime("string")
.status("string")
.workingHours(PRAApprovalWorkingHourArgs.builder()
.days("string")
.endTime("string")
.endTimeCron("string")
.startTime("string")
.startTimeCron("string")
.timezone("string")
.build())
.build());
praapproval_resource = zpa.PRAApproval("praapprovalResource",
applications=[{
"ids": ["string"],
}],
email_ids="string",
end_time="string",
microtenant_id="string",
start_time="string",
status="string",
working_hours=[{
"days": ["string"],
"end_time": "string",
"end_time_cron": "string",
"start_time": "string",
"start_time_cron": "string",
"timezone": "string",
}])
const praapprovalResource = new zpa.PRAApproval("praapprovalResource", {
applications: [{
ids: ["string"],
}],
emailIds: "string",
endTime: "string",
microtenantId: "string",
startTime: "string",
status: "string",
workingHours: [{
days: ["string"],
endTime: "string",
endTimeCron: "string",
startTime: "string",
startTimeCron: "string",
timezone: "string",
}],
});
type: zpa:PRAApproval
properties:
applications:
- ids:
- string
emailIds: string
endTime: string
microtenantId: string
startTime: string
status: string
workingHours:
- days:
- string
endTime: string
endTimeCron: string
startTime: string
startTimeCron: string
timezone: string
PRAApproval 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 PRAApproval resource accepts the following input properties:
- Applications
List<Zscaler.
Zpa. Inputs. PRAApproval Application> - Email
Ids string - The email address of the user that you are assigning the privileged approval to
- End
Time string - The end date that the user no longer has access to the privileged approval
- Microtenant
Id string - The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
- Start
Time string - The start date that the user has access to the privileged approval
- Status string
- The status of the privileged approval
- Working
Hours List<Zscaler.Zpa. Inputs. PRAApproval Working Hour>
- Applications
[]PRAApproval
Application Args - Email
Ids string - The email address of the user that you are assigning the privileged approval to
- End
Time string - The end date that the user no longer has access to the privileged approval
- Microtenant
Id string - The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
- Start
Time string - The start date that the user has access to the privileged approval
- Status string
- The status of the privileged approval
- Working
Hours []PRAApprovalWorking Hour Args
- applications
List<PRAApproval
Application> - email
Ids String - The email address of the user that you are assigning the privileged approval to
- end
Time String - The end date that the user no longer has access to the privileged approval
- microtenant
Id String - The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
- start
Time String - The start date that the user has access to the privileged approval
- status String
- The status of the privileged approval
- working
Hours List<PRAApprovalWorking Hour>
- applications
PRAApproval
Application[] - email
Ids string - The email address of the user that you are assigning the privileged approval to
- end
Time string - The end date that the user no longer has access to the privileged approval
- microtenant
Id string - The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
- start
Time string - The start date that the user has access to the privileged approval
- status string
- The status of the privileged approval
- working
Hours PRAApprovalWorking Hour[]
- applications
Sequence[PRAApproval
Application Args] - email_
ids str - The email address of the user that you are assigning the privileged approval to
- end_
time str - The end date that the user no longer has access to the privileged approval
- microtenant_
id str - The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
- start_
time str - The start date that the user has access to the privileged approval
- status str
- The status of the privileged approval
- working_
hours Sequence[PRAApprovalWorking Hour Args]
- applications List<Property Map>
- email
Ids String - The email address of the user that you are assigning the privileged approval to
- end
Time String - The end date that the user no longer has access to the privileged approval
- microtenant
Id String - The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
- start
Time String - The start date that the user has access to the privileged approval
- status String
- The status of the privileged approval
- working
Hours List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the PRAApproval 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 PRAApproval Resource
Get an existing PRAApproval 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?: PRAApprovalState, opts?: CustomResourceOptions): PRAApproval
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
applications: Optional[Sequence[PRAApprovalApplicationArgs]] = None,
email_ids: Optional[str] = None,
end_time: Optional[str] = None,
microtenant_id: Optional[str] = None,
start_time: Optional[str] = None,
status: Optional[str] = None,
working_hours: Optional[Sequence[PRAApprovalWorkingHourArgs]] = None) -> PRAApproval
func GetPRAApproval(ctx *Context, name string, id IDInput, state *PRAApprovalState, opts ...ResourceOption) (*PRAApproval, error)
public static PRAApproval Get(string name, Input<string> id, PRAApprovalState? state, CustomResourceOptions? opts = null)
public static PRAApproval get(String name, Output<String> id, PRAApprovalState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Applications
List<Zscaler.
Zpa. Inputs. PRAApproval Application> - Email
Ids string - The email address of the user that you are assigning the privileged approval to
- End
Time string - The end date that the user no longer has access to the privileged approval
- Microtenant
Id string - The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
- Start
Time string - The start date that the user has access to the privileged approval
- Status string
- The status of the privileged approval
- Working
Hours List<Zscaler.Zpa. Inputs. PRAApproval Working Hour>
- Applications
[]PRAApproval
Application Args - Email
Ids string - The email address of the user that you are assigning the privileged approval to
- End
Time string - The end date that the user no longer has access to the privileged approval
- Microtenant
Id string - The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
- Start
Time string - The start date that the user has access to the privileged approval
- Status string
- The status of the privileged approval
- Working
Hours []PRAApprovalWorking Hour Args
- applications
List<PRAApproval
Application> - email
Ids String - The email address of the user that you are assigning the privileged approval to
- end
Time String - The end date that the user no longer has access to the privileged approval
- microtenant
Id String - The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
- start
Time String - The start date that the user has access to the privileged approval
- status String
- The status of the privileged approval
- working
Hours List<PRAApprovalWorking Hour>
- applications
PRAApproval
Application[] - email
Ids string - The email address of the user that you are assigning the privileged approval to
- end
Time string - The end date that the user no longer has access to the privileged approval
- microtenant
Id string - The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
- start
Time string - The start date that the user has access to the privileged approval
- status string
- The status of the privileged approval
- working
Hours PRAApprovalWorking Hour[]
- applications
Sequence[PRAApproval
Application Args] - email_
ids str - The email address of the user that you are assigning the privileged approval to
- end_
time str - The end date that the user no longer has access to the privileged approval
- microtenant_
id str - The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
- start_
time str - The start date that the user has access to the privileged approval
- status str
- The status of the privileged approval
- working_
hours Sequence[PRAApprovalWorking Hour Args]
- applications List<Property Map>
- email
Ids String - The email address of the user that you are assigning the privileged approval to
- end
Time String - The end date that the user no longer has access to the privileged approval
- microtenant
Id String - The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
- start
Time String - The start date that the user has access to the privileged approval
- status String
- The status of the privileged approval
- working
Hours List<Property Map>
Supporting Types
PRAApprovalApplication, PRAApprovalApplicationArgs
- Ids List<string>
- The unique identifier of the pra application segment
- Ids []string
- The unique identifier of the pra application segment
- ids List<String>
- The unique identifier of the pra application segment
- ids string[]
- The unique identifier of the pra application segment
- ids Sequence[str]
- The unique identifier of the pra application segment
- ids List<String>
- The unique identifier of the pra application segment
PRAApprovalWorkingHour, PRAApprovalWorkingHourArgs
- Days List<string>
- The days of the week that you want to enable the privileged approval
- End
Time string - The end time that the user no longer has access to the privileged approval
- End
Time stringCron - The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- Start
Time string - The start time that the user has access to the privileged approval
- Start
Time stringCron - The cron expression provided to configure the privileged approval start time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- Timezone string
- The time zone for the time window of a privileged approval
- Days []string
- The days of the week that you want to enable the privileged approval
- End
Time string - The end time that the user no longer has access to the privileged approval
- End
Time stringCron - The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- Start
Time string - The start time that the user has access to the privileged approval
- Start
Time stringCron - The cron expression provided to configure the privileged approval start time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- Timezone string
- The time zone for the time window of a privileged approval
- days List<String>
- The days of the week that you want to enable the privileged approval
- end
Time String - The end time that the user no longer has access to the privileged approval
- end
Time StringCron - The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- start
Time String - The start time that the user has access to the privileged approval
- start
Time StringCron - The cron expression provided to configure the privileged approval start time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- timezone String
- The time zone for the time window of a privileged approval
- days string[]
- The days of the week that you want to enable the privileged approval
- end
Time string - The end time that the user no longer has access to the privileged approval
- end
Time stringCron - The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- start
Time string - The start time that the user has access to the privileged approval
- start
Time stringCron - The cron expression provided to configure the privileged approval start time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- timezone string
- The time zone for the time window of a privileged approval
- days Sequence[str]
- The days of the week that you want to enable the privileged approval
- end_
time str - The end time that the user no longer has access to the privileged approval
- end_
time_ strcron - The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- start_
time str - The start time that the user has access to the privileged approval
- start_
time_ strcron - The cron expression provided to configure the privileged approval start time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- timezone str
- The time zone for the time window of a privileged approval
- days List<String>
- The days of the week that you want to enable the privileged approval
- end
Time String - The end time that the user no longer has access to the privileged approval
- end
Time StringCron - The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- start
Time String - The start time that the user has access to the privileged approval
- start
Time StringCron - The cron expression provided to configure the privileged approval start time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- timezone String
- The time zone for the time window of a privileged approval
Import
Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZPA configurations into Terraform-compliant HashiCorp Configuration Language.
Visit
zpa_pra_approval_controller can be imported by using <APPROVAL ID>
or <APPROVAL NAME>
as the import ID.
For example:
$ pulumi import zpa:index/pRAApproval:PRAApproval this <approval_id>
or
$ pulumi import zpa:index/pRAApproval:PRAApproval this <approval_name>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.