1. Packages
  2. Cisco ISE Provider
  3. API Docs
  4. system
  5. LicenseTierState
Cisco ISE v0.2.1 published on Saturday, Mar 15, 2025 by Pulumi

ise.system.LicenseTierState

Explore with Pulumi AI

This resource can manage a License Tier State.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ise from "@pulumi/ise";

const example = new ise.system.LicenseTierState("example", {licenses: [{
    name: "ESSENTIAL",
    status: "ENABLED",
}]});
Copy
import pulumi
import pulumi_ise as ise

example = ise.system.LicenseTierState("example", licenses=[{
    "name": "ESSENTIAL",
    "status": "ENABLED",
}])
Copy
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.NewLicenseTierState(ctx, "example", &system.LicenseTierStateArgs{
			Licenses: system.LicenseTierStateLicenseArray{
				&system.LicenseTierStateLicenseArgs{
					Name:   pulumi.String("ESSENTIAL"),
					Status: pulumi.String("ENABLED"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ise = Pulumi.Ise;

return await Deployment.RunAsync(() => 
{
    var example = new Ise.System.LicenseTierState("example", new()
    {
        Licenses = new[]
        {
            new Ise.System.Inputs.LicenseTierStateLicenseArgs
            {
                Name = "ESSENTIAL",
                Status = "ENABLED",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ise.system.LicenseTierState;
import com.pulumi.ise.system.LicenseTierStateArgs;
import com.pulumi.ise.system.inputs.LicenseTierStateLicenseArgs;
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) {
        var example = new LicenseTierState("example", LicenseTierStateArgs.builder()
            .licenses(LicenseTierStateLicenseArgs.builder()
                .name("ESSENTIAL")
                .status("ENABLED")
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: ise:system:LicenseTierState
    properties:
      licenses:
        - name: ESSENTIAL
          status: ENABLED
Copy

Create LicenseTierState Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new LicenseTierState(name: string, args: LicenseTierStateArgs, opts?: CustomResourceOptions);
@overload
def LicenseTierState(resource_name: str,
                     args: LicenseTierStateArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def LicenseTierState(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     licenses: Optional[Sequence[LicenseTierStateLicenseArgs]] = None)
func NewLicenseTierState(ctx *Context, name string, args LicenseTierStateArgs, opts ...ResourceOption) (*LicenseTierState, error)
public LicenseTierState(string name, LicenseTierStateArgs args, CustomResourceOptions? opts = null)
public LicenseTierState(String name, LicenseTierStateArgs args)
public LicenseTierState(String name, LicenseTierStateArgs args, CustomResourceOptions options)
type: ise:system:LicenseTierState
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. LicenseTierStateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. LicenseTierStateArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. LicenseTierStateArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. LicenseTierStateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. LicenseTierStateArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var licenseTierStateResource = new Ise.System.LicenseTierState("licenseTierStateResource", new()
{
    Licenses = new[]
    {
        new Ise.System.Inputs.LicenseTierStateLicenseArgs
        {
            Name = "string",
            Status = "string",
        },
    },
});
Copy
example, err := system.NewLicenseTierState(ctx, "licenseTierStateResource", &system.LicenseTierStateArgs{
	Licenses: system.LicenseTierStateLicenseArray{
		&system.LicenseTierStateLicenseArgs{
			Name:   pulumi.String("string"),
			Status: pulumi.String("string"),
		},
	},
})
Copy
var licenseTierStateResource = new LicenseTierState("licenseTierStateResource", LicenseTierStateArgs.builder()
    .licenses(LicenseTierStateLicenseArgs.builder()
        .name("string")
        .status("string")
        .build())
    .build());
Copy
license_tier_state_resource = ise.system.LicenseTierState("licenseTierStateResource", licenses=[{
    "name": "string",
    "status": "string",
}])
Copy
const licenseTierStateResource = new ise.system.LicenseTierState("licenseTierStateResource", {licenses: [{
    name: "string",
    status: "string",
}]});
Copy
type: ise:system:LicenseTierState
properties:
    licenses:
        - name: string
          status: string
Copy

LicenseTierState Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The LicenseTierState resource accepts the following input properties:

Licenses This property is required. List<LicenseTierStateLicense>
List of licenses
Licenses This property is required. []LicenseTierStateLicenseArgs
List of licenses
licenses This property is required. List<LicenseTierStateLicense>
List of licenses
licenses This property is required. LicenseTierStateLicense[]
List of licenses
licenses This property is required. Sequence[LicenseTierStateLicenseArgs]
List of licenses
licenses This property is required. List<Property Map>
List of licenses

Outputs

All input properties are implicitly available as output properties. Additionally, the LicenseTierState resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing LicenseTierState Resource

Get an existing LicenseTierState resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: LicenseTierStateState, opts?: CustomResourceOptions): LicenseTierState
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        licenses: Optional[Sequence[LicenseTierStateLicenseArgs]] = None) -> LicenseTierState
func GetLicenseTierState(ctx *Context, name string, id IDInput, state *LicenseTierStateState, opts ...ResourceOption) (*LicenseTierState, error)
public static LicenseTierState Get(string name, Input<string> id, LicenseTierStateState? state, CustomResourceOptions? opts = null)
public static LicenseTierState get(String name, Output<String> id, LicenseTierStateState state, CustomResourceOptions options)
resources:  _:    type: ise:system:LicenseTierState    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:

Supporting Types

LicenseTierStateLicense
, LicenseTierStateLicenseArgs

Name This property is required. string
License name

  • Choices: ESSENTIAL, ADVANTAGE, PREMIER, DEVICEADMIN, VM
Status This property is required. string
License status

  • Choices: ENABLED, DISABLED
Name This property is required. string
License name

  • Choices: ESSENTIAL, ADVANTAGE, PREMIER, DEVICEADMIN, VM
Status This property is required. string
License status

  • Choices: ENABLED, DISABLED
name This property is required. String
License name

  • Choices: ESSENTIAL, ADVANTAGE, PREMIER, DEVICEADMIN, VM
status This property is required. String
License status

  • Choices: ENABLED, DISABLED
name This property is required. string
License name

  • Choices: ESSENTIAL, ADVANTAGE, PREMIER, DEVICEADMIN, VM
status This property is required. string
License status

  • Choices: ENABLED, DISABLED
name This property is required. str
License name

  • Choices: ESSENTIAL, ADVANTAGE, PREMIER, DEVICEADMIN, VM
status This property is required. str
License status

  • Choices: ENABLED, DISABLED
name This property is required. String
License name

  • Choices: ESSENTIAL, ADVANTAGE, PREMIER, DEVICEADMIN, VM
status This property is required. String
License status

  • Choices: ENABLED, DISABLED

Import

$ pulumi import ise:system/licenseTierState:LicenseTierState example "76d24097-41c4-4558-a4d0-a8c07ac08470"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
ise pulumi/pulumi-ise
License
Apache-2.0
Notes
This Pulumi package is based on the ise Terraform Provider.