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

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.Annotation

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

    Creates an Annotation Note - this resource’s API doesn’t support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

    Create Annotation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Annotation(name: string, args?: AnnotationArgs, opts?: CustomResourceOptions);
    @overload
    def Annotation(resource_name: str,
                   args: Optional[AnnotationArgs] = None,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Annotation(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   labels: Optional[Mapping[str, str]] = None,
                   location: Optional[str] = None,
                   name: Optional[str] = None,
                   project: Optional[str] = None,
                   request_id: Optional[str] = None,
                   type: Optional[AnnotationType] = None)
    func NewAnnotation(ctx *Context, name string, args *AnnotationArgs, opts ...ResourceOption) (*Annotation, error)
    public Annotation(string name, AnnotationArgs? args = null, CustomResourceOptions? opts = null)
    public Annotation(String name, AnnotationArgs args)
    public Annotation(String name, AnnotationArgs args, CustomResourceOptions options)
    
    type: google-native:rapidmigrationassessment/v1:Annotation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AnnotationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AnnotationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AnnotationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AnnotationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AnnotationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var google_nativeAnnotationResource = new GoogleNative.RapidMigrationAssessment.V1.Annotation("google-nativeAnnotationResource", new()
    {
        Labels = 
        {
            { "string", "string" },
        },
        Location = "string",
        Name = "string",
        Project = "string",
        RequestId = "string",
        Type = GoogleNative.RapidMigrationAssessment.V1.AnnotationType.TypeUnspecified,
    });
    
    example, err := rapidmigrationassessment.NewAnnotation(ctx, "google-nativeAnnotationResource", &rapidmigrationassessment.AnnotationArgs{
    Labels: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    Location: pulumi.String("string"),
    Name: pulumi.String("string"),
    Project: pulumi.String("string"),
    RequestId: pulumi.String("string"),
    Type: rapidmigrationassessment.AnnotationTypeTypeUnspecified,
    })
    
    var google_nativeAnnotationResource = new Annotation("google-nativeAnnotationResource", AnnotationArgs.builder()        
        .labels(Map.of("string", "string"))
        .location("string")
        .name("string")
        .project("string")
        .requestId("string")
        .type("TYPE_UNSPECIFIED")
        .build());
    
    google_native_annotation_resource = google_native.rapidmigrationassessment.v1.Annotation("google-nativeAnnotationResource",
        labels={
            "string": "string",
        },
        location="string",
        name="string",
        project="string",
        request_id="string",
        type=google_native.rapidmigrationassessment.v1.AnnotationType.TYPE_UNSPECIFIED)
    
    const google_nativeAnnotationResource = new google_native.rapidmigrationassessment.v1.Annotation("google-nativeAnnotationResource", {
        labels: {
            string: "string",
        },
        location: "string",
        name: "string",
        project: "string",
        requestId: "string",
        type: google_native.rapidmigrationassessment.v1.AnnotationType.TypeUnspecified,
    });
    
    type: google-native:rapidmigrationassessment/v1:Annotation
    properties:
        labels:
            string: string
        location: string
        name: string
        project: string
        requestId: string
        type: TYPE_UNSPECIFIED
    

    Annotation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Annotation resource accepts the following input properties:

    Labels Dictionary<string, string>
    Labels as key value pairs.
    Location string
    Name string
    name of resource.
    Project string
    RequestId string
    Optional. An optional request ID to identify requests.
    Type Pulumi.GoogleNative.RapidMigrationAssessment.V1.AnnotationType
    Type of an annotation.
    Labels map[string]string
    Labels as key value pairs.
    Location string
    Name string
    name of resource.
    Project string
    RequestId string
    Optional. An optional request ID to identify requests.
    Type AnnotationType
    Type of an annotation.
    labels Map<String,String>
    Labels as key value pairs.
    location String
    name String
    name of resource.
    project String
    requestId String
    Optional. An optional request ID to identify requests.
    type AnnotationType
    Type of an annotation.
    labels {[key: string]: string}
    Labels as key value pairs.
    location string
    name string
    name of resource.
    project string
    requestId string
    Optional. An optional request ID to identify requests.
    type AnnotationType
    Type of an annotation.
    labels Mapping[str, str]
    Labels as key value pairs.
    location str
    name str
    name of resource.
    project str
    request_id str
    Optional. An optional request ID to identify requests.
    type AnnotationType
    Type of an annotation.
    labels Map<String>
    Labels as key value pairs.
    location String
    name String
    name of resource.
    project String
    requestId String
    Optional. An optional request ID to identify requests.
    type "TYPE_UNSPECIFIED" | "TYPE_LEGACY_EXPORT_CONSENT" | "TYPE_QWIKLAB"
    Type of an annotation.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Annotation resource produces the following output properties:

    CreateTime string
    Create time stamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    Update time stamp.
    CreateTime string
    Create time stamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    Update time stamp.
    createTime String
    Create time stamp.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    Update time stamp.
    createTime string
    Create time stamp.
    id string
    The provider-assigned unique ID for this managed resource.
    updateTime string
    Update time stamp.
    create_time str
    Create time stamp.
    id str
    The provider-assigned unique ID for this managed resource.
    update_time str
    Update time stamp.
    createTime String
    Create time stamp.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    Update time stamp.

    Supporting Types

    AnnotationType, AnnotationTypeArgs

    TypeUnspecified
    TYPE_UNSPECIFIEDUnknown type
    TypeLegacyExportConsent
    TYPE_LEGACY_EXPORT_CONSENTIndicates that this project has opted into StratoZone export.
    TypeQwiklab
    TYPE_QWIKLABIndicates that this project is created by Qwiklab.
    AnnotationTypeTypeUnspecified
    TYPE_UNSPECIFIEDUnknown type
    AnnotationTypeTypeLegacyExportConsent
    TYPE_LEGACY_EXPORT_CONSENTIndicates that this project has opted into StratoZone export.
    AnnotationTypeTypeQwiklab
    TYPE_QWIKLABIndicates that this project is created by Qwiklab.
    TypeUnspecified
    TYPE_UNSPECIFIEDUnknown type
    TypeLegacyExportConsent
    TYPE_LEGACY_EXPORT_CONSENTIndicates that this project has opted into StratoZone export.
    TypeQwiklab
    TYPE_QWIKLABIndicates that this project is created by Qwiklab.
    TypeUnspecified
    TYPE_UNSPECIFIEDUnknown type
    TypeLegacyExportConsent
    TYPE_LEGACY_EXPORT_CONSENTIndicates that this project has opted into StratoZone export.
    TypeQwiklab
    TYPE_QWIKLABIndicates that this project is created by Qwiklab.
    TYPE_UNSPECIFIED
    TYPE_UNSPECIFIEDUnknown type
    TYPE_LEGACY_EXPORT_CONSENT
    TYPE_LEGACY_EXPORT_CONSENTIndicates that this project has opted into StratoZone export.
    TYPE_QWIKLAB
    TYPE_QWIKLABIndicates that this project is created by Qwiklab.
    "TYPE_UNSPECIFIED"
    TYPE_UNSPECIFIEDUnknown type
    "TYPE_LEGACY_EXPORT_CONSENT"
    TYPE_LEGACY_EXPORT_CONSENTIndicates that this project has opted into StratoZone export.
    "TYPE_QWIKLAB"
    TYPE_QWIKLABIndicates that this project is created by Qwiklab.

    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