1. Packages
  2. Avi Provider
  3. API Docs
  4. Licensestatus
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

avi.Licensestatus

Explore with Pulumi AI

avi logo
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

    <!–

    Copyright 2021 VMware, Inc.
    SPDX-License-Identifier: Mozilla Public License 2.0
    

    –>

    layout: “avi”

    page_title: “Avi: avi.Licensestatus” sidebar_current: “docs-avi-resource-licensestatus” description: |- Creates and manages Avi LicenseStatus.

    avi.Licensestatus

    The LicenseStatus resource allows the creation and management of Avi LicenseStatus

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    resources:
      foo:
        type: avi:Licensestatus
        properties:
          name: terraform-example-foo
          tenantRef: /api/tenant/?name=admin
    

    Create Licensestatus Resource

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

    Constructor syntax

    new Licensestatus(name: string, args?: LicensestatusArgs, opts?: CustomResourceOptions);
    @overload
    def Licensestatus(resource_name: str,
                      args: Optional[LicensestatusArgs] = None,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def Licensestatus(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      configpb_attributes: Optional[Sequence[LicensestatusConfigpbAttributeArgs]] = None,
                      licensestatus_id: Optional[str] = None,
                      saas_statuses: Optional[Sequence[LicensestatusSaasStatusArgs]] = None,
                      service_updates: Optional[Sequence[LicensestatusServiceUpdateArgs]] = None,
                      tenant_uuid: Optional[str] = None,
                      uuid: Optional[str] = None)
    func NewLicensestatus(ctx *Context, name string, args *LicensestatusArgs, opts ...ResourceOption) (*Licensestatus, error)
    public Licensestatus(string name, LicensestatusArgs? args = null, CustomResourceOptions? opts = null)
    public Licensestatus(String name, LicensestatusArgs args)
    public Licensestatus(String name, LicensestatusArgs args, CustomResourceOptions options)
    
    type: avi:Licensestatus
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LicensestatusArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LicensestatusArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LicensestatusArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LicensestatusArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LicensestatusArgs
    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 licensestatusResource = new Avi.Licensestatus("licensestatusResource", new()
    {
        ConfigpbAttributes = new[]
        {
            new Avi.Inputs.LicensestatusConfigpbAttributeArgs
            {
                Version = "string",
            },
        },
        LicensestatusId = "string",
        SaasStatuses = new[]
        {
            new Avi.Inputs.LicensestatusSaasStatusArgs
            {
                Connected = "string",
                Enabled = "string",
                Expired = "string",
                LastRefreshedAt = "string",
                Message = "string",
                Name = "string",
                PublicKey = "string",
                RefreshStatus = "string",
                RefreshedAt = "string",
                ReserveServiceUnits = "string",
                State = "string",
            },
        },
        ServiceUpdates = new[]
        {
            new Avi.Inputs.LicensestatusServiceUpdateArgs
            {
                Name = "string",
                ServiceUnits = new[]
                {
                    new Avi.Inputs.LicensestatusServiceUpdateServiceUnitArgs
                    {
                        AvailableServiceUnits = "string",
                        OrgId = "string",
                        UsedServiceUnits = "string",
                    },
                },
            },
        },
        TenantUuid = "string",
        Uuid = "string",
    });
    
    example, err := avi.NewLicensestatus(ctx, "licensestatusResource", &avi.LicensestatusArgs{
    	ConfigpbAttributes: avi.LicensestatusConfigpbAttributeArray{
    		&avi.LicensestatusConfigpbAttributeArgs{
    			Version: pulumi.String("string"),
    		},
    	},
    	LicensestatusId: pulumi.String("string"),
    	SaasStatuses: avi.LicensestatusSaasStatusArray{
    		&avi.LicensestatusSaasStatusArgs{
    			Connected:           pulumi.String("string"),
    			Enabled:             pulumi.String("string"),
    			Expired:             pulumi.String("string"),
    			LastRefreshedAt:     pulumi.String("string"),
    			Message:             pulumi.String("string"),
    			Name:                pulumi.String("string"),
    			PublicKey:           pulumi.String("string"),
    			RefreshStatus:       pulumi.String("string"),
    			RefreshedAt:         pulumi.String("string"),
    			ReserveServiceUnits: pulumi.String("string"),
    			State:               pulumi.String("string"),
    		},
    	},
    	ServiceUpdates: avi.LicensestatusServiceUpdateArray{
    		&avi.LicensestatusServiceUpdateArgs{
    			Name: pulumi.String("string"),
    			ServiceUnits: avi.LicensestatusServiceUpdateServiceUnitArray{
    				&avi.LicensestatusServiceUpdateServiceUnitArgs{
    					AvailableServiceUnits: pulumi.String("string"),
    					OrgId:                 pulumi.String("string"),
    					UsedServiceUnits:      pulumi.String("string"),
    				},
    			},
    		},
    	},
    	TenantUuid: pulumi.String("string"),
    	Uuid:       pulumi.String("string"),
    })
    
    var licensestatusResource = new Licensestatus("licensestatusResource", LicensestatusArgs.builder()
        .configpbAttributes(LicensestatusConfigpbAttributeArgs.builder()
            .version("string")
            .build())
        .licensestatusId("string")
        .saasStatuses(LicensestatusSaasStatusArgs.builder()
            .connected("string")
            .enabled("string")
            .expired("string")
            .lastRefreshedAt("string")
            .message("string")
            .name("string")
            .publicKey("string")
            .refreshStatus("string")
            .refreshedAt("string")
            .reserveServiceUnits("string")
            .state("string")
            .build())
        .serviceUpdates(LicensestatusServiceUpdateArgs.builder()
            .name("string")
            .serviceUnits(LicensestatusServiceUpdateServiceUnitArgs.builder()
                .availableServiceUnits("string")
                .orgId("string")
                .usedServiceUnits("string")
                .build())
            .build())
        .tenantUuid("string")
        .uuid("string")
        .build());
    
    licensestatus_resource = avi.Licensestatus("licensestatusResource",
        configpb_attributes=[{
            "version": "string",
        }],
        licensestatus_id="string",
        saas_statuses=[{
            "connected": "string",
            "enabled": "string",
            "expired": "string",
            "last_refreshed_at": "string",
            "message": "string",
            "name": "string",
            "public_key": "string",
            "refresh_status": "string",
            "refreshed_at": "string",
            "reserve_service_units": "string",
            "state": "string",
        }],
        service_updates=[{
            "name": "string",
            "service_units": [{
                "available_service_units": "string",
                "org_id": "string",
                "used_service_units": "string",
            }],
        }],
        tenant_uuid="string",
        uuid="string")
    
    const licensestatusResource = new avi.Licensestatus("licensestatusResource", {
        configpbAttributes: [{
            version: "string",
        }],
        licensestatusId: "string",
        saasStatuses: [{
            connected: "string",
            enabled: "string",
            expired: "string",
            lastRefreshedAt: "string",
            message: "string",
            name: "string",
            publicKey: "string",
            refreshStatus: "string",
            refreshedAt: "string",
            reserveServiceUnits: "string",
            state: "string",
        }],
        serviceUpdates: [{
            name: "string",
            serviceUnits: [{
                availableServiceUnits: "string",
                orgId: "string",
                usedServiceUnits: "string",
            }],
        }],
        tenantUuid: "string",
        uuid: "string",
    });
    
    type: avi:Licensestatus
    properties:
        configpbAttributes:
            - version: string
        licensestatusId: string
        saasStatuses:
            - connected: string
              enabled: string
              expired: string
              lastRefreshedAt: string
              message: string
              name: string
              publicKey: string
              refreshStatus: string
              refreshedAt: string
              reserveServiceUnits: string
              state: string
        serviceUpdates:
            - name: string
              serviceUnits:
                - availableServiceUnits: string
                  orgId: string
                  usedServiceUnits: string
        tenantUuid: string
        uuid: string
    

    Licensestatus 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 Licensestatus resource accepts the following input properties:

    ConfigpbAttributes List<LicensestatusConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    LicensestatusId string
    SaasStatuses List<LicensestatusSaasStatus>
    Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    ServiceUpdates List<LicensestatusServiceUpdate>
    Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantUuid string
    Tenant uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Uuid. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    ConfigpbAttributes []LicensestatusConfigpbAttributeArgs
    Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    LicensestatusId string
    SaasStatuses []LicensestatusSaasStatusArgs
    Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    ServiceUpdates []LicensestatusServiceUpdateArgs
    Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantUuid string
    Tenant uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Uuid. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes List<LicensestatusConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    licensestatusId String
    saasStatuses List<LicensestatusSaasStatus>
    Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    serviceUpdates List<LicensestatusServiceUpdate>
    Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantUuid String
    Tenant uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Uuid. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes LicensestatusConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    licensestatusId string
    saasStatuses LicensestatusSaasStatus[]
    Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    serviceUpdates LicensestatusServiceUpdate[]
    Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantUuid string
    Tenant uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    Uuid. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpb_attributes Sequence[LicensestatusConfigpbAttributeArgs]
    Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    licensestatus_id str
    saas_statuses Sequence[LicensestatusSaasStatusArgs]
    Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    service_updates Sequence[LicensestatusServiceUpdateArgs]
    Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenant_uuid str
    Tenant uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid str
    Uuid. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes List<Property Map>
    Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    licensestatusId String
    saasStatuses List<Property Map>
    Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    serviceUpdates List<Property Map>
    Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantUuid String
    Tenant uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Uuid. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Licensestatus 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 Licensestatus Resource

    Get an existing Licensestatus 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?: LicensestatusState, opts?: CustomResourceOptions): Licensestatus
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            configpb_attributes: Optional[Sequence[LicensestatusConfigpbAttributeArgs]] = None,
            licensestatus_id: Optional[str] = None,
            saas_statuses: Optional[Sequence[LicensestatusSaasStatusArgs]] = None,
            service_updates: Optional[Sequence[LicensestatusServiceUpdateArgs]] = None,
            tenant_uuid: Optional[str] = None,
            uuid: Optional[str] = None) -> Licensestatus
    func GetLicensestatus(ctx *Context, name string, id IDInput, state *LicensestatusState, opts ...ResourceOption) (*Licensestatus, error)
    public static Licensestatus Get(string name, Input<string> id, LicensestatusState? state, CustomResourceOptions? opts = null)
    public static Licensestatus get(String name, Output<String> id, LicensestatusState state, CustomResourceOptions options)
    resources:  _:    type: avi:Licensestatus    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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:
    ConfigpbAttributes List<LicensestatusConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    LicensestatusId string
    SaasStatuses List<LicensestatusSaasStatus>
    Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    ServiceUpdates List<LicensestatusServiceUpdate>
    Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantUuid string
    Tenant uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Uuid. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    ConfigpbAttributes []LicensestatusConfigpbAttributeArgs
    Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    LicensestatusId string
    SaasStatuses []LicensestatusSaasStatusArgs
    Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    ServiceUpdates []LicensestatusServiceUpdateArgs
    Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantUuid string
    Tenant uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Uuid. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes List<LicensestatusConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    licensestatusId String
    saasStatuses List<LicensestatusSaasStatus>
    Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    serviceUpdates List<LicensestatusServiceUpdate>
    Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantUuid String
    Tenant uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Uuid. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes LicensestatusConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    licensestatusId string
    saasStatuses LicensestatusSaasStatus[]
    Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    serviceUpdates LicensestatusServiceUpdate[]
    Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantUuid string
    Tenant uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    Uuid. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpb_attributes Sequence[LicensestatusConfigpbAttributeArgs]
    Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    licensestatus_id str
    saas_statuses Sequence[LicensestatusSaasStatusArgs]
    Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    service_updates Sequence[LicensestatusServiceUpdateArgs]
    Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenant_uuid str
    Tenant uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid str
    Uuid. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    configpbAttributes List<Property Map>
    Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    licensestatusId String
    saasStatuses List<Property Map>
    Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    serviceUpdates List<Property Map>
    Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantUuid String
    Tenant uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Uuid. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.

    Supporting Types

    LicensestatusConfigpbAttribute, LicensestatusConfigpbAttributeArgs

    Version string
    Version string
    version String
    version string
    version String

    LicensestatusSaasStatus, LicensestatusSaasStatusArgs

    Connected string
    Enabled string
    Expired string
    LastRefreshedAt string
    Message string
    Name string
    PublicKey string
    RefreshStatus string
    RefreshedAt string
    ReserveServiceUnits string
    State string
    Connected string
    Enabled string
    Expired string
    LastRefreshedAt string
    Message string
    Name string
    PublicKey string
    RefreshStatus string
    RefreshedAt string
    ReserveServiceUnits string
    State string
    connected String
    enabled String
    expired String
    lastRefreshedAt String
    message String
    name String
    publicKey String
    refreshStatus String
    refreshedAt String
    reserveServiceUnits String
    state String
    connected string
    enabled string
    expired string
    lastRefreshedAt string
    message string
    name string
    publicKey string
    refreshStatus string
    refreshedAt string
    reserveServiceUnits string
    state string
    connected String
    enabled String
    expired String
    lastRefreshedAt String
    message String
    name String
    publicKey String
    refreshStatus String
    refreshedAt String
    reserveServiceUnits String
    state String

    LicensestatusServiceUpdate, LicensestatusServiceUpdateArgs

    LicensestatusServiceUpdateServiceUnit, LicensestatusServiceUpdateServiceUnitArgs

    Package Details

    Repository
    avi vmware/terraform-provider-avi
    License
    Notes
    This Pulumi package is based on the avi Terraform Provider.
    avi logo
    avi 31.1.1 published on Monday, Apr 14, 2025 by vmware