zpa.ApplicationServer.ApplicationServer
Import
Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZPA configurations into Terraform-compliant HashiCorp Configuration Language. Visit Application Server can be imported by using <APPLICATION SERVER ID>
or <APPLICATION SERVER NAME>
as the import ID For example
$ pulumi import zpa:ApplicationServer/applicationServer:ApplicationServer example <application_server_id>
or
$ pulumi import zpa:ApplicationServer/applicationServer:ApplicationServer example <application_server_name>
Create ApplicationServer Resource
new ApplicationServer(name: string, args: ApplicationServerArgs, opts?: CustomResourceOptions);
@overload
def ApplicationServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
address: Optional[str] = None,
app_server_group_ids: Optional[Sequence[str]] = None,
config_space: Optional[str] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None)
@overload
def ApplicationServer(resource_name: str,
args: ApplicationServerArgs,
opts: Optional[ResourceOptions] = None)
func NewApplicationServer(ctx *Context, name string, args ApplicationServerArgs, opts ...ResourceOption) (*ApplicationServer, error)
public ApplicationServer(string name, ApplicationServerArgs args, CustomResourceOptions? opts = null)
public ApplicationServer(String name, ApplicationServerArgs args)
public ApplicationServer(String name, ApplicationServerArgs args, CustomResourceOptions options)
type: zpa:ApplicationServer:ApplicationServer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationServerArgs
- 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 ApplicationServerArgs
- 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 ApplicationServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationServerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ApplicationServer Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ApplicationServer resource accepts the following input properties:
- Address string
Address. The address of the application server to be exported.
- App
Server List<string>Group Ids (Optional) This field defines the list of server group IDs.
- Config
Space string (Optional)
- Description string
(Optional) This field defines the description of the server.
- Enabled bool
(Optional) This field defines the status of the server.
- Name string
Name. The name of the application server to be exported.
- Address string
Address. The address of the application server to be exported.
- App
Server []stringGroup Ids (Optional) This field defines the list of server group IDs.
- Config
Space string (Optional)
- Description string
(Optional) This field defines the description of the server.
- Enabled bool
(Optional) This field defines the status of the server.
- Name string
Name. The name of the application server to be exported.
- address String
Address. The address of the application server to be exported.
- app
Server List<String>Group Ids (Optional) This field defines the list of server group IDs.
- config
Space String (Optional)
- description String
(Optional) This field defines the description of the server.
- enabled Boolean
(Optional) This field defines the status of the server.
- name String
Name. The name of the application server to be exported.
- address string
Address. The address of the application server to be exported.
- app
Server string[]Group Ids (Optional) This field defines the list of server group IDs.
- config
Space string (Optional)
- description string
(Optional) This field defines the description of the server.
- enabled boolean
(Optional) This field defines the status of the server.
- name string
Name. The name of the application server to be exported.
- address str
Address. The address of the application server to be exported.
- app_
server_ Sequence[str]group_ ids (Optional) This field defines the list of server group IDs.
- config_
space str (Optional)
- description str
(Optional) This field defines the description of the server.
- enabled bool
(Optional) This field defines the status of the server.
- name str
Name. The name of the application server to be exported.
- address String
Address. The address of the application server to be exported.
- app
Server List<String>Group Ids (Optional) This field defines the list of server group IDs.
- config
Space String (Optional)
- description String
(Optional) This field defines the description of the server.
- enabled Boolean
(Optional) This field defines the status of the server.
- name String
Name. The name of the application server to be exported.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApplicationServer 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 ApplicationServer Resource
Get an existing ApplicationServer 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?: ApplicationServerState, opts?: CustomResourceOptions): ApplicationServer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address: Optional[str] = None,
app_server_group_ids: Optional[Sequence[str]] = None,
config_space: Optional[str] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None) -> ApplicationServer
func GetApplicationServer(ctx *Context, name string, id IDInput, state *ApplicationServerState, opts ...ResourceOption) (*ApplicationServer, error)
public static ApplicationServer Get(string name, Input<string> id, ApplicationServerState? state, CustomResourceOptions? opts = null)
public static ApplicationServer get(String name, Output<String> id, ApplicationServerState 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.
- Address string
Address. The address of the application server to be exported.
- App
Server List<string>Group Ids (Optional) This field defines the list of server group IDs.
- Config
Space string (Optional)
- Description string
(Optional) This field defines the description of the server.
- Enabled bool
(Optional) This field defines the status of the server.
- Name string
Name. The name of the application server to be exported.
- Address string
Address. The address of the application server to be exported.
- App
Server []stringGroup Ids (Optional) This field defines the list of server group IDs.
- Config
Space string (Optional)
- Description string
(Optional) This field defines the description of the server.
- Enabled bool
(Optional) This field defines the status of the server.
- Name string
Name. The name of the application server to be exported.
- address String
Address. The address of the application server to be exported.
- app
Server List<String>Group Ids (Optional) This field defines the list of server group IDs.
- config
Space String (Optional)
- description String
(Optional) This field defines the description of the server.
- enabled Boolean
(Optional) This field defines the status of the server.
- name String
Name. The name of the application server to be exported.
- address string
Address. The address of the application server to be exported.
- app
Server string[]Group Ids (Optional) This field defines the list of server group IDs.
- config
Space string (Optional)
- description string
(Optional) This field defines the description of the server.
- enabled boolean
(Optional) This field defines the status of the server.
- name string
Name. The name of the application server to be exported.
- address str
Address. The address of the application server to be exported.
- app_
server_ Sequence[str]group_ ids (Optional) This field defines the list of server group IDs.
- config_
space str (Optional)
- description str
(Optional) This field defines the description of the server.
- enabled bool
(Optional) This field defines the status of the server.
- name str
Name. The name of the application server to be exported.
- address String
Address. The address of the application server to be exported.
- app
Server List<String>Group Ids (Optional) This field defines the list of server group IDs.
- config
Space String (Optional)
- description String
(Optional) This field defines the description of the server.
- enabled Boolean
(Optional) This field defines the status of the server.
- name String
Name. The name of the application server to be exported.
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
This Pulumi package is based on the
zpa
Terraform Provider.