published on Monday, Sep 7, 2026 by ciscodevnet
published on Monday, Sep 7, 2026 by ciscodevnet
Create TenantPoliciesNetflowMonitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TenantPoliciesNetflowMonitor(name: string, args: TenantPoliciesNetflowMonitorArgs, opts?: CustomResourceOptions);@overload
def TenantPoliciesNetflowMonitor(resource_name: str,
args: TenantPoliciesNetflowMonitorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TenantPoliciesNetflowMonitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
netflow_exporter_uuids: Optional[Sequence[str]] = None,
template_id: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
netflow_record_uuid: Optional[str] = None,
tenant_policies_netflow_monitor_id: Optional[str] = None)func NewTenantPoliciesNetflowMonitor(ctx *Context, name string, args TenantPoliciesNetflowMonitorArgs, opts ...ResourceOption) (*TenantPoliciesNetflowMonitor, error)public TenantPoliciesNetflowMonitor(string name, TenantPoliciesNetflowMonitorArgs args, CustomResourceOptions? opts = null)
public TenantPoliciesNetflowMonitor(String name, TenantPoliciesNetflowMonitorArgs args)
public TenantPoliciesNetflowMonitor(String name, TenantPoliciesNetflowMonitorArgs args, CustomResourceOptions options)
type: mso:TenantPoliciesNetflowMonitor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "mso_tenant_policies_netflow_monitor" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TenantPoliciesNetflowMonitorArgs
- 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 TenantPoliciesNetflowMonitorArgs
- 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 TenantPoliciesNetflowMonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TenantPoliciesNetflowMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TenantPoliciesNetflowMonitorArgs
- 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 tenantPoliciesNetflowMonitorResource = new Mso.TenantPoliciesNetflowMonitor("tenantPoliciesNetflowMonitorResource", new()
{
NetflowExporterUuids = new[]
{
"string",
},
TemplateId = "string",
Description = "string",
Name = "string",
NetflowRecordUuid = "string",
TenantPoliciesNetflowMonitorId = "string",
});
example, err := mso.NewTenantPoliciesNetflowMonitor(ctx, "tenantPoliciesNetflowMonitorResource", &mso.TenantPoliciesNetflowMonitorArgs{
NetflowExporterUuids: pulumi.StringArray{
pulumi.String("string"),
},
TemplateId: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
NetflowRecordUuid: pulumi.String("string"),
TenantPoliciesNetflowMonitorId: pulumi.String("string"),
})
resource "mso_tenant_policies_netflow_monitor" "tenantPoliciesNetflowMonitorResource" {
lifecycle {
create_before_destroy = true
}
netflow_exporter_uuids = ["string"]
template_id = "string"
description = "string"
name = "string"
netflow_record_uuid = "string"
tenant_policies_netflow_monitor_id = "string"
}
var tenantPoliciesNetflowMonitorResource = new TenantPoliciesNetflowMonitor("tenantPoliciesNetflowMonitorResource", TenantPoliciesNetflowMonitorArgs.builder()
.netflowExporterUuids("string")
.templateId("string")
.description("string")
.name("string")
.netflowRecordUuid("string")
.tenantPoliciesNetflowMonitorId("string")
.build());
tenant_policies_netflow_monitor_resource = mso.TenantPoliciesNetflowMonitor("tenantPoliciesNetflowMonitorResource",
netflow_exporter_uuids=["string"],
template_id="string",
description="string",
name="string",
netflow_record_uuid="string",
tenant_policies_netflow_monitor_id="string")
const tenantPoliciesNetflowMonitorResource = new mso.TenantPoliciesNetflowMonitor("tenantPoliciesNetflowMonitorResource", {
netflowExporterUuids: ["string"],
templateId: "string",
description: "string",
name: "string",
netflowRecordUuid: "string",
tenantPoliciesNetflowMonitorId: "string",
});
type: mso:TenantPoliciesNetflowMonitor
properties:
description: string
name: string
netflowExporterUuids:
- string
netflowRecordUuid: string
templateId: string
tenantPoliciesNetflowMonitorId: string
TenantPoliciesNetflowMonitor 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 TenantPoliciesNetflowMonitor resource accepts the following input properties:
- Netflow
Exporter List<string>Uuids - The list of NetFlow Exporter UUIDs.
- Template
Id string - The ID of the tenant policy template.
- Description string
- The description of the NetFlow Monitor.
- Name string
- The name of the NetFlow Monitor.
- Netflow
Record stringUuid - The UUID of the NetFlow Record.
- Tenant
Policies stringNetflow Monitor Id
- Netflow
Exporter []stringUuids - The list of NetFlow Exporter UUIDs.
- Template
Id string - The ID of the tenant policy template.
- Description string
- The description of the NetFlow Monitor.
- Name string
- The name of the NetFlow Monitor.
- Netflow
Record stringUuid - The UUID of the NetFlow Record.
- Tenant
Policies stringNetflow Monitor Id
- netflow_
exporter_ list(string)uuids - The list of NetFlow Exporter UUIDs.
- template_
id string - The ID of the tenant policy template.
- description string
- The description of the NetFlow Monitor.
- name string
- The name of the NetFlow Monitor.
- netflow_
record_ stringuuid - The UUID of the NetFlow Record.
- tenant_
policies_ stringnetflow_ monitor_ id
- netflow
Exporter List<String>Uuids - The list of NetFlow Exporter UUIDs.
- template
Id String - The ID of the tenant policy template.
- description String
- The description of the NetFlow Monitor.
- name String
- The name of the NetFlow Monitor.
- netflow
Record StringUuid - The UUID of the NetFlow Record.
- tenant
Policies StringNetflow Monitor Id
- netflow
Exporter string[]Uuids - The list of NetFlow Exporter UUIDs.
- template
Id string - The ID of the tenant policy template.
- description string
- The description of the NetFlow Monitor.
- name string
- The name of the NetFlow Monitor.
- netflow
Record stringUuid - The UUID of the NetFlow Record.
- tenant
Policies stringNetflow Monitor Id
- netflow_
exporter_ Sequence[str]uuids - The list of NetFlow Exporter UUIDs.
- template_
id str - The ID of the tenant policy template.
- description str
- The description of the NetFlow Monitor.
- name str
- The name of the NetFlow Monitor.
- netflow_
record_ struuid - The UUID of the NetFlow Record.
- tenant_
policies_ strnetflow_ monitor_ id
- netflow
Exporter List<String>Uuids - The list of NetFlow Exporter UUIDs.
- template
Id String - The ID of the tenant policy template.
- description String
- The description of the NetFlow Monitor.
- name String
- The name of the NetFlow Monitor.
- netflow
Record StringUuid - The UUID of the NetFlow Record.
- tenant
Policies StringNetflow Monitor Id
Outputs
All input properties are implicitly available as output properties. Additionally, the TenantPoliciesNetflowMonitor resource produces the following output properties:
Look up Existing TenantPoliciesNetflowMonitor Resource
Get an existing TenantPoliciesNetflowMonitor 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?: TenantPoliciesNetflowMonitorState, opts?: CustomResourceOptions): TenantPoliciesNetflowMonitor@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
name: Optional[str] = None,
netflow_exporter_uuids: Optional[Sequence[str]] = None,
netflow_record_uuid: Optional[str] = None,
template_id: Optional[str] = None,
tenant_policies_netflow_monitor_id: Optional[str] = None,
uuid: Optional[str] = None) -> TenantPoliciesNetflowMonitorfunc GetTenantPoliciesNetflowMonitor(ctx *Context, name string, id IDInput, state *TenantPoliciesNetflowMonitorState, opts ...ResourceOption) (*TenantPoliciesNetflowMonitor, error)public static TenantPoliciesNetflowMonitor Get(string name, Input<string> id, TenantPoliciesNetflowMonitorState? state, CustomResourceOptions? opts = null)public static TenantPoliciesNetflowMonitor get(String name, Output<String> id, TenantPoliciesNetflowMonitorState state, CustomResourceOptions options)resources: _: type: mso:TenantPoliciesNetflowMonitor get: id: ${id}import {
to = mso_tenant_policies_netflow_monitor.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 Monitor.
- Name string
- The name of the NetFlow Monitor.
- Netflow
Exporter List<string>Uuids - The list of NetFlow Exporter UUIDs.
- Netflow
Record stringUuid - The UUID of the NetFlow Record.
- Template
Id string - The ID of the tenant policy template.
- Tenant
Policies stringNetflow Monitor Id - Uuid string
- The UUID of the NetFlow Monitor.
- Description string
- The description of the NetFlow Monitor.
- Name string
- The name of the NetFlow Monitor.
- Netflow
Exporter []stringUuids - The list of NetFlow Exporter UUIDs.
- Netflow
Record stringUuid - The UUID of the NetFlow Record.
- Template
Id string - The ID of the tenant policy template.
- Tenant
Policies stringNetflow Monitor Id - Uuid string
- The UUID of the NetFlow Monitor.
- description string
- The description of the NetFlow Monitor.
- name string
- The name of the NetFlow Monitor.
- netflow_
exporter_ list(string)uuids - The list of NetFlow Exporter UUIDs.
- netflow_
record_ stringuuid - The UUID of the NetFlow Record.
- template_
id string - The ID of the tenant policy template.
- tenant_
policies_ stringnetflow_ monitor_ id - uuid string
- The UUID of the NetFlow Monitor.
- description String
- The description of the NetFlow Monitor.
- name String
- The name of the NetFlow Monitor.
- netflow
Exporter List<String>Uuids - The list of NetFlow Exporter UUIDs.
- netflow
Record StringUuid - The UUID of the NetFlow Record.
- template
Id String - The ID of the tenant policy template.
- tenant
Policies StringNetflow Monitor Id - uuid String
- The UUID of the NetFlow Monitor.
- description string
- The description of the NetFlow Monitor.
- name string
- The name of the NetFlow Monitor.
- netflow
Exporter string[]Uuids - The list of NetFlow Exporter UUIDs.
- netflow
Record stringUuid - The UUID of the NetFlow Record.
- template
Id string - The ID of the tenant policy template.
- tenant
Policies stringNetflow Monitor Id - uuid string
- The UUID of the NetFlow Monitor.
- description str
- The description of the NetFlow Monitor.
- name str
- The name of the NetFlow Monitor.
- netflow_
exporter_ Sequence[str]uuids - The list of NetFlow Exporter UUIDs.
- netflow_
record_ struuid - The UUID of the NetFlow Record.
- template_
id str - The ID of the tenant policy template.
- tenant_
policies_ strnetflow_ monitor_ id - uuid str
- The UUID of the NetFlow Monitor.
- description String
- The description of the NetFlow Monitor.
- name String
- The name of the NetFlow Monitor.
- netflow
Exporter List<String>Uuids - The list of NetFlow Exporter UUIDs.
- netflow
Record StringUuid - The UUID of the NetFlow Record.
- template
Id String - The ID of the tenant policy template.
- tenant
Policies StringNetflow Monitor Id - uuid String
- The UUID of the NetFlow Monitor.
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