published on Monday, Sep 7, 2026 by ciscodevnet
published on Monday, Sep 7, 2026 by ciscodevnet
Create TenantPoliciesNetflowExporter Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TenantPoliciesNetflowExporter(name: string, args: TenantPoliciesNetflowExporterArgs, opts?: CustomResourceOptions);@overload
def TenantPoliciesNetflowExporter(resource_name: str,
args: TenantPoliciesNetflowExporterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TenantPoliciesNetflowExporter(resource_name: str,
opts: Optional[ResourceOptions] = None,
template_id: Optional[str] = None,
name: Optional[str] = None,
tenant_policies_netflow_exporter_id: Optional[str] = None)func NewTenantPoliciesNetflowExporter(ctx *Context, name string, args TenantPoliciesNetflowExporterArgs, opts ...ResourceOption) (*TenantPoliciesNetflowExporter, error)public TenantPoliciesNetflowExporter(string name, TenantPoliciesNetflowExporterArgs args, CustomResourceOptions? opts = null)
public TenantPoliciesNetflowExporter(String name, TenantPoliciesNetflowExporterArgs args)
public TenantPoliciesNetflowExporter(String name, TenantPoliciesNetflowExporterArgs args, CustomResourceOptions options)
type: mso:TenantPoliciesNetflowExporter
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "mso_tenant_policies_netflow_exporter" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TenantPoliciesNetflowExporterArgs
- 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 TenantPoliciesNetflowExporterArgs
- 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 TenantPoliciesNetflowExporterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TenantPoliciesNetflowExporterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TenantPoliciesNetflowExporterArgs
- 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 tenantPoliciesNetflowExporterResource = new Mso.TenantPoliciesNetflowExporter("tenantPoliciesNetflowExporterResource", new()
{
TemplateId = "string",
Name = "string",
TenantPoliciesNetflowExporterId = "string",
});
example, err := mso.NewTenantPoliciesNetflowExporter(ctx, "tenantPoliciesNetflowExporterResource", &mso.TenantPoliciesNetflowExporterArgs{
TemplateId: pulumi.String("string"),
Name: pulumi.String("string"),
TenantPoliciesNetflowExporterId: pulumi.String("string"),
})
resource "mso_tenant_policies_netflow_exporter" "tenantPoliciesNetflowExporterResource" {
lifecycle {
create_before_destroy = true
}
template_id = "string"
name = "string"
tenant_policies_netflow_exporter_id = "string"
}
var tenantPoliciesNetflowExporterResource = new TenantPoliciesNetflowExporter("tenantPoliciesNetflowExporterResource", TenantPoliciesNetflowExporterArgs.builder()
.templateId("string")
.name("string")
.tenantPoliciesNetflowExporterId("string")
.build());
tenant_policies_netflow_exporter_resource = mso.TenantPoliciesNetflowExporter("tenantPoliciesNetflowExporterResource",
template_id="string",
name="string",
tenant_policies_netflow_exporter_id="string")
const tenantPoliciesNetflowExporterResource = new mso.TenantPoliciesNetflowExporter("tenantPoliciesNetflowExporterResource", {
templateId: "string",
name: "string",
tenantPoliciesNetflowExporterId: "string",
});
type: mso:TenantPoliciesNetflowExporter
properties:
name: string
templateId: string
tenantPoliciesNetflowExporterId: string
TenantPoliciesNetflowExporter 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 TenantPoliciesNetflowExporter resource accepts the following input properties:
- Template
Id string - The ID of the tenant policy template.
- Name string
- The name of the NetFlow Exporter.
- Tenant
Policies stringNetflow Exporter Id
- Template
Id string - The ID of the tenant policy template.
- Name string
- The name of the NetFlow Exporter.
- Tenant
Policies stringNetflow Exporter Id
- template_
id string - The ID of the tenant policy template.
- name string
- The name of the NetFlow Exporter.
- tenant_
policies_ stringnetflow_ exporter_ id
- template
Id String - The ID of the tenant policy template.
- name String
- The name of the NetFlow Exporter.
- tenant
Policies StringNetflow Exporter Id
- template
Id string - The ID of the tenant policy template.
- name string
- The name of the NetFlow Exporter.
- tenant
Policies stringNetflow Exporter Id
- template_
id str - The ID of the tenant policy template.
- name str
- The name of the NetFlow Exporter.
- tenant_
policies_ strnetflow_ exporter_ id
- template
Id String - The ID of the tenant policy template.
- name String
- The name of the NetFlow Exporter.
- tenant
Policies StringNetflow Exporter Id
Outputs
All input properties are implicitly available as output properties. Additionally, the TenantPoliciesNetflowExporter resource produces the following output properties:
Look up Existing TenantPoliciesNetflowExporter Resource
Get an existing TenantPoliciesNetflowExporter 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?: TenantPoliciesNetflowExporterState, opts?: CustomResourceOptions): TenantPoliciesNetflowExporter@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
template_id: Optional[str] = None,
tenant_policies_netflow_exporter_id: Optional[str] = None,
uuid: Optional[str] = None) -> TenantPoliciesNetflowExporterfunc GetTenantPoliciesNetflowExporter(ctx *Context, name string, id IDInput, state *TenantPoliciesNetflowExporterState, opts ...ResourceOption) (*TenantPoliciesNetflowExporter, error)public static TenantPoliciesNetflowExporter Get(string name, Input<string> id, TenantPoliciesNetflowExporterState? state, CustomResourceOptions? opts = null)public static TenantPoliciesNetflowExporter get(String name, Output<String> id, TenantPoliciesNetflowExporterState state, CustomResourceOptions options)resources: _: type: mso:TenantPoliciesNetflowExporter get: id: ${id}import {
to = mso_tenant_policies_netflow_exporter.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.
- Name string
- The name of the NetFlow Exporter.
- Template
Id string - The ID of the tenant policy template.
- Tenant
Policies stringNetflow Exporter Id - Uuid string
- The UUID of the NetFlow Exporter.
- Name string
- The name of the NetFlow Exporter.
- Template
Id string - The ID of the tenant policy template.
- Tenant
Policies stringNetflow Exporter Id - Uuid string
- The UUID of the NetFlow Exporter.
- name string
- The name of the NetFlow Exporter.
- template_
id string - The ID of the tenant policy template.
- tenant_
policies_ stringnetflow_ exporter_ id - uuid string
- The UUID of the NetFlow Exporter.
- name String
- The name of the NetFlow Exporter.
- template
Id String - The ID of the tenant policy template.
- tenant
Policies StringNetflow Exporter Id - uuid String
- The UUID of the NetFlow Exporter.
- name string
- The name of the NetFlow Exporter.
- template
Id string - The ID of the tenant policy template.
- tenant
Policies stringNetflow Exporter Id - uuid string
- The UUID of the NetFlow Exporter.
- name str
- The name of the NetFlow Exporter.
- template_
id str - The ID of the tenant policy template.
- tenant_
policies_ strnetflow_ exporter_ id - uuid str
- The UUID of the NetFlow Exporter.
- name String
- The name of the NetFlow Exporter.
- template
Id String - The ID of the tenant policy template.
- tenant
Policies StringNetflow Exporter Id - uuid String
- The UUID of the NetFlow Exporter.
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