<!–
Copyright 2021 VMware, Inc.
SPDX-License-Identifier: Mozilla Public License 2.0
–>
layout: “avi”
page_title: “Avi:<span pulumi-lang-nodejs=” avi.Reportprofile"" pulumi-lang-dotnet=" avi.Reportprofile"" pulumi-lang-go=" Reportprofile"" pulumi-lang-python=" Reportprofile"" pulumi-lang-yaml=" avi.Reportprofile"" pulumi-lang-java=" avi.Reportprofile""> avi.Reportprofile" sidebar_current: “docs-avi-resource-reportprofile” description: |- Creates and manages Avi ReportProfile.
# avi.Reportprofile The ReportProfile resource allows the creation and management of Avi ReportProfile
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
foo:
type: avi:Reportprofile
properties:
name: terraform-example-foo
tenantRef: /api/tenant/?name=admin
Create Reportprofile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Reportprofile(name: string, args?: ReportprofileArgs, opts?: CustomResourceOptions);@overload
def Reportprofile(resource_name: str,
args: Optional[ReportprofileArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Reportprofile(resource_name: str,
opts: Optional[ResourceOptions] = None,
collection_rules: Optional[Sequence[ReportprofileCollectionRuleArgs]] = None,
max_concurrent_reports: Optional[str] = None,
reportprofile_id: Optional[str] = None,
uuid: Optional[str] = None)func NewReportprofile(ctx *Context, name string, args *ReportprofileArgs, opts ...ResourceOption) (*Reportprofile, error)public Reportprofile(string name, ReportprofileArgs? args = null, CustomResourceOptions? opts = null)
public Reportprofile(String name, ReportprofileArgs args)
public Reportprofile(String name, ReportprofileArgs args, CustomResourceOptions options)
type: avi:Reportprofile
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 ReportprofileArgs
- 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 ReportprofileArgs
- 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 ReportprofileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReportprofileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReportprofileArgs
- 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 reportprofileResource = new Avi.Reportprofile("reportprofileResource", new()
{
CollectionRules = new[]
{
new Avi.Inputs.ReportprofileCollectionRuleArgs
{
EnforcedReportPeriod = "string",
EnforcedReportSamples = "string",
MaxConcurrentWorkers = "string",
MinFreeDiskRequired = "string",
Timeout = "string",
},
},
MaxConcurrentReports = "string",
ReportprofileId = "string",
Uuid = "string",
});
example, err := avi.NewReportprofile(ctx, "reportprofileResource", &avi.ReportprofileArgs{
CollectionRules: avi.ReportprofileCollectionRuleArray{
&avi.ReportprofileCollectionRuleArgs{
EnforcedReportPeriod: pulumi.String("string"),
EnforcedReportSamples: pulumi.String("string"),
MaxConcurrentWorkers: pulumi.String("string"),
MinFreeDiskRequired: pulumi.String("string"),
Timeout: pulumi.String("string"),
},
},
MaxConcurrentReports: pulumi.String("string"),
ReportprofileId: pulumi.String("string"),
Uuid: pulumi.String("string"),
})
var reportprofileResource = new Reportprofile("reportprofileResource", ReportprofileArgs.builder()
.collectionRules(ReportprofileCollectionRuleArgs.builder()
.enforcedReportPeriod("string")
.enforcedReportSamples("string")
.maxConcurrentWorkers("string")
.minFreeDiskRequired("string")
.timeout("string")
.build())
.maxConcurrentReports("string")
.reportprofileId("string")
.uuid("string")
.build());
reportprofile_resource = avi.Reportprofile("reportprofileResource",
collection_rules=[{
"enforced_report_period": "string",
"enforced_report_samples": "string",
"max_concurrent_workers": "string",
"min_free_disk_required": "string",
"timeout": "string",
}],
max_concurrent_reports="string",
reportprofile_id="string",
uuid="string")
const reportprofileResource = new avi.Reportprofile("reportprofileResource", {
collectionRules: [{
enforcedReportPeriod: "string",
enforcedReportSamples: "string",
maxConcurrentWorkers: "string",
minFreeDiskRequired: "string",
timeout: "string",
}],
maxConcurrentReports: "string",
reportprofileId: "string",
uuid: "string",
});
type: avi:Reportprofile
properties:
collectionRules:
- enforcedReportPeriod: string
enforcedReportSamples: string
maxConcurrentWorkers: string
minFreeDiskRequired: string
timeout: string
maxConcurrentReports: string
reportprofileId: string
uuid: string
Reportprofile 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 Reportprofile resource accepts the following input properties:
- Collection
Rules List<ReportprofileCollection Rule> - Collection rules for the report. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Max
Concurrent stringReports - Maximum number of concurrent reports allowed to be generated. Allowed values are 1-10. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Reportprofile
Id string - Uuid string
- Uuid identifier for the reportprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Collection
Rules []ReportprofileCollection Rule Args - Collection rules for the report. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Max
Concurrent stringReports - Maximum number of concurrent reports allowed to be generated. Allowed values are 1-10. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Reportprofile
Id string - Uuid string
- Uuid identifier for the reportprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- collection
Rules List<ReportprofileCollection Rule> - Collection rules for the report. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- max
Concurrent StringReports - Maximum number of concurrent reports allowed to be generated. Allowed values are 1-10. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- reportprofile
Id String - uuid String
- Uuid identifier for the reportprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- collection
Rules ReportprofileCollection Rule[] - Collection rules for the report. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- max
Concurrent stringReports - Maximum number of concurrent reports allowed to be generated. Allowed values are 1-10. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- reportprofile
Id string - uuid string
- Uuid identifier for the reportprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- collection_
rules Sequence[ReportprofileCollection Rule Args] - Collection rules for the report. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- max_
concurrent_ strreports - Maximum number of concurrent reports allowed to be generated. Allowed values are 1-10. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- reportprofile_
id str - uuid str
- Uuid identifier for the reportprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- collection
Rules List<Property Map> - Collection rules for the report. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- max
Concurrent StringReports - Maximum number of concurrent reports allowed to be generated. Allowed values are 1-10. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- reportprofile
Id String - uuid String
- Uuid identifier for the reportprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
Outputs
All input properties are implicitly available as output properties. Additionally, the Reportprofile 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 Reportprofile Resource
Get an existing Reportprofile 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?: ReportprofileState, opts?: CustomResourceOptions): Reportprofile@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
collection_rules: Optional[Sequence[ReportprofileCollectionRuleArgs]] = None,
max_concurrent_reports: Optional[str] = None,
reportprofile_id: Optional[str] = None,
uuid: Optional[str] = None) -> Reportprofilefunc GetReportprofile(ctx *Context, name string, id IDInput, state *ReportprofileState, opts ...ResourceOption) (*Reportprofile, error)public static Reportprofile Get(string name, Input<string> id, ReportprofileState? state, CustomResourceOptions? opts = null)public static Reportprofile get(String name, Output<String> id, ReportprofileState state, CustomResourceOptions options)resources: _: type: avi:Reportprofile 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.
- Collection
Rules List<ReportprofileCollection Rule> - Collection rules for the report. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Max
Concurrent stringReports - Maximum number of concurrent reports allowed to be generated. Allowed values are 1-10. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Reportprofile
Id string - Uuid string
- Uuid identifier for the reportprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Collection
Rules []ReportprofileCollection Rule Args - Collection rules for the report. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Max
Concurrent stringReports - Maximum number of concurrent reports allowed to be generated. Allowed values are 1-10. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Reportprofile
Id string - Uuid string
- Uuid identifier for the reportprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- collection
Rules List<ReportprofileCollection Rule> - Collection rules for the report. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- max
Concurrent StringReports - Maximum number of concurrent reports allowed to be generated. Allowed values are 1-10. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- reportprofile
Id String - uuid String
- Uuid identifier for the reportprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- collection
Rules ReportprofileCollection Rule[] - Collection rules for the report. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- max
Concurrent stringReports - Maximum number of concurrent reports allowed to be generated. Allowed values are 1-10. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- reportprofile
Id string - uuid string
- Uuid identifier for the reportprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- collection_
rules Sequence[ReportprofileCollection Rule Args] - Collection rules for the report. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- max_
concurrent_ strreports - Maximum number of concurrent reports allowed to be generated. Allowed values are 1-10. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- reportprofile_
id str - uuid str
- Uuid identifier for the reportprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- collection
Rules List<Property Map> - Collection rules for the report. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- max
Concurrent StringReports - Maximum number of concurrent reports allowed to be generated. Allowed values are 1-10. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- reportprofile
Id String - uuid String
- Uuid identifier for the reportprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
Supporting Types
ReportprofileCollectionRule, ReportprofileCollectionRuleArgs
- Enforced
Report stringPeriod - Enforced
Report stringSamples - Max
Concurrent stringWorkers - Min
Free stringDisk Required - Timeout string
- Enforced
Report stringPeriod - Enforced
Report stringSamples - Max
Concurrent stringWorkers - Min
Free stringDisk Required - Timeout string
- enforced
Report StringPeriod - enforced
Report StringSamples - max
Concurrent StringWorkers - min
Free StringDisk Required - timeout String
- enforced
Report stringPeriod - enforced
Report stringSamples - max
Concurrent stringWorkers - min
Free stringDisk Required - timeout string
- enforced
Report StringPeriod - enforced
Report StringSamples - max
Concurrent StringWorkers - min
Free StringDisk Required - timeout String
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
aviTerraform Provider.
