1. Packages
  2. Packages
  3. Bytepluscc Provider
  4. API Docs
  5. cen
  6. getGrantInstance
Viewing docs for bytepluscc v0.0.24
published on Thursday, Apr 23, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.24
published on Thursday, Apr 23, 2026 by Byteplus

    Data Source schema for Byteplus::CEN::GrantInstance

    Using getGrantInstance

    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 getGrantInstance(args: GetGrantInstanceArgs, opts?: InvokeOptions): Promise<GetGrantInstanceResult>
    function getGrantInstanceOutput(args: GetGrantInstanceOutputArgs, opts?: InvokeOptions): Output<GetGrantInstanceResult>
    def get_grant_instance(id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetGrantInstanceResult
    def get_grant_instance_output(id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetGrantInstanceResult]
    func LookupGrantInstance(ctx *Context, args *LookupGrantInstanceArgs, opts ...InvokeOption) (*LookupGrantInstanceResult, error)
    func LookupGrantInstanceOutput(ctx *Context, args *LookupGrantInstanceOutputArgs, opts ...InvokeOption) LookupGrantInstanceResultOutput

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

    public static class GetGrantInstance 
    {
        public static Task<GetGrantInstanceResult> InvokeAsync(GetGrantInstanceArgs args, InvokeOptions? opts = null)
        public static Output<GetGrantInstanceResult> Invoke(GetGrantInstanceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGrantInstanceResult> getGrantInstance(GetGrantInstanceArgs args, InvokeOptions options)
    public static Output<GetGrantInstanceResult> getGrantInstance(GetGrantInstanceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: bytepluscc:cen/getGrantInstance:getGrantInstance
      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.

    getGrantInstance Result

    The following output properties are available:

    CenId string
    Cloud Enterprise Network instance ID of the other party's account
    CenOwnerId string
    Other party's account
    CreationTime string
    Network instance authorization time
    Id string
    Uniquely identifies the resource.
    InstanceId string
    ID of the network instance to be authorized
    InstanceRegionId string
    Region where the network instance is located
    InstanceType string
    Network instance type. Options: VPC: Virtual Private Cloud. DCGW: Direct Connect Gateway
    CenId string
    Cloud Enterprise Network instance ID of the other party's account
    CenOwnerId string
    Other party's account
    CreationTime string
    Network instance authorization time
    Id string
    Uniquely identifies the resource.
    InstanceId string
    ID of the network instance to be authorized
    InstanceRegionId string
    Region where the network instance is located
    InstanceType string
    Network instance type. Options: VPC: Virtual Private Cloud. DCGW: Direct Connect Gateway
    cenId String
    Cloud Enterprise Network instance ID of the other party's account
    cenOwnerId String
    Other party's account
    creationTime String
    Network instance authorization time
    id String
    Uniquely identifies the resource.
    instanceId String
    ID of the network instance to be authorized
    instanceRegionId String
    Region where the network instance is located
    instanceType String
    Network instance type. Options: VPC: Virtual Private Cloud. DCGW: Direct Connect Gateway
    cenId string
    Cloud Enterprise Network instance ID of the other party's account
    cenOwnerId string
    Other party's account
    creationTime string
    Network instance authorization time
    id string
    Uniquely identifies the resource.
    instanceId string
    ID of the network instance to be authorized
    instanceRegionId string
    Region where the network instance is located
    instanceType string
    Network instance type. Options: VPC: Virtual Private Cloud. DCGW: Direct Connect Gateway
    cen_id str
    Cloud Enterprise Network instance ID of the other party's account
    cen_owner_id str
    Other party's account
    creation_time str
    Network instance authorization time
    id str
    Uniquely identifies the resource.
    instance_id str
    ID of the network instance to be authorized
    instance_region_id str
    Region where the network instance is located
    instance_type str
    Network instance type. Options: VPC: Virtual Private Cloud. DCGW: Direct Connect Gateway
    cenId String
    Cloud Enterprise Network instance ID of the other party's account
    cenOwnerId String
    Other party's account
    creationTime String
    Network instance authorization time
    id String
    Uniquely identifies the resource.
    instanceId String
    ID of the network instance to be authorized
    instanceRegionId String
    Region where the network instance is located
    instanceType String
    Network instance type. Options: VPC: Virtual Private Cloud. DCGW: Direct Connect Gateway

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