1. Packages
  2. Powerscale Provider
  3. API Docs
  4. getNetworkRule
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

powerscale.getNetworkRule

Explore with Pulumi AI

powerscale logo
powerscale 1.7.1 published on Wednesday, Apr 30, 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>
    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.
    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 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.
    NodeType 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.
    NodeType 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.
    nodeType 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.
    nodeType 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.
    nodeType 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.
    powerscale logo
    powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell