powerflex.ResourceGroup
Explore with Pulumi AI
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:
- Deployment
Description string - Deployment Description
- Deployment
Name string - Deployment Name
- Firmware
Id string - Firmware ID
- Template
Id string - Published Template ID
- Clone
From stringHost - Resource to Duplicate From Host
- Deployment
Timeout double - Deployment Timeout, It should be in multiples of 5
- Nodes double
- Number of Nodes
- Servers
In stringInventory - After Delete the Service, Servers in inventory
Keep
orRemove
. Default value isKeep
- Servers
Managed stringState - After Delete the Service, Servers's state
Managed
orUnmanaged
. Default value isUnmanaged
.
- Deployment
Description string - Deployment Description
- Deployment
Name string - Deployment Name
- Firmware
Id string - Firmware ID
- Template
Id string - Published Template ID
- Clone
From stringHost - Resource to Duplicate From Host
- Deployment
Timeout float64 - Deployment Timeout, It should be in multiples of 5
- Nodes float64
- Number of Nodes
- Servers
In stringInventory - After Delete the Service, Servers in inventory
Keep
orRemove
. Default value isKeep
- Servers
Managed stringState - After Delete the Service, Servers's state
Managed
orUnmanaged
. Default value isUnmanaged
.
- deployment
Description String - Deployment Description
- deployment
Name String - Deployment Name
- firmware
Id String - Firmware ID
- template
Id String - Published Template ID
- clone
From StringHost - Resource to Duplicate From Host
- deployment
Timeout Double - Deployment Timeout, It should be in multiples of 5
- nodes Double
- Number of Nodes
- servers
In StringInventory - After Delete the Service, Servers in inventory
Keep
orRemove
. Default value isKeep
- servers
Managed StringState - After Delete the Service, Servers's state
Managed
orUnmanaged
. Default value isUnmanaged
.
- deployment
Description string - Deployment Description
- deployment
Name string - Deployment Name
- firmware
Id string - Firmware ID
- template
Id string - Published Template ID
- clone
From stringHost - Resource to Duplicate From Host
- deployment
Timeout number - Deployment Timeout, It should be in multiples of 5
- nodes number
- Number of Nodes
- servers
In stringInventory - After Delete the Service, Servers in inventory
Keep
orRemove
. Default value isKeep
- servers
Managed stringState - After Delete the Service, Servers's state
Managed
orUnmanaged
. Default value isUnmanaged
.
- deployment_
description str - Deployment Description
- deployment_
name str - Deployment Name
- firmware_
id str - Firmware ID
- template_
id str - Published Template ID
- clone_
from_ strhost - Resource to Duplicate From Host
- deployment_
timeout float - Deployment Timeout, It should be in multiples of 5
- nodes float
- Number of Nodes
- servers_
in_ strinventory - After Delete the Service, Servers in inventory
Keep
orRemove
. Default value isKeep
- servers_
managed_ strstate - After Delete the Service, Servers's state
Managed
orUnmanaged
. Default value isUnmanaged
.
- deployment
Description String - Deployment Description
- deployment
Name String - Deployment Name
- firmware
Id String - Firmware ID
- template
Id String - Published Template ID
- clone
From StringHost - Resource to Duplicate From Host
- deployment
Timeout Number - Deployment Timeout, It should be in multiples of 5
- nodes Number
- Number of Nodes
- servers
In StringInventory - After Delete the Service, Servers in inventory
Keep
orRemove
. Default value isKeep
- servers
Managed StringState - After Delete the Service, Servers's state
Managed
orUnmanaged
. Default value isUnmanaged
.
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
- Template
Name string - Service Template Name
- Compliant bool
- Deployment Compliant Status
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Deployment Status
- Template
Name string - Service Template Name
- compliant Boolean
- Deployment Compliant Status
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Deployment Status
- template
Name String - Service Template Name
- compliant boolean
- Deployment Compliant Status
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Deployment Status
- template
Name 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
- template
Name 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.
- Clone
From stringHost - Resource to Duplicate From Host
- Compliant bool
- Deployment Compliant Status
- Deployment
Description string - Deployment Description
- Deployment
Name string - Deployment Name
- Deployment
Timeout double - Deployment Timeout, It should be in multiples of 5
- Firmware
Id string - Firmware ID
- Nodes double
- Number of Nodes
- Servers
In stringInventory - After Delete the Service, Servers in inventory
Keep
orRemove
. Default value isKeep
- Servers
Managed stringState - After Delete the Service, Servers's state
Managed
orUnmanaged
. Default value isUnmanaged
. - Status string
- Deployment Status
- Template
Id string - Published Template ID
- Template
Name string - Service Template Name
- Clone
From stringHost - Resource to Duplicate From Host
- Compliant bool
- Deployment Compliant Status
- Deployment
Description string - Deployment Description
- Deployment
Name string - Deployment Name
- Deployment
Timeout float64 - Deployment Timeout, It should be in multiples of 5
- Firmware
Id string - Firmware ID
- Nodes float64
- Number of Nodes
- Servers
In stringInventory - After Delete the Service, Servers in inventory
Keep
orRemove
. Default value isKeep
- Servers
Managed stringState - After Delete the Service, Servers's state
Managed
orUnmanaged
. Default value isUnmanaged
. - Status string
- Deployment Status
- Template
Id string - Published Template ID
- Template
Name string - Service Template Name
- clone
From StringHost - Resource to Duplicate From Host
- compliant Boolean
- Deployment Compliant Status
- deployment
Description String - Deployment Description
- deployment
Name String - Deployment Name
- deployment
Timeout Double - Deployment Timeout, It should be in multiples of 5
- firmware
Id String - Firmware ID
- nodes Double
- Number of Nodes
- servers
In StringInventory - After Delete the Service, Servers in inventory
Keep
orRemove
. Default value isKeep
- servers
Managed StringState - After Delete the Service, Servers's state
Managed
orUnmanaged
. Default value isUnmanaged
. - status String
- Deployment Status
- template
Id String - Published Template ID
- template
Name String - Service Template Name
- clone
From stringHost - Resource to Duplicate From Host
- compliant boolean
- Deployment Compliant Status
- deployment
Description string - Deployment Description
- deployment
Name string - Deployment Name
- deployment
Timeout number - Deployment Timeout, It should be in multiples of 5
- firmware
Id string - Firmware ID
- nodes number
- Number of Nodes
- servers
In stringInventory - After Delete the Service, Servers in inventory
Keep
orRemove
. Default value isKeep
- servers
Managed stringState - After Delete the Service, Servers's state
Managed
orUnmanaged
. Default value isUnmanaged
. - status string
- Deployment Status
- template
Id string - Published Template ID
- template
Name string - Service Template Name
- clone_
from_ strhost - 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_ strinventory - After Delete the Service, Servers in inventory
Keep
orRemove
. Default value isKeep
- servers_
managed_ strstate - After Delete the Service, Servers's state
Managed
orUnmanaged
. Default value isUnmanaged
. - status str
- Deployment Status
- template_
id str - Published Template ID
- template_
name str - Service Template Name
- clone
From StringHost - Resource to Duplicate From Host
- compliant Boolean
- Deployment Compliant Status
- deployment
Description String - Deployment Description
- deployment
Name String - Deployment Name
- deployment
Timeout Number - Deployment Timeout, It should be in multiples of 5
- firmware
Id String - Firmware ID
- nodes Number
- Number of Nodes
- servers
In StringInventory - After Delete the Service, Servers in inventory
Keep
orRemove
. Default value isKeep
- servers
Managed StringState - After Delete the Service, Servers's state
Managed
orUnmanaged
. Default value isUnmanaged
. - status String
- Deployment Status
- template
Id String - Published Template ID
- template
Name String - Service Template Name
Package Details
- Repository
- powerflex dell/terraform-provider-powerflex
- License
- Notes
- This Pulumi package is based on the
powerflex
Terraform Provider.