1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FleetAppsManagement
  5. getProperty
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.FleetAppsManagement.getProperty

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides details about a specific Property resource in Oracle Cloud Infrastructure Fleet Apps Management service.

    Gets a Property by identifier

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testProperty = oci.FleetAppsManagement.getProperty({
        propertyId: testPropertyOciFleetAppsManagementProperty.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_property = oci.FleetAppsManagement.get_property(property_id=test_property_oci_fleet_apps_management_property["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/FleetAppsManagement"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := FleetAppsManagement.GetProperty(ctx, &fleetappsmanagement.GetPropertyArgs{
    			PropertyId: testPropertyOciFleetAppsManagementProperty.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testProperty = Oci.FleetAppsManagement.GetProperty.Invoke(new()
        {
            PropertyId = testPropertyOciFleetAppsManagementProperty.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.FleetAppsManagement.FleetAppsManagementFunctions;
    import com.pulumi.oci.FleetAppsManagement.inputs.GetPropertyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testProperty = FleetAppsManagementFunctions.getProperty(GetPropertyArgs.builder()
                .propertyId(testPropertyOciFleetAppsManagementProperty.id())
                .build());
    
        }
    }
    
    variables:
      testProperty:
        fn::invoke:
          Function: oci:FleetAppsManagement:getProperty
          Arguments:
            propertyId: ${testPropertyOciFleetAppsManagementProperty.id}
    

    Using getProperty

    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 getProperty(args: GetPropertyArgs, opts?: InvokeOptions): Promise<GetPropertyResult>
    function getPropertyOutput(args: GetPropertyOutputArgs, opts?: InvokeOptions): Output<GetPropertyResult>
    def get_property(property_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetPropertyResult
    def get_property_output(property_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetPropertyResult]
    func GetProperty(ctx *Context, args *GetPropertyArgs, opts ...InvokeOption) (*GetPropertyResult, error)
    func GetPropertyOutput(ctx *Context, args *GetPropertyOutputArgs, opts ...InvokeOption) GetPropertyResultOutput

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

    public static class GetProperty 
    {
        public static Task<GetPropertyResult> InvokeAsync(GetPropertyArgs args, InvokeOptions? opts = null)
        public static Output<GetPropertyResult> Invoke(GetPropertyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPropertyResult> getProperty(GetPropertyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:FleetAppsManagement/getProperty:getProperty
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PropertyId string
    unique Property identifier
    PropertyId string
    unique Property identifier
    propertyId String
    unique Property identifier
    propertyId string
    unique Property identifier
    property_id str
    unique Property identifier
    propertyId String
    unique Property identifier

    getProperty Result

    The following output properties are available:

    CompartmentId string
    Tenancy OCID
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    FreeformTags Dictionary<string, string>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The OCID of the resource.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    PropertyId string
    ResourceRegion string
    Associated region
    Scope string
    The scope of the property
    Selection string
    Text selection of the category
    State string
    The current state of the Property.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    Type string
    The type of the property.
    ValueType string
    Format of the value
    Values List<string>
    Values of the property (must be a single value if selection = 'single choice')
    CompartmentId string
    Tenancy OCID
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    FreeformTags map[string]string
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The OCID of the resource.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    PropertyId string
    ResourceRegion string
    Associated region
    Scope string
    The scope of the property
    Selection string
    Text selection of the category
    State string
    The current state of the Property.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    Type string
    The type of the property.
    ValueType string
    Format of the value
    Values []string
    Values of the property (must be a single value if selection = 'single choice')
    compartmentId String
    Tenancy OCID
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    freeformTags Map<String,String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The OCID of the resource.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    propertyId String
    resourceRegion String
    Associated region
    scope String
    The scope of the property
    selection String
    Text selection of the category
    state String
    The current state of the Property.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time this resource was last updated. An RFC3339 formatted datetime string.
    type String
    The type of the property.
    valueType String
    Format of the value
    values List<String>
    Values of the property (must be a single value if selection = 'single choice')
    compartmentId string
    Tenancy OCID
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    freeformTags {[key: string]: string}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    The OCID of the resource.
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    propertyId string
    resourceRegion string
    Associated region
    scope string
    The scope of the property
    selection string
    Text selection of the category
    state string
    The current state of the Property.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    type string
    The type of the property.
    valueType string
    Format of the value
    values string[]
    Values of the property (must be a single value if selection = 'single choice')
    compartment_id str
    Tenancy OCID
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    The OCID of the resource.
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    property_id str
    resource_region str
    Associated region
    scope str
    The scope of the property
    selection str
    Text selection of the category
    state str
    The current state of the Property.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time this resource was created. An RFC3339 formatted datetime string.
    time_updated str
    The time this resource was last updated. An RFC3339 formatted datetime string.
    type str
    The type of the property.
    value_type str
    Format of the value
    values Sequence[str]
    Values of the property (must be a single value if selection = 'single choice')
    compartmentId String
    Tenancy OCID
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The OCID of the resource.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    propertyId String
    resourceRegion String
    Associated region
    scope String
    The scope of the property
    selection String
    Text selection of the category
    state String
    The current state of the Property.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time this resource was last updated. An RFC3339 formatted datetime string.
    type String
    The type of the property.
    valueType String
    Format of the value
    values List<String>
    Values of the property (must be a single value if selection = 'single choice')

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi