1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. organization
  6. ServiceControlPolicyEnabler
Viewing docs for volcenginecc v0.0.50
published on Monday, Jul 20, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.50
published on Monday, Jul 20, 2026 by Volcengine

    Service control policy activation status

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const example = new volcenginecc.organization.ServiceControlPolicyEnabler("Example", {});
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    example = volcenginecc.organization.ServiceControlPolicyEnabler("Example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/organization"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := organization.NewServiceControlPolicyEnabler(ctx, "Example", nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Volcenginecc.Organization.ServiceControlPolicyEnabler("Example");
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.organization.ServiceControlPolicyEnabler;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 example = new ServiceControlPolicyEnabler("example");
    
        }
    }
    
    resources:
      example:
        type: volcenginecc:organization:ServiceControlPolicyEnabler
        name: Example
    
    pulumi {
      required_providers {
        volcenginecc = {
          source = "pulumi/volcenginecc"
        }
      }
    }
    
    resource "volcenginecc_organization_servicecontrolpolicyenabler" "Example" {
    }
    

    Create ServiceControlPolicyEnabler Resource

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

    Constructor syntax

    new ServiceControlPolicyEnabler(name: string, args?: ServiceControlPolicyEnablerArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceControlPolicyEnabler(resource_name: str,
                                    args: Optional[ServiceControlPolicyEnablerArgs] = None,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceControlPolicyEnabler(resource_name: str,
                                    opts: Optional[ResourceOptions] = None)
    func NewServiceControlPolicyEnabler(ctx *Context, name string, args *ServiceControlPolicyEnablerArgs, opts ...ResourceOption) (*ServiceControlPolicyEnabler, error)
    public ServiceControlPolicyEnabler(string name, ServiceControlPolicyEnablerArgs? args = null, CustomResourceOptions? opts = null)
    public ServiceControlPolicyEnabler(String name, ServiceControlPolicyEnablerArgs args)
    public ServiceControlPolicyEnabler(String name, ServiceControlPolicyEnablerArgs args, CustomResourceOptions options)
    
    type: volcenginecc:organization:ServiceControlPolicyEnabler
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "volcenginecc_organization_service_control_policy_enabler" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ServiceControlPolicyEnablerArgs
    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 ServiceControlPolicyEnablerArgs
    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 ServiceControlPolicyEnablerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceControlPolicyEnablerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceControlPolicyEnablerArgs
    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 serviceControlPolicyEnablerResource = new Volcenginecc.Organization.ServiceControlPolicyEnabler("serviceControlPolicyEnablerResource");
    
    example, err := organization.NewServiceControlPolicyEnabler(ctx, "serviceControlPolicyEnablerResource", nil)
    
    resource "volcenginecc_organization_service_control_policy_enabler" "serviceControlPolicyEnablerResource" {
      lifecycle {
        create_before_destroy = true
      }
    }
    
    var serviceControlPolicyEnablerResource = new ServiceControlPolicyEnabler("serviceControlPolicyEnablerResource");
    
    service_control_policy_enabler_resource = volcenginecc.organization.ServiceControlPolicyEnabler("serviceControlPolicyEnablerResource")
    
    const serviceControlPolicyEnablerResource = new volcenginecc.organization.ServiceControlPolicyEnabler("serviceControlPolicyEnablerResource", {});
    
    type: volcenginecc:organization:ServiceControlPolicyEnabler
    properties: {}
    

    ServiceControlPolicyEnabler 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 ServiceControlPolicyEnabler resource accepts the following input properties:

    Outputs

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

    CanFullAccessDetach bool
    Can the FullAccess policy be unbound?
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    Organization ID
    Status string
    Activation status, Enabled Disabled PendingEnable PendingDisable
    CanFullAccessDetach bool
    Can the FullAccess policy be unbound?
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    Organization ID
    Status string
    Activation status, Enabled Disabled PendingEnable PendingDisable
    can_full_access_detach bool
    Can the FullAccess policy be unbound?
    id string
    The provider-assigned unique ID for this managed resource.
    organization_id string
    Organization ID
    status string
    Activation status, Enabled Disabled PendingEnable PendingDisable
    canFullAccessDetach Boolean
    Can the FullAccess policy be unbound?
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    Organization ID
    status String
    Activation status, Enabled Disabled PendingEnable PendingDisable
    canFullAccessDetach boolean
    Can the FullAccess policy be unbound?
    id string
    The provider-assigned unique ID for this managed resource.
    organizationId string
    Organization ID
    status string
    Activation status, Enabled Disabled PendingEnable PendingDisable
    can_full_access_detach bool
    Can the FullAccess policy be unbound?
    id str
    The provider-assigned unique ID for this managed resource.
    organization_id str
    Organization ID
    status str
    Activation status, Enabled Disabled PendingEnable PendingDisable
    canFullAccessDetach Boolean
    Can the FullAccess policy be unbound?
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    Organization ID
    status String
    Activation status, Enabled Disabled PendingEnable PendingDisable

    Look up Existing ServiceControlPolicyEnabler Resource

    Get an existing ServiceControlPolicyEnabler 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?: ServiceControlPolicyEnablerState, opts?: CustomResourceOptions): ServiceControlPolicyEnabler
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            can_full_access_detach: Optional[bool] = None,
            organization_id: Optional[str] = None,
            status: Optional[str] = None) -> ServiceControlPolicyEnabler
    func GetServiceControlPolicyEnabler(ctx *Context, name string, id IDInput, state *ServiceControlPolicyEnablerState, opts ...ResourceOption) (*ServiceControlPolicyEnabler, error)
    public static ServiceControlPolicyEnabler Get(string name, Input<string> id, ServiceControlPolicyEnablerState? state, CustomResourceOptions? opts = null)
    public static ServiceControlPolicyEnabler get(String name, Output<String> id, ServiceControlPolicyEnablerState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:organization:ServiceControlPolicyEnabler    get:      id: ${id}
    import {
      to = volcenginecc_organization_service_control_policy_enabler.example
      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:
    CanFullAccessDetach bool
    Can the FullAccess policy be unbound?
    OrganizationId string
    Organization ID
    Status string
    Activation status, Enabled Disabled PendingEnable PendingDisable
    CanFullAccessDetach bool
    Can the FullAccess policy be unbound?
    OrganizationId string
    Organization ID
    Status string
    Activation status, Enabled Disabled PendingEnable PendingDisable
    can_full_access_detach bool
    Can the FullAccess policy be unbound?
    organization_id string
    Organization ID
    status string
    Activation status, Enabled Disabled PendingEnable PendingDisable
    canFullAccessDetach Boolean
    Can the FullAccess policy be unbound?
    organizationId String
    Organization ID
    status String
    Activation status, Enabled Disabled PendingEnable PendingDisable
    canFullAccessDetach boolean
    Can the FullAccess policy be unbound?
    organizationId string
    Organization ID
    status string
    Activation status, Enabled Disabled PendingEnable PendingDisable
    can_full_access_detach bool
    Can the FullAccess policy be unbound?
    organization_id str
    Organization ID
    status str
    Activation status, Enabled Disabled PendingEnable PendingDisable
    canFullAccessDetach Boolean
    Can the FullAccess policy be unbound?
    organizationId String
    Organization ID
    status String
    Activation status, Enabled Disabled PendingEnable PendingDisable

    Import

    $ pulumi import volcenginecc:organization/serviceControlPolicyEnabler:ServiceControlPolicyEnabler example "organization_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.50
    published on Monday, Jul 20, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial