vcd.IpSpaceCustomQuota
Explore with Pulumi AI
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:
- Ip
Space stringId - IP Space ID to set Custom Quotas
- Org
Id string - Organization ID, for which the Quota should be customized
- Ip
Prefix List<IpQuotas Space Custom Quota Ip Prefix Quota> IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in
vcd.IpSpace
if not setThe 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 explicitdepends_on
constraint for an Edge Gateway to exist might be required. (See the example.)- Ip
Range stringQuota - Floating IP Quota. Will inherit the default Quota set in
vcd.IpSpace
if not set - Ip
Space stringCustom Quota Id
- Ip
Space stringId - IP Space ID to set Custom Quotas
- Org
Id string - Organization ID, for which the Quota should be customized
- Ip
Prefix []IpQuotas Space Custom Quota Ip Prefix Quota Args IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in
vcd.IpSpace
if not setThe 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 explicitdepends_on
constraint for an Edge Gateway to exist might be required. (See the example.)- Ip
Range stringQuota - Floating IP Quota. Will inherit the default Quota set in
vcd.IpSpace
if not set - Ip
Space stringCustom Quota Id
- ip
Space StringId - IP Space ID to set Custom Quotas
- org
Id String - Organization ID, for which the Quota should be customized
- ip
Prefix List<IpQuotas Space Custom Quota Ip Prefix Quota> IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in
vcd.IpSpace
if not setThe 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 explicitdepends_on
constraint for an Edge Gateway to exist might be required. (See the example.)- ip
Range StringQuota - Floating IP Quota. Will inherit the default Quota set in
vcd.IpSpace
if not set - ip
Space StringCustom Quota Id
- ip
Space stringId - IP Space ID to set Custom Quotas
- org
Id string - Organization ID, for which the Quota should be customized
- ip
Prefix IpQuotas Space Custom Quota Ip Prefix Quota[] IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in
vcd.IpSpace
if not setThe 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 explicitdepends_on
constraint for an Edge Gateway to exist might be required. (See the example.)- ip
Range stringQuota - Floating IP Quota. Will inherit the default Quota set in
vcd.IpSpace
if not set - ip
Space stringCustom Quota Id
- ip_
space_ strid - IP Space ID to set Custom Quotas
- org_
id str - Organization ID, for which the Quota should be customized
- ip_
prefix_ Sequence[Ipquotas Space Custom Quota Ip Prefix Quota Args] IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in
vcd.IpSpace
if not setThe 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 explicitdepends_on
constraint for an Edge Gateway to exist might be required. (See the example.)- ip_
range_ strquota - Floating IP Quota. Will inherit the default Quota set in
vcd.IpSpace
if not set - ip_
space_ strcustom_ quota_ id
- ip
Space StringId - IP Space ID to set Custom Quotas
- org
Id String - Organization ID, for which the Quota should be customized
- ip
Prefix List<Property Map>Quotas IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in
vcd.IpSpace
if not setThe 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 explicitdepends_on
constraint for an Edge Gateway to exist might be required. (See the example.)- ip
Range StringQuota - Floating IP Quota. Will inherit the default Quota set in
vcd.IpSpace
if not set - ip
Space StringCustom Quota Id
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.
- Ip
Prefix List<IpQuotas Space Custom Quota Ip Prefix Quota> IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in
vcd.IpSpace
if not setThe 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 explicitdepends_on
constraint for an Edge Gateway to exist might be required. (See the example.)- Ip
Range stringQuota - Floating IP Quota. Will inherit the default Quota set in
vcd.IpSpace
if not set - Ip
Space stringCustom Quota Id - Ip
Space stringId - IP Space ID to set Custom Quotas
- Org
Id string - Organization ID, for which the Quota should be customized
- Ip
Prefix []IpQuotas Space Custom Quota Ip Prefix Quota Args IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in
vcd.IpSpace
if not setThe 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 explicitdepends_on
constraint for an Edge Gateway to exist might be required. (See the example.)- Ip
Range stringQuota - Floating IP Quota. Will inherit the default Quota set in
vcd.IpSpace
if not set - Ip
Space stringCustom Quota Id - Ip
Space stringId - IP Space ID to set Custom Quotas
- Org
Id string - Organization ID, for which the Quota should be customized
- ip
Prefix List<IpQuotas Space Custom Quota Ip Prefix Quota> IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in
vcd.IpSpace
if not setThe 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 explicitdepends_on
constraint for an Edge Gateway to exist might be required. (See the example.)- ip
Range StringQuota - Floating IP Quota. Will inherit the default Quota set in
vcd.IpSpace
if not set - ip
Space StringCustom Quota Id - ip
Space StringId - IP Space ID to set Custom Quotas
- org
Id String - Organization ID, for which the Quota should be customized
- ip
Prefix IpQuotas Space Custom Quota Ip Prefix Quota[] IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in
vcd.IpSpace
if not setThe 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 explicitdepends_on
constraint for an Edge Gateway to exist might be required. (See the example.)- ip
Range stringQuota - Floating IP Quota. Will inherit the default Quota set in
vcd.IpSpace
if not set - ip
Space stringCustom Quota Id - ip
Space stringId - IP Space ID to set Custom Quotas
- org
Id string - Organization ID, for which the Quota should be customized
- ip_
prefix_ Sequence[Ipquotas Space Custom Quota Ip Prefix Quota Args] IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in
vcd.IpSpace
if not setThe 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 explicitdepends_on
constraint for an Edge Gateway to exist might be required. (See the example.)- ip_
range_ strquota - Floating IP Quota. Will inherit the default Quota set in
vcd.IpSpace
if not set - ip_
space_ strcustom_ quota_ id - ip_
space_ strid - IP Space ID to set Custom Quotas
- org_
id str - Organization ID, for which the Quota should be customized
- ip
Prefix List<Property Map>Quotas IP Prefix Quota set in ip_prefix_quota blocks. Will inherit the default Quota set in
vcd.IpSpace
if not setThe 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 explicitdepends_on
constraint for an Edge Gateway to exist might be required. (See the example.)- ip
Range StringQuota - Floating IP Quota. Will inherit the default Quota set in
vcd.IpSpace
if not set - ip
Space StringCustom Quota Id - ip
Space StringId - IP Space ID to set Custom Quotas
- org
Id String - Organization ID, for which the Quota should be customized
Supporting Types
IpSpaceCustomQuotaIpPrefixQuota, IpSpaceCustomQuotaIpPrefixQuotaArgs
- Prefix
Length string - Prefix length
- Quota string
- IP Prefix Quota
- Prefix
Length string - Prefix length
- Quota string
- IP Prefix Quota
- prefix
Length String - Prefix length
- quota String
- IP Prefix Quota
- prefix
Length string - Prefix length
- quota string
- IP Prefix Quota
- prefix_
length str - Prefix length
- quota str
- IP Prefix Quota
- prefix
Length 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.