1. Packages
  2. Cisco ISE
  3. API Docs
  4. system
  5. getLicenseTierState
Cisco ISE v0.1.4 published on Friday, May 31, 2024 by Pulumi

ise.system.getLicenseTierState

Explore with Pulumi AI

ise logo
Cisco ISE v0.1.4 published on Friday, May 31, 2024 by Pulumi

    This data source can read the License Tier State.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ise from "@pulumi/ise";
    
    const example = ise.system.getLicenseTierState({
        id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
    });
    
    import pulumi
    import pulumi_ise as ise
    
    example = ise.system.get_license_tier_state(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-ise/sdk/go/ise/system"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := system.LookupLicenseTierState(ctx, &system.LookupLicenseTierStateArgs{
    			Id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ise = Pulumi.Ise;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Ise.System.GetLicenseTierState.Invoke(new()
        {
            Id = "76d24097-41c4-4558-a4d0-a8c07ac08470",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ise.system.SystemFunctions;
    import com.pulumi.ise.system.inputs.GetLicenseTierStateArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = SystemFunctions.getLicenseTierState(GetLicenseTierStateArgs.builder()
                .id("76d24097-41c4-4558-a4d0-a8c07ac08470")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: ise:system:getLicenseTierState
          Arguments:
            id: 76d24097-41c4-4558-a4d0-a8c07ac08470
    

    Using getLicenseTierState

    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 getLicenseTierState(args: GetLicenseTierStateArgs, opts?: InvokeOptions): Promise<GetLicenseTierStateResult>
    function getLicenseTierStateOutput(args: GetLicenseTierStateOutputArgs, opts?: InvokeOptions): Output<GetLicenseTierStateResult>
    def get_license_tier_state(id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetLicenseTierStateResult
    def get_license_tier_state_output(id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetLicenseTierStateResult]
    func LookupLicenseTierState(ctx *Context, args *LookupLicenseTierStateArgs, opts ...InvokeOption) (*LookupLicenseTierStateResult, error)
    func LookupLicenseTierStateOutput(ctx *Context, args *LookupLicenseTierStateOutputArgs, opts ...InvokeOption) LookupLicenseTierStateResultOutput

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

    public static class GetLicenseTierState 
    {
        public static Task<GetLicenseTierStateResult> InvokeAsync(GetLicenseTierStateArgs args, InvokeOptions? opts = null)
        public static Output<GetLicenseTierStateResult> Invoke(GetLicenseTierStateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLicenseTierStateResult> getLicenseTierState(GetLicenseTierStateArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: ise:system/getLicenseTierState:getLicenseTierState
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The id of the object
    Id string
    The id of the object
    id String
    The id of the object
    id string
    The id of the object
    id str
    The id of the object
    id String
    The id of the object

    getLicenseTierState Result

    The following output properties are available:

    Id string
    The id of the object
    Licenses List<GetLicenseTierStateLicense>
    List of licenses
    Id string
    The id of the object
    Licenses []GetLicenseTierStateLicense
    List of licenses
    id String
    The id of the object
    licenses List<GetLicenseTierStateLicense>
    List of licenses
    id string
    The id of the object
    licenses GetLicenseTierStateLicense[]
    List of licenses
    id str
    The id of the object
    licenses Sequence[GetLicenseTierStateLicense]
    List of licenses
    id String
    The id of the object
    licenses List<Property Map>
    List of licenses

    Supporting Types

    GetLicenseTierStateLicense

    Name string
    License name
    Status string
    License status
    Name string
    License name
    Status string
    License status
    name String
    License name
    status String
    License status
    name string
    License name
    status string
    License status
    name str
    License name
    status str
    License status
    name String
    License name
    status String
    License status

    Package Details

    Repository
    ise pulumi/pulumi-ise
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ise Terraform Provider.
    ise logo
    Cisco ISE v0.1.4 published on Friday, May 31, 2024 by Pulumi