1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. privatezone
  5. getUserVpcAuthorization
Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus

    Data Source schema for Byteplus::PrivateZone::UserVPCAuthorization

    Using getUserVpcAuthorization

    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 getUserVpcAuthorization(args: GetUserVpcAuthorizationArgs, opts?: InvokeOptions): Promise<GetUserVpcAuthorizationResult>
    function getUserVpcAuthorizationOutput(args: GetUserVpcAuthorizationOutputArgs, opts?: InvokeOptions): Output<GetUserVpcAuthorizationResult>
    def get_user_vpc_authorization(id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetUserVpcAuthorizationResult
    def get_user_vpc_authorization_output(id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetUserVpcAuthorizationResult]
    func LookupUserVpcAuthorization(ctx *Context, args *LookupUserVpcAuthorizationArgs, opts ...InvokeOption) (*LookupUserVpcAuthorizationResult, error)
    func LookupUserVpcAuthorizationOutput(ctx *Context, args *LookupUserVpcAuthorizationOutputArgs, opts ...InvokeOption) LookupUserVpcAuthorizationResultOutput

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

    public static class GetUserVpcAuthorization 
    {
        public static Task<GetUserVpcAuthorizationResult> InvokeAsync(GetUserVpcAuthorizationArgs args, InvokeOptions? opts = null)
        public static Output<GetUserVpcAuthorizationResult> Invoke(GetUserVpcAuthorizationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUserVpcAuthorizationResult> getUserVpcAuthorization(GetUserVpcAuthorizationArgs args, InvokeOptions options)
    public static Output<GetUserVpcAuthorizationResult> getUserVpcAuthorization(GetUserVpcAuthorizationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: bytepluscc:privatezone/getUserVpcAuthorization:getUserVpcAuthorization
      arguments:
        # arguments dictionary

    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 str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getUserVpcAuthorization Result

    The following output properties are available:

    AccountId string
    Account.
    AuthType int
    Verification method. 0: Use enterprise organization verification. 1: Use verification code.
    Id string
    Uniquely identifies the resource.
    Status string
    Account status. Normal: The account is in the enterprise organization. Exited: The account has exited the enterprise organization.
    VerifyCode string
    Verification code. This parameter is required when AuthType is set to 1.
    AccountId string
    Account.
    AuthType int
    Verification method. 0: Use enterprise organization verification. 1: Use verification code.
    Id string
    Uniquely identifies the resource.
    Status string
    Account status. Normal: The account is in the enterprise organization. Exited: The account has exited the enterprise organization.
    VerifyCode string
    Verification code. This parameter is required when AuthType is set to 1.
    accountId String
    Account.
    authType Integer
    Verification method. 0: Use enterprise organization verification. 1: Use verification code.
    id String
    Uniquely identifies the resource.
    status String
    Account status. Normal: The account is in the enterprise organization. Exited: The account has exited the enterprise organization.
    verifyCode String
    Verification code. This parameter is required when AuthType is set to 1.
    accountId string
    Account.
    authType number
    Verification method. 0: Use enterprise organization verification. 1: Use verification code.
    id string
    Uniquely identifies the resource.
    status string
    Account status. Normal: The account is in the enterprise organization. Exited: The account has exited the enterprise organization.
    verifyCode string
    Verification code. This parameter is required when AuthType is set to 1.
    account_id str
    Account.
    auth_type int
    Verification method. 0: Use enterprise organization verification. 1: Use verification code.
    id str
    Uniquely identifies the resource.
    status str
    Account status. Normal: The account is in the enterprise organization. Exited: The account has exited the enterprise organization.
    verify_code str
    Verification code. This parameter is required when AuthType is set to 1.
    accountId String
    Account.
    authType Number
    Verification method. 0: Use enterprise organization verification. 1: Use verification code.
    id String
    Uniquely identifies the resource.
    status String
    Account status. Normal: The account is in the enterprise organization. Exited: The account has exited the enterprise organization.
    verifyCode String
    Verification code. This parameter is required when AuthType is set to 1.

    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.21
    published on Thursday, Apr 2, 2026 by Byteplus
      Try Pulumi Cloud free. Your team will thank you.