<!–
Copyright 2021 VMware, Inc.
SPDX-License-Identifier: Mozilla Public License 2.0
–>
layout: “avi”
page_title: “AVI:<span pulumi-lang-nodejs=” avi.Techsupportprofile"" pulumi-lang-dotnet=" avi.Techsupportprofile"" pulumi-lang-go=" Techsupportprofile"" pulumi-lang-python=" Techsupportprofile"" pulumi-lang-yaml=" avi.Techsupportprofile"" pulumi-lang-java=" avi.Techsupportprofile""> avi.Techsupportprofile" sidebar_current: “docs-avi-datasource-techsupportprofile” description: |- Get information of Avi TechSupportProfile.
# avi.Techsupportprofile This data source is used to to get avi.Techsupportprofile objects.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
variables:
fooTechsupportprofile:
fn::invoke:
function: avi:getTechsupportprofile
arguments:
uuid: techsupportprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b
name: foo
Using getTechsupportprofile
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTechsupportprofile(args: GetTechsupportprofileArgs, opts?: InvokeOptions): Promise<GetTechsupportprofileResult>
function getTechsupportprofileOutput(args: GetTechsupportprofileOutputArgs, opts?: InvokeOptions): Output<GetTechsupportprofileResult>def get_techsupportprofile(id: Optional[str] = None,
uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTechsupportprofileResult
def get_techsupportprofile_output(id: Optional[pulumi.Input[str]] = None,
uuid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTechsupportprofileResult]func LookupTechsupportprofile(ctx *Context, args *LookupTechsupportprofileArgs, opts ...InvokeOption) (*LookupTechsupportprofileResult, error)
func LookupTechsupportprofileOutput(ctx *Context, args *LookupTechsupportprofileOutputArgs, opts ...InvokeOption) LookupTechsupportprofileResultOutput> Note: This function is named LookupTechsupportprofile in the Go SDK.
public static class GetTechsupportprofile
{
public static Task<GetTechsupportprofileResult> InvokeAsync(GetTechsupportprofileArgs args, InvokeOptions? opts = null)
public static Output<GetTechsupportprofileResult> Invoke(GetTechsupportprofileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTechsupportprofileResult> getTechsupportprofile(GetTechsupportprofileArgs args, InvokeOptions options)
public static Output<GetTechsupportprofileResult> getTechsupportprofile(GetTechsupportprofileArgs args, InvokeOptions options)
fn::invoke:
function: avi:index/getTechsupportprofile:getTechsupportprofile
arguments:
# arguments dictionaryThe following arguments are supported:
getTechsupportprofile Result
The following output properties are available:
- Archive
Rules List<GetTechsupportprofile Archive Rule> - Define the policy for techsupport archive rules. These rules allow you to specify files that should be collected in the techsupport bundle, even if they exceed the default file size threshold. E.g. To ensure a 450mb file, such as /var/sample.log, is collected with every invocation, configure and add its path to the techsupportprofile. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Event
Params List<GetTechsupportprofile Event Param> - Specify this params to set threshold for event files. User provided parameters will take precedence over the profile parameters. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- File
Size stringThreshold - Max file size threshold to archive in techsupport collection. Files above this threshold will not be collected and an warning will be flagged. Allowed values are 128-512. Field introduced in 31.2.1. Unit is mb. Allowed with any value in enterprise, enterprise with cloud services edition.
- Id string
- Max
Disk stringSize Percent - Max disk size in percent of total disk size reserved for the techsupport. The value is in percentage to make it agnostic of controller flavors. E.g. Small [disk=5 gb, ts space available = 500mb] large [ disk= 100gb, ts space available= 10gb] xl [disk=1tb, ts space available=100gb]. Allowed values are 10-25. Field introduced in 31.2.1. Unit is percent. Allowed with any value in enterprise, enterprise with cloud services edition.
- Min
Free stringDisk Required - Min free disk required for the techsupport invocation. The value is in percentage to make it agnostic of controller flavors. E.g. Small [disk=5 gb, ts space available = 250mb] large [ disk= 100gb, ts space available= 5gb] xl [disk=1tb, ts space available=50gb]. Allowed values are 5-10. Field introduced in 31.2.1. Unit is percent. Allowed with any value in enterprise, enterprise with cloud services edition.
- No
Of stringTechsupport Retentions - Number of techsupport to retain from techsupport cleanup policy. Allowed values are 1-5. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Simultaneous
Invocations string - Number of simultaneous techsupport invocation allowed. Allowed values are 1-2. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Task
Timeout string - Generic timeout for techsupport task collection. This can be used for task, script executions etc. Tweak the timeout value in cases of timeout observation in the logs. Field introduced in 31.2.1. Unit is sec. Allowed with any value in enterprise, enterprise with cloud services edition.
- Uuid string
- Uuid identifier for the techsupport profile. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Archive
Rules []GetTechsupportprofile Archive Rule - Define the policy for techsupport archive rules. These rules allow you to specify files that should be collected in the techsupport bundle, even if they exceed the default file size threshold. E.g. To ensure a 450mb file, such as /var/sample.log, is collected with every invocation, configure and add its path to the techsupportprofile. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Event
Params []GetTechsupportprofile Event Param - Specify this params to set threshold for event files. User provided parameters will take precedence over the profile parameters. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- File
Size stringThreshold - Max file size threshold to archive in techsupport collection. Files above this threshold will not be collected and an warning will be flagged. Allowed values are 128-512. Field introduced in 31.2.1. Unit is mb. Allowed with any value in enterprise, enterprise with cloud services edition.
- Id string
- Max
Disk stringSize Percent - Max disk size in percent of total disk size reserved for the techsupport. The value is in percentage to make it agnostic of controller flavors. E.g. Small [disk=5 gb, ts space available = 500mb] large [ disk= 100gb, ts space available= 10gb] xl [disk=1tb, ts space available=100gb]. Allowed values are 10-25. Field introduced in 31.2.1. Unit is percent. Allowed with any value in enterprise, enterprise with cloud services edition.
- Min
Free stringDisk Required - Min free disk required for the techsupport invocation. The value is in percentage to make it agnostic of controller flavors. E.g. Small [disk=5 gb, ts space available = 250mb] large [ disk= 100gb, ts space available= 5gb] xl [disk=1tb, ts space available=50gb]. Allowed values are 5-10. Field introduced in 31.2.1. Unit is percent. Allowed with any value in enterprise, enterprise with cloud services edition.
- No
Of stringTechsupport Retentions - Number of techsupport to retain from techsupport cleanup policy. Allowed values are 1-5. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Simultaneous
Invocations string - Number of simultaneous techsupport invocation allowed. Allowed values are 1-2. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Task
Timeout string - Generic timeout for techsupport task collection. This can be used for task, script executions etc. Tweak the timeout value in cases of timeout observation in the logs. Field introduced in 31.2.1. Unit is sec. Allowed with any value in enterprise, enterprise with cloud services edition.
- Uuid string
- Uuid identifier for the techsupport profile. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- archive
Rules List<GetTechsupportprofile Archive Rule> - Define the policy for techsupport archive rules. These rules allow you to specify files that should be collected in the techsupport bundle, even if they exceed the default file size threshold. E.g. To ensure a 450mb file, such as /var/sample.log, is collected with every invocation, configure and add its path to the techsupportprofile. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- event
Params List<GetTechsupportprofile Event Param> - Specify this params to set threshold for event files. User provided parameters will take precedence over the profile parameters. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- file
Size StringThreshold - Max file size threshold to archive in techsupport collection. Files above this threshold will not be collected and an warning will be flagged. Allowed values are 128-512. Field introduced in 31.2.1. Unit is mb. Allowed with any value in enterprise, enterprise with cloud services edition.
- id String
- max
Disk StringSize Percent - Max disk size in percent of total disk size reserved for the techsupport. The value is in percentage to make it agnostic of controller flavors. E.g. Small [disk=5 gb, ts space available = 500mb] large [ disk= 100gb, ts space available= 10gb] xl [disk=1tb, ts space available=100gb]. Allowed values are 10-25. Field introduced in 31.2.1. Unit is percent. Allowed with any value in enterprise, enterprise with cloud services edition.
- min
Free StringDisk Required - Min free disk required for the techsupport invocation. The value is in percentage to make it agnostic of controller flavors. E.g. Small [disk=5 gb, ts space available = 250mb] large [ disk= 100gb, ts space available= 5gb] xl [disk=1tb, ts space available=50gb]. Allowed values are 5-10. Field introduced in 31.2.1. Unit is percent. Allowed with any value in enterprise, enterprise with cloud services edition.
- no
Of StringTechsupport Retentions - Number of techsupport to retain from techsupport cleanup policy. Allowed values are 1-5. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- simultaneous
Invocations String - Number of simultaneous techsupport invocation allowed. Allowed values are 1-2. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- task
Timeout String - Generic timeout for techsupport task collection. This can be used for task, script executions etc. Tweak the timeout value in cases of timeout observation in the logs. Field introduced in 31.2.1. Unit is sec. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid String
- Uuid identifier for the techsupport profile. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- archive
Rules GetTechsupportprofile Archive Rule[] - Define the policy for techsupport archive rules. These rules allow you to specify files that should be collected in the techsupport bundle, even if they exceed the default file size threshold. E.g. To ensure a 450mb file, such as /var/sample.log, is collected with every invocation, configure and add its path to the techsupportprofile. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- event
Params GetTechsupportprofile Event Param[] - Specify this params to set threshold for event files. User provided parameters will take precedence over the profile parameters. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- file
Size stringThreshold - Max file size threshold to archive in techsupport collection. Files above this threshold will not be collected and an warning will be flagged. Allowed values are 128-512. Field introduced in 31.2.1. Unit is mb. Allowed with any value in enterprise, enterprise with cloud services edition.
- id string
- max
Disk stringSize Percent - Max disk size in percent of total disk size reserved for the techsupport. The value is in percentage to make it agnostic of controller flavors. E.g. Small [disk=5 gb, ts space available = 500mb] large [ disk= 100gb, ts space available= 10gb] xl [disk=1tb, ts space available=100gb]. Allowed values are 10-25. Field introduced in 31.2.1. Unit is percent. Allowed with any value in enterprise, enterprise with cloud services edition.
- min
Free stringDisk Required - Min free disk required for the techsupport invocation. The value is in percentage to make it agnostic of controller flavors. E.g. Small [disk=5 gb, ts space available = 250mb] large [ disk= 100gb, ts space available= 5gb] xl [disk=1tb, ts space available=50gb]. Allowed values are 5-10. Field introduced in 31.2.1. Unit is percent. Allowed with any value in enterprise, enterprise with cloud services edition.
- no
Of stringTechsupport Retentions - Number of techsupport to retain from techsupport cleanup policy. Allowed values are 1-5. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- simultaneous
Invocations string - Number of simultaneous techsupport invocation allowed. Allowed values are 1-2. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- task
Timeout string - Generic timeout for techsupport task collection. This can be used for task, script executions etc. Tweak the timeout value in cases of timeout observation in the logs. Field introduced in 31.2.1. Unit is sec. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid string
- Uuid identifier for the techsupport profile. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- archive_
rules Sequence[GetTechsupportprofile Archive Rule] - Define the policy for techsupport archive rules. These rules allow you to specify files that should be collected in the techsupport bundle, even if they exceed the default file size threshold. E.g. To ensure a 450mb file, such as /var/sample.log, is collected with every invocation, configure and add its path to the techsupportprofile. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- event_
params Sequence[GetTechsupportprofile Event Param] - Specify this params to set threshold for event files. User provided parameters will take precedence over the profile parameters. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- file_
size_ strthreshold - Max file size threshold to archive in techsupport collection. Files above this threshold will not be collected and an warning will be flagged. Allowed values are 128-512. Field introduced in 31.2.1. Unit is mb. Allowed with any value in enterprise, enterprise with cloud services edition.
- id str
- max_
disk_ strsize_ percent - Max disk size in percent of total disk size reserved for the techsupport. The value is in percentage to make it agnostic of controller flavors. E.g. Small [disk=5 gb, ts space available = 500mb] large [ disk= 100gb, ts space available= 10gb] xl [disk=1tb, ts space available=100gb]. Allowed values are 10-25. Field introduced in 31.2.1. Unit is percent. Allowed with any value in enterprise, enterprise with cloud services edition.
- min_
free_ strdisk_ required - Min free disk required for the techsupport invocation. The value is in percentage to make it agnostic of controller flavors. E.g. Small [disk=5 gb, ts space available = 250mb] large [ disk= 100gb, ts space available= 5gb] xl [disk=1tb, ts space available=50gb]. Allowed values are 5-10. Field introduced in 31.2.1. Unit is percent. Allowed with any value in enterprise, enterprise with cloud services edition.
- no_
of_ strtechsupport_ retentions - Number of techsupport to retain from techsupport cleanup policy. Allowed values are 1-5. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- simultaneous_
invocations str - Number of simultaneous techsupport invocation allowed. Allowed values are 1-2. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- task_
timeout str - Generic timeout for techsupport task collection. This can be used for task, script executions etc. Tweak the timeout value in cases of timeout observation in the logs. Field introduced in 31.2.1. Unit is sec. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid str
- Uuid identifier for the techsupport profile. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- archive
Rules List<Property Map> - Define the policy for techsupport archive rules. These rules allow you to specify files that should be collected in the techsupport bundle, even if they exceed the default file size threshold. E.g. To ensure a 450mb file, such as /var/sample.log, is collected with every invocation, configure and add its path to the techsupportprofile. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- event
Params List<Property Map> - Specify this params to set threshold for event files. User provided parameters will take precedence over the profile parameters. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- file
Size StringThreshold - Max file size threshold to archive in techsupport collection. Files above this threshold will not be collected and an warning will be flagged. Allowed values are 128-512. Field introduced in 31.2.1. Unit is mb. Allowed with any value in enterprise, enterprise with cloud services edition.
- id String
- max
Disk StringSize Percent - Max disk size in percent of total disk size reserved for the techsupport. The value is in percentage to make it agnostic of controller flavors. E.g. Small [disk=5 gb, ts space available = 500mb] large [ disk= 100gb, ts space available= 10gb] xl [disk=1tb, ts space available=100gb]. Allowed values are 10-25. Field introduced in 31.2.1. Unit is percent. Allowed with any value in enterprise, enterprise with cloud services edition.
- min
Free StringDisk Required - Min free disk required for the techsupport invocation. The value is in percentage to make it agnostic of controller flavors. E.g. Small [disk=5 gb, ts space available = 250mb] large [ disk= 100gb, ts space available= 5gb] xl [disk=1tb, ts space available=50gb]. Allowed values are 5-10. Field introduced in 31.2.1. Unit is percent. Allowed with any value in enterprise, enterprise with cloud services edition.
- no
Of StringTechsupport Retentions - Number of techsupport to retain from techsupport cleanup policy. Allowed values are 1-5. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- simultaneous
Invocations String - Number of simultaneous techsupport invocation allowed. Allowed values are 1-2. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- task
Timeout String - Generic timeout for techsupport task collection. This can be used for task, script executions etc. Tweak the timeout value in cases of timeout observation in the logs. Field introduced in 31.2.1. Unit is sec. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid String
- Uuid identifier for the techsupport profile. Field introduced in 31.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
Supporting Types
GetTechsupportprofileArchiveRule
GetTechsupportprofileArchiveRuleRule
GetTechsupportprofileEventParam
- Collect
All stringEvents - Days string
- Files string
- Collect
All stringEvents - Days string
- Files string
- collect
All StringEvents - days String
- files String
- collect
All stringEvents - days string
- files string
- collect_
all_ strevents - days str
- files str
- collect
All StringEvents - days String
- files String
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
aviTerraform Provider.
