formal.Sidecar
Explore with Pulumi AI
Registering a Sidecar with Formal.
Create Sidecar Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Sidecar(name: string, args: SidecarArgs, opts?: CustomResourceOptions);
@overload
def Sidecar(resource_name: str,
args: SidecarArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Sidecar(resource_name: str,
opts: Optional[ResourceOptions] = None,
hostname: Optional[str] = None,
technology: Optional[str] = None,
name: Optional[str] = None,
termination_protection: Optional[bool] = None,
version: Optional[str] = None)
func NewSidecar(ctx *Context, name string, args SidecarArgs, opts ...ResourceOption) (*Sidecar, error)
public Sidecar(string name, SidecarArgs args, CustomResourceOptions? opts = null)
public Sidecar(String name, SidecarArgs args)
public Sidecar(String name, SidecarArgs args, CustomResourceOptions options)
type: formal:Sidecar
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 SidecarArgs
- 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 SidecarArgs
- 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 SidecarArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SidecarArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SidecarArgs
- 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 sidecarResource = new Pulumi.Sidecar("sidecarResource", new()
{
Hostname = "string",
Technology = "string",
Name = "string",
TerminationProtection = false,
Version = "string",
});
example, err := formal.NewSidecar(ctx, "sidecarResource", &formal.SidecarArgs{
Hostname: pulumi.String("string"),
Technology: pulumi.String("string"),
Name: pulumi.String("string"),
TerminationProtection: pulumi.Bool(false),
Version: pulumi.String("string"),
})
var sidecarResource = new Sidecar("sidecarResource", SidecarArgs.builder()
.hostname("string")
.technology("string")
.name("string")
.terminationProtection(false)
.version("string")
.build());
sidecar_resource = formal.Sidecar("sidecarResource",
hostname="string",
technology="string",
name="string",
termination_protection=False,
version="string")
const sidecarResource = new formal.Sidecar("sidecarResource", {
hostname: "string",
technology: "string",
name: "string",
terminationProtection: false,
version: "string",
});
type: formal:Sidecar
properties:
hostname: string
name: string
technology: string
terminationProtection: false
version: string
Sidecar 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 Sidecar resource accepts the following input properties:
- Hostname string
- The hostname of the created sidecar.
- Technology string
- Technology of the Datastore: supported values are
snowflake
,postgres
,redshift
,mysql
,mariadb
,s3
,dynamodb
,mongodb
,documentdb
,http
andssh
. - Name string
- Friendly name for this Sidecar.
- Termination
Protection bool - If set to true, this Sidecar cannot be deleted.
- Version string
- Version of the Sidecar to deploy for
managed
.
- Hostname string
- The hostname of the created sidecar.
- Technology string
- Technology of the Datastore: supported values are
snowflake
,postgres
,redshift
,mysql
,mariadb
,s3
,dynamodb
,mongodb
,documentdb
,http
andssh
. - Name string
- Friendly name for this Sidecar.
- Termination
Protection bool - If set to true, this Sidecar cannot be deleted.
- Version string
- Version of the Sidecar to deploy for
managed
.
- hostname String
- The hostname of the created sidecar.
- technology String
- Technology of the Datastore: supported values are
snowflake
,postgres
,redshift
,mysql
,mariadb
,s3
,dynamodb
,mongodb
,documentdb
,http
andssh
. - name String
- Friendly name for this Sidecar.
- termination
Protection Boolean - If set to true, this Sidecar cannot be deleted.
- version String
- Version of the Sidecar to deploy for
managed
.
- hostname string
- The hostname of the created sidecar.
- technology string
- Technology of the Datastore: supported values are
snowflake
,postgres
,redshift
,mysql
,mariadb
,s3
,dynamodb
,mongodb
,documentdb
,http
andssh
. - name string
- Friendly name for this Sidecar.
- termination
Protection boolean - If set to true, this Sidecar cannot be deleted.
- version string
- Version of the Sidecar to deploy for
managed
.
- hostname str
- The hostname of the created sidecar.
- technology str
- Technology of the Datastore: supported values are
snowflake
,postgres
,redshift
,mysql
,mariadb
,s3
,dynamodb
,mongodb
,documentdb
,http
andssh
. - name str
- Friendly name for this Sidecar.
- termination_
protection bool - If set to true, this Sidecar cannot be deleted.
- version str
- Version of the Sidecar to deploy for
managed
.
- hostname String
- The hostname of the created sidecar.
- technology String
- Technology of the Datastore: supported values are
snowflake
,postgres
,redshift
,mysql
,mariadb
,s3
,dynamodb
,mongodb
,documentdb
,http
andssh
. - name String
- Friendly name for this Sidecar.
- termination
Protection Boolean - If set to true, this Sidecar cannot be deleted.
- version String
- Version of the Sidecar to deploy for
managed
.
Outputs
All input properties are implicitly available as output properties. Additionally, the Sidecar resource produces the following output properties:
- Api
Key string - Api key for the deployed Sidecar.
- Created
At int - Creation time of the sidecar.
- Formal
Control stringPlane Tls Certificate - If deployment_type is onprem, this is the Control Plane TLS Certificate to add to the deployed Sidecar.
- Id string
- The provider-assigned unique ID for this managed resource.
- Api
Key string - Api key for the deployed Sidecar.
- Created
At int - Creation time of the sidecar.
- Formal
Control stringPlane Tls Certificate - If deployment_type is onprem, this is the Control Plane TLS Certificate to add to the deployed Sidecar.
- Id string
- The provider-assigned unique ID for this managed resource.
- api
Key String - Api key for the deployed Sidecar.
- created
At Integer - Creation time of the sidecar.
- formal
Control StringPlane Tls Certificate - If deployment_type is onprem, this is the Control Plane TLS Certificate to add to the deployed Sidecar.
- id String
- The provider-assigned unique ID for this managed resource.
- api
Key string - Api key for the deployed Sidecar.
- created
At number - Creation time of the sidecar.
- formal
Control stringPlane Tls Certificate - If deployment_type is onprem, this is the Control Plane TLS Certificate to add to the deployed Sidecar.
- id string
- The provider-assigned unique ID for this managed resource.
- api_
key str - Api key for the deployed Sidecar.
- created_
at int - Creation time of the sidecar.
- formal_
control_ strplane_ tls_ certificate - If deployment_type is onprem, this is the Control Plane TLS Certificate to add to the deployed Sidecar.
- id str
- The provider-assigned unique ID for this managed resource.
- api
Key String - Api key for the deployed Sidecar.
- created
At Number - Creation time of the sidecar.
- formal
Control StringPlane Tls Certificate - If deployment_type is onprem, this is the Control Plane TLS Certificate to add to the deployed Sidecar.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Sidecar Resource
Get an existing Sidecar 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?: SidecarState, opts?: CustomResourceOptions): Sidecar
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_key: Optional[str] = None,
created_at: Optional[int] = None,
formal_control_plane_tls_certificate: Optional[str] = None,
hostname: Optional[str] = None,
name: Optional[str] = None,
technology: Optional[str] = None,
termination_protection: Optional[bool] = None,
version: Optional[str] = None) -> Sidecar
func GetSidecar(ctx *Context, name string, id IDInput, state *SidecarState, opts ...ResourceOption) (*Sidecar, error)
public static Sidecar Get(string name, Input<string> id, SidecarState? state, CustomResourceOptions? opts = null)
public static Sidecar get(String name, Output<String> id, SidecarState state, CustomResourceOptions options)
resources: _: type: formal:Sidecar 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.
- Api
Key string - Api key for the deployed Sidecar.
- Created
At int - Creation time of the sidecar.
- Formal
Control stringPlane Tls Certificate - If deployment_type is onprem, this is the Control Plane TLS Certificate to add to the deployed Sidecar.
- Hostname string
- The hostname of the created sidecar.
- Name string
- Friendly name for this Sidecar.
- Technology string
- Technology of the Datastore: supported values are
snowflake
,postgres
,redshift
,mysql
,mariadb
,s3
,dynamodb
,mongodb
,documentdb
,http
andssh
. - Termination
Protection bool - If set to true, this Sidecar cannot be deleted.
- Version string
- Version of the Sidecar to deploy for
managed
.
- Api
Key string - Api key for the deployed Sidecar.
- Created
At int - Creation time of the sidecar.
- Formal
Control stringPlane Tls Certificate - If deployment_type is onprem, this is the Control Plane TLS Certificate to add to the deployed Sidecar.
- Hostname string
- The hostname of the created sidecar.
- Name string
- Friendly name for this Sidecar.
- Technology string
- Technology of the Datastore: supported values are
snowflake
,postgres
,redshift
,mysql
,mariadb
,s3
,dynamodb
,mongodb
,documentdb
,http
andssh
. - Termination
Protection bool - If set to true, this Sidecar cannot be deleted.
- Version string
- Version of the Sidecar to deploy for
managed
.
- api
Key String - Api key for the deployed Sidecar.
- created
At Integer - Creation time of the sidecar.
- formal
Control StringPlane Tls Certificate - If deployment_type is onprem, this is the Control Plane TLS Certificate to add to the deployed Sidecar.
- hostname String
- The hostname of the created sidecar.
- name String
- Friendly name for this Sidecar.
- technology String
- Technology of the Datastore: supported values are
snowflake
,postgres
,redshift
,mysql
,mariadb
,s3
,dynamodb
,mongodb
,documentdb
,http
andssh
. - termination
Protection Boolean - If set to true, this Sidecar cannot be deleted.
- version String
- Version of the Sidecar to deploy for
managed
.
- api
Key string - Api key for the deployed Sidecar.
- created
At number - Creation time of the sidecar.
- formal
Control stringPlane Tls Certificate - If deployment_type is onprem, this is the Control Plane TLS Certificate to add to the deployed Sidecar.
- hostname string
- The hostname of the created sidecar.
- name string
- Friendly name for this Sidecar.
- technology string
- Technology of the Datastore: supported values are
snowflake
,postgres
,redshift
,mysql
,mariadb
,s3
,dynamodb
,mongodb
,documentdb
,http
andssh
. - termination
Protection boolean - If set to true, this Sidecar cannot be deleted.
- version string
- Version of the Sidecar to deploy for
managed
.
- api_
key str - Api key for the deployed Sidecar.
- created_
at int - Creation time of the sidecar.
- formal_
control_ strplane_ tls_ certificate - If deployment_type is onprem, this is the Control Plane TLS Certificate to add to the deployed Sidecar.
- hostname str
- The hostname of the created sidecar.
- name str
- Friendly name for this Sidecar.
- technology str
- Technology of the Datastore: supported values are
snowflake
,postgres
,redshift
,mysql
,mariadb
,s3
,dynamodb
,mongodb
,documentdb
,http
andssh
. - termination_
protection bool - If set to true, this Sidecar cannot be deleted.
- version str
- Version of the Sidecar to deploy for
managed
.
- api
Key String - Api key for the deployed Sidecar.
- created
At Number - Creation time of the sidecar.
- formal
Control StringPlane Tls Certificate - If deployment_type is onprem, this is the Control Plane TLS Certificate to add to the deployed Sidecar.
- hostname String
- The hostname of the created sidecar.
- name String
- Friendly name for this Sidecar.
- technology String
- Technology of the Datastore: supported values are
snowflake
,postgres
,redshift
,mysql
,mariadb
,s3
,dynamodb
,mongodb
,documentdb
,http
andssh
. - termination
Protection Boolean - If set to true, this Sidecar cannot be deleted.
- version String
- Version of the Sidecar to deploy for
managed
.
Package Details
- Repository
- formal formalco/pulumi-formal
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
formal
Terraform Provider.