powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell
powerscale.getNetworkRule
Explore with Pulumi AI
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>
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]
func LookupNetworkRule(ctx *Context, args *LookupNetworkRuleArgs, opts ...InvokeOption) (*LookupNetworkRuleResult, error)
func LookupNetworkRuleOutput(ctx *Context, args *LookupNetworkRuleOutputArgs, opts ...InvokeOption) LookupNetworkRuleResultOutput
> 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)
}
public static CompletableFuture<GetNetworkRuleResult> getNetworkRule(GetNetworkRuleArgs args, InvokeOptions options)
public static Output<GetNetworkRuleResult> getNetworkRule(GetNetworkRuleArgs args, InvokeOptions options)
fn::invoke:
function: powerscale:index/getNetworkRule:getNetworkRule
arguments:
# arguments dictionary
The following arguments are supported:
getNetworkRule Result
The following output properties are available:
- Id string
- Unique identifier of the network rule.
- Network
Rules List<GetNetwork Rule Network Rule> - List of Network Rules.
- Filter
Get
Network Rule Filter
- Id string
- Unique identifier of the network rule.
- Network
Rules []GetNetwork Rule Network Rule - List of Network Rules.
- Filter
Get
Network Rule Filter
- id String
- Unique identifier of the network rule.
- network
Rules List<GetNetwork Rule Network Rule> - List of Network Rules.
- filter
Get
Network Rule Filter
- id string
- Unique identifier of the network rule.
- network
Rules GetNetwork Rule Network Rule[] - List of Network Rules.
- filter
Get
Network Rule Filter
- id str
- Unique identifier of the network rule.
- network_
rules Sequence[GetNetwork Rule Network Rule] - List of Network Rules.
- filter
Get
Network Rule Filter
- id String
- Unique identifier of the network rule.
- network
Rules List<Property Map> - List of Network Rules.
- filter Property Map
Supporting Types
GetNetworkRuleFilter
GetNetworkRuleNetworkRule
- Description string
- Description for the provisioning rule.
- Groupnet string
- Name of the groupnet this rule belongs to
- Id string
- Unique rule ID.
- Iface string
- Interface name the provisioning rule applies to.
- Name string
- Name of the provisioning rule.
- Node
Type string - Node type the provisioning rule applies to.
- Pool string
- Name of the pool this rule belongs to.
- Subnet string
- Name of the subnet this rule belongs to.
- Description string
- Description for the provisioning rule.
- Groupnet string
- Name of the groupnet this rule belongs to
- Id string
- Unique rule ID.
- Iface string
- Interface name the provisioning rule applies to.
- Name string
- Name of the provisioning rule.
- Node
Type string - Node type the provisioning rule applies to.
- Pool string
- Name of the pool this rule belongs to.
- Subnet string
- Name of the subnet this rule belongs to.
- description String
- Description for the provisioning rule.
- groupnet String
- Name of the groupnet this rule belongs to
- id String
- Unique rule ID.
- iface String
- Interface name the provisioning rule applies to.
- name String
- Name of the provisioning rule.
- node
Type String - Node type the provisioning rule applies to.
- pool String
- Name of the pool this rule belongs to.
- subnet String
- Name of the subnet this rule belongs to.
- description string
- Description for the provisioning rule.
- groupnet string
- Name of the groupnet this rule belongs to
- id string
- Unique rule ID.
- iface string
- Interface name the provisioning rule applies to.
- name string
- Name of the provisioning rule.
- node
Type string - Node type the provisioning rule applies to.
- pool string
- Name of the pool this rule belongs to.
- subnet string
- Name of the subnet this rule belongs to.
- description str
- Description for the provisioning rule.
- groupnet str
- Name of the groupnet this rule belongs to
- id str
- Unique rule ID.
- iface str
- Interface name the provisioning rule applies to.
- name str
- Name of the provisioning rule.
- node_
type str - Node type the provisioning rule applies to.
- pool str
- Name of the pool this rule belongs to.
- subnet str
- Name of the subnet this rule belongs to.
- description String
- Description for the provisioning rule.
- groupnet String
- Name of the groupnet this rule belongs to
- id String
- Unique rule ID.
- iface String
- Interface name the provisioning rule applies to.
- name String
- Name of the provisioning rule.
- node
Type String - Node type the provisioning rule applies to.
- pool String
- Name of the pool this rule belongs to.
- subnet 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.