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

powerflex.System

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 system

$ pulumi import powerflex:index/system:System test ""
Copy

Another way to import system using system ID

$ pulumi import powerflex:index/system:System test "system_id"
Copy
  1. This will import the system instance with specified ID into your Terraform state.

  2. After successful import, you can run terraform state list to ensure the resource has been imported successfully.

  3. Now, you can fill in the resource block with the appropriate arguments and settings that match the imported resource’s real-world configuration.

  4. Execute pulumi preview to see if your configuration and the imported resource are in sync. Make adjustments if needed.

  5. Finally, execute pulumi up to bring the resource fully under Terraform’s management.

  6. Now, the resource which was not part of terraform became part of Terraform managed infrastructure.

Create System Resource

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

Constructor syntax

new System(name: string, args: SystemArgs, opts?: CustomResourceOptions);
@overload
def System(resource_name: str,
           args: SystemArgs,
           opts: Optional[ResourceOptions] = None)

@overload
def System(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           restricted_mode: Optional[str] = None,
           sdc_approved_ips: Optional[Sequence[SystemSdcApprovedIpArgs]] = None,
           sdc_guids: Optional[Sequence[str]] = None,
           sdc_ids: Optional[Sequence[str]] = None,
           sdc_names: Optional[Sequence[str]] = None)
func NewSystem(ctx *Context, name string, args SystemArgs, opts ...ResourceOption) (*System, error)
public System(string name, SystemArgs args, CustomResourceOptions? opts = null)
public System(String name, SystemArgs args)
public System(String name, SystemArgs args, CustomResourceOptions options)
type: powerflex:System
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SystemArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SystemArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SystemArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SystemArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SystemArgs
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 systemResource = new Powerflex.System("systemResource", new()
{
    RestrictedMode = "string",
    SdcApprovedIps = new[]
    {
        new Powerflex.Inputs.SystemSdcApprovedIpArgs
        {
            Id = "string",
            Ips = new[]
            {
                "string",
            },
        },
    },
    SdcGuids = new[]
    {
        "string",
    },
    SdcIds = new[]
    {
        "string",
    },
    SdcNames = new[]
    {
        "string",
    },
});
Copy
example, err := powerflex.NewSystem(ctx, "systemResource", &powerflex.SystemArgs{
	RestrictedMode: pulumi.String("string"),
	SdcApprovedIps: powerflex.SystemSdcApprovedIpArray{
		&powerflex.SystemSdcApprovedIpArgs{
			Id: pulumi.String("string"),
			Ips: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	SdcGuids: pulumi.StringArray{
		pulumi.String("string"),
	},
	SdcIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	SdcNames: pulumi.StringArray{
		pulumi.String("string"),
	},
})
Copy
var systemResource = new System("systemResource", SystemArgs.builder()
    .restrictedMode("string")
    .sdcApprovedIps(SystemSdcApprovedIpArgs.builder()
        .id("string")
        .ips("string")
        .build())
    .sdcGuids("string")
    .sdcIds("string")
    .sdcNames("string")
    .build());
Copy
system_resource = powerflex.System("systemResource",
    restricted_mode="string",
    sdc_approved_ips=[{
        "id": "string",
        "ips": ["string"],
    }],
    sdc_guids=["string"],
    sdc_ids=["string"],
    sdc_names=["string"])
Copy
const systemResource = new powerflex.System("systemResource", {
    restrictedMode: "string",
    sdcApprovedIps: [{
        id: "string",
        ips: ["string"],
    }],
    sdcGuids: ["string"],
    sdcIds: ["string"],
    sdcNames: ["string"],
});
Copy
type: powerflex:System
properties:
    restrictedMode: string
    sdcApprovedIps:
        - id: string
          ips:
            - string
    sdcGuids:
        - string
    sdcIds:
        - string
    sdcNames:
        - string
Copy

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

RestrictedMode This property is required. string
Restricted mode of the cluster. Accepted values are None, Guid, ApprovedIp.
SdcApprovedIps List<SystemSdcApprovedIp>
Specifies list of SDC IPs.
SdcGuids List<string>
Specifies list of SDC GUIDs.
SdcIds List<string>
Specifies list of SDC IDs.
SdcNames List<string>
Specifies list of SDC names.
RestrictedMode This property is required. string
Restricted mode of the cluster. Accepted values are None, Guid, ApprovedIp.
SdcApprovedIps []SystemSdcApprovedIpArgs
Specifies list of SDC IPs.
SdcGuids []string
Specifies list of SDC GUIDs.
SdcIds []string
Specifies list of SDC IDs.
SdcNames []string
Specifies list of SDC names.
restrictedMode This property is required. String
Restricted mode of the cluster. Accepted values are None, Guid, ApprovedIp.
sdcApprovedIps List<SystemSdcApprovedIp>
Specifies list of SDC IPs.
sdcGuids List<String>
Specifies list of SDC GUIDs.
sdcIds List<String>
Specifies list of SDC IDs.
sdcNames List<String>
Specifies list of SDC names.
restrictedMode This property is required. string
Restricted mode of the cluster. Accepted values are None, Guid, ApprovedIp.
sdcApprovedIps SystemSdcApprovedIp[]
Specifies list of SDC IPs.
sdcGuids string[]
Specifies list of SDC GUIDs.
sdcIds string[]
Specifies list of SDC IDs.
sdcNames string[]
Specifies list of SDC names.
restricted_mode This property is required. str
Restricted mode of the cluster. Accepted values are None, Guid, ApprovedIp.
sdc_approved_ips Sequence[SystemSdcApprovedIpArgs]
Specifies list of SDC IPs.
sdc_guids Sequence[str]
Specifies list of SDC GUIDs.
sdc_ids Sequence[str]
Specifies list of SDC IDs.
sdc_names Sequence[str]
Specifies list of SDC names.
restrictedMode This property is required. String
Restricted mode of the cluster. Accepted values are None, Guid, ApprovedIp.
sdcApprovedIps List<Property Map>
Specifies list of SDC IPs.
sdcGuids List<String>
Specifies list of SDC GUIDs.
sdcIds List<String>
Specifies list of SDC IDs.
sdcNames List<String>
Specifies list of SDC names.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing System Resource

Get an existing System 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?: SystemState, opts?: CustomResourceOptions): System
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        restricted_mode: Optional[str] = None,
        sdc_approved_ips: Optional[Sequence[SystemSdcApprovedIpArgs]] = None,
        sdc_guids: Optional[Sequence[str]] = None,
        sdc_ids: Optional[Sequence[str]] = None,
        sdc_names: Optional[Sequence[str]] = None) -> System
