import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; /** * ## Example Usage * ### S * * This is an example of how to create a network resource. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumi/vra"; * * const myNetwork = new vra.network.Network("my_network", { * constraints: [{ * expression: "pci", * mandatory: true, * }], * outboundAccess: false, * tags: [{ * key: "foo", * value: "bar", * }], * }); * ``` * A network resource supports the following resource: */ export declare class Network extends pulumi.CustomResource { /** * Get an existing Network 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?: NetworkState, opts?: pulumi.CustomResourceOptions): Network; /** * Returns true if the given object is an instance of Network. 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 Network; /** * IPv4 address range of the network in CIDR format. */ readonly cidr: pulumi.Output; /** * List of storage, network and extensibility constraints to be applied when provisioning through this project. */ readonly constraints: pulumi.Output; /** * Additional properties that may be used to extend the base resource. */ readonly customProperties: pulumi.Output<{ [key: string]: any; }>; /** * Deployment id that is associated with this resource. */ readonly deploymentId: pulumi.Output; /** * A human-friendly description. */ readonly description: pulumi.Output; /** * External entity Id on the provider side. */ readonly externalId: pulumi.Output; /** * The external zoneId of the resource. */ readonly externalZoneId: pulumi.Output; /** * HATEOAS of the entity */ readonly links: pulumi.Output; /** * A human-friendly name used as an identifier in APIs that support this option. */ readonly name: pulumi.Output; /** * The id of the organization this entity belongs to. */ readonly organizationId: pulumi.Output; /** * Flag to indicate if the network needs to have outbound access or not. Default is true. This field will be ignored if there is proper input for networkType customProperty. */ readonly outboundAccess: pulumi.Output; /** * Email of the user that owns the entity. */ readonly owner: pulumi.Output; /** * The id of the project this resource belongs to. */ readonly projectId: pulumi.Output; /** * Self link of this request. */ readonly selfLink: pulumi.Output; /** * A set of tag keys and optional values that were set on this resource. * example:[ { "key" : "ownedBy", "value": "Rainpole" } ] */ readonly tags: pulumi.Output; readonly updatedAt: pulumi.Output; /** * Create a Network 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: NetworkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Network resources. */ export interface NetworkState { /** * IPv4 address range of the network in CIDR format. */ cidr?: pulumi.Input; /** * List of storage, network and extensibility constraints to be applied when provisioning through this project. */ constraints?: pulumi.Input[]>; /** * Additional properties that may be used to extend the base resource. */ customProperties?: pulumi.Input<{ [key: string]: any; }>; /** * Deployment id that is associated with this resource. */ deploymentId?: pulumi.Input; /** * A human-friendly description. */ description?: pulumi.Input; /** * External entity Id on the provider side. */ externalId?: pulumi.Input; /** * The external zoneId of the resource. */ externalZoneId?: pulumi.Input; /** * HATEOAS of the entity */ links?: pulumi.Input[]>; /** * A human-friendly name used as an identifier in APIs that support this option. */ name?: pulumi.Input; /** * The id of the organization this entity belongs to. */ organizationId?: pulumi.Input; /** * Flag to indicate if the network needs to have outbound access or not. Default is true. This field will be ignored if there is proper input for networkType customProperty. */ outboundAccess?: pulumi.Input; /** * Email of the user that owns the entity. */ owner?: pulumi.Input; /** * The id of the project this resource belongs to. */ projectId?: pulumi.Input; /** * Self link of this request. */ selfLink?: pulumi.Input; /** * A set of tag keys and optional values that were set on this resource. * example:[ { "key" : "ownedBy", "value": "Rainpole" } ] */ tags?: pulumi.Input[]>; updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a Network resource. */ export interface NetworkArgs { /** * List of storage, network and extensibility constraints to be applied when provisioning through this project. */ constraints?: pulumi.Input[]>; /** * Additional properties that may be used to extend the base resource. */ customProperties?: pulumi.Input<{ [key: string]: any; }>; /** * Deployment id that is associated with this resource. */ deploymentId?: pulumi.Input; /** * A human-friendly description. */ description?: pulumi.Input; /** * A human-friendly name used as an identifier in APIs that support this option. */ name?: pulumi.Input; /** * Flag to indicate if the network needs to have outbound access or not. Default is true. This field will be ignored if there is proper input for networkType customProperty. */ outboundAccess?: pulumi.Input; /** * The id of the project this resource belongs to. */ projectId: pulumi.Input; /** * A set of tag keys and optional values that were set on this resource. * example:[ { "key" : "ownedBy", "value": "Rainpole" } ] */ tags?: pulumi.Input[]>; }