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

avi.Securitymanagerdata

Explore with Pulumi AI

<!–

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

–>

layout: “avi”

page_title: “Avi: avi.Securitymanagerdata” sidebar_current: “docs-avi-resource-securitymanagerdata” description: |- Creates and manages Avi SecurityManagerData.

avi.Securitymanagerdata

The SecurityManagerData resource allows the creation and management of Avi SecurityManagerData

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as avi from "@pulumi/avi";

const foo = new avi.Securitymanagerdata("foo", {tenantRef: "/api/tenant/?name=admin"});
Copy
import pulumi
import pulumi_avi as avi

foo = avi.Securitymanagerdata("foo", tenant_ref="/api/tenant/?name=admin")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/avi/v31/avi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := avi.NewSecuritymanagerdata(ctx, "foo", &avi.SecuritymanagerdataArgs{
			TenantRef: pulumi.String("/api/tenant/?name=admin"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Avi = Pulumi.Avi;

return await Deployment.RunAsync(() => 
{
    var foo = new Avi.Securitymanagerdata("foo", new()
    {
        TenantRef = "/api/tenant/?name=admin",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.avi.Securitymanagerdata;
import com.pulumi.avi.SecuritymanagerdataArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var foo = new Securitymanagerdata("foo", SecuritymanagerdataArgs.builder()
            .tenantRef("/api/tenant/?name=admin")
            .build());

    }
}
Copy
resources:
  foo:
    type: avi:Securitymanagerdata
    properties:
      tenantRef: /api/tenant/?name=admin
Copy

Create Securitymanagerdata Resource

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

Constructor syntax

new Securitymanagerdata(name: string, args?: SecuritymanagerdataArgs, opts?: CustomResourceOptions);
@overload
def Securitymanagerdata(resource_name: str,
                        args: Optional[SecuritymanagerdataArgs] = None,
                        opts: Optional[ResourceOptions] = None)

@overload
def Securitymanagerdata(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        app_learning_infos: Optional[Sequence[SecuritymanagerdataAppLearningInfoArgs]] = None,
                        name: Optional[str] = None,
                        securitymanagerdata_id: Optional[str] = None,
                        tenant_ref: Optional[str] = None,
                        uuid: Optional[str] = None)
func NewSecuritymanagerdata(ctx *Context, name string, args *SecuritymanagerdataArgs, opts ...ResourceOption) (*Securitymanagerdata, error)
public Securitymanagerdata(string name, SecuritymanagerdataArgs? args = null, CustomResourceOptions? opts = null)
public Securitymanagerdata(String name, SecuritymanagerdataArgs args)
public Securitymanagerdata(String name, SecuritymanagerdataArgs args, CustomResourceOptions options)
type: avi:Securitymanagerdata
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args SecuritymanagerdataArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args SecuritymanagerdataArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args SecuritymanagerdataArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args SecuritymanagerdataArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SecuritymanagerdataArgs
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 securitymanagerdataResource = new Avi.Securitymanagerdata("securitymanagerdataResource", new()
{
    AppLearningInfos = new[]
    {
        new Avi.Inputs.SecuritymanagerdataAppLearningInfoArgs
        {
            AppId = "string",
            UriInfos = new[]
            {
                new Avi.Inputs.SecuritymanagerdataAppLearningInfoUriInfoArgs
                {
                    ParamInfos = new[]
                    {
                        new Avi.Inputs.SecuritymanagerdataAppLearningInfoUriInfoParamInfoArgs
                        {
                            ParamHits = "string",
                            ParamKey = "string",
                            ParamSizeClasses = new[]
                            {
                                new Avi.Inputs.SecuritymanagerdataAppLearningInfoUriInfoParamInfoParamSizeClassArgs
                                {
                                    Hits = "string",
                                    Len = "string",
                                },
                            },
                            ParamTypeClasses = new[]
                            {
                                new Avi.Inputs.SecuritymanagerdataAppLearningInfoUriInfoParamInfoParamTypeClassArgs
                                {
                                    Hits = "string",
                                    Type = "string",
                                },
                            },
                        },
                    },
                    UriHits = "string",
                    UriKey = "string",
                },
            },
            VsUuid = "string",
        },
    },
    Name = "string",
    SecuritymanagerdataId = "string",
    TenantRef = "string",
    Uuid = "string",
});
Copy
example, err := avi.NewSecuritymanagerdata(ctx, "securitymanagerdataResource", &avi.SecuritymanagerdataArgs{
AppLearningInfos: .SecuritymanagerdataAppLearningInfoArray{
&.SecuritymanagerdataAppLearningInfoArgs{
AppId: pulumi.String("string"),
UriInfos: .SecuritymanagerdataAppLearningInfoUriInfoArray{
&.SecuritymanagerdataAppLearningInfoUriInfoArgs{
ParamInfos: .SecuritymanagerdataAppLearningInfoUriInfoParamInfoArray{
&.SecuritymanagerdataAppLearningInfoUriInfoParamInfoArgs{
ParamHits: pulumi.String("string"),
ParamKey: pulumi.String("string"),
ParamSizeClasses: .SecuritymanagerdataAppLearningInfoUriInfoParamInfoParamSizeClassArray{
&.SecuritymanagerdataAppLearningInfoUriInfoParamInfoParamSizeClassArgs{
Hits: pulumi.String("string"),
Len: pulumi.String("string"),
},
},
ParamTypeClasses: .SecuritymanagerdataAppLearningInfoUriInfoParamInfoParamTypeClassArray{
&.SecuritymanagerdataAppLearningInfoUriInfoParamInfoParamTypeClassArgs{
Hits: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
},
},
UriHits: pulumi.String("string"),
UriKey: pulumi.String("string"),
},
},
VsUuid: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
SecuritymanagerdataId: pulumi.String("string"),
TenantRef: pulumi.String("string"),
Uuid: pulumi.String("string"),
})
Copy
var securitymanagerdataResource = new Securitymanagerdata("securitymanagerdataResource", SecuritymanagerdataArgs.builder()
    .appLearningInfos(SecuritymanagerdataAppLearningInfoArgs.builder()
        .appId("string")
        .uriInfos(SecuritymanagerdataAppLearningInfoUriInfoArgs.builder()
            .paramInfos(SecuritymanagerdataAppLearningInfoUriInfoParamInfoArgs.builder()
                .paramHits("string")
                .paramKey("string")
                .paramSizeClasses(SecuritymanagerdataAppLearningInfoUriInfoParamInfoParamSizeClassArgs.builder()
                    .hits("string")
                    .len("string")
                    .build())
                .paramTypeClasses(SecuritymanagerdataAppLearningInfoUriInfoParamInfoParamTypeClassArgs.builder()
                    .hits("string")
                    .type("string")
                    .build())
                .build())
            .uriHits("string")
            .uriKey("string")
            .build())
        .vsUuid("string")
        .build())
    .name("string")
    .securitymanagerdataId("string")
    .tenantRef("string")
    .uuid("string")
    .build());
Copy
securitymanagerdata_resource = avi.Securitymanagerdata("securitymanagerdataResource",
    app_learning_infos=[{
        "app_id": "string",
        "uri_infos": [{
            "param_infos": [{
                "param_hits": "string",
                "param_key": "string",
                "param_size_classes": [{
                    "hits": "string",
                    "len": "string",
                }],
                "param_type_classes": [{
                    "hits": "string",
                    "type": "string",
                }],
            }],
            "uri_hits": "string",
            "uri_key": "string",
        }],
        "vs_uuid": "string",
    }],
    name="string",
    securitymanagerdata_id="string",
    tenant_ref="string",
    uuid="string")
Copy
const securitymanagerdataResource = new avi.Securitymanagerdata("securitymanagerdataResource", {
    appLearningInfos: [{
        appId: "string",
        uriInfos: [{
            paramInfos: [{
                paramHits: "string",
                paramKey: "string",
                paramSizeClasses: [{
                    hits: "string",
                    len: "string",
                }],
                paramTypeClasses: [{
                    hits: "string",
                    type: "string",
                }],
            }],
            uriHits: "string",
            uriKey: "string",
        }],
        vsUuid: "string",
    }],
    name: "string",
    securitymanagerdataId: "string",
    tenantRef: "string",
    uuid: "string",
});
Copy
type: avi:Securitymanagerdata
properties:
    appLearningInfos:
        - appId: string
          uriInfos:
            - paramInfos:
                - paramHits: string
                  paramKey: string
                  paramSizeClasses:
                    - hits: string
                      len: string
                  paramTypeClasses:
                    - hits: string
                      type: string
              uriHits: string
              uriKey: string
          vsUuid: string
    name: string
    securitymanagerdataId: string
    tenantRef: string
    uuid: string
Copy

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

AppLearningInfos List<SecuritymanagerdataAppLearningInfo>
Information about various applications. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Name string
Virtualservice name. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
SecuritymanagerdataId string
TenantRef string
It is a reference to an object of type tenant. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Uuid string
Virtualservice uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
AppLearningInfos []SecuritymanagerdataAppLearningInfoArgs
Information about various applications. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Name string
Virtualservice name. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
SecuritymanagerdataId string
TenantRef string
It is a reference to an object of type tenant. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Uuid string
Virtualservice uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
appLearningInfos List<SecuritymanagerdataAppLearningInfo>
Information about various applications. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
name String
Virtualservice name. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
securitymanagerdataId String
tenantRef String
It is a reference to an object of type tenant. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
uuid String
Virtualservice uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
appLearningInfos SecuritymanagerdataAppLearningInfo[]
Information about various applications. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
name string
Virtualservice name. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
securitymanagerdataId string
tenantRef string
It is a reference to an object of type tenant. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
uuid string
Virtualservice uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
app_learning_infos Sequence[SecuritymanagerdataAppLearningInfoArgs]
Information about various applications. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
name str
Virtualservice name. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
securitymanagerdata_id str
tenant_ref str
It is a reference to an object of type tenant. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
uuid str
Virtualservice uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
appLearningInfos List<Property Map>
Information about various applications. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
name String
Virtualservice name. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
securitymanagerdataId String
tenantRef String
It is a reference to an object of type tenant. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
uuid String
Virtualservice uuid. 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 Securitymanagerdata 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 Securitymanagerdata Resource

Get an existing Securitymanagerdata 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?: SecuritymanagerdataState, opts?: CustomResourceOptions): Securitymanagerdata
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        app_learning_infos: Optional[Sequence[SecuritymanagerdataAppLearningInfoArgs]] = None,
        name: Optional[str] = None,
        securitymanagerdata_id: Optional[str] = None,
        tenant_ref: Optional[str] = None,
        uuid: Optional[str] = None) -> Securitymanagerdata
func GetSecuritymanagerdata(ctx *Context, name string, id IDInput, state *SecuritymanagerdataState, opts ...ResourceOption) (*Securitymanagerdata, error)
public static Securitymanagerdata Get(string name, Input<string> id, SecuritymanagerdataState? state, CustomResourceOptions? opts = null)
public static Securitymanagerdata get(String name, Output<String> id, SecuritymanagerdataState state, CustomResourceOptions options)
resources:  _:    type: avi:Securitymanagerdata    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AppLearningInfos List<SecuritymanagerdataAppLearningInfo>
Information about various applications. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Name string
Virtualservice name. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
SecuritymanagerdataId string
TenantRef string
It is a reference to an object of type tenant. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Uuid string
Virtualservice uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
AppLearningInfos []SecuritymanagerdataAppLearningInfoArgs
Information about various applications. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Name string
Virtualservice name. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
SecuritymanagerdataId string
TenantRef string
It is a reference to an object of type tenant. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Uuid string
Virtualservice uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
appLearningInfos List<SecuritymanagerdataAppLearningInfo>
Information about various applications. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
name String
Virtualservice name. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
securitymanagerdataId String
tenantRef String
It is a reference to an object of type tenant. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
uuid String
Virtualservice uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
appLearningInfos SecuritymanagerdataAppLearningInfo[]
Information about various applications. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
name string
Virtualservice name. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
securitymanagerdataId string
tenantRef string
It is a reference to an object of type tenant. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
uuid string
Virtualservice uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
app_learning_infos Sequence[SecuritymanagerdataAppLearningInfoArgs]
Information about various applications. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
name str
Virtualservice name. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
securitymanagerdata_id str
tenant_ref str
It is a reference to an object of type tenant. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
uuid str
Virtualservice uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
appLearningInfos List<Property Map>
Information about various applications. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
name String
Virtualservice name. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
securitymanagerdataId String
tenantRef String
It is a reference to an object of type tenant. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
uuid String
Virtualservice uuid. Field introduced in 20.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

Supporting Types

SecuritymanagerdataAppLearningInfo
, SecuritymanagerdataAppLearningInfoArgs

SecuritymanagerdataAppLearningInfoUriInfo
, SecuritymanagerdataAppLearningInfoUriInfoArgs

SecuritymanagerdataAppLearningInfoUriInfoParamInfo
, SecuritymanagerdataAppLearningInfoUriInfoParamInfoArgs

SecuritymanagerdataAppLearningInfoUriInfoParamInfoParamSizeClass
, SecuritymanagerdataAppLearningInfoUriInfoParamInfoParamSizeClassArgs

Hits string
Len string
Hits string
Len string
hits String
len String
hits string
len string
hits str
len str
hits String
len String

SecuritymanagerdataAppLearningInfoUriInfoParamInfoParamTypeClass
, SecuritymanagerdataAppLearningInfoUriInfoParamInfoParamTypeClassArgs

Hits string
Type string
Hits string
Type string
hits String
type String
hits string
type string
hits str
type str
hits String
type String

Package Details

Repository
avi vmware/terraform-provider-avi
License
Notes
This Pulumi package is based on the avi Terraform Provider.