import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Create an service Group * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // Add Service group. with TCP and UDP * const tcp_udp_service = new nutanix.ServiceGroupsV2("tcp-udp-service", { * name: "service_group_tcp_udp", * description: "service group description", * tcpServices: [{ * startPort: 232, * endPort: 232, * }], * udpServices: [{ * startPort: 232, * endPort: 232, * }], * }); * // service group with ICMP * const icmp_service = new nutanix.ServiceGroupsV2("icmp-service", { * name: "service_group_icmp", * description: "service group description", * icmpServices: [{ * type: 8, * code: 0, * }], * }); * // service group with All TCP, UDP and ICMP * const all_service = new nutanix.ServiceGroupsV2("all-service", { * name: "service_group_udp_tcp_icmp", * description: "service group description", * tcpServices: [{ * startPort: 232, * endPort: 232, * }], * udpServices: [{ * startPort: 232, * endPort: 232, * }], * icmpServices: [{ * type: 8, * code: 0, * }], * }); * ``` * */ export declare class ServiceGroupsV2 extends pulumi.CustomResource { /** * Get an existing ServiceGroupsV2 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?: ServiceGroupsV2State, opts?: pulumi.CustomResourceOptions): ServiceGroupsV2; /** * Returns true if the given object is an instance of ServiceGroupsV2. 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 ServiceGroupsV2; /** * created by. */ readonly createdBy: pulumi.Output; /** * Description of the service group */ readonly description: pulumi.Output; /** * address group uuid. */ readonly extId: pulumi.Output; /** * Icmp Type Code List. */ readonly icmpServices: pulumi.Output; /** * Service Group is system defined or not. */ readonly isSystemDefined: 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; /** * Name of the service group */ readonly name: pulumi.Output; /** * Reference to policy associated with Address Group. */ readonly policyReferences: pulumi.Output; /** * List of TCP ports in the service. */ readonly tcpServices: pulumi.Output; /** * A globally unique identifier that represents the tenant that owns this entity. */ readonly tenantId: pulumi.Output; /** * List of UDP ports in the service. */ readonly udpServices: pulumi.Output; /** * Create a ServiceGroupsV2 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?: ServiceGroupsV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ServiceGroupsV2 resources. */ export interface ServiceGroupsV2State { /** * created by. */ createdBy?: pulumi.Input; /** * Description of the service group */ description?: pulumi.Input; /** * address group uuid. */ extId?: pulumi.Input; /** * Icmp Type Code List. */ icmpServices?: pulumi.Input[] | undefined>; /** * Service Group is system defined or not. */ isSystemDefined?: 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>; /** * Name of the service group */ name?: pulumi.Input; /** * Reference to policy associated with Address Group. */ policyReferences?: pulumi.Input[] | undefined>; /** * List of TCP ports in the service. */ tcpServices?: pulumi.Input[] | undefined>; /** * A globally unique identifier that represents the tenant that owns this entity. */ tenantId?: pulumi.Input; /** * List of UDP ports in the service. */ udpServices?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a ServiceGroupsV2 resource. */ export interface ServiceGroupsV2Args { /** * Description of the service group */ description?: pulumi.Input; /** * Icmp Type Code List. */ icmpServices?: pulumi.Input[] | undefined>; /** * Name of the service group */ name?: pulumi.Input; /** * List of TCP ports in the service. */ tcpServices?: pulumi.Input[] | undefined>; /** * List of UDP ports in the service. */ udpServices?: pulumi.Input[] | undefined>; } //# sourceMappingURL=serviceGroupsV2.d.ts.map