published on Monday, Sep 7, 2026 by ciscodevnet
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:
- 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 stringNetflow Record Id
- Template
Id string - The ID of the tenant policy template.
- Description string
- The description of the NetFlow Record.
- Match
Parameters []string - The match parameters of the NetFlow Record.
- Name string
- The name of the NetFlow Record.
- Tenant
Policies stringNetflow Record Id
- 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_ stringnetflow_ record_ id
- 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 StringNetflow Record Id
- template
Id string - The ID of the tenant policy template.
- description string
- The description of the NetFlow Record.
- match
Parameters string[] - The match parameters of the NetFlow Record.
- name string
- The name of the NetFlow Record.
- tenant
Policies stringNetflow Record Id
- 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_ strnetflow_ record_ id
- 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 StringNetflow Record Id
Outputs
All input properties are implicitly available as output properties. Additionally, the TenantPoliciesNetflowRecord resource produces the following output properties:
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) -> TenantPoliciesNetflowRecordfunc 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.
- 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 stringNetflow Record Id - Uuid string
- The UUID of the NetFlow Record.
- Description string
- The description of the NetFlow Record.
- Match
Parameters []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 stringNetflow Record Id - 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_ stringnetflow_ record_ id - 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 StringNetflow Record Id - uuid String
- The UUID of the NetFlow Record.
- description string
- The description of the NetFlow Record.
- match
Parameters 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 stringNetflow Record Id - 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_ strnetflow_ record_ id - uuid str
- 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 StringNetflow Record Id - 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
msoTerraform Provider.
published on Monday, Sep 7, 2026 by ciscodevnet