spectrocloud.ResourceLimit
Explore with Pulumi AI
You can learn more about managing resource limit in Palette by reviewing the Default Resource Limit guide.
The resource_limit resource enforces a resource limit in Palette. By default, a resource limit is configured in Palette with default values. Users can update the resource limit settings as per their requirements. When a spectrocloud.ResourceLimit resource is destroyed, the resource limits will revert to the Palette default settings.
Example Usage
An example of managing an password policy in Palette.
import * as pulumi from "@pulumi/pulumi";
import * as spectrocloud from "@pulumi/spectrocloud";
const resourceLimit = new spectrocloud.ResourceLimit("resourceLimit", {
alert: 101,
apiKeys: 201,
appliance: 6001,
applianceToken: 201,
applicationDeployment: 200,
applicationProfile: 200,
certificate: 20,
cloudAccount: 355,
cluster: 300,
clusterGroup: 50,
clusterProfile: 2500,
filter: 200,
location: 100,
macro: 6000,
privateGateway: 100,
project: 200,
registry: 200,
role: 100,
sshKey: 300,
team: 100,
user: 300,
workspace: 60,
});
import pulumi
import pulumi_spectrocloud as spectrocloud
resource_limit = spectrocloud.ResourceLimit("resourceLimit",
alert=101,
api_keys=201,
appliance=6001,
appliance_token=201,
application_deployment=200,
application_profile=200,
certificate=20,
cloud_account=355,
cluster=300,
cluster_group=50,
cluster_profile=2500,
filter=200,
location=100,
macro=6000,
private_gateway=100,
project=200,
registry=200,
role=100,
ssh_key=300,
team=100,
user=300,
workspace=60)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/spectrocloud/spectrocloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := spectrocloud.NewResourceLimit(ctx, "resourceLimit", &spectrocloud.ResourceLimitArgs{
Alert: pulumi.Float64(101),
ApiKeys: pulumi.Float64(201),
Appliance: pulumi.Float64(6001),
ApplianceToken: pulumi.Float64(201),
ApplicationDeployment: pulumi.Float64(200),
ApplicationProfile: pulumi.Float64(200),
Certificate: pulumi.Float64(20),
CloudAccount: pulumi.Float64(355),
Cluster: pulumi.Float64(300),
ClusterGroup: pulumi.Float64(50),
ClusterProfile: pulumi.Float64(2500),
Filter: pulumi.Float64(200),
Location: pulumi.Float64(100),
Macro: pulumi.Float64(6000),
PrivateGateway: pulumi.Float64(100),
Project: pulumi.Float64(200),
Registry: pulumi.Float64(200),
Role: pulumi.Float64(100),
SshKey: pulumi.Float64(300),
Team: pulumi.Float64(100),
User: pulumi.Float64(300),
Workspace: pulumi.Float64(60),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Spectrocloud = Pulumi.Spectrocloud;
return await Deployment.RunAsync(() =>
{
var resourceLimit = new Spectrocloud.ResourceLimit("resourceLimit", new()
{
Alert = 101,
ApiKeys = 201,
Appliance = 6001,
ApplianceToken = 201,
ApplicationDeployment = 200,
ApplicationProfile = 200,
Certificate = 20,
CloudAccount = 355,
Cluster = 300,
ClusterGroup = 50,
ClusterProfile = 2500,
Filter = 200,
Location = 100,
Macro = 6000,
PrivateGateway = 100,
Project = 200,
Registry = 200,
Role = 100,
SshKey = 300,
Team = 100,
User = 300,
Workspace = 60,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spectrocloud.ResourceLimit;
import com.pulumi.spectrocloud.ResourceLimitArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var resourceLimit = new ResourceLimit("resourceLimit", ResourceLimitArgs.builder()
.alert(101)
.apiKeys(201)
.appliance(6001)
.applianceToken(201)
.applicationDeployment(200)
.applicationProfile(200)
.certificate(20)
.cloudAccount(355)
.cluster(300)
.clusterGroup(50)
.clusterProfile(2500)
.filter(200)
.location(100)
.macro(6000)
.privateGateway(100)
.project(200)
.registry(200)
.role(100)
.sshKey(300)
.team(100)
.user(300)
.workspace(60)
.build());
}
}
resources:
resourceLimit:
type: spectrocloud:ResourceLimit
properties:
alert: 101
apiKeys: 201
appliance: 6001
applianceToken: 201
applicationDeployment: 200
applicationProfile: 200
certificate: 20
cloudAccount: 355
cluster: 300
clusterGroup: 50
clusterProfile: 2500
filter: 200
location: 100
macro: 6000
privateGateway: 100
project: 200
registry: 200
role: 100
sshKey: 300
team: 100
user: 300
workspace: 60
Create ResourceLimit Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ResourceLimit(name: string, args?: ResourceLimitArgs, opts?: CustomResourceOptions);
@overload
def ResourceLimit(resource_name: str,
args: Optional[ResourceLimitArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ResourceLimit(resource_name: str,
opts: Optional[ResourceOptions] = None,
alert: Optional[float] = None,
api_keys: Optional[float] = None,
appliance: Optional[float] = None,
appliance_token: Optional[float] = None,
application_deployment: Optional[float] = None,
application_profile: Optional[float] = None,
certificate: Optional[float] = None,
cloud_account: Optional[float] = None,
cluster: Optional[float] = None,
cluster_group: Optional[float] = None,
cluster_profile: Optional[float] = None,
filter: Optional[float] = None,
location: Optional[float] = None,
macro: Optional[float] = None,
private_gateway: Optional[float] = None,
project: Optional[float] = None,
registry: Optional[float] = None,
resource_limit_id: Optional[str] = None,
role: Optional[float] = None,
ssh_key: Optional[float] = None,
team: Optional[float] = None,
timeouts: Optional[ResourceLimitTimeoutsArgs] = None,
user: Optional[float] = None,
workspace: Optional[float] = None)
func NewResourceLimit(ctx *Context, name string, args *ResourceLimitArgs, opts ...ResourceOption) (*ResourceLimit, error)
public ResourceLimit(string name, ResourceLimitArgs? args = null, CustomResourceOptions? opts = null)
public ResourceLimit(String name, ResourceLimitArgs args)
public ResourceLimit(String name, ResourceLimitArgs args, CustomResourceOptions options)
type: spectrocloud:ResourceLimit
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 ResourceLimitArgs
- 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 ResourceLimitArgs
- 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 ResourceLimitArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ResourceLimitArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ResourceLimitArgs
- 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 resourceLimitResource = new Spectrocloud.ResourceLimit("resourceLimitResource", new()
{
Alert = 0,
ApiKeys = 0,
Appliance = 0,
ApplianceToken = 0,
ApplicationDeployment = 0,
ApplicationProfile = 0,
Certificate = 0,
CloudAccount = 0,
Cluster = 0,
ClusterGroup = 0,
ClusterProfile = 0,
Filter = 0,
Location = 0,
Macro = 0,
PrivateGateway = 0,
Project = 0,
Registry = 0,
ResourceLimitId = "string",
Role = 0,
SshKey = 0,
Team = 0,
Timeouts = new Spectrocloud.Inputs.ResourceLimitTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
User = 0,
Workspace = 0,
});
example, err := spectrocloud.NewResourceLimit(ctx, "resourceLimitResource", &spectrocloud.ResourceLimitArgs{
Alert: pulumi.Float64(0),
ApiKeys: pulumi.Float64(0),
Appliance: pulumi.Float64(0),
ApplianceToken: pulumi.Float64(0),
ApplicationDeployment: pulumi.Float64(0),
ApplicationProfile: pulumi.Float64(0),
Certificate: pulumi.Float64(0),
CloudAccount: pulumi.Float64(0),
Cluster: pulumi.Float64(0),
ClusterGroup: pulumi.Float64(0),
ClusterProfile: pulumi.Float64(0),
Filter: pulumi.Float64(0),
Location: pulumi.Float64(0),
Macro: pulumi.Float64(0),
PrivateGateway: pulumi.Float64(0),
Project: pulumi.Float64(0),
Registry: pulumi.Float64(0),
ResourceLimitId: pulumi.String("string"),
Role: pulumi.Float64(0),
SshKey: pulumi.Float64(0),
Team: pulumi.Float64(0),
Timeouts: &spectrocloud.ResourceLimitTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
User: pulumi.Float64(0),
Workspace: pulumi.Float64(0),
})
var resourceLimitResource = new ResourceLimit("resourceLimitResource", ResourceLimitArgs.builder()
.alert(0)
.apiKeys(0)
.appliance(0)
.applianceToken(0)
.applicationDeployment(0)
.applicationProfile(0)
.certificate(0)
.cloudAccount(0)
.cluster(0)
.clusterGroup(0)
.clusterProfile(0)
.filter(0)
.location(0)
.macro(0)
.privateGateway(0)
.project(0)
.registry(0)
.resourceLimitId("string")
.role(0)
.sshKey(0)
.team(0)
.timeouts(ResourceLimitTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.user(0)
.workspace(0)
.build());
resource_limit_resource = spectrocloud.ResourceLimit("resourceLimitResource",
alert=0,
api_keys=0,
appliance=0,
appliance_token=0,
application_deployment=0,
application_profile=0,
certificate=0,
cloud_account=0,
cluster=0,
cluster_group=0,
cluster_profile=0,
filter=0,
location=0,
macro=0,
private_gateway=0,
project=0,
registry=0,
resource_limit_id="string",
role=0,
ssh_key=0,
team=0,
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
user=0,
workspace=0)
const resourceLimitResource = new spectrocloud.ResourceLimit("resourceLimitResource", {
alert: 0,
apiKeys: 0,
appliance: 0,
applianceToken: 0,
applicationDeployment: 0,
applicationProfile: 0,
certificate: 0,
cloudAccount: 0,
cluster: 0,
clusterGroup: 0,
clusterProfile: 0,
filter: 0,
location: 0,
macro: 0,
privateGateway: 0,
project: 0,
registry: 0,
resourceLimitId: "string",
role: 0,
sshKey: 0,
team: 0,
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
user: 0,
workspace: 0,
});
type: spectrocloud:ResourceLimit
properties:
alert: 0
apiKeys: 0
appliance: 0
applianceToken: 0
applicationDeployment: 0
applicationProfile: 0
certificate: 0
cloudAccount: 0
cluster: 0
clusterGroup: 0
clusterProfile: 0
filter: 0
location: 0
macro: 0
privateGateway: 0
project: 0
registry: 0
resourceLimitId: string
role: 0
sshKey: 0
team: 0
timeouts:
create: string
delete: string
update: string
user: 0
workspace: 0
ResourceLimit 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 ResourceLimit resource accepts the following input properties:
- Alert double
- The maximum number of alerts that can be created. Must be between 1 and 10,000.
- Api
Keys double - The maximum number of API keys that can be generated. Must be between 1 and 10,000.
- Appliance double
- The maximum number of appliances that can be managed. Must be between 1 and 50,000.
- Appliance
Token double - The maximum number of appliance tokens that can be issued. Must be between 1 and 10,000.
- Application
Deployment double - The maximum number of application deployments allowed. Must be between 1 and 10,000.
- Application
Profile double - The maximum number of application profiles that can be configured. Must be between 1 and 10,000.
- Certificate double
- The maximum number of certificates that can be managed. Must be between 1 and 10,000.
- Cloud
Account double - The maximum number of cloud accounts that can be added. Must be between 1 and 10,000.
- Cluster double
- The maximum number of clusters that can be created. Must be between 1 and 50,000.
- Cluster
Group double - The maximum number of cluster groups that can be created. Must be between 1 and 10,000.
- Cluster
Profile double - The maximum number of cluster profiles that can be configured. Must be between 1 and 10,000.
- Filter double
- The maximum number of filters that can be defined. Must be between 1 and 10,000.
- Location double
- The maximum number of locations that can be configured. Must be between 1 and 10,000.
- Macro double
- The maximum number of macros that can be created. Must be between 1 and 10,000.
- Private
Gateway double - The maximum number of private gateways that can be managed. Must be between 1 and 10,000.
- Project double
- The maximum number of projects that can be created. Must be between 1 and 10,000.
- Registry double
- The maximum number of registries that can be configured. Must be between 1 and 10,000.
- Resource
Limit stringId - The ID of this resource.
- Role double
- The maximum number of roles that can be assigned. Must be between 1 and 10,000.
- Ssh
Key double - The maximum number of SSH keys that can be managed. Must be between 1 and 10,000.
- Team double
- The maximum number of teams that can be created. Must be between 1 and 10,000.
- Timeouts
Resource
Limit Timeouts - User double
- The maximum number of users that can be added. Must be between 1 and 10,000.
- Workspace double
- The maximum number of workspaces that can be created. Must be between 1 and 10,000.
- Alert float64
- The maximum number of alerts that can be created. Must be between 1 and 10,000.
- Api
Keys float64 - The maximum number of API keys that can be generated. Must be between 1 and 10,000.
- Appliance float64
- The maximum number of appliances that can be managed. Must be between 1 and 50,000.
- Appliance
Token float64 - The maximum number of appliance tokens that can be issued. Must be between 1 and 10,000.
- Application
Deployment float64 - The maximum number of application deployments allowed. Must be between 1 and 10,000.
- Application
Profile float64 - The maximum number of application profiles that can be configured. Must be between 1 and 10,000.
- Certificate float64
- The maximum number of certificates that can be managed. Must be between 1 and 10,000.
- Cloud
Account float64 - The maximum number of cloud accounts that can be added. Must be between 1 and 10,000.
- Cluster float64
- The maximum number of clusters that can be created. Must be between 1 and 50,000.
- Cluster
Group float64 - The maximum number of cluster groups that can be created. Must be between 1 and 10,000.
- Cluster
Profile float64 - The maximum number of cluster profiles that can be configured. Must be between 1 and 10,000.
- Filter float64
- The maximum number of filters that can be defined. Must be between 1 and 10,000.
- Location float64
- The maximum number of locations that can be configured. Must be between 1 and 10,000.
- Macro float64
- The maximum number of macros that can be created. Must be between 1 and 10,000.
- Private
Gateway float64 - The maximum number of private gateways that can be managed. Must be between 1 and 10,000.
- Project float64
- The maximum number of projects that can be created. Must be between 1 and 10,000.
- Registry float64
- The maximum number of registries that can be configured. Must be between 1 and 10,000.
- Resource
Limit stringId - The ID of this resource.
- Role float64
- The maximum number of roles that can be assigned. Must be between 1 and 10,000.
- Ssh
Key float64 - The maximum number of SSH keys that can be managed. Must be between 1 and 10,000.
- Team float64
- The maximum number of teams that can be created. Must be between 1 and 10,000.
- Timeouts
Resource
Limit Timeouts Args - User float64
- The maximum number of users that can be added. Must be between 1 and 10,000.
- Workspace float64
- The maximum number of workspaces that can be created. Must be between 1 and 10,000.
- alert Double
- The maximum number of alerts that can be created. Must be between 1 and 10,000.
- api
Keys Double - The maximum number of API keys that can be generated. Must be between 1 and 10,000.
- appliance Double
- The maximum number of appliances that can be managed. Must be between 1 and 50,000.
- appliance
Token Double - The maximum number of appliance tokens that can be issued. Must be between 1 and 10,000.
- application
Deployment Double - The maximum number of application deployments allowed. Must be between 1 and 10,000.
- application
Profile Double - The maximum number of application profiles that can be configured. Must be between 1 and 10,000.
- certificate Double
- The maximum number of certificates that can be managed. Must be between 1 and 10,000.
- cloud
Account Double - The maximum number of cloud accounts that can be added. Must be between 1 and 10,000.
- cluster Double
- The maximum number of clusters that can be created. Must be between 1 and 50,000.
- cluster
Group Double - The maximum number of cluster groups that can be created. Must be between 1 and 10,000.
- cluster
Profile Double - The maximum number of cluster profiles that can be configured. Must be between 1 and 10,000.
- filter Double
- The maximum number of filters that can be defined. Must be between 1 and 10,000.
- location Double
- The maximum number of locations that can be configured. Must be between 1 and 10,000.
- macro Double
- The maximum number of macros that can be created. Must be between 1 and 10,000.
- private
Gateway Double - The maximum number of private gateways that can be managed. Must be between 1 and 10,000.
- project Double
- The maximum number of projects that can be created. Must be between 1 and 10,000.
- registry Double
- The maximum number of registries that can be configured. Must be between 1 and 10,000.
- resource
Limit StringId - The ID of this resource.
- role Double
- The maximum number of roles that can be assigned. Must be between 1 and 10,000.
- ssh
Key Double - The maximum number of SSH keys that can be managed. Must be between 1 and 10,000.
- team Double
- The maximum number of teams that can be created. Must be between 1 and 10,000.
- timeouts
Resource
Limit Timeouts - user Double
- The maximum number of users that can be added. Must be between 1 and 10,000.
- workspace Double
- The maximum number of workspaces that can be created. Must be between 1 and 10,000.
- alert number
- The maximum number of alerts that can be created. Must be between 1 and 10,000.
- api
Keys number - The maximum number of API keys that can be generated. Must be between 1 and 10,000.
- appliance number
- The maximum number of appliances that can be managed. Must be between 1 and 50,000.
- appliance
Token number - The maximum number of appliance tokens that can be issued. Must be between 1 and 10,000.
- application
Deployment number - The maximum number of application deployments allowed. Must be between 1 and 10,000.
- application
Profile number - The maximum number of application profiles that can be configured. Must be between 1 and 10,000.
- certificate number
- The maximum number of certificates that can be managed. Must be between 1 and 10,000.
- cloud
Account number - The maximum number of cloud accounts that can be added. Must be between 1 and 10,000.
- cluster number
- The maximum number of clusters that can be created. Must be between 1 and 50,000.
- cluster
Group number - The maximum number of cluster groups that can be created. Must be between 1 and 10,000.
- cluster
Profile number - The maximum number of cluster profiles that can be configured. Must be between 1 and 10,000.
- filter number
- The maximum number of filters that can be defined. Must be between 1 and 10,000.
- location number
- The maximum number of locations that can be configured. Must be between 1 and 10,000.
- macro number
- The maximum number of macros that can be created. Must be between 1 and 10,000.
- private
Gateway number - The maximum number of private gateways that can be managed. Must be between 1 and 10,000.
- project number
- The maximum number of projects that can be created. Must be between 1 and 10,000.
- registry number
- The maximum number of registries that can be configured. Must be between 1 and 10,000.
- resource
Limit stringId - The ID of this resource.
- role number
- The maximum number of roles that can be assigned. Must be between 1 and 10,000.
- ssh
Key number - The maximum number of SSH keys that can be managed. Must be between 1 and 10,000.
- team number
- The maximum number of teams that can be created. Must be between 1 and 10,000.
- timeouts
Resource
Limit Timeouts - user number
- The maximum number of users that can be added. Must be between 1 and 10,000.
- workspace number
- The maximum number of workspaces that can be created. Must be between 1 and 10,000.
- alert float
- The maximum number of alerts that can be created. Must be between 1 and 10,000.
- api_
keys float - The maximum number of API keys that can be generated. Must be between 1 and 10,000.
- appliance float
- The maximum number of appliances that can be managed. Must be between 1 and 50,000.
- appliance_
token float - The maximum number of appliance tokens that can be issued. Must be between 1 and 10,000.
- application_
deployment float - The maximum number of application deployments allowed. Must be between 1 and 10,000.
- application_
profile float - The maximum number of application profiles that can be configured. Must be between 1 and 10,000.
- certificate float
- The maximum number of certificates that can be managed. Must be between 1 and 10,000.
- cloud_
account float - The maximum number of cloud accounts that can be added. Must be between 1 and 10,000.
- cluster float
- The maximum number of clusters that can be created. Must be between 1 and 50,000.
- cluster_
group float - The maximum number of cluster groups that can be created. Must be between 1 and 10,000.
- cluster_
profile float - The maximum number of cluster profiles that can be configured. Must be between 1 and 10,000.
- filter float
- The maximum number of filters that can be defined. Must be between 1 and 10,000.
- location float
- The maximum number of locations that can be configured. Must be between 1 and 10,000.
- macro float
- The maximum number of macros that can be created. Must be between 1 and 10,000.
- private_
gateway float - The maximum number of private gateways that can be managed. Must be between 1 and 10,000.
- project float
- The maximum number of projects that can be created. Must be between 1 and 10,000.
- registry float
- The maximum number of registries that can be configured. Must be between 1 and 10,000.
- resource_
limit_ strid - The ID of this resource.
- role float
- The maximum number of roles that can be assigned. Must be between 1 and 10,000.
- ssh_
key float - The maximum number of SSH keys that can be managed. Must be between 1 and 10,000.
- team float
- The maximum number of teams that can be created. Must be between 1 and 10,000.
- timeouts
Resource
Limit Timeouts Args - user float
- The maximum number of users that can be added. Must be between 1 and 10,000.
- workspace float
- The maximum number of workspaces that can be created. Must be between 1 and 10,000.
- alert Number
- The maximum number of alerts that can be created. Must be between 1 and 10,000.
- api
Keys Number - The maximum number of API keys that can be generated. Must be between 1 and 10,000.
- appliance Number
- The maximum number of appliances that can be managed. Must be between 1 and 50,000.
- appliance
Token Number - The maximum number of appliance tokens that can be issued. Must be between 1 and 10,000.
- application
Deployment Number - The maximum number of application deployments allowed. Must be between 1 and 10,000.
- application
Profile Number - The maximum number of application profiles that can be configured. Must be between 1 and 10,000.
- certificate Number
- The maximum number of certificates that can be managed. Must be between 1 and 10,000.
- cloud
Account Number - The maximum number of cloud accounts that can be added. Must be between 1 and 10,000.
- cluster Number
- The maximum number of clusters that can be created. Must be between 1 and 50,000.
- cluster
Group Number - The maximum number of cluster groups that can be created. Must be between 1 and 10,000.
- cluster
Profile Number - The maximum number of cluster profiles that can be configured. Must be between 1 and 10,000.
- filter Number
- The maximum number of filters that can be defined. Must be between 1 and 10,000.
- location Number
- The maximum number of locations that can be configured. Must be between 1 and 10,000.
- macro Number
- The maximum number of macros that can be created. Must be between 1 and 10,000.
- private
Gateway Number - The maximum number of private gateways that can be managed. Must be between 1 and 10,000.
- project Number
- The maximum number of projects that can be created. Must be between 1 and 10,000.
- registry Number
- The maximum number of registries that can be configured. Must be between 1 and 10,000.
- resource
Limit StringId - The ID of this resource.
- role Number
- The maximum number of roles that can be assigned. Must be between 1 and 10,000.
- ssh
Key Number - The maximum number of SSH keys that can be managed. Must be between 1 and 10,000.
- team Number
- The maximum number of teams that can be created. Must be between 1 and 10,000.
- timeouts Property Map
- user Number
- The maximum number of users that can be added. Must be between 1 and 10,000.
- workspace Number
- The maximum number of workspaces that can be created. Must be between 1 and 10,000.
Outputs
All input properties are implicitly available as output properties. Additionally, the ResourceLimit 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 ResourceLimit Resource
Get an existing ResourceLimit 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?: ResourceLimitState, opts?: CustomResourceOptions): ResourceLimit
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alert: Optional[float] = None,
api_keys: Optional[float] = None,
appliance: Optional[float] = None,
appliance_token: Optional[float] = None,
application_deployment: Optional[float] = None,
application_profile: Optional[float] = None,
certificate: Optional[float] = None,
cloud_account: Optional[float] = None,
cluster: Optional[float] = None,
cluster_group: Optional[float] = None,
cluster_profile: Optional[float] = None,
filter: Optional[float] = None,
location: Optional[float] = None,
macro: Optional[float] = None,
private_gateway: Optional[float] = None,
project: Optional[float] = None,
registry: Optional[float] = None,
resource_limit_id: Optional[str] = None,
role: Optional[float] = None,
ssh_key: Optional[float] = None,
team: Optional[float] = None,
timeouts: Optional[ResourceLimitTimeoutsArgs] = None,
user: Optional[float] = None,
workspace: Optional[float] = None) -> ResourceLimit
func GetResourceLimit(ctx *Context, name string, id IDInput, state *ResourceLimitState, opts ...ResourceOption) (*ResourceLimit, error)
public static ResourceLimit Get(string name, Input<string> id, ResourceLimitState? state, CustomResourceOptions? opts = null)
public static ResourceLimit get(String name, Output<String> id, ResourceLimitState state, CustomResourceOptions options)
resources: _: type: spectrocloud:ResourceLimit 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.
- Alert double
- The maximum number of alerts that can be created. Must be between 1 and 10,000.
- Api
Keys double - The maximum number of API keys that can be generated. Must be between 1 and 10,000.
- Appliance double
- The maximum number of appliances that can be managed. Must be between 1 and 50,000.
- Appliance
Token double - The maximum number of appliance tokens that can be issued. Must be between 1 and 10,000.
- Application
Deployment double - The maximum number of application deployments allowed. Must be between 1 and 10,000.
- Application
Profile double - The maximum number of application profiles that can be configured. Must be between 1 and 10,000.
- Certificate double
- The maximum number of certificates that can be managed. Must be between 1 and 10,000.
- Cloud
Account double - The maximum number of cloud accounts that can be added. Must be between 1 and 10,000.
- Cluster double
- The maximum number of clusters that can be created. Must be between 1 and 50,000.
- Cluster
Group double - The maximum number of cluster groups that can be created. Must be between 1 and 10,000.
- Cluster
Profile double - The maximum number of cluster profiles that can be configured. Must be between 1 and 10,000.
- Filter double
- The maximum number of filters that can be defined. Must be between 1 and 10,000.
- Location double
- The maximum number of locations that can be configured. Must be between 1 and 10,000.
- Macro double
- The maximum number of macros that can be created. Must be between 1 and 10,000.
- Private
Gateway double - The maximum number of private gateways that can be managed. Must be between 1 and 10,000.
- Project double
- The maximum number of projects that can be created. Must be between 1 and 10,000.
- Registry double
- The maximum number of registries that can be configured. Must be between 1 and 10,000.
- Resource
Limit stringId - The ID of this resource.
- Role double
- The maximum number of roles that can be assigned. Must be between 1 and 10,000.
- Ssh
Key double - The maximum number of SSH keys that can be managed. Must be between 1 and 10,000.
- Team double
- The maximum number of teams that can be created. Must be between 1 and 10,000.
- Timeouts
Resource
Limit Timeouts - User double
- The maximum number of users that can be added. Must be between 1 and 10,000.
- Workspace double
- The maximum number of workspaces that can be created. Must be between 1 and 10,000.
- Alert float64
- The maximum number of alerts that can be created. Must be between 1 and 10,000.
- Api
Keys float64 - The maximum number of API keys that can be generated. Must be between 1 and 10,000.
- Appliance float64
- The maximum number of appliances that can be managed. Must be between 1 and 50,000.
- Appliance
Token float64 - The maximum number of appliance tokens that can be issued. Must be between 1 and 10,000.
- Application
Deployment float64 - The maximum number of application deployments allowed. Must be between 1 and 10,000.
- Application
Profile float64 - The maximum number of application profiles that can be configured. Must be between 1 and 10,000.
- Certificate float64
- The maximum number of certificates that can be managed. Must be between 1 and 10,000.
- Cloud
Account float64 - The maximum number of cloud accounts that can be added. Must be between 1 and 10,000.
- Cluster float64
- The maximum number of clusters that can be created. Must be between 1 and 50,000.
- Cluster
Group float64 - The maximum number of cluster groups that can be created. Must be between 1 and 10,000.
- Cluster
Profile float64 - The maximum number of cluster profiles that can be configured. Must be between 1 and 10,000.
- Filter float64
- The maximum number of filters that can be defined. Must be between 1 and 10,000.
- Location float64
- The maximum number of locations that can be configured. Must be between 1 and 10,000.
- Macro float64
- The maximum number of macros that can be created. Must be between 1 and 10,000.
- Private
Gateway float64 - The maximum number of private gateways that can be managed. Must be between 1 and 10,000.
- Project float64
- The maximum number of projects that can be created. Must be between 1 and 10,000.
- Registry float64
- The maximum number of registries that can be configured. Must be between 1 and 10,000.
- Resource
Limit stringId - The ID of this resource.
- Role float64
- The maximum number of roles that can be assigned. Must be between 1 and 10,000.
- Ssh
Key float64 - The maximum number of SSH keys that can be managed. Must be between 1 and 10,000.
- Team float64
- The maximum number of teams that can be created. Must be between 1 and 10,000.
- Timeouts
Resource
Limit Timeouts Args - User float64
- The maximum number of users that can be added. Must be between 1 and 10,000.
- Workspace float64
- The maximum number of workspaces that can be created. Must be between 1 and 10,000.
- alert Double
- The maximum number of alerts that can be created. Must be between 1 and 10,000.
- api
Keys Double - The maximum number of API keys that can be generated. Must be between 1 and 10,000.
- appliance Double
- The maximum number of appliances that can be managed. Must be between 1 and 50,000.
- appliance
Token Double - The maximum number of appliance tokens that can be issued. Must be between 1 and 10,000.
- application
Deployment Double - The maximum number of application deployments allowed. Must be between 1 and 10,000.
- application
Profile Double - The maximum number of application profiles that can be configured. Must be between 1 and 10,000.
- certificate Double
- The maximum number of certificates that can be managed. Must be between 1 and 10,000.
- cloud
Account Double - The maximum number of cloud accounts that can be added. Must be between 1 and 10,000.
- cluster Double
- The maximum number of clusters that can be created. Must be between 1 and 50,000.
- cluster
Group Double - The maximum number of cluster groups that can be created. Must be between 1 and 10,000.
- cluster
Profile Double - The maximum number of cluster profiles that can be configured. Must be between 1 and 10,000.
- filter Double
- The maximum number of filters that can be defined. Must be between 1 and 10,000.
- location Double
- The maximum number of locations that can be configured. Must be between 1 and 10,000.
- macro Double
- The maximum number of macros that can be created. Must be between 1 and 10,000.
- private
Gateway Double - The maximum number of private gateways that can be managed. Must be between 1 and 10,000.
- project Double
- The maximum number of projects that can be created. Must be between 1 and 10,000.
- registry Double
- The maximum number of registries that can be configured. Must be between 1 and 10,000.
- resource
Limit StringId - The ID of this resource.
- role Double
- The maximum number of roles that can be assigned. Must be between 1 and 10,000.
- ssh
Key Double - The maximum number of SSH keys that can be managed. Must be between 1 and 10,000.
- team Double
- The maximum number of teams that can be created. Must be between 1 and 10,000.
- timeouts
Resource
Limit Timeouts - user Double
- The maximum number of users that can be added. Must be between 1 and 10,000.
- workspace Double
- The maximum number of workspaces that can be created. Must be between 1 and 10,000.
- alert number
- The maximum number of alerts that can be created. Must be between 1 and 10,000.
- api
Keys number - The maximum number of API keys that can be generated. Must be between 1 and 10,000.
- appliance number
- The maximum number of appliances that can be managed. Must be between 1 and 50,000.
- appliance
Token number - The maximum number of appliance tokens that can be issued. Must be between 1 and 10,000.
- application
Deployment number - The maximum number of application deployments allowed. Must be between 1 and 10,000.
- application
Profile number - The maximum number of application profiles that can be configured. Must be between 1 and 10,000.
- certificate number
- The maximum number of certificates that can be managed. Must be between 1 and 10,000.
- cloud
Account number - The maximum number of cloud accounts that can be added. Must be between 1 and 10,000.
- cluster number
- The maximum number of clusters that can be created. Must be between 1 and 50,000.
- cluster
Group number - The maximum number of cluster groups that can be created. Must be between 1 and 10,000.
- cluster
Profile number - The maximum number of cluster profiles that can be configured. Must be between 1 and 10,000.
- filter number
- The maximum number of filters that can be defined. Must be between 1 and 10,000.
- location number
- The maximum number of locations that can be configured. Must be between 1 and 10,000.
- macro number
- The maximum number of macros that can be created. Must be between 1 and 10,000.
- private
Gateway number - The maximum number of private gateways that can be managed. Must be between 1 and 10,000.
- project number
- The maximum number of projects that can be created. Must be between 1 and 10,000.
- registry number
- The maximum number of registries that can be configured. Must be between 1 and 10,000.
- resource
Limit stringId - The ID of this resource.
- role number
- The maximum number of roles that can be assigned. Must be between 1 and 10,000.
- ssh
Key number - The maximum number of SSH keys that can be managed. Must be between 1 and 10,000.
- team number
- The maximum number of teams that can be created. Must be between 1 and 10,000.
- timeouts
Resource
Limit Timeouts - user number
- The maximum number of users that can be added. Must be between 1 and 10,000.
- workspace number
- The maximum number of workspaces that can be created. Must be between 1 and 10,000.
- alert float
- The maximum number of alerts that can be created. Must be between 1 and 10,000.
- api_
keys float - The maximum number of API keys that can be generated. Must be between 1 and 10,000.
- appliance float
- The maximum number of appliances that can be managed. Must be between 1 and 50,000.
- appliance_
token float - The maximum number of appliance tokens that can be issued. Must be between 1 and 10,000.
- application_
deployment float - The maximum number of application deployments allowed. Must be between 1 and 10,000.
- application_
profile float - The maximum number of application profiles that can be configured. Must be between 1 and 10,000.
- certificate float
- The maximum number of certificates that can be managed. Must be between 1 and 10,000.
- cloud_
account float - The maximum number of cloud accounts that can be added. Must be between 1 and 10,000.
- cluster float
- The maximum number of clusters that can be created. Must be between 1 and 50,000.
- cluster_
group float - The maximum number of cluster groups that can be created. Must be between 1 and 10,000.
- cluster_
profile float - The maximum number of cluster profiles that can be configured. Must be between 1 and 10,000.
- filter float
- The maximum number of filters that can be defined. Must be between 1 and 10,000.
- location float
- The maximum number of locations that can be configured. Must be between 1 and 10,000.
- macro float
- The maximum number of macros that can be created. Must be between 1 and 10,000.
- private_
gateway float - The maximum number of private gateways that can be managed. Must be between 1 and 10,000.
- project float
- The maximum number of projects that can be created. Must be between 1 and 10,000.
- registry float
- The maximum number of registries that can be configured. Must be between 1 and 10,000.
- resource_
limit_ strid - The ID of this resource.
- role float
- The maximum number of roles that can be assigned. Must be between 1 and 10,000.
- ssh_
key float - The maximum number of SSH keys that can be managed. Must be between 1 and 10,000.
- team float
- The maximum number of teams that can be created. Must be between 1 and 10,000.
- timeouts
Resource
Limit Timeouts Args - user float
- The maximum number of users that can be added. Must be between 1 and 10,000.
- workspace float
- The maximum number of workspaces that can be created. Must be between 1 and 10,000.
- alert Number
- The maximum number of alerts that can be created. Must be between 1 and 10,000.
- api
Keys Number - The maximum number of API keys that can be generated. Must be between 1 and 10,000.
- appliance Number
- The maximum number of appliances that can be managed. Must be between 1 and 50,000.
- appliance
Token Number - The maximum number of appliance tokens that can be issued. Must be between 1 and 10,000.
- application
Deployment Number - The maximum number of application deployments allowed. Must be between 1 and 10,000.
- application
Profile Number - The maximum number of application profiles that can be configured. Must be between 1 and 10,000.
- certificate Number
- The maximum number of certificates that can be managed. Must be between 1 and 10,000.
- cloud
Account Number - The maximum number of cloud accounts that can be added. Must be between 1 and 10,000.
- cluster Number
- The maximum number of clusters that can be created. Must be between 1 and 50,000.
- cluster
Group Number - The maximum number of cluster groups that can be created. Must be between 1 and 10,000.
- cluster
Profile Number - The maximum number of cluster profiles that can be configured. Must be between 1 and 10,000.
- filter Number
- The maximum number of filters that can be defined. Must be between 1 and 10,000.
- location Number
- The maximum number of locations that can be configured. Must be between 1 and 10,000.
- macro Number
- The maximum number of macros that can be created. Must be between 1 and 10,000.
- private
Gateway Number - The maximum number of private gateways that can be managed. Must be between 1 and 10,000.
- project Number
- The maximum number of projects that can be created. Must be between 1 and 10,000.
- registry Number
- The maximum number of registries that can be configured. Must be between 1 and 10,000.
- resource
Limit StringId - The ID of this resource.
- role Number
- The maximum number of roles that can be assigned. Must be between 1 and 10,000.
- ssh
Key Number - The maximum number of SSH keys that can be managed. Must be between 1 and 10,000.
- team Number
- The maximum number of teams that can be created. Must be between 1 and 10,000.
- timeouts Property Map
- user Number
- The maximum number of users that can be added. Must be between 1 and 10,000.
- workspace Number
- The maximum number of workspaces that can be created. Must be between 1 and 10,000.
Supporting Types
ResourceLimitTimeouts, ResourceLimitTimeoutsArgs
Package Details
- Repository
- spectrocloud spectrocloud/terraform-provider-spectrocloud
- License
- Notes
- This Pulumi package is based on the
spectrocloud
Terraform Provider.