avi.Licenseledgerdetails
Explore with Pulumi AI
<!–
Copyright 2021 VMware, Inc.
SPDX-License-Identifier: Mozilla Public License 2.0
–>
layout: “avi”
page_title: “Avi: avi.Licenseledgerdetails” sidebar_current: “docs-avi-resource-licenseledgerdetails” description: |- Creates and manages Avi LicenseLedgerDetails.
avi.Licenseledgerdetails
The LicenseLedgerDetails resource allows the creation and management of Avi LicenseLedgerDetails
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
foo:
type: avi:Licenseledgerdetails
properties:
name: terraform-example-foo
tenantRef: /api/tenant/?name=admin
Create Licenseledgerdetails Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Licenseledgerdetails(name: string, args?: LicenseledgerdetailsArgs, opts?: CustomResourceOptions);
@overload
def Licenseledgerdetails(resource_name: str,
args: Optional[LicenseledgerdetailsArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Licenseledgerdetails(resource_name: str,
opts: Optional[ResourceOptions] = None,
escrow_infos: Optional[Sequence[LicenseledgerdetailsEscrowInfoArgs]] = None,
licenseledgerdetails_id: Optional[str] = None,
se_infos: Optional[Sequence[LicenseledgerdetailsSeInfoArgs]] = None,
tier_usages: Optional[Sequence[LicenseledgerdetailsTierUsageArgs]] = None,
uuid: Optional[str] = None)
func NewLicenseledgerdetails(ctx *Context, name string, args *LicenseledgerdetailsArgs, opts ...ResourceOption) (*Licenseledgerdetails, error)
public Licenseledgerdetails(string name, LicenseledgerdetailsArgs? args = null, CustomResourceOptions? opts = null)
public Licenseledgerdetails(String name, LicenseledgerdetailsArgs args)
public Licenseledgerdetails(String name, LicenseledgerdetailsArgs args, CustomResourceOptions options)
type: avi:Licenseledgerdetails
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 LicenseledgerdetailsArgs
- 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 LicenseledgerdetailsArgs
- 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 LicenseledgerdetailsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LicenseledgerdetailsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LicenseledgerdetailsArgs
- 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 licenseledgerdetailsResource = new Avi.Licenseledgerdetails("licenseledgerdetailsResource", new()
{
EscrowInfos = new[]
{
new Avi.Inputs.LicenseledgerdetailsEscrowInfoArgs
{
LastUpdated = "string",
ServiceCores = "string",
Tier = "string",
TenantUuid = "string",
Uuid = "string",
},
},
LicenseledgerdetailsId = "string",
SeInfos = new[]
{
new Avi.Inputs.LicenseledgerdetailsSeInfoArgs
{
LastUpdated = "string",
ServiceCores = "string",
Tier = "string",
TenantUuid = "string",
Uuid = "string",
},
},
TierUsages = new[]
{
new Avi.Inputs.LicenseledgerdetailsTierUsageArgs
{
Tier = "string",
Usages = new[]
{
new Avi.Inputs.LicenseledgerdetailsTierUsageUsageArgs
{
Available = "string",
Consumed = "string",
Escrow = "string",
Remaining = "string",
},
},
},
},
Uuid = "string",
});
example, err := avi.NewLicenseledgerdetails(ctx, "licenseledgerdetailsResource", &avi.LicenseledgerdetailsArgs{
EscrowInfos: avi.LicenseledgerdetailsEscrowInfoArray{
&avi.LicenseledgerdetailsEscrowInfoArgs{
LastUpdated: pulumi.String("string"),
ServiceCores: pulumi.String("string"),
Tier: pulumi.String("string"),
TenantUuid: pulumi.String("string"),
Uuid: pulumi.String("string"),
},
},
LicenseledgerdetailsId: pulumi.String("string"),
SeInfos: avi.LicenseledgerdetailsSeInfoArray{
&avi.LicenseledgerdetailsSeInfoArgs{
LastUpdated: pulumi.String("string"),
ServiceCores: pulumi.String("string"),
Tier: pulumi.String("string"),
TenantUuid: pulumi.String("string"),
Uuid: pulumi.String("string"),
},
},
TierUsages: avi.LicenseledgerdetailsTierUsageArray{
&avi.LicenseledgerdetailsTierUsageArgs{
Tier: pulumi.String("string"),
Usages: avi.LicenseledgerdetailsTierUsageUsageArray{
&avi.LicenseledgerdetailsTierUsageUsageArgs{
Available: pulumi.String("string"),
Consumed: pulumi.String("string"),
Escrow: pulumi.String("string"),
Remaining: pulumi.String("string"),
},
},
},
},
Uuid: pulumi.String("string"),
})
var licenseledgerdetailsResource = new Licenseledgerdetails("licenseledgerdetailsResource", LicenseledgerdetailsArgs.builder()
.escrowInfos(LicenseledgerdetailsEscrowInfoArgs.builder()
.lastUpdated("string")
.serviceCores("string")
.tier("string")
.tenantUuid("string")
.uuid("string")
.build())
.licenseledgerdetailsId("string")
.seInfos(LicenseledgerdetailsSeInfoArgs.builder()
.lastUpdated("string")
.serviceCores("string")
.tier("string")
.tenantUuid("string")
.uuid("string")
.build())
.tierUsages(LicenseledgerdetailsTierUsageArgs.builder()
.tier("string")
.usages(LicenseledgerdetailsTierUsageUsageArgs.builder()
.available("string")
.consumed("string")
.escrow("string")
.remaining("string")
.build())
.build())
.uuid("string")
.build());
licenseledgerdetails_resource = avi.Licenseledgerdetails("licenseledgerdetailsResource",
escrow_infos=[{
"last_updated": "string",
"service_cores": "string",
"tier": "string",
"tenant_uuid": "string",
"uuid": "string",
}],
licenseledgerdetails_id="string",
se_infos=[{
"last_updated": "string",
"service_cores": "string",
"tier": "string",
"tenant_uuid": "string",
"uuid": "string",
}],
tier_usages=[{
"tier": "string",
"usages": [{
"available": "string",
"consumed": "string",
"escrow": "string",
"remaining": "string",
}],
}],
uuid="string")
const licenseledgerdetailsResource = new avi.Licenseledgerdetails("licenseledgerdetailsResource", {
escrowInfos: [{
lastUpdated: "string",
serviceCores: "string",
tier: "string",
tenantUuid: "string",
uuid: "string",
}],
licenseledgerdetailsId: "string",
seInfos: [{
lastUpdated: "string",
serviceCores: "string",
tier: "string",
tenantUuid: "string",
uuid: "string",
}],
tierUsages: [{
tier: "string",
usages: [{
available: "string",
consumed: "string",
escrow: "string",
remaining: "string",
}],
}],
uuid: "string",
});
type: avi:Licenseledgerdetails
properties:
escrowInfos:
- lastUpdated: string
serviceCores: string
tenantUuid: string
tier: string
uuid: string
licenseledgerdetailsId: string
seInfos:
- lastUpdated: string
serviceCores: string
tenantUuid: string
tier: string
uuid: string
tierUsages:
- tier: string
usages:
- available: string
consumed: string
escrow: string
remaining: string
uuid: string
Licenseledgerdetails 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 Licenseledgerdetails resource accepts the following input properties:
- Escrow
Infos List<LicenseledgerdetailsEscrow Info> - Maintain information about reservation against cookie. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Licenseledgerdetails
Id string - Se
Infos List<LicenseledgerdetailsSe Info> - Maintain information about consumed licenses against se_uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Tier
Usages List<LicenseledgerdetailsTier Usage> - License usage per tier. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Escrow
Infos []LicenseledgerdetailsEscrow Info Args - Maintain information about reservation against cookie. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Licenseledgerdetails
Id string - Se
Infos []LicenseledgerdetailsSe Info Args - Maintain information about consumed licenses against se_uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Tier
Usages []LicenseledgerdetailsTier Usage Args - License usage per tier. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- escrow
Infos List<LicenseledgerdetailsEscrow Info> - Maintain information about reservation against cookie. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- licenseledgerdetails
Id String - se
Infos List<LicenseledgerdetailsSe Info> - Maintain information about consumed licenses against se_uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tier
Usages List<LicenseledgerdetailsTier Usage> - License usage per tier. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- escrow
Infos LicenseledgerdetailsEscrow Info[] - Maintain information about reservation against cookie. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- licenseledgerdetails
Id string - se
Infos LicenseledgerdetailsSe Info[] - Maintain information about consumed licenses against se_uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tier
Usages LicenseledgerdetailsTier Usage[] - License usage per tier. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid string
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- escrow_
infos Sequence[LicenseledgerdetailsEscrow Info Args] - Maintain information about reservation against cookie. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- licenseledgerdetails_
id str - se_
infos Sequence[LicenseledgerdetailsSe Info Args] - Maintain information about consumed licenses against se_uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tier_
usages Sequence[LicenseledgerdetailsTier Usage Args] - License usage per tier. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid str
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- escrow
Infos List<Property Map> - Maintain information about reservation against cookie. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- licenseledgerdetails
Id String - se
Infos List<Property Map> - Maintain information about consumed licenses against se_uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tier
Usages List<Property Map> - License usage per tier. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Outputs
All input properties are implicitly available as output properties. Additionally, the Licenseledgerdetails 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 Licenseledgerdetails Resource
Get an existing Licenseledgerdetails 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?: LicenseledgerdetailsState, opts?: CustomResourceOptions): Licenseledgerdetails
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
escrow_infos: Optional[Sequence[LicenseledgerdetailsEscrowInfoArgs]] = None,
licenseledgerdetails_id: Optional[str] = None,
se_infos: Optional[Sequence[LicenseledgerdetailsSeInfoArgs]] = None,
tier_usages: Optional[Sequence[LicenseledgerdetailsTierUsageArgs]] = None,
uuid: Optional[str] = None) -> Licenseledgerdetails
func GetLicenseledgerdetails(ctx *Context, name string, id IDInput, state *LicenseledgerdetailsState, opts ...ResourceOption) (*Licenseledgerdetails, error)
public static Licenseledgerdetails Get(string name, Input<string> id, LicenseledgerdetailsState? state, CustomResourceOptions? opts = null)
public static Licenseledgerdetails get(String name, Output<String> id, LicenseledgerdetailsState state, CustomResourceOptions options)
resources: _: type: avi:Licenseledgerdetails 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.
- Escrow
Infos List<LicenseledgerdetailsEscrow Info> - Maintain information about reservation against cookie. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Licenseledgerdetails
Id string - Se
Infos List<LicenseledgerdetailsSe Info> - Maintain information about consumed licenses against se_uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Tier
Usages List<LicenseledgerdetailsTier Usage> - License usage per tier. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Escrow
Infos []LicenseledgerdetailsEscrow Info Args - Maintain information about reservation against cookie. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Licenseledgerdetails
Id string - Se
Infos []LicenseledgerdetailsSe Info Args - Maintain information about consumed licenses against se_uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Tier
Usages []LicenseledgerdetailsTier Usage Args - License usage per tier. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- escrow
Infos List<LicenseledgerdetailsEscrow Info> - Maintain information about reservation against cookie. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- licenseledgerdetails
Id String - se
Infos List<LicenseledgerdetailsSe Info> - Maintain information about consumed licenses against se_uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tier
Usages List<LicenseledgerdetailsTier Usage> - License usage per tier. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- escrow
Infos LicenseledgerdetailsEscrow Info[] - Maintain information about reservation against cookie. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- licenseledgerdetails
Id string - se
Infos LicenseledgerdetailsSe Info[] - Maintain information about consumed licenses against se_uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tier
Usages LicenseledgerdetailsTier Usage[] - License usage per tier. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid string
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- escrow_
infos Sequence[LicenseledgerdetailsEscrow Info Args] - Maintain information about reservation against cookie. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- licenseledgerdetails_
id str - se_
infos Sequence[LicenseledgerdetailsSe Info Args] - Maintain information about consumed licenses against se_uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tier_
usages Sequence[LicenseledgerdetailsTier Usage Args] - License usage per tier. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid str
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- escrow
Infos List<Property Map> - Maintain information about reservation against cookie. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- licenseledgerdetails
Id String - se
Infos List<Property Map> - Maintain information about consumed licenses against se_uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tier
Usages List<Property Map> - License usage per tier. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Supporting Types
LicenseledgerdetailsEscrowInfo, LicenseledgerdetailsEscrowInfoArgs
- Last
Updated string - Service
Cores string - Tier string
- Tenant
Uuid string - Uuid string
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Last
Updated string - Service
Cores string - Tier string
- Tenant
Uuid string - Uuid string
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- last
Updated String - service
Cores String - tier String
- tenant
Uuid String - uuid String
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- last
Updated string - service
Cores string - tier string
- tenant
Uuid string - uuid string
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- last_
updated str - service_
cores str - tier str
- tenant_
uuid str - uuid str
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- last
Updated String - service
Cores String - tier String
- tenant
Uuid String - uuid String
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
LicenseledgerdetailsSeInfo, LicenseledgerdetailsSeInfoArgs
- Last
Updated string - Service
Cores string - Tier string
- Tenant
Uuid string - Uuid string
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Last
Updated string - Service
Cores string - Tier string
- Tenant
Uuid string - Uuid string
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- last
Updated String - service
Cores String - tier String
- tenant
Uuid String - uuid String
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- last
Updated string - service
Cores string - tier string
- tenant
Uuid string - uuid string
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- last_
updated str - service_
cores str - tier str
- tenant_
uuid str - uuid str
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- last
Updated String - service
Cores String - tier String
- tenant
Uuid String - uuid String
- Uuid for reference. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
LicenseledgerdetailsTierUsage, LicenseledgerdetailsTierUsageArgs
- tier String
- usages List<Property Map>
LicenseledgerdetailsTierUsageUsage, LicenseledgerdetailsTierUsageUsageArgs
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
avi
Terraform Provider.