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

powerflex.ResourceGroup

Explore with Pulumi AI

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

    Import

    /*

    Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.

    Licensed under the Mozilla Public License Version 2.0 (the “License”);

    you may not use this file except in compliance with the License.

    You may obtain a copy of the License at

    http://mozilla.org/MPL/2.0/
    

    Unless required by applicable law or agreed to in writing, software

    distributed under the License is distributed on an “AS IS” BASIS,

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

    See the License for the specific language governing permissions and

    limitations under the License.

    */

    import Resource Group by it’s id

    $ pulumi import powerflex:index/resourceGroup:ResourceGroup data "<id>"
    

    Create ResourceGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ResourceGroup(name: string, args: ResourceGroupArgs, opts?: CustomResourceOptions);
    @overload
    def ResourceGroup(resource_name: str,
                      args: ResourceGroupArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def ResourceGroup(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      deployment_description: Optional[str] = None,
                      deployment_name: Optional[str] = None,
                      firmware_id: Optional[str] = None,
                      template_id: Optional[str] = None,
                      clone_from_host: Optional[str] = None,
                      deployment_timeout: Optional[float] = None,
                      nodes: Optional[float] = None,
                      servers_in_inventory: Optional[str] = None,
                      servers_managed_state: Optional[str] = None)
    func NewResourceGroup(ctx *Context, name string, args ResourceGroupArgs, opts ...ResourceOption) (*ResourceGroup, error)
    public ResourceGroup(string name, ResourceGroupArgs args, CustomResourceOptions? opts = null)
    public ResourceGroup(String name, ResourceGroupArgs args)
    public ResourceGroup(String name, ResourceGroupArgs args, CustomResourceOptions options)
    
    type: powerflex:ResourceGroup
    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 ResourceGroupArgs
    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 ResourceGroupArgs
    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 ResourceGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ResourceGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ResourceGroupArgs
    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 resourceGroupResource = new Powerflex.ResourceGroup("resourceGroupResource", new()
    {
        DeploymentDescription = "string",
        DeploymentName = "string",
        FirmwareId = "string",
        TemplateId = "string",
        CloneFromHost = "string",
        DeploymentTimeout = 0,
        Nodes = 0,
        ServersInInventory = "string",
        ServersManagedState = "string",
    });
    
    example, err := powerflex.NewResourceGroup(ctx, "resourceGroupResource", &powerflex.ResourceGroupArgs{
    	DeploymentDescription: pulumi.String("string"),
    	DeploymentName:        pulumi.String("string"),
    	FirmwareId:            pulumi.String("string"),
    	TemplateId:            pulumi.String("string"),
    	CloneFromHost:         pulumi.String("string"),
    	DeploymentTimeout:     pulumi.Float64(0),
    	Nodes:                 pulumi.Float64(0),
    	ServersInInventory:    pulumi.String("string"),
    	ServersManagedState:   pulumi.String("string"),
    })
    
    var resourceGroupResource = new ResourceGroup("resourceGroupResource", ResourceGroupArgs.builder()
        .deploymentDescription("string")
        .deploymentName("string")
        .firmwareId("string")
        .templateId("string")
        .cloneFromHost("string")
        .deploymentTimeout(0)
        .nodes(0)
        .serversInInventory("string")
        .serversManagedState("string")
        .build());
    
    resource_group_resource = powerflex.ResourceGroup("resourceGroupResource",
        deployment_description="string",
        deployment_name="string",
        firmware_id="string",
        template_id="string",
        clone_from_host="string",
        deployment_timeout=0,
        nodes=0,
        servers_in_inventory="string",
        servers_managed_state="string")
    
    const resourceGroupResource = new powerflex.ResourceGroup("resourceGroupResource", {
        deploymentDescription: "string",
        deploymentName: "string",
        firmwareId: "string",
        templateId: "string",
        cloneFromHost: "string",
        deploymentTimeout: 0,
        nodes: 0,
        serversInInventory: "string",
        serversManagedState: "string",
    });
    
    type: powerflex:ResourceGroup
    properties:
        cloneFromHost: string
        deploymentDescription: string
        deploymentName: string
        deploymentTimeout: 0
        firmwareId: string
        nodes: 0
        serversInInventory: string
        serversManagedState: string
        templateId: string
    

    ResourceGroup 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 ResourceGroup resource accepts the following input properties:

    DeploymentDescription string
    Deployment Description
    DeploymentName string
    Deployment Name
    FirmwareId string
    Firmware ID
    TemplateId string
    Published Template ID
    CloneFromHost string
    Resource to Duplicate From Host
    DeploymentTimeout double
    Deployment Timeout, It should be in multiples of 5
    Nodes double
    Number of Nodes
    ServersInInventory string
    After Delete the Service, Servers in inventory Keep or Remove. Default value is Keep
    ServersManagedState string
    After Delete the Service, Servers's state Managed or Unmanaged. Default value is Unmanaged.
    DeploymentDescription string
    Deployment Description
    DeploymentName string
    Deployment Name
    FirmwareId string
    Firmware ID
    TemplateId string
    Published Template ID
    CloneFromHost string
    Resource to Duplicate From Host
    DeploymentTimeout float64
    Deployment Timeout, It should be in multiples of 5
    Nodes float64
    Number of Nodes
    ServersInInventory string
    After Delete the Service, Servers in inventory Keep or Remove. Default value is Keep
    ServersManagedState string
    After Delete the Service, Servers's state Managed or Unmanaged. Default value is Unmanaged.
    deploymentDescription String
    Deployment Description
    deploymentName String
    Deployment Name
    firmwareId String
    Firmware ID
    templateId String
    Published Template ID
    cloneFromHost String
    Resource to Duplicate From Host
    deploymentTimeout Double
    Deployment Timeout, It should be in multiples of 5
    nodes Double
    Number of Nodes
    serversInInventory String
    After Delete the Service, Servers in inventory Keep or Remove. Default value is Keep
    serversManagedState String
    After Delete the Service, Servers's state Managed or Unmanaged. Default value is Unmanaged.
    deploymentDescription string
    Deployment Description
    deploymentName string
    Deployment Name
    firmwareId string
    Firmware ID
    templateId string
    Published Template ID
    cloneFromHost string
    Resource to Duplicate From Host
    deploymentTimeout number
    Deployment Timeout, It should be in multiples of 5
    nodes number
    Number of Nodes
    serversInInventory string
    After Delete the Service, Servers in inventory Keep or Remove. Default value is Keep
    serversManagedState string
    After Delete the Service, Servers's state Managed or Unmanaged. Default value is Unmanaged.
    deployment_description str
    Deployment Description
    deployment_name str
    Deployment Name
    firmware_id str
    Firmware ID
    template_id str
    Published Template ID
    clone_from_host str
    Resource to Duplicate From Host
    deployment_timeout float
    Deployment Timeout, It should be in multiples of 5
    nodes float
    Number of Nodes
    servers_in_inventory str
    After Delete the Service, Servers in inventory Keep or Remove. Default value is Keep
    servers_managed_state str
    After Delete the Service, Servers's state Managed or Unmanaged. Default value is Unmanaged.
    deploymentDescription String
    Deployment Description
    deploymentName String
    Deployment Name
    firmwareId String
    Firmware ID
    templateId String
    Published Template ID
    cloneFromHost String
    Resource to Duplicate From Host
    deploymentTimeout Number
    Deployment Timeout, It should be in multiples of 5
    nodes Number
    Number of Nodes
    serversInInventory String
    After Delete the Service, Servers in inventory Keep or Remove. Default value is Keep
    serversManagedState String
    After Delete the Service, Servers's state Managed or Unmanaged. Default value is Unmanaged.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ResourceGroup resource produces the following output properties:

    Compliant bool
    Deployment Compliant Status
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Deployment Status
    TemplateName string
    Service Template Name
    Compliant bool
    Deployment Compliant Status
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Deployment Status
    TemplateName string
    Service Template Name
    compliant Boolean
    Deployment Compliant Status
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Deployment Status
    templateName String
    Service Template Name
    compliant boolean
    Deployment Compliant Status
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Deployment Status
    templateName string
    Service Template Name
    compliant bool
    Deployment Compliant Status
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    Deployment Status
    template_name str
    Service Template Name
    compliant Boolean
    Deployment Compliant Status
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Deployment Status
    templateName String
    Service Template Name

    Look up Existing ResourceGroup Resource

    Get an existing ResourceGroup 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?: ResourceGroupState, opts?: CustomResourceOptions): ResourceGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            clone_from_host: Optional[str] = None,
            compliant: Optional[bool] = None,
            deployment_description: Optional[str] = None,
            deployment_name: Optional[str] = None,
            deployment_timeout: Optional[float] = None,
            firmware_id: Optional[str] = None,
            nodes: Optional[float] = None,
            servers_in_inventory: Optional[str] = None,
            servers_managed_state: Optional[str] = None,
            status: Optional[str] = None,
            template_id: Optional[str] = None,
            template_name: Optional[str] = None) -> ResourceGroup
    func GetResourceGroup(ctx *Context, name string, id IDInput, state *ResourceGroupState, opts ...ResourceOption) (*ResourceGroup, error)
    public static ResourceGroup Get(string name, Input<string> id, ResourceGroupState? state, CustomResourceOptions? opts = null)
    public static ResourceGroup get(String name, Output<String> id, ResourceGroupState state, CustomResourceOptions options)
    resources:  _:    type: powerflex:ResourceGroup    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:
    CloneFromHost string
    Resource to Duplicate From Host
    Compliant bool
    Deployment Compliant Status
    DeploymentDescription string
    Deployment Description
    DeploymentName string
    Deployment Name
    DeploymentTimeout double
    Deployment Timeout, It should be in multiples of 5
    FirmwareId string
    Firmware ID
    Nodes double
    Number of Nodes
    ServersInInventory string
    After Delete the Service, Servers in inventory Keep or Remove. Default value is Keep
    ServersManagedState string
    After Delete the Service, Servers's state Managed or Unmanaged. Default value is Unmanaged.
    Status string
    Deployment Status
    TemplateId string
    Published Template ID
    TemplateName string
    Service Template Name
    CloneFromHost string
    Resource to Duplicate From Host
    Compliant bool
    Deployment Compliant Status
    DeploymentDescription string
    Deployment Description
    DeploymentName string
    Deployment Name
    DeploymentTimeout float64
    Deployment Timeout, It should be in multiples of 5
    FirmwareId string
    Firmware ID
    Nodes float64
    Number of Nodes
    ServersInInventory string
    After Delete the Service, Servers in inventory Keep or Remove. Default value is Keep
    ServersManagedState string
    After Delete the Service, Servers's state Managed or Unmanaged. Default value is Unmanaged.
    Status string
    Deployment Status
    TemplateId string
    Published Template ID
    TemplateName string
    Service Template Name
    cloneFromHost String
    Resource to Duplicate From Host
    compliant Boolean
    Deployment Compliant Status
    deploymentDescription String
    Deployment Description
    deploymentName String
    Deployment Name
    deploymentTimeout Double
    Deployment Timeout, It should be in multiples of 5
    firmwareId String
    Firmware ID
    nodes Double
    Number of Nodes
    serversInInventory String
    After Delete the Service, Servers in inventory Keep or Remove. Default value is Keep
    serversManagedState String
    After Delete the Service, Servers's state Managed or Unmanaged. Default value is Unmanaged.
    status String
    Deployment Status
    templateId String
    Published Template ID
    templateName String
    Service Template Name
    cloneFromHost string
    Resource to Duplicate From Host
    compliant boolean
    Deployment Compliant Status
    deploymentDescription string
    Deployment Description
    deploymentName string
    Deployment Name
    deploymentTimeout number
    Deployment Timeout, It should be in multiples of 5
    firmwareId string
    Firmware ID
    nodes number
    Number of Nodes
    serversInInventory string
    After Delete the Service, Servers in inventory Keep or Remove. Default value is Keep
    serversManagedState string
    After Delete the Service, Servers's state Managed or Unmanaged. Default value is Unmanaged.
    status string
    Deployment Status
    templateId string
    Published Template ID
    templateName string
    Service Template Name
    clone_from_host str
    Resource to Duplicate From Host
    compliant bool
    Deployment Compliant Status
    deployment_description str
    Deployment Description
    deployment_name str
    Deployment Name
    deployment_timeout float
    Deployment Timeout, It should be in multiples of 5
    firmware_id str
    Firmware ID
    nodes float
    Number of Nodes
    servers_in_inventory str
    After Delete the Service, Servers in inventory Keep or Remove. Default value is Keep
    servers_managed_state str
    After Delete the Service, Servers's state Managed or Unmanaged. Default value is Unmanaged.
    status str
    Deployment Status
    template_id str
    Published Template ID
    template_name str
    Service Template Name
    cloneFromHost String
    Resource to Duplicate From Host
    compliant Boolean
    Deployment Compliant Status
    deploymentDescription String
    Deployment Description
    deploymentName String
    Deployment Name
    deploymentTimeout Number
    Deployment Timeout, It should be in multiples of 5
    firmwareId String
    Firmware ID
    nodes Number
    Number of Nodes
    serversInInventory String
    After Delete the Service, Servers in inventory Keep or Remove. Default value is Keep
    serversManagedState String
    After Delete the Service, Servers's state Managed or Unmanaged. Default value is Unmanaged.
    status String
    Deployment Status
    templateId String
    Published Template ID
    templateName String
    Service Template Name

    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