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

oci.FleetAppsManagement.getFleetProperty

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 Fleet Property resource in Oracle Cloud Infrastructure Fleet Apps Management service.

    Gets a FleetProperty by identifier

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFleetProperty = oci.FleetAppsManagement.getFleetProperty({
        fleetId: testFleet.id,
        fleetPropertyId: testProperty.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_fleet_property = oci.FleetAppsManagement.get_fleet_property(fleet_id=test_fleet["id"],
        fleet_property_id=test_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.GetFleetProperty(ctx, &fleetappsmanagement.GetFleetPropertyArgs{
    			FleetId:         testFleet.Id,
    			FleetPropertyId: testProperty.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 testFleetProperty = Oci.FleetAppsManagement.GetFleetProperty.Invoke(new()
        {
            FleetId = testFleet.Id,
            FleetPropertyId = testProperty.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.GetFleetPropertyArgs;
    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 testFleetProperty = FleetAppsManagementFunctions.getFleetProperty(GetFleetPropertyArgs.builder()
                .fleetId(testFleet.id())
                .fleetPropertyId(testProperty.id())
                .build());
    
        }
    }
    
    variables:
      testFleetProperty:
        fn::invoke:
          Function: oci:FleetAppsManagement:getFleetProperty
          Arguments:
            fleetId: ${testFleet.id}
            fleetPropertyId: ${testProperty.id}
    

    Using getFleetProperty

    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 getFleetProperty(args: GetFleetPropertyArgs, opts?: InvokeOptions): Promise<GetFleetPropertyResult>
    function getFleetPropertyOutput(args: GetFleetPropertyOutputArgs, opts?: InvokeOptions): Output<GetFleetPropertyResult>
    def get_fleet_property(fleet_id: Optional[str] = None,
                           fleet_property_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetFleetPropertyResult
    def get_fleet_property_output(fleet_id: Optional[pulumi.Input[str]] = None,
                           fleet_property_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetFleetPropertyResult]
    func GetFleetProperty(ctx *Context, args *GetFleetPropertyArgs, opts ...InvokeOption) (*GetFleetPropertyResult, error)
    func GetFleetPropertyOutput(ctx *Context, args *GetFleetPropertyOutputArgs, opts ...InvokeOption) GetFleetPropertyResultOutput

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

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

    The following arguments are supported:

    FleetId string
    unique Fleet identifier
    FleetPropertyId string
    unique FleetProperty identifier
    FleetId string
    unique Fleet identifier
    FleetPropertyId string
    unique FleetProperty identifier
    fleetId String
    unique Fleet identifier
    fleetPropertyId String
    unique FleetProperty identifier
    fleetId string
    unique Fleet identifier
    fleetPropertyId string
    unique FleetProperty identifier
    fleet_id str
    unique Fleet identifier
    fleet_property_id str
    unique FleetProperty identifier
    fleetId String
    unique Fleet identifier
    fleetPropertyId String
    unique FleetProperty identifier

    getFleetProperty Result

    The following output properties are available:

    AllowedValues List<string>
    Values of the category (must be a single value if selection = 'single choice')
    CompartmentId string
    Tenancy OCID
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    FleetId string
    FleetPropertyId string
    Id string
    The unique id of the resource.
    PropertyId string
    Property Id Ocid.
    SelectionType string
    Text selection of the category
    State string
    The current state of the FleetProperty.
    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.
    Value string
    Value of the Property
    ValueType string
    Format of the value
    AllowedValues []string
    Values of the category (must be a single value if selection = 'single choice')
    CompartmentId string
    Tenancy OCID
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    FleetId string
    FleetPropertyId string
    Id string
    The unique id of the resource.
    PropertyId string
    Property Id Ocid.
    SelectionType string
    Text selection of the category
    State string
    The current state of the FleetProperty.
    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.
    Value string
    Value of the Property
    ValueType string
    Format of the value
    allowedValues List<String>
    Values of the category (must be a single value if selection = 'single choice')
    compartmentId String
    Tenancy OCID
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    fleetId String
    fleetPropertyId String
    id String
    The unique id of the resource.
    propertyId String
    Property Id Ocid.
    selectionType String
    Text selection of the category
    state String
    The current state of the FleetProperty.
    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.
    value String
    Value of the Property
    valueType String
    Format of the value
    allowedValues string[]
    Values of the category (must be a single value if selection = 'single choice')
    compartmentId string
    Tenancy OCID
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    fleetId string
    fleetPropertyId string
    id string
    The unique id of the resource.
    propertyId string
    Property Id Ocid.
    selectionType string
    Text selection of the category
    state string
    The current state of the FleetProperty.
    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.
    value string
    Value of the Property
    valueType string
    Format of the value
    allowed_values Sequence[str]
    Values of the category (must be a single value if selection = 'single choice')
    compartment_id str
    Tenancy OCID
    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
    fleet_id str
    fleet_property_id str
    id str
    The unique id of the resource.
    property_id str
    Property Id Ocid.
    selection_type str
    Text selection of the category
    state str
    The current state of the FleetProperty.
    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.
    value str
    Value of the Property
    value_type str
    Format of the value
    allowedValues List<String>
    Values of the category (must be a single value if selection = 'single choice')
    compartmentId String
    Tenancy OCID
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    fleetId String
    fleetPropertyId String
    id String
    The unique id of the resource.
    propertyId String
    Property Id Ocid.
    selectionType String
    Text selection of the category
    state String
    The current state of the FleetProperty.
    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.
    value String
    Value of the Property
    valueType String
    Format of the value

    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