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 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:
- Annotation
Id string - Location string
- Project string
- Annotation
Id string - Location string
- Project string
- annotation
Id String - location String
- project String
- annotation
Id string - location string
- project string
- annotation_
id str - location str
- project str
- annotation
Id String - location String
- project String
getAnnotation Result
The following output properties are available:
- Create
Time string - Create time stamp.
- Labels Dictionary<string, string>
- Labels as key value pairs.
- Name string
- name of resource.
- Type string
- Type of an annotation.
- Update
Time string - Update time stamp.
- Create
Time string - Create time stamp.
- Labels map[string]string
- Labels as key value pairs.
- Name string
- name of resource.
- Type string
- Type of an annotation.
- Update
Time string - Update time stamp.
- create
Time String - Create time stamp.
- labels Map<String,String>
- Labels as key value pairs.
- name String
- name of resource.
- type String
- Type of an annotation.
- update
Time String - Update time stamp.
- create
Time string - Create time stamp.
- labels {[key: string]: string}
- Labels as key value pairs.
- name string
- name of resource.
- type string
- Type of an annotation.
- update
Time 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.
- create
Time String - Create time stamp.
- labels Map<String>
- Labels as key value pairs.
- name String
- name of resource.
- type String
- Type of an annotation.
- update
Time String - Update time stamp.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
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