powerflex.Package
Explore with Pulumi AI
Create Package Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Package(name: string, args: PackageArgs, opts?: CustomResourceOptions);
@overload
def Package(resource_name: str,
args: PackageArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Package(resource_name: str,
opts: Optional[ResourceOptions] = None,
file_paths: Optional[Sequence[str]] = None)
func NewPackage(ctx *Context, name string, args PackageArgs, opts ...ResourceOption) (*Package, error)
public Package(string name, PackageArgs args, CustomResourceOptions? opts = null)
public Package(String name, PackageArgs args)
public Package(String name, PackageArgs args, CustomResourceOptions options)
type: powerflex:Package
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 PackageArgs
- 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 PackageArgs
- 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 PackageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PackageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PackageArgs
- 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 packageResource = new Powerflex.Package("packageResource", new()
{
FilePaths = new[]
{
"string",
},
});
example, err := powerflex.NewPackage(ctx, "packageResource", &powerflex.PackageArgs{
FilePaths: pulumi.StringArray{
pulumi.String("string"),
},
})
var packageResource = new Package("packageResource", PackageArgs.builder()
.filePaths("string")
.build());
package_resource = powerflex.Package("packageResource", file_paths=["string"])
const packageResource = new powerflex.Package("packageResource", {filePaths: ["string"]});
type: powerflex:Package
properties:
filePaths:
- string
Package 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 Package resource accepts the following input properties:
- File
Paths List<string> - The list of path of packages
- File
Paths []string - The list of path of packages
- file
Paths List<String> - The list of path of packages
- file
Paths string[] - The list of path of packages
- file_
paths Sequence[str] - The list of path of packages
- file
Paths List<String> - The list of path of packages
Outputs
All input properties are implicitly available as output properties. Additionally, the Package resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Package
Details List<PackagePackage Detail> - Uploaded Packages details.
- Id string
- The provider-assigned unique ID for this managed resource.
- Package
Details []PackagePackage Detail - Uploaded Packages details.
- id String
- The provider-assigned unique ID for this managed resource.
- package
Details List<PackagePackage Detail> - Uploaded Packages details.
- id string
- The provider-assigned unique ID for this managed resource.
- package
Details PackagePackage Detail[] - Uploaded Packages details.
- id str
- The provider-assigned unique ID for this managed resource.
- package_
details Sequence[PackagePackage Detail] - Uploaded Packages details.
- id String
- The provider-assigned unique ID for this managed resource.
- package
Details List<Property Map> - Uploaded Packages details.
Look up Existing Package Resource
Get an existing Package 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?: PackageState, opts?: CustomResourceOptions): Package
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
file_paths: Optional[Sequence[str]] = None,
package_details: Optional[Sequence[PackagePackageDetailArgs]] = None) -> Package
func GetPackage(ctx *Context, name string, id IDInput, state *PackageState, opts ...ResourceOption) (*Package, error)
public static Package Get(string name, Input<string> id, PackageState? state, CustomResourceOptions? opts = null)
public static Package get(String name, Output<String> id, PackageState state, CustomResourceOptions options)
resources: _: type: powerflex:Package 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.
- File
Paths List<string> - The list of path of packages
- Package
Details List<PackagePackage Detail> - Uploaded Packages details.
- File
Paths []string - The list of path of packages
- Package
Details []PackagePackage Detail Args - Uploaded Packages details.
- file
Paths List<String> - The list of path of packages
- package
Details List<PackagePackage Detail> - Uploaded Packages details.
- file
Paths string[] - The list of path of packages
- package
Details PackagePackage Detail[] - Uploaded Packages details.
- file_
paths Sequence[str] - The list of path of packages
- package_
details Sequence[PackagePackage Detail Args] - Uploaded Packages details.
- file
Paths List<String> - The list of path of packages
- package
Details List<Property Map> - Uploaded Packages details.
Supporting Types
PackagePackageDetail, PackagePackageDetailArgs
- File
Name string - The Name of package.
- Label string
- Uploaded Package Minor Version with OS Combination.
- Latest bool
- Package Version is latest or not
- Linux
Flavour string - Type of Linux OS
- Operating
System string - Supported OS.
- Sio
Patch doubleNumber - Package Patch Number.
- Size double
- Size of Package.
- Type string
- Type of Package. Like. MDM, LIA, SDS, SDC, etc.
- Version string
- Uploaded Package Version.
- File
Name string - The Name of package.
- Label string
- Uploaded Package Minor Version with OS Combination.
- Latest bool
- Package Version is latest or not
- Linux
Flavour string - Type of Linux OS
- Operating
System string - Supported OS.
- Sio
Patch float64Number - Package Patch Number.
- Size float64
- Size of Package.
- Type string
- Type of Package. Like. MDM, LIA, SDS, SDC, etc.
- Version string
- Uploaded Package Version.
- file
Name String - The Name of package.
- label String
- Uploaded Package Minor Version with OS Combination.
- latest Boolean
- Package Version is latest or not
- linux
Flavour String - Type of Linux OS
- operating
System String - Supported OS.
- sio
Patch DoubleNumber - Package Patch Number.
- size Double
- Size of Package.
- type String
- Type of Package. Like. MDM, LIA, SDS, SDC, etc.
- version String
- Uploaded Package Version.
- file
Name string - The Name of package.
- label string
- Uploaded Package Minor Version with OS Combination.
- latest boolean
- Package Version is latest or not
- linux
Flavour string - Type of Linux OS
- operating
System string - Supported OS.
- sio
Patch numberNumber - Package Patch Number.
- size number
- Size of Package.
- type string
- Type of Package. Like. MDM, LIA, SDS, SDC, etc.
- version string
- Uploaded Package Version.
- file_
name str - The Name of package.
- label str
- Uploaded Package Minor Version with OS Combination.
- latest bool
- Package Version is latest or not
- linux_
flavour str - Type of Linux OS
- operating_
system str - Supported OS.
- sio_
patch_ floatnumber - Package Patch Number.
- size float
- Size of Package.
- type str
- Type of Package. Like. MDM, LIA, SDS, SDC, etc.
- version str
- Uploaded Package Version.
- file
Name String - The Name of package.
- label String
- Uploaded Package Minor Version with OS Combination.
- latest Boolean
- Package Version is latest or not
- linux
Flavour String - Type of Linux OS
- operating
System String - Supported OS.
- sio
Patch NumberNumber - Package Patch Number.
- size Number
- Size of Package.
- type String
- Type of Package. Like. MDM, LIA, SDS, SDC, etc.
- version String
- Uploaded Package Version.
Package Details
- Repository
- powerflex dell/terraform-provider-powerflex
- License
- Notes
- This Pulumi package is based on the
powerflex
Terraform Provider.