1. Packages
  2. Powerscale Provider
  3. API Docs
  4. getNetworkRule
powerscale 1.7.0 published on Monday, Apr 14, 2025 by dell

powerscale.getNetworkRule

Explore with Pulumi AI

powerscale 1.7.0 published on Monday, Apr 14, 2025 by dell

This datasource is used to query the existing network rules from PowerScale array. The information fetched from this datasource can be used for getting the details or for further processing in resource block.

Using getNetworkRule

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getNetworkRule(args: GetNetworkRuleArgs, opts?: InvokeOptions): Promise<GetNetworkRuleResult>
function getNetworkRuleOutput(args: GetNetworkRuleOutputArgs, opts?: InvokeOptions): Output<GetNetworkRuleResult>
Copy
def get_network_rule(filter: Optional[GetNetworkRuleFilter] = None,
                     opts: Optional[InvokeOptions] = None) -> GetNetworkRuleResult
def get_network_rule_output(filter: Optional[pulumi.Input[GetNetworkRuleFilterArgs]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetNetworkRuleResult]
Copy
func LookupNetworkRule(ctx *Context, args *LookupNetworkRuleArgs, opts ...InvokeOption) (*LookupNetworkRuleResult, error)
func LookupNetworkRuleOutput(ctx *Context, args *LookupNetworkRuleOutputArgs, opts ...InvokeOption) LookupNetworkRuleResultOutput
Copy

> Note: This function is named LookupNetworkRule in the Go SDK.

public static class GetNetworkRule 
{
    public static Task<GetNetworkRuleResult> InvokeAsync(GetNetworkRuleArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkRuleResult> Invoke(GetNetworkRuleInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNetworkRuleResult> getNetworkRule(GetNetworkRuleArgs args, InvokeOptions options)
public static Output<GetNetworkRuleResult> getNetworkRule(GetNetworkRuleArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: powerscale:index/getNetworkRule:getNetworkRule
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

getNetworkRule Result

The following output properties are available:

Id string
Unique identifier of the network rule.
NetworkRules List<GetNetworkRuleNetworkRule>
List of Network Rules.
Filter GetNetworkRuleFilter
Id string
Unique identifier of the network rule.
NetworkRules []GetNetworkRuleNetworkRule
List of Network Rules.
Filter GetNetworkRuleFilter
id String
Unique identifier of the network rule.
networkRules List<GetNetworkRuleNetworkRule>
List of Network Rules.
filter GetNetworkRuleFilter
id string
Unique identifier of the network rule.
networkRules GetNetworkRuleNetworkRule[]
List of Network Rules.
filter GetNetworkRuleFilter
id str
Unique identifier of the network rule.
network_rules Sequence[GetNetworkRuleNetworkRule]
List of Network Rules.
filter GetNetworkRuleFilter
id String
Unique identifier of the network rule.
networkRules List<Property Map>
List of Network Rules.
filter Property Map

Supporting Types

GetNetworkRuleFilter

Groupnet string
If specified, only rules for this groupnet will be returned.
Names List<string>
Filter network rules by names.
Pool string
If specified, only rules for this pool will be returned.
Subnet string
If specified, only rules for this subnet will be returned.
Groupnet string
If specified, only rules for this groupnet will be returned.
Names []string
Filter network rules by names.
Pool string
If specified, only rules for this pool will be returned.
Subnet string
If specified, only rules for this subnet will be returned.
groupnet String
If specified, only rules for this groupnet will be returned.
names List<String>
Filter network rules by names.
pool String
If specified, only rules for this pool will be returned.
subnet String
If specified, only rules for this subnet will be returned.
groupnet string
If specified, only rules for this groupnet will be returned.
names string[]
Filter network rules by names.
pool string
If specified, only rules for this pool will be returned.
subnet string
If specified, only rules for this subnet will be returned.
groupnet str
If specified, only rules for this groupnet will be returned.
names Sequence[str]
Filter network rules by names.
pool str
If specified, only rules for this pool will be returned.
subnet str
If specified, only rules for this subnet will be returned.
groupnet String
If specified, only rules for this groupnet will be returned.
names List<String>
Filter network rules by names.
pool String
If specified, only rules for this pool will be returned.
subnet String
If specified, only rules for this subnet will be returned.

GetNetworkRuleNetworkRule

Description This property is required. string
Description for the provisioning rule.
Groupnet This property is required. string
Name of the groupnet this rule belongs to
Id This property is required. string
Unique rule ID.
Iface This property is required. string
Interface name the provisioning rule applies to.
Name This property is required. string
Name of the provisioning rule.
NodeType This property is required. string
Node type the provisioning rule applies to.
Pool This property is required. string
Name of the pool this rule belongs to.
Subnet This property is required. string
Name of the subnet this rule belongs to.
Description This property is required. string
Description for the provisioning rule.
Groupnet This property is required. string
Name of the groupnet this rule belongs to
Id This property is required. string
Unique rule ID.
Iface This property is required. string
Interface name the provisioning rule applies to.
Name This property is required. string
Name of the provisioning rule.
NodeType This property is required. string
Node type the provisioning rule applies to.
Pool This property is required. string
Name of the pool this rule belongs to.
Subnet This property is required. string
Name of the subnet this rule belongs to.
description This property is required. String
Description for the provisioning rule.
groupnet This property is required. String
Name of the groupnet this rule belongs to
id This property is required. String
Unique rule ID.
iface This property is required. String
Interface name the provisioning rule applies to.
name This property is required. String
Name of the provisioning rule.
nodeType This property is required. String
Node type the provisioning rule applies to.
pool This property is required. String
Name of the pool this rule belongs to.
subnet This property is required. String
Name of the subnet this rule belongs to.
description This property is required. string
Description for the provisioning rule.
groupnet This property is required. string
Name of the groupnet this rule belongs to
id This property is required. string
Unique rule ID.
iface This property is required. string
Interface name the provisioning rule applies to.
name This property is required. string
Name of the provisioning rule.
nodeType This property is required. string
Node type the provisioning rule applies to.
pool This property is required. string
Name of the pool this rule belongs to.
subnet This property is required. string
Name of the subnet this rule belongs to.
description This property is required. str
Description for the provisioning rule.
groupnet This property is required. str
Name of the groupnet this rule belongs to
id This property is required. str
Unique rule ID.
iface This property is required. str
Interface name the provisioning rule applies to.
name This property is required. str
Name of the provisioning rule.
node_type This property is required. str
Node type the provisioning rule applies to.
pool This property is required. str
Name of the pool this rule belongs to.
subnet This property is required. str
Name of the subnet this rule belongs to.
description This property is required. String
Description for the provisioning rule.
groupnet This property is required. String
Name of the groupnet this rule belongs to
id This property is required. String
Unique rule ID.
iface This property is required. String
Interface name the provisioning rule applies to.
name This property is required. String
Name of the provisioning rule.
nodeType This property is required. String
Node type the provisioning rule applies to.
pool This property is required. String
Name of the pool this rule belongs to.
subnet This property is required. String
Name of the subnet this rule belongs to.

Package Details

Repository
powerscale dell/terraform-provider-powerscale
License
Notes
This Pulumi package is based on the powerscale Terraform Provider.
powerscale 1.7.0 published on Monday, Apr 14, 2025 by dell