import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Create a Routing Policy. * * ## Example * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // create PBR with vpc name with any source or destination or protocol with permit action * const any_source_destination = new nutanix.PbrV2("any-source-destination", { * name: "routing_policy_any_source_destination", * description: "routing policy with any source and destination", * vpcExtId: "ba250e3e-1db1-4950-917f-a9e2ea35b8e3", * priority: 11, * policies: [{ * policyMatches: [{ * sources: [{ * addressType: "ANY", * }], * destinations: [{ * addressType: "ANY", * }], * protocolType: "UDP", * }], * policyActions: [{ * actionType: "PERMIT", * }], * }], * }); * ``` * * * ## Import * * This helps to manage existing entities which are not created through terraform. Routing Policy can be imported using the `UUID`. eg, * * `terraform import nutanix_pbr_v2.pbr_import * ` * * See detailed information in [Nutanix Routing Policy v4](https://developers.nutanix.com/api-reference?namespace=networking&version=v4.3#tag/RoutingPolicies/operation/createRoutingPolicy). */ export declare class PbrV2 extends pulumi.CustomResource { /** * Get an existing PbrV2 resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: PbrV2State, opts?: pulumi.CustomResourceOptions): PbrV2; /** * Returns true if the given object is an instance of PbrV2. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is PbrV2; /** * A description of the routing policy. */ readonly description: pulumi.Output; /** * A globally unique identifier of an instance that is suitable for external consumption. */ readonly extId: pulumi.Output; /** * A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource. */ readonly links: pulumi.Output; /** * Metadata associated with this resource. */ readonly metadatas: pulumi.Output; /** * Name of the routing policy. */ readonly name: pulumi.Output; /** * Routing Policies. */ readonly policies: pulumi.Output; /** * Priority of the routing policy. */ readonly priority: pulumi.Output; /** * A globally unique identifier that represents the tenant that owns this entity */ readonly tenantId: pulumi.Output; /** * ExtId of the VPC extId to which the routing policy belongs. */ readonly vpcExtId: pulumi.Output; /** * VPC name for projections */ readonly vpcs: pulumi.Output; /** * Create a PbrV2 resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PbrV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PbrV2 resources. */ export interface PbrV2State { /** * A description of the routing policy. */ description?: pulumi.Input; /** * A globally unique identifier of an instance that is suitable for external consumption. */ extId?: pulumi.Input; /** * A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource. */ links?: pulumi.Input[] | undefined>; /** * Metadata associated with this resource. */ metadatas?: pulumi.Input[] | undefined>; /** * Name of the routing policy. */ name?: pulumi.Input; /** * Routing Policies. */ policies?: pulumi.Input[] | undefined>; /** * Priority of the routing policy. */ priority?: pulumi.Input; /** * A globally unique identifier that represents the tenant that owns this entity */ tenantId?: pulumi.Input; /** * ExtId of the VPC extId to which the routing policy belongs. */ vpcExtId?: pulumi.Input; /** * VPC name for projections */ vpcs?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a PbrV2 resource. */ export interface PbrV2Args { /** * A description of the routing policy. */ description?: pulumi.Input; /** * A globally unique identifier of an instance that is suitable for external consumption. */ extId?: pulumi.Input; /** * Name of the routing policy. */ name?: pulumi.Input; /** * Routing Policies. */ policies: pulumi.Input[]>; /** * Priority of the routing policy. */ priority: pulumi.Input; /** * ExtId of the VPC extId to which the routing policy belongs. */ vpcExtId: pulumi.Input; } //# sourceMappingURL=pbrV2.d.ts.map