avi.Licensestatus
Explore with Pulumi AI
<!–
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:
- Configpb
Attributes List<LicensestatusConfigpb Attribute> - 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 string - Saas
Statuses List<LicensestatusSaas Status> - Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Service
Updates List<LicensestatusService Update> - Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenant
Uuid 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 []LicensestatusConfigpb Attribute Args - 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 string - Saas
Statuses []LicensestatusSaas Status Args - Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Service
Updates []LicensestatusService Update Args - Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenant
Uuid 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 List<LicensestatusConfigpb Attribute> - 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 String - saas
Statuses List<LicensestatusSaas Status> - Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- service
Updates List<LicensestatusService Update> - Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Uuid 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 LicensestatusConfigpb Attribute[] - 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 string - saas
Statuses LicensestatusSaas Status[] - Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- service
Updates LicensestatusService Update[] - Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Uuid 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[LicensestatusConfigpb Attribute Args] - 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[LicensestatusSaas Status Args] - Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- service_
updates Sequence[LicensestatusService Update Args] - 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.
- configpb
Attributes 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.
- licensestatus
Id String - saas
Statuses List<Property Map> - Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- service
Updates List<Property Map> - Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Uuid 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.
- Configpb
Attributes List<LicensestatusConfigpb Attribute> - 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 string - Saas
Statuses List<LicensestatusSaas Status> - Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Service
Updates List<LicensestatusService Update> - Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenant
Uuid 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 []LicensestatusConfigpb Attribute Args - 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 string - Saas
Statuses []LicensestatusSaas Status Args - Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Service
Updates []LicensestatusService Update Args - Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenant
Uuid 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 List<LicensestatusConfigpb Attribute> - 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 String - saas
Statuses List<LicensestatusSaas Status> - Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- service
Updates List<LicensestatusService Update> - Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Uuid 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 LicensestatusConfigpb Attribute[] - 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 string - saas
Statuses LicensestatusSaas Status[] - Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- service
Updates LicensestatusService Update[] - Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Uuid 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[LicensestatusConfigpb Attribute Args] - 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[LicensestatusSaas Status Args] - Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- service_
updates Sequence[LicensestatusService Update Args] - 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.
- configpb
Attributes 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.
- licensestatus
Id String - saas
Statuses List<Property Map> - Saas licensing status. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- service
Updates List<Property Map> - Pulse license service update. Field introduced in 21.1.4. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Uuid 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 str
- version String
LicensestatusSaasStatus, LicensestatusSaasStatusArgs
- Connected string
- Enabled string
- Expired string
- Last
Refreshed stringAt - Message string
- Name string
- Public
Key string - Refresh
Status string - Refreshed
At string - Reserve
Service stringUnits - State string
- Connected string
- Enabled string
- Expired string
- Last
Refreshed stringAt - Message string
- Name string
- Public
Key string - Refresh
Status string - Refreshed
At string - Reserve
Service stringUnits - State string
- connected String
- enabled String
- expired String
- last
Refreshed StringAt - message String
- name String
- public
Key String - refresh
Status String - refreshed
At String - reserve
Service StringUnits - state String
- connected string
- enabled string
- expired string
- last
Refreshed stringAt - message string
- name string
- public
Key string - refresh
Status string - refreshed
At string - reserve
Service stringUnits - state string
- connected str
- enabled str
- expired str
- last_
refreshed_ strat - message str
- name str
- public_
key str - refresh_
status str - refreshed_
at str - reserve_
service_ strunits - state str
- connected String
- enabled String
- expired String
- last
Refreshed StringAt - message String
- name String
- public
Key String - refresh
Status String - refreshed
At String - reserve
Service StringUnits - state String
LicensestatusServiceUpdate, LicensestatusServiceUpdateArgs
LicensestatusServiceUpdateServiceUnit, LicensestatusServiceUpdateServiceUnitArgs
- Available
Service stringUnits - Org
Id string - Used
Service stringUnits
- Available
Service stringUnits - Org
Id string - Used
Service stringUnits
- available
Service StringUnits - org
Id String - used
Service StringUnits
- available
Service stringUnits - org
Id string - used
Service stringUnits
- available_
service_ strunits - org_
id str - used_
service_ strunits
- available
Service StringUnits - org
Id String - used
Service StringUnits
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
avi
Terraform Provider.