cloudfoundry.FeatureFlags
Explore with Pulumi AI
Create FeatureFlags Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FeatureFlags(name: string, args?: FeatureFlagsArgs, opts?: CustomResourceOptions);
@overload
def FeatureFlags(resource_name: str,
args: Optional[FeatureFlagsArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def FeatureFlags(resource_name: str,
opts: Optional[ResourceOptions] = None,
feature_flags: Optional[FeatureFlagsFeatureFlagsArgs] = None,
feature_flags_id: Optional[str] = None)
func NewFeatureFlags(ctx *Context, name string, args *FeatureFlagsArgs, opts ...ResourceOption) (*FeatureFlags, error)
public FeatureFlags(string name, FeatureFlagsArgs? args = null, CustomResourceOptions? opts = null)
public FeatureFlags(String name, FeatureFlagsArgs args)
public FeatureFlags(String name, FeatureFlagsArgs args, CustomResourceOptions options)
type: cloudfoundry:FeatureFlags
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 FeatureFlagsArgs
- 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 FeatureFlagsArgs
- 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 FeatureFlagsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FeatureFlagsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FeatureFlagsArgs
- 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 featureFlagsResource = new Cloudfoundry.FeatureFlags("featureFlagsResource", new()
{
FeatureFlags = new Cloudfoundry.Inputs.FeatureFlagsFeatureFlagsArgs
{
AppBitsUpload = "string",
AppScaling = "string",
DiegoDocker = "string",
EnvVarVisibility = "string",
HideMarketplaceFromUnauthenticatedUsers = "string",
PrivateDomainCreation = "string",
ResourceMatching = "string",
RouteCreation = "string",
ServiceInstanceCreation = "string",
ServiceInstanceSharing = "string",
SetRolesByUsername = "string",
SpaceDeveloperEnvVarVisibility = "string",
SpaceScopedPrivateBrokerCreation = "string",
TaskCreation = "string",
UnsetRolesByUsername = "string",
UserOrgCreation = "string",
},
FeatureFlagsId = "string",
});
example, err := cloudfoundry.NewFeatureFlags(ctx, "featureFlagsResource", &cloudfoundry.FeatureFlagsArgs{
FeatureFlags: &cloudfoundry.FeatureFlagsFeatureFlagsArgs{
AppBitsUpload: pulumi.String("string"),
AppScaling: pulumi.String("string"),
DiegoDocker: pulumi.String("string"),
EnvVarVisibility: pulumi.String("string"),
HideMarketplaceFromUnauthenticatedUsers: pulumi.String("string"),
PrivateDomainCreation: pulumi.String("string"),
ResourceMatching: pulumi.String("string"),
RouteCreation: pulumi.String("string"),
ServiceInstanceCreation: pulumi.String("string"),
ServiceInstanceSharing: pulumi.String("string"),
SetRolesByUsername: pulumi.String("string"),
SpaceDeveloperEnvVarVisibility: pulumi.String("string"),
SpaceScopedPrivateBrokerCreation: pulumi.String("string"),
TaskCreation: pulumi.String("string"),
UnsetRolesByUsername: pulumi.String("string"),
UserOrgCreation: pulumi.String("string"),
},
FeatureFlagsId: pulumi.String("string"),
})
var featureFlagsResource = new FeatureFlags("featureFlagsResource", FeatureFlagsArgs.builder()
.featureFlags(FeatureFlagsFeatureFlagsArgs.builder()
.appBitsUpload("string")
.appScaling("string")
.diegoDocker("string")
.envVarVisibility("string")
.hideMarketplaceFromUnauthenticatedUsers("string")
.privateDomainCreation("string")
.resourceMatching("string")
.routeCreation("string")
.serviceInstanceCreation("string")
.serviceInstanceSharing("string")
.setRolesByUsername("string")
.spaceDeveloperEnvVarVisibility("string")
.spaceScopedPrivateBrokerCreation("string")
.taskCreation("string")
.unsetRolesByUsername("string")
.userOrgCreation("string")
.build())
.featureFlagsId("string")
.build());
feature_flags_resource = cloudfoundry.FeatureFlags("featureFlagsResource",
feature_flags={
"app_bits_upload": "string",
"app_scaling": "string",
"diego_docker": "string",
"env_var_visibility": "string",
"hide_marketplace_from_unauthenticated_users": "string",
"private_domain_creation": "string",
"resource_matching": "string",
"route_creation": "string",
"service_instance_creation": "string",
"service_instance_sharing": "string",
"set_roles_by_username": "string",
"space_developer_env_var_visibility": "string",
"space_scoped_private_broker_creation": "string",
"task_creation": "string",
"unset_roles_by_username": "string",
"user_org_creation": "string",
},
feature_flags_id="string")
const featureFlagsResource = new cloudfoundry.FeatureFlags("featureFlagsResource", {
featureFlags: {
appBitsUpload: "string",
appScaling: "string",
diegoDocker: "string",
envVarVisibility: "string",
hideMarketplaceFromUnauthenticatedUsers: "string",
privateDomainCreation: "string",
resourceMatching: "string",
routeCreation: "string",
serviceInstanceCreation: "string",
serviceInstanceSharing: "string",
setRolesByUsername: "string",
spaceDeveloperEnvVarVisibility: "string",
spaceScopedPrivateBrokerCreation: "string",
taskCreation: "string",
unsetRolesByUsername: "string",
userOrgCreation: "string",
},
featureFlagsId: "string",
});
type: cloudfoundry:FeatureFlags
properties:
featureFlags:
appBitsUpload: string
appScaling: string
diegoDocker: string
envVarVisibility: string
hideMarketplaceFromUnauthenticatedUsers: string
privateDomainCreation: string
resourceMatching: string
routeCreation: string
serviceInstanceCreation: string
serviceInstanceSharing: string
setRolesByUsername: string
spaceDeveloperEnvVarVisibility: string
spaceScopedPrivateBrokerCreation: string
taskCreation: string
unsetRolesByUsername: string
userOrgCreation: string
featureFlagsId: string
FeatureFlags 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 FeatureFlags resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the FeatureFlags 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 FeatureFlags Resource
Get an existing FeatureFlags 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?: FeatureFlagsState, opts?: CustomResourceOptions): FeatureFlags
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
feature_flags: Optional[FeatureFlagsFeatureFlagsArgs] = None,
feature_flags_id: Optional[str] = None) -> FeatureFlags
func GetFeatureFlags(ctx *Context, name string, id IDInput, state *FeatureFlagsState, opts ...ResourceOption) (*FeatureFlags, error)
public static FeatureFlags Get(string name, Input<string> id, FeatureFlagsState? state, CustomResourceOptions? opts = null)
public static FeatureFlags get(String name, Output<String> id, FeatureFlagsState state, CustomResourceOptions options)
resources: _: type: cloudfoundry:FeatureFlags 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.
Supporting Types
FeatureFlagsFeatureFlags, FeatureFlagsFeatureFlagsArgs
- App
Bits stringUpload - App
Scaling string - Diego
Docker string - Env
Var stringVisibility - Hide
Marketplace stringFrom Unauthenticated Users - Private
Domain stringCreation - Resource
Matching string - Route
Creation string - Service
Instance stringCreation - Service
Instance stringSharing - Set
Roles stringBy Username - Space
Developer stringEnv Var Visibility - Space
Scoped stringPrivate Broker Creation - Task
Creation string - Unset
Roles stringBy Username - User
Org stringCreation
- App
Bits stringUpload - App
Scaling string - Diego
Docker string - Env
Var stringVisibility - Hide
Marketplace stringFrom Unauthenticated Users - Private
Domain stringCreation - Resource
Matching string - Route
Creation string - Service
Instance stringCreation - Service
Instance stringSharing - Set
Roles stringBy Username - Space
Developer stringEnv Var Visibility - Space
Scoped stringPrivate Broker Creation - Task
Creation string - Unset
Roles stringBy Username - User
Org stringCreation
- app
Bits StringUpload - app
Scaling String - diego
Docker String - env
Var StringVisibility - hide
Marketplace StringFrom Unauthenticated Users - private
Domain StringCreation - resource
Matching String - route
Creation String - service
Instance StringCreation - service
Instance StringSharing - set
Roles StringBy Username - space
Developer StringEnv Var Visibility - space
Scoped StringPrivate Broker Creation - task
Creation String - unset
Roles StringBy Username - user
Org StringCreation
- app
Bits stringUpload - app
Scaling string - diego
Docker string - env
Var stringVisibility - hide
Marketplace stringFrom Unauthenticated Users - private
Domain stringCreation - resource
Matching string - route
Creation string - service
Instance stringCreation - service
Instance stringSharing - set
Roles stringBy Username - space
Developer stringEnv Var Visibility - space
Scoped stringPrivate Broker Creation - task
Creation string - unset
Roles stringBy Username - user
Org stringCreation
- app_
bits_ strupload - app_
scaling str - diego_
docker str - env_
var_ strvisibility - hide_
marketplace_ strfrom_ unauthenticated_ users - private_
domain_ strcreation - resource_
matching str - route_
creation str - service_
instance_ strcreation - service_
instance_ strsharing - set_
roles_ strby_ username - space_
developer_ strenv_ var_ visibility - space_
scoped_ strprivate_ broker_ creation - task_
creation str - unset_
roles_ strby_ username - user_
org_ strcreation
- app
Bits StringUpload - app
Scaling String - diego
Docker String - env
Var StringVisibility - hide
Marketplace StringFrom Unauthenticated Users - private
Domain StringCreation - resource
Matching String - route
Creation String - service
Instance StringCreation - service
Instance StringSharing - set
Roles StringBy Username - space
Developer StringEnv Var Visibility - space
Scoped StringPrivate Broker Creation - task
Creation String - unset
Roles StringBy Username - user
Org StringCreation
Package Details
- Repository
- cloudfoundry cloudfoundry-community/terraform-provider-cloudfoundry
- License
- Notes
- This Pulumi package is based on the
cloudfoundry
Terraform Provider.