Google Native

Pulumi Official
Package maintained by Pulumi
v0.22.0 published on Friday, Jul 29, 2022 by Pulumi

getInstanceAttachment

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
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0