1. Packages
  2. Packages
  3. Bytepluscc Provider
  4. API Docs
  5. organization
  6. getServiceControlPolicy
Viewing docs for bytepluscc v0.0.27
published on Thursday, May 14, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.27
published on Thursday, May 14, 2026 by Byteplus

    Data Source schema for Byteplus::Organization::ServiceControlPolicy

    Using getServiceControlPolicy

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getServiceControlPolicy(args: GetServiceControlPolicyArgs, opts?: InvokeOptions): Promise<GetServiceControlPolicyResult>
    function getServiceControlPolicyOutput(args: GetServiceControlPolicyOutputArgs, opts?: InvokeOptions): Output<GetServiceControlPolicyResult>
    def get_service_control_policy(id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetServiceControlPolicyResult
    def get_service_control_policy_output(id: pulumi.Input[Optional[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetServiceControlPolicyResult]
    func LookupServiceControlPolicy(ctx *Context, args *LookupServiceControlPolicyArgs, opts ...InvokeOption) (*LookupServiceControlPolicyResult, error)
    func LookupServiceControlPolicyOutput(ctx *Context, args *LookupServiceControlPolicyOutputArgs, opts ...InvokeOption) LookupServiceControlPolicyResultOutput

    > Note: This function is named LookupServiceControlPolicy in the Go SDK.

    public static class GetServiceControlPolicy 
    {
        public static Task<GetServiceControlPolicyResult> InvokeAsync(GetServiceControlPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceControlPolicyResult> Invoke(GetServiceControlPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceControlPolicyResult> getServiceControlPolicy(GetServiceControlPolicyArgs args, InvokeOptions options)
    public static Output<GetServiceControlPolicyResult> getServiceControlPolicy(GetServiceControlPolicyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: bytepluscc:organization/getServiceControlPolicy:getServiceControlPolicy
      arguments:
        # arguments dictionary
    data "bytepluscc_organization_getservicecontrolpolicy" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getServiceControlPolicy Result

    The following output properties are available:

    CreateDate string
    Creation time.
    Description string
    Description.
    Id string
    Uniquely identifies the resource.
    PolicyId string
    Policy ID.
    PolicyName string
    Policy name.
    PolicyType string
    Policy type.
    Statement string
    Policy expression.
    Targets List<Byteplus.GetServiceControlPolicyTarget>
    List of bound target objects.
    UpdateDate string
    Update time.
    CreateDate string
    Creation time.
    Description string
    Description.
    Id string
    Uniquely identifies the resource.
    PolicyId string
    Policy ID.
    PolicyName string
    Policy name.
    PolicyType string
    Policy type.
    Statement string
    Policy expression.
    Targets []GetServiceControlPolicyTarget
    List of bound target objects.
    UpdateDate string
    Update time.
    create_date string
    Creation time.
    description string
    Description.
    id string
    Uniquely identifies the resource.
    policy_id string
    Policy ID.
    policy_name string
    Policy name.
    policy_type string
    Policy type.
    statement string
    Policy expression.
    targets list(object)
    List of bound target objects.
    update_date string
    Update time.
    createDate String
    Creation time.
    description String
    Description.
    id String
    Uniquely identifies the resource.
    policyId String
    Policy ID.
    policyName String
    Policy name.
    policyType String
    Policy type.
    statement String
    Policy expression.
    targets List<GetServiceControlPolicyTarget>
    List of bound target objects.
    updateDate String
    Update time.
    createDate string
    Creation time.
    description string
    Description.
    id string
    Uniquely identifies the resource.
    policyId string
    Policy ID.
    policyName string
    Policy name.
    policyType string
    Policy type.
    statement string
    Policy expression.
    targets GetServiceControlPolicyTarget[]
    List of bound target objects.
    updateDate string
    Update time.
    create_date str
    Creation time.
    description str
    Description.
    id str
    Uniquely identifies the resource.
    policy_id str
    Policy ID.
    policy_name str
    Policy name.
    policy_type str
    Policy type.
    statement str
    Policy expression.
    targets Sequence[GetServiceControlPolicyTarget]
    List of bound target objects.
    update_date str
    Update time.
    createDate String
    Creation time.
    description String
    Description.
    id String
    Uniquely identifies the resource.
    policyId String
    Policy ID.
    policyName String
    Policy name.
    policyType String
    Policy type.
    statement String
    Policy expression.
    targets List<Property Map>
    List of bound target objects.
    updateDate String
    Update time.

    Supporting Types

    GetServiceControlPolicyTarget

    AttachedTime string
    Binding time.
    TargetId string
    Target ID.
    TargetName string
    Target name.
    TargetType string
    Target type: 1. OU 2. Account.
    AttachedTime string
    Binding time.
    TargetId string
    Target ID.
    TargetName string
    Target name.
    TargetType string
    Target type: 1. OU 2. Account.
    attached_time string
    Binding time.
    target_id string
    Target ID.
    target_name string
    Target name.
    target_type string
    Target type: 1. OU 2. Account.
    attachedTime String
    Binding time.
    targetId String
    Target ID.
    targetName String
    Target name.
    targetType String
    Target type: 1. OU 2. Account.
    attachedTime string
    Binding time.
    targetId string
    Target ID.
    targetName string
    Target name.
    targetType string
    Target type: 1. OU 2. Account.
    attached_time str
    Binding time.
    target_id str
    Target ID.
    target_name str
    Target name.
    target_type str
    Target type: 1. OU 2. Account.
    attachedTime String
    Binding time.
    targetId String
    Target ID.
    targetName String
    Target name.
    targetType String
    Target type: 1. OU 2. Account.

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.27
    published on Thursday, May 14, 2026 by Byteplus
      Try Pulumi Cloud free. Your team will thank you.