import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a resource to create a service group based on the input parameters. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const test = new nutanix.ServiceGroup("test", { * name: "test_service_gp", * description: "this is service group", * serviceLists: [{ * protocol: "TCP", * tcpPortRangeLists: [ * { * startPort: 22, * endPort: 22, * }, * { * startPort: 2222, * endPort: 2222, * }, * ], * }], * }); * ``` * */ export declare class ServiceGroup extends pulumi.CustomResource { /** * Get an existing ServiceGroup 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?: ServiceGroupState, opts?: pulumi.CustomResourceOptions): ServiceGroup; /** * Returns true if the given object is an instance of ServiceGroup. 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 ServiceGroup; /** * - (Optional) Description of the service group */ readonly description: pulumi.Output; /** * - (Required) Name of the service group */ readonly name: pulumi.Output; /** * - (Required) list of services which have protocol (TCP / UDP / ICMP) along with port details */ readonly serviceLists: pulumi.Output; /** * - (ReadOnly) boolean value to denote if the service group is system defined */ readonly systemDefined: pulumi.Output; /** * Create a ServiceGroup 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: ServiceGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ServiceGroup resources. */ export interface ServiceGroupState { /** * - (Optional) Description of the service group */ description?: pulumi.Input; /** * - (Required) Name of the service group */ name?: pulumi.Input; /** * - (Required) list of services which have protocol (TCP / UDP / ICMP) along with port details */ serviceLists?: pulumi.Input[] | undefined>; /** * - (ReadOnly) boolean value to denote if the service group is system defined */ systemDefined?: pulumi.Input; } /** * The set of arguments for constructing a ServiceGroup resource. */ export interface ServiceGroupArgs { /** * - (Optional) Description of the service group */ description?: pulumi.Input; /** * - (Required) Name of the service group */ name?: pulumi.Input; /** * - (Required) list of services which have protocol (TCP / UDP / ICMP) along with port details */ serviceLists: pulumi.Input[]>; } //# sourceMappingURL=serviceGroup.d.ts.map