1. Packages
  2. Google Cloud Native
  3. API Docs
  4. apigee
  5. apigee/v1
  6. getInstanceAttachment

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.apigee/v1.getInstanceAttachment

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Gets an attachment. Note: Not supported for Apigee hybrid.

    Using getInstanceAttachment

    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 getInstanceAttachment(args: GetInstanceAttachmentArgs, opts?: InvokeOptions): Promise<GetInstanceAttachmentResult>
    function getInstanceAttachmentOutput(args: GetInstanceAttachmentOutputArgs, opts?: InvokeOptions): Output<GetInstanceAttachmentResult>
    def get_instance_attachment(attachment_id: Optional[str] = None,
                                instance_id: Optional[str] = None,
                                organization_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetInstanceAttachmentResult
    def get_instance_attachment_output(attachment_id: Optional[pulumi.Input[str]] = None,
                                instance_id: Optional[pulumi.Input[str]] = None,
                                organization_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetInstanceAttachmentResult]
    func LookupInstanceAttachment(ctx *Context, args *LookupInstanceAttachmentArgs, opts ...InvokeOption) (*LookupInstanceAttachmentResult, error)
    func LookupInstanceAttachmentOutput(ctx *Context, args *LookupInstanceAttachmentOutputArgs, opts ...InvokeOption) LookupInstanceAttachmentResultOutput

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

    public static class GetInstanceAttachment 
    {
        public static Task<GetInstanceAttachmentResult> InvokeAsync(GetInstanceAttachmentArgs args, InvokeOptions? opts = null)
        public static Output<GetInstanceAttachmentResult> Invoke(GetInstanceAttachmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInstanceAttachmentResult> getInstanceAttachment(GetInstanceAttachmentArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:apigee/v1:getInstanceAttachment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getInstanceAttachment Result

    The following output properties are available:

    CreatedAt string
    Time the attachment was created in milliseconds since epoch.
    Environment string
    ID of the attached environment.
    Name string
    ID of the attachment.
    CreatedAt string
    Time the attachment was created in milliseconds since epoch.
    Environment string
    ID of the attached environment.
    Name string
    ID of the attachment.
    createdAt String
    Time the attachment was created in milliseconds since epoch.
    environment String
    ID of the attached environment.
    name String
    ID of the attachment.
    createdAt string
    Time the attachment was created in milliseconds since epoch.
    environment string
    ID of the attached environment.
    name string
    ID of the attachment.
    created_at str
    Time the attachment was created in milliseconds since epoch.
    environment str
    ID of the attached environment.
    name str
    ID of the attachment.
    createdAt String
    Time the attachment was created in milliseconds since epoch.
    environment String
    ID of the attached environment.
    name String
    ID of the attachment.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi