1. Packages
  2. Mso Provider
  3. API Docs
  4. getTenantPoliciesDhcpRelayPolicy
mso 1.5.1 published on Friday, Jul 25, 2025 by ciscodevnet

mso.getTenantPoliciesDhcpRelayPolicy

Explore with Pulumi AI

mso logo
mso 1.5.1 published on Friday, Jul 25, 2025 by ciscodevnet

    Using getTenantPoliciesDhcpRelayPolicy

    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 getTenantPoliciesDhcpRelayPolicy(args: GetTenantPoliciesDhcpRelayPolicyArgs, opts?: InvokeOptions): Promise<GetTenantPoliciesDhcpRelayPolicyResult>
    function getTenantPoliciesDhcpRelayPolicyOutput(args: GetTenantPoliciesDhcpRelayPolicyOutputArgs, opts?: InvokeOptions): Output<GetTenantPoliciesDhcpRelayPolicyResult>
    def get_tenant_policies_dhcp_relay_policy(id: Optional[str] = None,
                                              name: Optional[str] = None,
                                              template_id: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetTenantPoliciesDhcpRelayPolicyResult
    def get_tenant_policies_dhcp_relay_policy_output(id: Optional[pulumi.Input[str]] = None,
                                              name: Optional[pulumi.Input[str]] = None,
                                              template_id: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetTenantPoliciesDhcpRelayPolicyResult]
    func LookupTenantPoliciesDhcpRelayPolicy(ctx *Context, args *LookupTenantPoliciesDhcpRelayPolicyArgs, opts ...InvokeOption) (*LookupTenantPoliciesDhcpRelayPolicyResult, error)
    func LookupTenantPoliciesDhcpRelayPolicyOutput(ctx *Context, args *LookupTenantPoliciesDhcpRelayPolicyOutputArgs, opts ...InvokeOption) LookupTenantPoliciesDhcpRelayPolicyResultOutput

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

    public static class GetTenantPoliciesDhcpRelayPolicy 
    {
        public static Task<GetTenantPoliciesDhcpRelayPolicyResult> InvokeAsync(GetTenantPoliciesDhcpRelayPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetTenantPoliciesDhcpRelayPolicyResult> Invoke(GetTenantPoliciesDhcpRelayPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTenantPoliciesDhcpRelayPolicyResult> getTenantPoliciesDhcpRelayPolicy(GetTenantPoliciesDhcpRelayPolicyArgs args, InvokeOptions options)
    public static Output<GetTenantPoliciesDhcpRelayPolicyResult> getTenantPoliciesDhcpRelayPolicy(GetTenantPoliciesDhcpRelayPolicyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: mso:index/getTenantPoliciesDhcpRelayPolicy:getTenantPoliciesDhcpRelayPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    TemplateId string
    Id string
    Name string
    TemplateId string
    Id string
    name String
    templateId String
    id String
    name string
    templateId string
    id string
    name str
    template_id str
    id str
    name String
    templateId String
    id String

    getTenantPoliciesDhcpRelayPolicy Result

    The following output properties are available:

    Supporting Types

    GetTenantPoliciesDhcpRelayPolicyDhcpRelayProvider

    Package Details

    Repository
    mso ciscodevnet/terraform-provider-mso
    License
    Notes
    This Pulumi package is based on the mso Terraform Provider.
    mso logo
    mso 1.5.1 published on Friday, Jul 25, 2025 by ciscodevnet