import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Create an Address Group * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // Create Address group with ipv4 addresses * const ipv4_address = new nutanix.AddressGroupsV2("ipv4-address", { * name: "address_group_ipv4_address", * description: "address group description", * ipv4Addresses: [ * { * value: "10.0.0.0", * prefixLength: 24, * }, * { * value: "172.0.0.0", * prefixLength: 24, * }, * ], * }); * // Create Address group. with ip range * const ip_ranges = new nutanix.AddressGroupsV2("ip-ranges", { * name: "address_group_ip_ranges", * description: "address group description", * ipRanges: [{ * startIp: "10.0.0.1", * endIp: "10.0.0.10", * }], * }); * ``` * */ export declare class AddressGroupsV2 extends pulumi.CustomResource { /** * Get an existing AddressGroupsV2 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?: AddressGroupsV2State, opts?: pulumi.CustomResourceOptions): AddressGroupsV2; /** * Returns true if the given object is an instance of AddressGroupsV2. 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 AddressGroupsV2; /** * created by. */ readonly createdBy: pulumi.Output; /** * - (Optional) Description of the Address group */ readonly description: pulumi.Output; /** * address group uuid. */ readonly extId: pulumi.Output; /** * - (Optional) List of IP range containing start and end IP. */ readonly ipRanges: pulumi.Output; /** * - (Optional) List of CIDR blocks in the Address Group. */ readonly ipv4Addresses: 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; /** * - (Required) Name of the Address group */ readonly name: pulumi.Output; /** * Reference to policy associated with Address Group. */ readonly policyReferences: pulumi.Output; /** * A globally unique identifier that represents the tenant that owns this entity. */ readonly tenantId: pulumi.Output; /** * Create a AddressGroupsV2 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?: AddressGroupsV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AddressGroupsV2 resources. */ export interface AddressGroupsV2State { /** * created by. */ createdBy?: pulumi.Input; /** * - (Optional) Description of the Address group */ description?: pulumi.Input; /** * address group uuid. */ extId?: pulumi.Input; /** * - (Optional) List of IP range containing start and end IP. */ ipRanges?: pulumi.Input[] | undefined>; /** * - (Optional) List of CIDR blocks in the Address Group. */ ipv4Addresses?: pulumi.Input[] | undefined>; /** * 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>; /** * - (Required) Name of the Address group */ name?: pulumi.Input; /** * Reference to policy associated with Address Group. */ policyReferences?: pulumi.Input[] | undefined>; /** * A globally unique identifier that represents the tenant that owns this entity. */ tenantId?: pulumi.Input; } /** * The set of arguments for constructing a AddressGroupsV2 resource. */ export interface AddressGroupsV2Args { /** * - (Optional) Description of the Address group */ description?: pulumi.Input; /** * - (Optional) List of IP range containing start and end IP. */ ipRanges?: pulumi.Input[] | undefined>; /** * - (Optional) List of CIDR blocks in the Address Group. */ ipv4Addresses?: pulumi.Input[] | undefined>; /** * - (Required) Name of the Address group */ name?: pulumi.Input; } //# sourceMappingURL=addressGroupsV2.d.ts.map