spotinst.multai.Listener
Create Listener Resource
new Listener(name: string, args: ListenerArgs, opts?: CustomResourceOptions);
@overload
def Listener(resource_name: str,
opts: Optional[ResourceOptions] = None,
balancer_id: Optional[str] = None,
port: Optional[int] = None,
protocol: Optional[str] = None,
tags: Optional[Sequence[ListenerTagArgs]] = None,
tls_config: Optional[ListenerTlsConfigArgs] = None)
@overload
def Listener(resource_name: str,
args: ListenerArgs,
opts: Optional[ResourceOptions] = None)
func NewListener(ctx *Context, name string, args ListenerArgs, opts ...ResourceOption) (*Listener, error)
public Listener(string name, ListenerArgs args, CustomResourceOptions? opts = null)
public Listener(String name, ListenerArgs args)
public Listener(String name, ListenerArgs args, CustomResourceOptions options)
type: spotinst:multai:Listener
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ListenerArgs
- 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 ListenerArgs
- 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 ListenerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ListenerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ListenerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Listener 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 Listener resource accepts the following input properties:
- Balancer
Id string - Port int
- Protocol string
- []Listener
Tag Args - Tls
Config ListenerTls Config Args
- balancer
Id String - port Integer
- protocol String
- List<Listener
Tag Args> - tls
Config ListenerTls Config Args
- balancer
Id string - port number
- protocol string
- Listener
Tag Args[] - tls
Config ListenerTls Config Args
- balancer
Id String - port Number
- protocol String
- List<Property Map>
- tls
Config Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Listener 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 Listener Resource
Get an existing Listener 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?: ListenerState, opts?: CustomResourceOptions): Listener
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
balancer_id: Optional[str] = None,
port: Optional[int] = None,
protocol: Optional[str] = None,
tags: Optional[Sequence[ListenerTagArgs]] = None,
tls_config: Optional[ListenerTlsConfigArgs] = None) -> Listener
func GetListener(ctx *Context, name string, id IDInput, state *ListenerState, opts ...ResourceOption) (*Listener, error)
public static Listener Get(string name, Input<string> id, ListenerState? state, CustomResourceOptions? opts = null)
public static Listener get(String name, Output<String> id, ListenerState 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.
- Balancer
Id string - Port int
- Protocol string
- []Listener
Tag Args - Tls
Config ListenerTls Config Args
- balancer
Id String - port Integer
- protocol String
- List<Listener
Tag Args> - tls
Config ListenerTls Config Args
- balancer
Id string - port number
- protocol string
- Listener
Tag Args[] - tls
Config ListenerTls Config Args
- balancer
Id String - port Number
- protocol String
- List<Property Map>
- tls
Config Property Map
Supporting Types
ListenerTag
ListenerTlsConfig
- Certificate
Ids List<string> - Cipher
Suites List<string> - Max
Version string - Min
Version string - Prefer
Server boolCipher Suites - Session
Tickets boolDisabled
- Certificate
Ids []string - Cipher
Suites []string - Max
Version string - Min
Version string - Prefer
Server boolCipher Suites - Session
Tickets boolDisabled
- certificate
Ids List<String> - cipher
Suites List<String> - max
Version String - min
Version String - prefer
Server BooleanCipher Suites - session
Tickets BooleanDisabled
- certificate
Ids string[] - cipher
Suites string[] - max
Version string - min
Version string - prefer
Server booleanCipher Suites - session
Tickets booleanDisabled
- certificate_
ids Sequence[str] - cipher_
suites Sequence[str] - max_
version str - min_
version str - prefer_
server_ boolcipher_ suites - session_
tickets_ booldisabled
- certificate
Ids List<String> - cipher
Suites List<String> - max
Version String - min
Version String - prefer
Server BooleanCipher Suites - session
Tickets BooleanDisabled
Package Details
- Repository
- Spotinst pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
spotinst
Terraform Provider.