flexibleengine.FgsDependency
Explore with Pulumi AI
Manages a custom dependency package within FlexibleEngine FunctionGraph.
Example Usage
Create FgsDependency Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FgsDependency(name: string, args: FgsDependencyArgs, opts?: CustomResourceOptions);
@overload
def FgsDependency(resource_name: str,
args: FgsDependencyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FgsDependency(resource_name: str,
opts: Optional[ResourceOptions] = None,
link: Optional[str] = None,
runtime: Optional[str] = None,
description: Optional[str] = None,
fgs_dependency_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None)
func NewFgsDependency(ctx *Context, name string, args FgsDependencyArgs, opts ...ResourceOption) (*FgsDependency, error)
public FgsDependency(string name, FgsDependencyArgs args, CustomResourceOptions? opts = null)
public FgsDependency(String name, FgsDependencyArgs args)
public FgsDependency(String name, FgsDependencyArgs args, CustomResourceOptions options)
type: flexibleengine:FgsDependency
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 FgsDependencyArgs
- 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 FgsDependencyArgs
- 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 FgsDependencyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FgsDependencyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FgsDependencyArgs
- 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 fgsDependencyResource = new Flexibleengine.FgsDependency("fgsDependencyResource", new()
{
Link = "string",
Runtime = "string",
Description = "string",
FgsDependencyId = "string",
Name = "string",
Region = "string",
});
example, err := flexibleengine.NewFgsDependency(ctx, "fgsDependencyResource", &flexibleengine.FgsDependencyArgs{
Link: pulumi.String("string"),
Runtime: pulumi.String("string"),
Description: pulumi.String("string"),
FgsDependencyId: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
})
var fgsDependencyResource = new FgsDependency("fgsDependencyResource", FgsDependencyArgs.builder()
.link("string")
.runtime("string")
.description("string")
.fgsDependencyId("string")
.name("string")
.region("string")
.build());
fgs_dependency_resource = flexibleengine.FgsDependency("fgsDependencyResource",
link="string",
runtime="string",
description="string",
fgs_dependency_id="string",
name="string",
region="string")
const fgsDependencyResource = new flexibleengine.FgsDependency("fgsDependencyResource", {
link: "string",
runtime: "string",
description: "string",
fgsDependencyId: "string",
name: "string",
region: "string",
});
type: flexibleengine:FgsDependency
properties:
description: string
fgsDependencyId: string
link: string
name: string
region: string
runtime: string
FgsDependency 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 FgsDependency resource accepts the following input properties:
- Link string
- Runtime string
- Specifies the dependency package runtime. The valid values are Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
- Description string
- Specifies the dependency description. The description can contain a maximum of 512 characters.
- Fgs
Dependency stringId - The dependency ID in UUID format.
- Name string
- Specifies the dependeny name. The name can contain a maximum of 96 characters and must start with a letter and end with a letter or digit. Only letters, digits, underscores (_), periods (.), and hyphens (-) are allowed.
- Region string
- Specifies the region in which to create a custom dependency package. If omitted, the provider-level region will be used. Changing this will create a new resource.
- Link string
- Runtime string
- Specifies the dependency package runtime. The valid values are Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
- Description string
- Specifies the dependency description. The description can contain a maximum of 512 characters.
- Fgs
Dependency stringId - The dependency ID in UUID format.
- Name string
- Specifies the dependeny name. The name can contain a maximum of 96 characters and must start with a letter and end with a letter or digit. Only letters, digits, underscores (_), periods (.), and hyphens (-) are allowed.
- Region string
- Specifies the region in which to create a custom dependency package. If omitted, the provider-level region will be used. Changing this will create a new resource.
- link String
- runtime String
- Specifies the dependency package runtime. The valid values are Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
- description String
- Specifies the dependency description. The description can contain a maximum of 512 characters.
- fgs
Dependency StringId - The dependency ID in UUID format.
- name String
- Specifies the dependeny name. The name can contain a maximum of 96 characters and must start with a letter and end with a letter or digit. Only letters, digits, underscores (_), periods (.), and hyphens (-) are allowed.
- region String
- Specifies the region in which to create a custom dependency package. If omitted, the provider-level region will be used. Changing this will create a new resource.
- link string
- runtime string
- Specifies the dependency package runtime. The valid values are Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
- description string
- Specifies the dependency description. The description can contain a maximum of 512 characters.
- fgs
Dependency stringId - The dependency ID in UUID format.
- name string
- Specifies the dependeny name. The name can contain a maximum of 96 characters and must start with a letter and end with a letter or digit. Only letters, digits, underscores (_), periods (.), and hyphens (-) are allowed.
- region string
- Specifies the region in which to create a custom dependency package. If omitted, the provider-level region will be used. Changing this will create a new resource.
- link str
- runtime str
- Specifies the dependency package runtime. The valid values are Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
- description str
- Specifies the dependency description. The description can contain a maximum of 512 characters.
- fgs_
dependency_ strid - The dependency ID in UUID format.
- name str
- Specifies the dependeny name. The name can contain a maximum of 96 characters and must start with a letter and end with a letter or digit. Only letters, digits, underscores (_), periods (.), and hyphens (-) are allowed.
- region str
- Specifies the region in which to create a custom dependency package. If omitted, the provider-level region will be used. Changing this will create a new resource.
- link String
- runtime String
- Specifies the dependency package runtime. The valid values are Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
- description String
- Specifies the dependency description. The description can contain a maximum of 512 characters.
- fgs
Dependency StringId - The dependency ID in UUID format.
- name String
- Specifies the dependeny name. The name can contain a maximum of 96 characters and must start with a letter and end with a letter or digit. Only letters, digits, underscores (_), periods (.), and hyphens (-) are allowed.
- region String
- Specifies the region in which to create a custom dependency package. If omitted, the provider-level region will be used. Changing this will create a new resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the FgsDependency resource produces the following output properties:
Look up Existing FgsDependency Resource
Get an existing FgsDependency 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?: FgsDependencyState, opts?: CustomResourceOptions): FgsDependency
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
etag: Optional[str] = None,
fgs_dependency_id: Optional[str] = None,
link: Optional[str] = None,
name: Optional[str] = None,
owner: Optional[str] = None,
region: Optional[str] = None,
runtime: Optional[str] = None,
size: Optional[float] = None) -> FgsDependency
func GetFgsDependency(ctx *Context, name string, id IDInput, state *FgsDependencyState, opts ...ResourceOption) (*FgsDependency, error)
public static FgsDependency Get(string name, Input<string> id, FgsDependencyState? state, CustomResourceOptions? opts = null)
public static FgsDependency get(String name, Output<String> id, FgsDependencyState state, CustomResourceOptions options)
resources: _: type: flexibleengine:FgsDependency 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.
- Description string
- Specifies the dependency description. The description can contain a maximum of 512 characters.
- Etag string
- The unique ID of the dependency package.
- Fgs
Dependency stringId - The dependency ID in UUID format.
- Link string
- Name string
- Specifies the dependeny name. The name can contain a maximum of 96 characters and must start with a letter and end with a letter or digit. Only letters, digits, underscores (_), periods (.), and hyphens (-) are allowed.
- Owner string
- The base64 encoded digest of the dependency after encryption by MD5.
- Region string
- Specifies the region in which to create a custom dependency package. If omitted, the provider-level region will be used. Changing this will create a new resource.
- Runtime string
- Specifies the dependency package runtime. The valid values are Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
- Size double
- The dependency package size in bytes.
- Description string
- Specifies the dependency description. The description can contain a maximum of 512 characters.
- Etag string
- The unique ID of the dependency package.
- Fgs
Dependency stringId - The dependency ID in UUID format.
- Link string
- Name string
- Specifies the dependeny name. The name can contain a maximum of 96 characters and must start with a letter and end with a letter or digit. Only letters, digits, underscores (_), periods (.), and hyphens (-) are allowed.
- Owner string
- The base64 encoded digest of the dependency after encryption by MD5.
- Region string
- Specifies the region in which to create a custom dependency package. If omitted, the provider-level region will be used. Changing this will create a new resource.
- Runtime string
- Specifies the dependency package runtime. The valid values are Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
- Size float64
- The dependency package size in bytes.
- description String
- Specifies the dependency description. The description can contain a maximum of 512 characters.
- etag String
- The unique ID of the dependency package.
- fgs
Dependency StringId - The dependency ID in UUID format.
- link String
- name String
- Specifies the dependeny name. The name can contain a maximum of 96 characters and must start with a letter and end with a letter or digit. Only letters, digits, underscores (_), periods (.), and hyphens (-) are allowed.
- owner String
- The base64 encoded digest of the dependency after encryption by MD5.
- region String
- Specifies the region in which to create a custom dependency package. If omitted, the provider-level region will be used. Changing this will create a new resource.
- runtime String
- Specifies the dependency package runtime. The valid values are Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
- size Double
- The dependency package size in bytes.
- description string
- Specifies the dependency description. The description can contain a maximum of 512 characters.
- etag string
- The unique ID of the dependency package.
- fgs
Dependency stringId - The dependency ID in UUID format.
- link string
- name string
- Specifies the dependeny name. The name can contain a maximum of 96 characters and must start with a letter and end with a letter or digit. Only letters, digits, underscores (_), periods (.), and hyphens (-) are allowed.
- owner string
- The base64 encoded digest of the dependency after encryption by MD5.
- region string
- Specifies the region in which to create a custom dependency package. If omitted, the provider-level region will be used. Changing this will create a new resource.
- runtime string
- Specifies the dependency package runtime. The valid values are Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
- size number
- The dependency package size in bytes.
- description str
- Specifies the dependency description. The description can contain a maximum of 512 characters.
- etag str
- The unique ID of the dependency package.
- fgs_
dependency_ strid - The dependency ID in UUID format.
- link str
- name str
- Specifies the dependeny name. The name can contain a maximum of 96 characters and must start with a letter and end with a letter or digit. Only letters, digits, underscores (_), periods (.), and hyphens (-) are allowed.
- owner str
- The base64 encoded digest of the dependency after encryption by MD5.
- region str
- Specifies the region in which to create a custom dependency package. If omitted, the provider-level region will be used. Changing this will create a new resource.
- runtime str
- Specifies the dependency package runtime. The valid values are Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
- size float
- The dependency package size in bytes.
- description String
- Specifies the dependency description. The description can contain a maximum of 512 characters.
- etag String
- The unique ID of the dependency package.
- fgs
Dependency StringId - The dependency ID in UUID format.
- link String
- name String
- Specifies the dependeny name. The name can contain a maximum of 96 characters and must start with a letter and end with a letter or digit. Only letters, digits, underscores (_), periods (.), and hyphens (-) are allowed.
- owner String
- The base64 encoded digest of the dependency after encryption by MD5.
- region String
- Specifies the region in which to create a custom dependency package. If omitted, the provider-level region will be used. Changing this will create a new resource.
- runtime String
- Specifies the dependency package runtime. The valid values are Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
- size Number
- The dependency package size in bytes.
Import
Dependencies can be imported using the id
, e.g.:
$ pulumi import flexibleengine:index/fgsDependency:FgsDependency test 795e722f-0c23-41b6-a189-dcd56f889cf6
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.