1. Packages
  2. Vcd Provider
  3. API Docs
  4. IpSpaceCustomQuota
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

vcd.IpSpaceCustomQuota

Explore with Pulumi AI

vcd logo
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

    Create IpSpaceCustomQuota Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IpSpaceCustomQuota(name: string, args: IpSpaceCustomQuotaArgs, opts?: CustomResourceOptions);
    @overload
    def IpSpaceCustomQuota(resource_name: str,
                           args: IpSpaceCustomQuotaArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def IpSpaceCustomQuota(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           ip_space_id: Optional[str] = None,
                           org_id: Optional[str] = None,
                           ip_prefix_quotas: Optional[Sequence[IpSpaceCustomQuotaIpPrefixQuotaArgs]] = None,
                           ip_range_quota: Optional[str] = None,
                           ip_space_custom_quota_id: Optional[str] = None)
    func NewIpSpaceCustomQuota(ctx *Context, name string, args IpSpaceCustomQuotaArgs, opts ...ResourceOption) (*IpSpaceCustomQuota, error)
    public IpSpaceCustomQuota(string name, IpSpaceCustomQuotaArgs args, CustomResourceOptions? opts = null)
    public IpSpaceCustomQuota(String name, IpSpaceCustomQuotaArgs args)
    public IpSpaceCustomQuota(String name, IpSpaceCustomQuotaArgs args, CustomResourceOptions options)
    
    type: vcd:IpSpaceCustomQuota
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IpSpaceCustomQuotaArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IpSpaceCustomQuotaArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IpSpaceCustomQuotaArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IpSpaceCustomQuotaArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IpSpaceCustomQuotaArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var ipSpaceCustomQuotaResource = new Vcd.IpSpaceCustomQuota("ipSpaceCustomQuotaResource", new()
    {
        IpSpaceId = "string",
        OrgId = "string",
        IpPrefixQuotas = new[]
        {
            new Vcd.Inputs.IpSpaceCustomQuotaIpPrefixQuotaArgs
            {
                PrefixLength = "string",
                Quota = "string",
            },
        },
        IpRangeQuota = "string",
        IpSpaceCustomQuotaId = "string",
    });
    
    example, err := vcd.NewIpSpaceCustomQuota(ctx, "ipSpaceCustomQuotaResource", &vcd.IpSpaceCustomQuotaArgs{
    	IpSpaceId: pulumi.String("string"),
    	OrgId:     pulumi.String("string"),
    	IpPrefixQuotas: vcd.IpSpaceCustomQuotaIpPrefixQuotaArray{
    		&vcd.IpSpaceCustomQuotaIpPrefixQuotaArgs{
    			PrefixLength: pulumi.String("string"),
    			Quota:        pulumi.String("string"),
    		},
    	},
    	IpRangeQuota:         pulumi.String("string"),
    	IpSpaceCustomQuotaId: pulumi.String("string"),
    })
    
    var ipSpaceCustomQuotaResource = new IpSpaceCustomQuota("ipSpaceCustomQuotaResource", IpSpaceCustomQuotaArgs.builder()
        .ipSpaceId("string")
        .orgId("string")
        .ipPrefixQuotas(IpSpaceCustomQuotaIpPrefixQuotaArgs.builder()
            .prefixLength("string")
            .quota("string")
            .build())
        .ipRangeQuota("string")
        .ipSpaceCustomQuotaId("string")
        .build());
    
    ip_space_custom_quota_resource = vcd.IpSpaceCustomQuota("ipSpaceCustomQuotaResource",
        ip_space_id="string",
        org_id="string",
        ip_prefix_quotas=[{
            "prefix_length": "string",
            "quota": "string",
        }],
        ip_range_quota="string",
        ip_space_custom_quota_id="string")
    
    const ipSpaceCustomQuotaResource = new vcd.IpSpaceCustomQuota("ipSpaceCustomQuotaResource", {
        ipSpaceId: "string",
        orgId: "string",
        ipPrefixQuotas: [{
            prefixLength: "string",
            quota: "string",
        }],
        ipRangeQuota: "string",
        ipSpaceCustomQuotaId: "string",
    });
    
    type: vcd:IpSpaceCustomQuota
    properties:
        ipPrefixQuotas:
            - prefixLength: string
              quota: string
        ipRangeQuota: string
        ipSpaceCustomQuotaId: string
        ipSpaceId: string
        orgId: string
    

    IpSpaceCustomQuota Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IpSpaceCustomQuota resource accepts the following input properties:

    IpSpaceId string
    IP Space ID to set Custom Quotas
    OrgId string
    Organization ID, for which the Quota should be customized
    IpPrefixQuotas List<IpSpaceCustomQuotaIpPrefixQuota>

    IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in vcd.IpSpace if not set

    The resource vcd.IpSpaceCustomQuota can only be created for an Org after an NSX-T Edge Gateway backed by Provider Gateway is created within the Org. An explicit depends_on constraint for an Edge Gateway to exist might be required. (See the example.)

    IpRangeQuota string
    Floating IP Quota. Will inherit the default Quota set in vcd.IpSpace if not set
    IpSpaceCustomQuotaId string
    IpSpaceId string
    IP Space ID to set Custom Quotas
    OrgId string
    Organization ID, for which the Quota should be customized
    IpPrefixQuotas []IpSpaceCustomQuotaIpPrefixQuotaArgs

    IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in vcd.IpSpace if not set

    The resource vcd.IpSpaceCustomQuota can only be created for an Org after an NSX-T Edge Gateway backed by Provider Gateway is created within the Org. An explicit depends_on constraint for an Edge Gateway to exist might be required. (See the example.)

    IpRangeQuota string
    Floating IP Quota. Will inherit the default Quota set in vcd.IpSpace if not set
    IpSpaceCustomQuotaId string
    ipSpaceId String
    IP Space ID to set Custom Quotas
    orgId String
    Organization ID, for which the Quota should be customized
    ipPrefixQuotas List<IpSpaceCustomQuotaIpPrefixQuota>

    IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in vcd.IpSpace if not set

    The resource vcd.IpSpaceCustomQuota can only be created for an Org after an NSX-T Edge Gateway backed by Provider Gateway is created within the Org. An explicit depends_on constraint for an Edge Gateway to exist might be required. (See the example.)

    ipRangeQuota String
    Floating IP Quota. Will inherit the default Quota set in vcd.IpSpace if not set
    ipSpaceCustomQuotaId String
    ipSpaceId string
    IP Space ID to set Custom Quotas
    orgId string
    Organization ID, for which the Quota should be customized
    ipPrefixQuotas IpSpaceCustomQuotaIpPrefixQuota[]

    IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in vcd.IpSpace if not set

    The resource vcd.IpSpaceCustomQuota can only be created for an Org after an NSX-T Edge Gateway backed by Provider Gateway is created within the Org. An explicit depends_on constraint for an Edge Gateway to exist might be required. (See the example.)

    ipRangeQuota string
    Floating IP Quota. Will inherit the default Quota set in vcd.IpSpace if not set
    ipSpaceCustomQuotaId string
    ip_space_id str
    IP Space ID to set Custom Quotas
    org_id str
    Organization ID, for which the Quota should be customized
    ip_prefix_quotas Sequence[IpSpaceCustomQuotaIpPrefixQuotaArgs]

    IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in vcd.IpSpace if not set

    The resource vcd.IpSpaceCustomQuota can only be created for an Org after an NSX-T Edge Gateway backed by Provider Gateway is created within the Org. An explicit depends_on constraint for an Edge Gateway to exist might be required. (See the example.)

    ip_range_quota str
    Floating IP Quota. Will inherit the default Quota set in vcd.IpSpace if not set
    ip_space_custom_quota_id str
    ipSpaceId String
    IP Space ID to set Custom Quotas
    orgId String
    Organization ID, for which the Quota should be customized
    ipPrefixQuotas List<Property Map>

    IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in vcd.IpSpace if not set

    The resource vcd.IpSpaceCustomQuota can only be created for an Org after an NSX-T Edge Gateway backed by Provider Gateway is created within the Org. An explicit depends_on constraint for an Edge Gateway to exist might be required. (See the example.)

    ipRangeQuota String
    Floating IP Quota. Will inherit the default Quota set in vcd.IpSpace if not set
    ipSpaceCustomQuotaId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IpSpaceCustomQuota resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing IpSpaceCustomQuota Resource

    Get an existing IpSpaceCustomQuota resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IpSpaceCustomQuotaState, opts?: CustomResourceOptions): IpSpaceCustomQuota
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ip_prefix_quotas: Optional[Sequence[IpSpaceCustomQuotaIpPrefixQuotaArgs]] = None,
            ip_range_quota: Optional[str] = None,
            ip_space_custom_quota_id: Optional[str] = None,
            ip_space_id: Optional[str] = None,
            org_id: Optional[str] = None) -> IpSpaceCustomQuota
    func GetIpSpaceCustomQuota(ctx *Context, name string, id IDInput, state *IpSpaceCustomQuotaState, opts ...ResourceOption) (*IpSpaceCustomQuota, error)
    public static IpSpaceCustomQuota Get(string name, Input<string> id, IpSpaceCustomQuotaState? state, CustomResourceOptions? opts = null)
    public static IpSpaceCustomQuota get(String name, Output<String> id, IpSpaceCustomQuotaState state, CustomResourceOptions options)
    resources:  _:    type: vcd:IpSpaceCustomQuota    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    IpPrefixQuotas List<IpSpaceCustomQuotaIpPrefixQuota>

    IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in vcd.IpSpace if not set

    The resource vcd.IpSpaceCustomQuota can only be created for an Org after an NSX-T Edge Gateway backed by Provider Gateway is created within the Org. An explicit depends_on constraint for an Edge Gateway to exist might be required. (See the example.)

    IpRangeQuota string
    Floating IP Quota. Will inherit the default Quota set in vcd.IpSpace if not set
    IpSpaceCustomQuotaId string
    IpSpaceId string
    IP Space ID to set Custom Quotas
    OrgId string
    Organization ID, for which the Quota should be customized
    IpPrefixQuotas []IpSpaceCustomQuotaIpPrefixQuotaArgs

    IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in vcd.IpSpace if not set

    The resource vcd.IpSpaceCustomQuota can only be created for an Org after an NSX-T Edge Gateway backed by Provider Gateway is created within the Org. An explicit depends_on constraint for an Edge Gateway to exist might be required. (See the example.)

    IpRangeQuota string
    Floating IP Quota. Will inherit the default Quota set in vcd.IpSpace if not set
    IpSpaceCustomQuotaId string
    IpSpaceId string
    IP Space ID to set Custom Quotas
    OrgId string
    Organization ID, for which the Quota should be customized
    ipPrefixQuotas List<IpSpaceCustomQuotaIpPrefixQuota>

    IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in vcd.IpSpace if not set

    The resource vcd.IpSpaceCustomQuota can only be created for an Org after an NSX-T Edge Gateway backed by Provider Gateway is created within the Org. An explicit depends_on constraint for an Edge Gateway to exist might be required. (See the example.)

    ipRangeQuota String
    Floating IP Quota. Will inherit the default Quota set in vcd.IpSpace if not set
    ipSpaceCustomQuotaId String
    ipSpaceId String
    IP Space ID to set Custom Quotas
    orgId String
    Organization ID, for which the Quota should be customized
    ipPrefixQuotas IpSpaceCustomQuotaIpPrefixQuota[]

    IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in vcd.IpSpace if not set

    The resource vcd.IpSpaceCustomQuota can only be created for an Org after an NSX-T Edge Gateway backed by Provider Gateway is created within the Org. An explicit depends_on constraint for an Edge Gateway to exist might be required. (See the example.)

    ipRangeQuota string
    Floating IP Quota. Will inherit the default Quota set in vcd.IpSpace if not set
    ipSpaceCustomQuotaId string
    ipSpaceId string
    IP Space ID to set Custom Quotas
    orgId string
    Organization ID, for which the Quota should be customized
    ip_prefix_quotas Sequence[IpSpaceCustomQuotaIpPrefixQuotaArgs]

    IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in vcd.IpSpace if not set

    The resource vcd.IpSpaceCustomQuota can only be created for an Org after an NSX-T Edge Gateway backed by Provider Gateway is created within the Org. An explicit depends_on constraint for an Edge Gateway to exist might be required. (See the example.)

    ip_range_quota str
    Floating IP Quota. Will inherit the default Quota set in vcd.IpSpace if not set
    ip_space_custom_quota_id str
    ip_space_id str
    IP Space ID to set Custom Quotas
    org_id str
    Organization ID, for which the Quota should be customized
    ipPrefixQuotas List<Property Map>

    IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in vcd.IpSpace if not set

    The resource vcd.IpSpaceCustomQuota can only be created for an Org after an NSX-T Edge Gateway backed by Provider Gateway is created within the Org. An explicit depends_on constraint for an Edge Gateway to exist might be required. (See the example.)

    ipRangeQuota String
    Floating IP Quota. Will inherit the default Quota set in vcd.IpSpace if not set
    ipSpaceCustomQuotaId String
    ipSpaceId String
    IP Space ID to set Custom Quotas
    orgId String
    Organization ID, for which the Quota should be customized

    Supporting Types

    IpSpaceCustomQuotaIpPrefixQuota, IpSpaceCustomQuotaIpPrefixQuotaArgs

    PrefixLength string
    Prefix length
    Quota string
    IP Prefix Quota
    PrefixLength string
    Prefix length
    Quota string
    IP Prefix Quota
    prefixLength String
    Prefix length
    quota String
    IP Prefix Quota
    prefixLength string
    Prefix length
    quota string
    IP Prefix Quota
    prefix_length str
    Prefix length
    quota str
    IP Prefix Quota
    prefixLength String
    Prefix length
    quota String
    IP Prefix Quota

    Package Details

    Repository
    vcd vmware/terraform-provider-vcd
    License
    Notes
    This Pulumi package is based on the vcd Terraform Provider.
    vcd logo
    vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware