Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.FleetAppsManagement.getFleetCredential
Explore with Pulumi AI
This data source provides details about a specific Fleet Credential resource in Oracle Cloud Infrastructure Fleet Apps Management service.
Gets a FleetCredential by identifier
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFleetCredential = oci.FleetAppsManagement.getFleetCredential({
fleetCredentialId: testFleetCredentialOciFleetAppsManagementFleetCredential.id,
fleetId: testFleet.id,
});
import pulumi
import pulumi_oci as oci
test_fleet_credential = oci.FleetAppsManagement.get_fleet_credential(fleet_credential_id=test_fleet_credential_oci_fleet_apps_management_fleet_credential["id"],
fleet_id=test_fleet["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.GetFleetCredential(ctx, &fleetappsmanagement.GetFleetCredentialArgs{
FleetCredentialId: testFleetCredentialOciFleetAppsManagementFleetCredential.Id,
FleetId: testFleet.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 testFleetCredential = Oci.FleetAppsManagement.GetFleetCredential.Invoke(new()
{
FleetCredentialId = testFleetCredentialOciFleetAppsManagementFleetCredential.Id,
FleetId = testFleet.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.GetFleetCredentialArgs;
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 testFleetCredential = FleetAppsManagementFunctions.getFleetCredential(GetFleetCredentialArgs.builder()
.fleetCredentialId(testFleetCredentialOciFleetAppsManagementFleetCredential.id())
.fleetId(testFleet.id())
.build());
}
}
variables:
testFleetCredential:
fn::invoke:
Function: oci:FleetAppsManagement:getFleetCredential
Arguments:
fleetCredentialId: ${testFleetCredentialOciFleetAppsManagementFleetCredential.id}
fleetId: ${testFleet.id}
Using getFleetCredential
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 getFleetCredential(args: GetFleetCredentialArgs, opts?: InvokeOptions): Promise<GetFleetCredentialResult>
function getFleetCredentialOutput(args: GetFleetCredentialOutputArgs, opts?: InvokeOptions): Output<GetFleetCredentialResult>
def get_fleet_credential(fleet_credential_id: Optional[str] = None,
fleet_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFleetCredentialResult
def get_fleet_credential_output(fleet_credential_id: Optional[pulumi.Input[str]] = None,
fleet_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFleetCredentialResult]
func GetFleetCredential(ctx *Context, args *GetFleetCredentialArgs, opts ...InvokeOption) (*GetFleetCredentialResult, error)
func GetFleetCredentialOutput(ctx *Context, args *GetFleetCredentialOutputArgs, opts ...InvokeOption) GetFleetCredentialResultOutput
> Note: This function is named GetFleetCredential
in the Go SDK.
public static class GetFleetCredential
{
public static Task<GetFleetCredentialResult> InvokeAsync(GetFleetCredentialArgs args, InvokeOptions? opts = null)
public static Output<GetFleetCredentialResult> Invoke(GetFleetCredentialInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFleetCredentialResult> getFleetCredential(GetFleetCredentialArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:FleetAppsManagement/getFleetCredential:getFleetCredential
arguments:
# arguments dictionary
The following arguments are supported:
- Fleet
Credential stringId - unique FleetCredential identifier
- Fleet
Id string - unique Fleet identifier
- Fleet
Credential stringId - unique FleetCredential identifier
- Fleet
Id string - unique Fleet identifier
- fleet
Credential StringId - unique FleetCredential identifier
- fleet
Id String - unique Fleet identifier
- fleet
Credential stringId - unique FleetCredential identifier
- fleet
Id string - unique Fleet identifier
- fleet_
credential_ strid - unique FleetCredential identifier
- fleet_
id str - unique Fleet identifier
- fleet
Credential StringId - unique FleetCredential identifier
- fleet
Id String - unique Fleet identifier
getFleetCredential Result
The following output properties are available:
- Compartment
Id string - Tenancy OCID
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Entity
Specifics List<GetFleet Credential Entity Specific> - Credential Details
- Fleet
Credential stringId - Fleet
Id string - Id string
- The unique id of the resource.
- Lifecycle
Details 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.
- Passwords
List<Get
Fleet Credential Password> - Credential Details
- State string
- The current state of the FleetCredential.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Users
List<Get
Fleet Credential User> - Credential Details
- Compartment
Id string - Tenancy OCID
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Entity
Specifics []GetFleet Credential Entity Specific - Credential Details
- Fleet
Credential stringId - Fleet
Id string - Id string
- The unique id of the resource.
- Lifecycle
Details 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.
- Passwords
[]Get
Fleet Credential Password - Credential Details
- State string
- The current state of the FleetCredential.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Users
[]Get
Fleet Credential User - Credential Details
- compartment
Id String - Tenancy OCID
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- entity
Specifics List<GetFleet Credential Entity Specific> - Credential Details
- fleet
Credential StringId - fleet
Id String - id String
- The unique id of the resource.
- lifecycle
Details 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.
- passwords
List<Get
Fleet Credential Password> - Credential Details
- state String
- The current state of the FleetCredential.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- users
List<Get
Fleet Credential User> - Credential Details
- compartment
Id string - Tenancy OCID
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- entity
Specifics GetFleet Credential Entity Specific[] - Credential Details
- fleet
Credential stringId - fleet
Id string - id string
- The unique id of the resource.
- lifecycle
Details 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.
- passwords
Get
Fleet Credential Password[] - Credential Details
- state string
- The current state of the FleetCredential.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- users
Get
Fleet Credential User[] - Credential Details
- 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
- entity_
specifics Sequence[fleetappsmanagement.Get Fleet Credential Entity Specific] - Credential Details
- fleet_
credential_ strid - fleet_
id str - id str
- The unique id 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.
- passwords
Sequence[fleetappsmanagement.
Get Fleet Credential Password] - Credential Details
- state str
- The current state of the FleetCredential.
- 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.
- users
Sequence[fleetappsmanagement.
Get Fleet Credential User] - Credential Details
- compartment
Id String - Tenancy OCID
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- entity
Specifics List<Property Map> - Credential Details
- fleet
Credential StringId - fleet
Id String - id String
- The unique id of the resource.
- lifecycle
Details 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.
- passwords List<Property Map>
- Credential Details
- state String
- The current state of the FleetCredential.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- users List<Property Map>
- Credential Details
Supporting Types
GetFleetCredentialEntitySpecific
- Credential
Level string - Credential Level.
- Resource
Id string - OCID of the resource associated with the target for which credential is created
- Target string
- Target associated with the Credential
- Credential
Level string - Credential Level.
- Resource
Id string - OCID of the resource associated with the target for which credential is created
- Target string
- Target associated with the Credential
- credential
Level String - Credential Level.
- resource
Id String - OCID of the resource associated with the target for which credential is created
- target String
- Target associated with the Credential
- credential
Level string - Credential Level.
- resource
Id string - OCID of the resource associated with the target for which credential is created
- target string
- Target associated with the Credential
- credential_
level str - Credential Level.
- resource_
id str - OCID of the resource associated with the target for which credential is created
- target str
- Target associated with the Credential
- credential
Level String - Credential Level.
- resource
Id String - OCID of the resource associated with the target for which credential is created
- target String
- Target associated with the Credential
GetFleetCredentialPassword
- Credential
Type string - Credential Type
- Key
Id string - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- Key
Version string - The Vault Key version.
- Secret
Id string - The OCID of the secret.
- Secret
Version string - The secret version.
- Value string
- The value corresponding to the credential
- Vault
Id string - OCID for the Vault that will be used to fetch key to encrypt/decrypt the value given.
- Credential
Type string - Credential Type
- Key
Id string - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- Key
Version string - The Vault Key version.
- Secret
Id string - The OCID of the secret.
- Secret
Version string - The secret version.
- Value string
- The value corresponding to the credential
- Vault
Id string - OCID for the Vault that will be used to fetch key to encrypt/decrypt the value given.
- credential
Type String - Credential Type
- key
Id String - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key
Version String - The Vault Key version.
- secret
Id String - The OCID of the secret.
- secret
Version String - The secret version.
- value String
- The value corresponding to the credential
- vault
Id String - OCID for the Vault that will be used to fetch key to encrypt/decrypt the value given.
- credential
Type string - Credential Type
- key
Id string - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key
Version string - The Vault Key version.
- secret
Id string - The OCID of the secret.
- secret
Version string - The secret version.
- value string
- The value corresponding to the credential
- vault
Id string - OCID for the Vault that will be used to fetch key to encrypt/decrypt the value given.
- credential_
type str - Credential Type
- key_
id str - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key_
version str - The Vault Key version.
- secret_
id str - The OCID of the secret.
- secret_
version str - The secret version.
- value str
- The value corresponding to the credential
- vault_
id str - OCID for the Vault that will be used to fetch key to encrypt/decrypt the value given.
- credential
Type String - Credential Type
- key
Id String - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key
Version String - The Vault Key version.
- secret
Id String - The OCID of the secret.
- secret
Version String - The secret version.
- value String
- The value corresponding to the credential
- vault
Id String - OCID for the Vault that will be used to fetch key to encrypt/decrypt the value given.
GetFleetCredentialUser
- Credential
Type string - Credential Type
- Key
Id string - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- Key
Version string - The Vault Key version.
- Secret
Id string - The OCID of the secret.
- Secret
Version string - The secret version.
- Value string
- The value corresponding to the credential
- Vault
Id string - OCID for the Vault that will be used to fetch key to encrypt/decrypt the value given.
- Credential
Type string - Credential Type
- Key
Id string - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- Key
Version string - The Vault Key version.
- Secret
Id string - The OCID of the secret.
- Secret
Version string - The secret version.
- Value string
- The value corresponding to the credential
- Vault
Id string - OCID for the Vault that will be used to fetch key to encrypt/decrypt the value given.
- credential
Type String - Credential Type
- key
Id String - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key
Version String - The Vault Key version.
- secret
Id String - The OCID of the secret.
- secret
Version String - The secret version.
- value String
- The value corresponding to the credential
- vault
Id String - OCID for the Vault that will be used to fetch key to encrypt/decrypt the value given.
- credential
Type string - Credential Type
- key
Id string - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key
Version string - The Vault Key version.
- secret
Id string - The OCID of the secret.
- secret
Version string - The secret version.
- value string
- The value corresponding to the credential
- vault
Id string - OCID for the Vault that will be used to fetch key to encrypt/decrypt the value given.
- credential_
type str - Credential Type
- key_
id str - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key_
version str - The Vault Key version.
- secret_
id str - The OCID of the secret.
- secret_
version str - The secret version.
- value str
- The value corresponding to the credential
- vault_
id str - OCID for the Vault that will be used to fetch key to encrypt/decrypt the value given.
- credential
Type String - Credential Type
- key
Id String - OCID for the Vault Key that will be used to encrypt/decrypt the value given.
- key
Version String - The Vault Key version.
- secret
Id String - The OCID of the secret.
- secret
Version String - The secret version.
- value String
- The value corresponding to the credential
- vault
Id String - OCID for the Vault that will be used to fetch key to encrypt/decrypt the value given.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.