1. Registry
  2. Packages
  3. Mso Provider
  4. API Docs
  5. TenantPoliciesNetflowRecord
Viewing docs for mso 3.0.0
published on Monday, Sep 7, 2026 by ciscodevnet
Viewing docs for mso 3.0.0
published on Monday, Sep 7, 2026 by ciscodevnet

    Create TenantPoliciesNetflowRecord Resource

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

    Constructor syntax

    new TenantPoliciesNetflowRecord(name: string, args: TenantPoliciesNetflowRecordArgs, opts?: CustomResourceOptions);
    @overload
    def TenantPoliciesNetflowRecord(resource_name: str,
                                    args: TenantPoliciesNetflowRecordArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def TenantPoliciesNetflowRecord(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    template_id: Optional[str] = None,
                                    description: Optional[str] = None,
                                    match_parameters: Optional[Sequence[str]] = None,
                                    name: Optional[str] = None,
                                    tenant_policies_netflow_record_id: Optional[str] = None)
    func NewTenantPoliciesNetflowRecord(ctx *Context, name string, args TenantPoliciesNetflowRecordArgs, opts ...ResourceOption) (*TenantPoliciesNetflowRecord, error)
    public TenantPoliciesNetflowRecord(string name, TenantPoliciesNetflowRecordArgs args, CustomResourceOptions? opts = null)
    public TenantPoliciesNetflowRecord(String name, TenantPoliciesNetflowRecordArgs args)
    public TenantPoliciesNetflowRecord(String name, TenantPoliciesNetflowRecordArgs args, CustomResourceOptions options)
    
    type: mso:TenantPoliciesNetflowRecord
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "mso_tenant_policies_netflow_record" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TenantPoliciesNetflowRecordArgs
    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 TenantPoliciesNetflowRecordArgs
    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 TenantPoliciesNetflowRecordArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TenantPoliciesNetflowRecordArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TenantPoliciesNetflowRecordArgs
    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 tenantPoliciesNetflowRecordResource = new Mso.TenantPoliciesNetflowRecord("tenantPoliciesNetflowRecordResource", new()
    {
        TemplateId = "string",
        Description = "string",
        MatchParameters = new[]
        {
            "string",
        },
        Name = "string",
        TenantPoliciesNetflowRecordId = "string",
    });
    
    example, err := mso.NewTenantPoliciesNetflowRecord(ctx, "tenantPoliciesNetflowRecordResource", &mso.TenantPoliciesNetflowRecordArgs{
    	TemplateId:  pulumi.String("string"),
    	Description: pulumi.String("string"),
    	MatchParameters: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name:                          pulumi.String("string"),
    	TenantPoliciesNetflowRecordId: pulumi.String("string"),
    })
    
    resource "mso_tenant_policies_netflow_record" "tenantPoliciesNetflowRecordResource" {
      lifecycle {
        create_before_destroy = true
      }
      template_id                       = "string"
      description                       = "string"
      match_parameters                  = ["string"]
      name                              = "string"
      tenant_policies_netflow_record_id = "string"
    }
    
    var tenantPoliciesNetflowRecordResource = new TenantPoliciesNetflowRecord("tenantPoliciesNetflowRecordResource", TenantPoliciesNetflowRecordArgs.builder()
        .templateId("string")
        .description("string")
        .matchParameters("string")
        .name("string")
        .tenantPoliciesNetflowRecordId("string")
        .build());
    
    tenant_policies_netflow_record_resource = mso.TenantPoliciesNetflowRecord("tenantPoliciesNetflowRecordResource",
        template_id="string",
        description="string",
        match_parameters=["string"],
        name="string",
        tenant_policies_netflow_record_id="string")
    
    const tenantPoliciesNetflowRecordResource = new mso.TenantPoliciesNetflowRecord("tenantPoliciesNetflowRecordResource", {
        templateId: "string",
        description: "string",
        matchParameters: ["string"],
        name: "string",
        tenantPoliciesNetflowRecordId: "string",
    });
    
    type: mso:TenantPoliciesNetflowRecord
    properties:
        description: string
        matchParameters:
            - string
        name: string
        templateId: string
        tenantPoliciesNetflowRecordId: string
    

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

    TemplateId string
    The ID of the tenant policy template.
    Description string
    The description of the NetFlow Record.
    MatchParameters List<string>
    The match parameters of the NetFlow Record.
    Name string
    The name of the NetFlow Record.
    TenantPoliciesNetflowRecordId string
    TemplateId string
    The ID of the tenant policy template.
    Description string
    The description of the NetFlow Record.
    MatchParameters []string
    The match parameters of the NetFlow Record.
    Name string
    The name of the NetFlow Record.
    TenantPoliciesNetflowRecordId string
    template_id string
    The ID of the tenant policy template.
    description string
    The description of the NetFlow Record.
    match_parameters list(string)
    The match parameters of the NetFlow Record.
    name string
    The name of the NetFlow Record.
    tenant_policies_netflow_record_id string
    templateId String
    The ID of the tenant policy template.
    description String
    The description of the NetFlow Record.
    matchParameters List<String>
    The match parameters of the NetFlow Record.
    name String
    The name of the NetFlow Record.
    tenantPoliciesNetflowRecordId String
    templateId string
    The ID of the tenant policy template.
    description string
    The description of the NetFlow Record.
    matchParameters string[]
    The match parameters of the NetFlow Record.
    name string
    The name of the NetFlow Record.
    tenantPoliciesNetflowRecordId string
    template_id str
    The ID of the tenant policy template.
    description str
    The description of the NetFlow Record.
    match_parameters Sequence[str]
    The match parameters of the NetFlow Record.
    name str
    The name of the NetFlow Record.
    tenant_policies_netflow_record_id str
    templateId String
    The ID of the tenant policy template.
    description String
    The description of the NetFlow Record.
    matchParameters List<String>
    The match parameters of the NetFlow Record.
    name String
    The name of the NetFlow Record.
    tenantPoliciesNetflowRecordId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TenantPoliciesNetflowRecord resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Uuid string
    The UUID of the NetFlow Record.
    Id string
    The provider-assigned unique ID for this managed resource.
    Uuid string
    The UUID of the NetFlow Record.
    id string
    The provider-assigned unique ID for this managed resource.
    uuid string
    The UUID of the NetFlow Record.
    id String
    The provider-assigned unique ID for this managed resource.
    uuid String
    The UUID of the NetFlow Record.
    id string
    The provider-assigned unique ID for this managed resource.
    uuid string
    The UUID of the NetFlow Record.
    id str
    The provider-assigned unique ID for this managed resource.
    uuid str
    The UUID of the NetFlow Record.
    id String
    The provider-assigned unique ID for this managed resource.
    uuid String
    The UUID of the NetFlow Record.

    Look up Existing TenantPoliciesNetflowRecord Resource

    Get an existing TenantPoliciesNetflowRecord 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?: TenantPoliciesNetflowRecordState, opts?: CustomResourceOptions): TenantPoliciesNetflowRecord
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            match_parameters: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            template_id: Optional[str] = None,
            tenant_policies_netflow_record_id: Optional[str] = None,
            uuid: Optional[str] = None) -> TenantPoliciesNetflowRecord
    func GetTenantPoliciesNetflowRecord(ctx *Context, name string, id IDInput, state *TenantPoliciesNetflowRecordState, opts ...ResourceOption) (*TenantPoliciesNetflowRecord, error)
    public static TenantPoliciesNetflowRecord Get(string name, Input<string> id, TenantPoliciesNetflowRecordState? state, CustomResourceOptions? opts = null)
    public static TenantPoliciesNetflowRecord get(String name, Output<String> id, TenantPoliciesNetflowRecordState state, CustomResourceOptions options)
    resources:  _:    type: mso:TenantPoliciesNetflowRecord    get:      id: ${id}
    import {
      to = mso_tenant_policies_netflow_record.example
      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.
    The following state arguments are supported:
    Description string
    The description of the NetFlow Record.
    MatchParameters List<string>
    The match parameters of the NetFlow Record.
    Name string
    The name of the NetFlow Record.
    TemplateId string
    The ID of the tenant policy template.
    TenantPoliciesNetflowRecordId string
    Uuid string
    The UUID of the NetFlow Record.
    Description string
    The description of the NetFlow Record.
    MatchParameters []string
    The match parameters of the NetFlow Record.
    Name string
    The name of the NetFlow Record.
    TemplateId string
    The ID of the tenant policy template.
    TenantPoliciesNetflowRecordId string
    Uuid string
    The UUID of the NetFlow Record.
    description string
    The description of the NetFlow Record.
    match_parameters list(string)
    The match parameters of the NetFlow Record.
    name string
    The name of the NetFlow Record.
    template_id string
    The ID of the tenant policy template.
    tenant_policies_netflow_record_id string
    uuid string
    The UUID of the NetFlow Record.
    description String
    The description of the NetFlow Record.
    matchParameters List<String>
    The match parameters of the NetFlow Record.
    name String
    The name of the NetFlow Record.
    templateId String
    The ID of the tenant policy template.
    tenantPoliciesNetflowRecordId String
    uuid String
    The UUID of the NetFlow Record.
    description string
    The description of the NetFlow Record.
    matchParameters string[]
    The match parameters of the NetFlow Record.
    name string
    The name of the NetFlow Record.
    templateId string
    The ID of the tenant policy template.
    tenantPoliciesNetflowRecordId string
    uuid string
    The UUID of the NetFlow Record.
    description str
    The description of the NetFlow Record.
    match_parameters Sequence[str]
    The match parameters of the NetFlow Record.
    name str
    The name of the NetFlow Record.
    template_id str
    The ID of the tenant policy template.
    tenant_policies_netflow_record_id str
    uuid str
    The UUID of the NetFlow Record.
    description String
    The description of the NetFlow Record.
    matchParameters List<String>
    The match parameters of the NetFlow Record.
    name String
    The name of the NetFlow Record.
    templateId String
    The ID of the tenant policy template.
    tenantPoliciesNetflowRecordId String
    uuid String
    The UUID of the NetFlow Record.

    Package Details

    Repository
    mso ciscodevnet/terraform-provider-mso
    License
    Notes
    This Pulumi package is based on the mso Terraform Provider.
    Viewing docs for mso 3.0.0
    published on Monday, Sep 7, 2026 by ciscodevnet

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial