1. Packages
  2. Google Cloud Native
  3. API Docs
  4. rapidmigrationassessment
  5. rapidmigrationassessment/v1
  6. getAnnotation

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.rapidmigrationassessment/v1.getAnnotation

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 details of a single Annotation.

    Using getAnnotation

    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 getAnnotation(args: GetAnnotationArgs, opts?: InvokeOptions): Promise<GetAnnotationResult>
    function getAnnotationOutput(args: GetAnnotationOutputArgs, opts?: InvokeOptions): Output<GetAnnotationResult>
    def get_annotation(annotation_id: Optional[str] = None,
                       location: Optional[str] = None,
                       project: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetAnnotationResult
    def get_annotation_output(annotation_id: Optional[pulumi.Input[str]] = None,
                       location: Optional[pulumi.Input[str]] = None,
                       project: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetAnnotationResult]
    func LookupAnnotation(ctx *Context, args *LookupAnnotationArgs, opts ...InvokeOption) (*LookupAnnotationResult, error)
    func LookupAnnotationOutput(ctx *Context, args *LookupAnnotationOutputArgs, opts ...InvokeOption) LookupAnnotationResultOutput

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

    public static class GetAnnotation 
    {
        public static Task<GetAnnotationResult> InvokeAsync(GetAnnotationArgs args, InvokeOptions? opts = null)
        public static Output<GetAnnotationResult> Invoke(GetAnnotationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAnnotationResult> getAnnotation(GetAnnotationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:rapidmigrationassessment/v1:getAnnotation
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AnnotationId string
    Location string
    Project string
    AnnotationId string
    Location string
    Project string
    annotationId String
    location String
    project String
    annotationId string
    location string
    project string
    annotationId String
    location String
    project String

    getAnnotation Result

    The following output properties are available:

    CreateTime string
    Create time stamp.
    Labels Dictionary<string, string>
    Labels as key value pairs.
    Name string
    name of resource.
    Type string
    Type of an annotation.
    UpdateTime string
    Update time stamp.
    CreateTime string
    Create time stamp.
    Labels map[string]string
    Labels as key value pairs.
    Name string
    name of resource.
    Type string
    Type of an annotation.
    UpdateTime string
    Update time stamp.
    createTime String
    Create time stamp.
    labels Map<String,String>
    Labels as key value pairs.
    name String
    name of resource.
    type String
    Type of an annotation.
    updateTime String
    Update time stamp.
    createTime string
    Create time stamp.
    labels {[key: string]: string}
    Labels as key value pairs.
    name string
    name of resource.
    type string
    Type of an annotation.
    updateTime string
    Update time stamp.
    create_time str
    Create time stamp.
    labels Mapping[str, str]
    Labels as key value pairs.
    name str
    name of resource.
    type str
    Type of an annotation.
    update_time str
    Update time stamp.
    createTime String
    Create time stamp.
    labels Map<String>
    Labels as key value pairs.
    name String
    name of resource.
    type String
    Type of an annotation.
    updateTime String
    Update time stamp.

    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