1. Packages
  2. Powerflex Provider
  3. API Docs
  4. Package
powerflex 1.8.0 published on Monday, Apr 14, 2025 by dell

powerflex.Package

Explore with Pulumi AI

powerflex logo
powerflex 1.8.0 published on Monday, Apr 14, 2025 by dell

    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:

    FilePaths List<string>
    The list of path of packages
    FilePaths []string
    The list of path of packages
    filePaths List<String>
    The list of path of packages
    filePaths string[]
    The list of path of packages
    file_paths Sequence[str]
    The list of path of packages
    filePaths 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.
    PackageDetails List<PackagePackageDetail>
    Uploaded Packages details.
    Id string
    The provider-assigned unique ID for this managed resource.
    PackageDetails []PackagePackageDetail
    Uploaded Packages details.
    id String
    The provider-assigned unique ID for this managed resource.
    packageDetails List<PackagePackageDetail>
    Uploaded Packages details.
    id string
    The provider-assigned unique ID for this managed resource.
    packageDetails PackagePackageDetail[]
    Uploaded Packages details.
    id str
    The provider-assigned unique ID for this managed resource.
    package_details Sequence[PackagePackageDetail]
    Uploaded Packages details.
    id String
    The provider-assigned unique ID for this managed resource.
    packageDetails 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.
    The following state arguments are supported:
    FilePaths List<string>
    The list of path of packages
    PackageDetails List<PackagePackageDetail>
    Uploaded Packages details.
    FilePaths []string
    The list of path of packages
    PackageDetails []PackagePackageDetailArgs
    Uploaded Packages details.
    filePaths List<String>
    The list of path of packages
    packageDetails List<PackagePackageDetail>
    Uploaded Packages details.
    filePaths string[]
    The list of path of packages
    packageDetails PackagePackageDetail[]
    Uploaded Packages details.
    file_paths Sequence[str]
    The list of path of packages
    package_details Sequence[PackagePackageDetailArgs]
    Uploaded Packages details.
    filePaths List<String>
    The list of path of packages
    packageDetails List<Property Map>
    Uploaded Packages details.

    Supporting Types

    PackagePackageDetail, PackagePackageDetailArgs

    FileName string
    The Name of package.
    Label string
    Uploaded Package Minor Version with OS Combination.
    Latest bool
    Package Version is latest or not
    LinuxFlavour string
    Type of Linux OS
    OperatingSystem string
    Supported OS.
    SioPatchNumber double
    Package Patch Number.
    Size double
    Size of Package.
    Type string
    Type of Package. Like. MDM, LIA, SDS, SDC, etc.
    Version string
    Uploaded Package Version.
    FileName string
    The Name of package.
    Label string
    Uploaded Package Minor Version with OS Combination.
    Latest bool
    Package Version is latest or not
    LinuxFlavour string
    Type of Linux OS
    OperatingSystem string
    Supported OS.
    SioPatchNumber float64
    Package Patch Number.
    Size float64
    Size of Package.
    Type string
    Type of Package. Like. MDM, LIA, SDS, SDC, etc.
    Version string
    Uploaded Package Version.
    fileName String
    The Name of package.
    label String
    Uploaded Package Minor Version with OS Combination.
    latest Boolean
    Package Version is latest or not
    linuxFlavour String
    Type of Linux OS
    operatingSystem String
    Supported OS.
    sioPatchNumber Double
    Package Patch Number.
    size Double
    Size of Package.
    type String
    Type of Package. Like. MDM, LIA, SDS, SDC, etc.
    version String
    Uploaded Package Version.
    fileName string
    The Name of package.
    label string
    Uploaded Package Minor Version with OS Combination.
    latest boolean
    Package Version is latest or not
    linuxFlavour string
    Type of Linux OS
    operatingSystem string
    Supported OS.
    sioPatchNumber number
    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_number float
    Package Patch Number.
    size float
    Size of Package.
    type str
    Type of Package. Like. MDM, LIA, SDS, SDC, etc.
    version str
    Uploaded Package Version.
    fileName String
    The Name of package.
    label String
    Uploaded Package Minor Version with OS Combination.
    latest Boolean
    Package Version is latest or not
    linuxFlavour String
    Type of Linux OS
    operatingSystem String
    Supported OS.
    sioPatchNumber Number
    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.
    powerflex logo
    powerflex 1.8.0 published on Monday, Apr 14, 2025 by dell