1. Packages
  2. Cloudfoundry Provider
  3. API Docs
  4. FeatureFlags
cloudfoundry 0.54.0 published on Monday, Apr 14, 2025 by cloudfoundry-community

cloudfoundry.FeatureFlags

Explore with Pulumi AI

cloudfoundry logo
cloudfoundry 0.54.0 published on Monday, Apr 14, 2025 by cloudfoundry-community

    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

    Package Details

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