func GetSystem(ctx *Context, name string, id IDInput, state *SystemState, opts ...ResourceOption) (*System, error)
public static System Get(string name, Input<string> id, SystemState? state, CustomResourceOptions? opts = null)
public static System get(String name, Output<String> id, SystemState state, CustomResourceOptions options)
resources:  _:    type: powerflex:System    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
RestrictedMode string
Restricted mode of the cluster. Accepted values are None, Guid, ApprovedIp.
SdcApprovedIps List<SystemSdcApprovedIp>
Specifies list of SDC IPs.
SdcGuids List<string>
Specifies list of SDC GUIDs.
SdcIds List<string>
Specifies list of SDC IDs.
SdcNames List<string>
Specifies list of SDC names.
RestrictedMode string
Restricted mode of the cluster. Accepted values are None, Guid, ApprovedIp.
SdcApprovedIps []SystemSdcApprovedIpArgs
Specifies list of SDC IPs.
SdcGuids []string
Specifies list of SDC GUIDs.
SdcIds []string
Specifies list of SDC IDs.
SdcNames []string
Specifies list of SDC names.
restrictedMode String
Restricted mode of the cluster. Accepted values are None, Guid, ApprovedIp.
sdcApprovedIps List<SystemSdcApprovedIp>
Specifies list of SDC IPs.
sdcGuids List<String>
Specifies list of SDC GUIDs.
sdcIds List<String>
Specifies list of SDC IDs.
sdcNames List<String>
Specifies list of SDC names.
restrictedMode string
Restricted mode of the cluster. Accepted values are None, Guid, ApprovedIp.
sdcApprovedIps SystemSdcApprovedIp[]
Specifies list of SDC IPs.
sdcGuids string[]
Specifies list of SDC GUIDs.
sdcIds string[]
Specifies list of SDC IDs.
sdcNames string[]
Specifies list of SDC names.
restricted_mode str
Restricted mode of the cluster. Accepted values are None, Guid, ApprovedIp.
sdc_approved_ips Sequence[SystemSdcApprovedIpArgs]
Specifies list of SDC IPs.
sdc_guids Sequence[str]
Specifies list of SDC GUIDs.
sdc_ids Sequence[str]
Specifies list of SDC IDs.
sdc_names Sequence[str]
Specifies list of SDC names.
restrictedMode String
Restricted mode of the cluster. Accepted values are None, Guid, ApprovedIp.
sdcApprovedIps List<Property Map>
Specifies list of SDC IPs.
sdcGuids List<String>
Specifies list of SDC GUIDs.
sdcIds List<String>
Specifies list of SDC IDs.
sdcNames List<String>
Specifies list of SDC names.

Supporting Types

SystemSdcApprovedIp
, SystemSdcApprovedIpArgs

Id This property is required. string
SDC ID.
Ips This property is required. List<string>
SDC IPs.
Id This property is required. string
SDC ID.
Ips This property is required. []string
SDC IPs.
id This property is required. String
SDC ID.
ips This property is required. List<String>
SDC IPs.
id This property is required. string
SDC ID.
ips This property is required. string[]
SDC IPs.
id This property is required. str
SDC ID.
ips This property is required. Sequence[str]
SDC IPs.
id This property is required. String
SDC ID.
ips This property is required. List<String>
SDC IPs.

Package Details

Repository
powerflex dell/terraform-provider-powerflex
License
Notes
This Pulumi package is based on the powerflex Terraform Provider.