Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.Core.getFastConnectProviderServiceKey
Explore with Pulumi AI
This data source provides details about a specific Fast Connect Provider Service Key resource in Oracle Cloud Infrastructure Core service.
Gets the specified provider service key’s information. Use this operation to validate a provider service key. An invalid key returns a 404 error.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFastConnectProviderServiceKey = oci.Core.getFastConnectProviderServiceKey({
    providerServiceId: testFastConnectProviderServices.fastConnectProviderServices[0].id,
    providerServiceKeyName: fastConnectProviderServiceKeyProviderServiceKeyName,
});
import pulumi
import pulumi_oci as oci
test_fast_connect_provider_service_key = oci.Core.get_fast_connect_provider_service_key(provider_service_id=test_fast_connect_provider_services["fastConnectProviderServices"][0]["id"],
    provider_service_key_name=fast_connect_provider_service_key_provider_service_key_name)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.GetFastConnectProviderServiceKey(ctx, &core.GetFastConnectProviderServiceKeyArgs{
			ProviderServiceId:      testFastConnectProviderServices.FastConnectProviderServices[0].Id,
			ProviderServiceKeyName: fastConnectProviderServiceKeyProviderServiceKeyName,
		}, 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 testFastConnectProviderServiceKey = Oci.Core.GetFastConnectProviderServiceKey.Invoke(new()
    {
        ProviderServiceId = testFastConnectProviderServices.FastConnectProviderServices[0].Id,
        ProviderServiceKeyName = fastConnectProviderServiceKeyProviderServiceKeyName,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetFastConnectProviderServiceKeyArgs;
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 testFastConnectProviderServiceKey = CoreFunctions.getFastConnectProviderServiceKey(GetFastConnectProviderServiceKeyArgs.builder()
            .providerServiceId(testFastConnectProviderServices.fastConnectProviderServices()[0].id())
            .providerServiceKeyName(fastConnectProviderServiceKeyProviderServiceKeyName)
            .build());
    }
}
variables:
  testFastConnectProviderServiceKey:
    fn::invoke:
      function: oci:Core:getFastConnectProviderServiceKey
      arguments:
        providerServiceId: ${testFastConnectProviderServices.fastConnectProviderServices[0].id}
        providerServiceKeyName: ${fastConnectProviderServiceKeyProviderServiceKeyName}
Using getFastConnectProviderServiceKey
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 getFastConnectProviderServiceKey(args: GetFastConnectProviderServiceKeyArgs, opts?: InvokeOptions): Promise<GetFastConnectProviderServiceKeyResult>
function getFastConnectProviderServiceKeyOutput(args: GetFastConnectProviderServiceKeyOutputArgs, opts?: InvokeOptions): Output<GetFastConnectProviderServiceKeyResult>def get_fast_connect_provider_service_key(provider_service_id: Optional[str] = None,
                                          provider_service_key_name: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetFastConnectProviderServiceKeyResult
def get_fast_connect_provider_service_key_output(provider_service_id: Optional[pulumi.Input[str]] = None,
                                          provider_service_key_name: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetFastConnectProviderServiceKeyResult]func GetFastConnectProviderServiceKey(ctx *Context, args *GetFastConnectProviderServiceKeyArgs, opts ...InvokeOption) (*GetFastConnectProviderServiceKeyResult, error)
func GetFastConnectProviderServiceKeyOutput(ctx *Context, args *GetFastConnectProviderServiceKeyOutputArgs, opts ...InvokeOption) GetFastConnectProviderServiceKeyResultOutput> Note: This function is named GetFastConnectProviderServiceKey in the Go SDK.
public static class GetFastConnectProviderServiceKey 
{
    public static Task<GetFastConnectProviderServiceKeyResult> InvokeAsync(GetFastConnectProviderServiceKeyArgs args, InvokeOptions? opts = null)
    public static Output<GetFastConnectProviderServiceKeyResult> Invoke(GetFastConnectProviderServiceKeyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFastConnectProviderServiceKeyResult> getFastConnectProviderServiceKey(GetFastConnectProviderServiceKeyArgs args, InvokeOptions options)
public static Output<GetFastConnectProviderServiceKeyResult> getFastConnectProviderServiceKey(GetFastConnectProviderServiceKeyArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Core/getFastConnectProviderServiceKey:getFastConnectProviderServiceKey
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ProviderService stringId 
- The OCID of the provider service.
- ProviderService stringKey Name 
- The provider service key that the provider gives you when you set up a virtual circuit connection from the provider to Oracle Cloud Infrastructure. You can set up that connection and get your provider service key at the provider's website or portal. For the portal location, see the descriptionattribute of the FastConnectProviderService.
- ProviderService stringId 
- The OCID of the provider service.
- ProviderService stringKey Name 
- The provider service key that the provider gives you when you set up a virtual circuit connection from the provider to Oracle Cloud Infrastructure. You can set up that connection and get your provider service key at the provider's website or portal. For the portal location, see the descriptionattribute of the FastConnectProviderService.
- providerService StringId 
- The OCID of the provider service.
- providerService StringKey Name 
- The provider service key that the provider gives you when you set up a virtual circuit connection from the provider to Oracle Cloud Infrastructure. You can set up that connection and get your provider service key at the provider's website or portal. For the portal location, see the descriptionattribute of the FastConnectProviderService.
- providerService stringId 
- The OCID of the provider service.
- providerService stringKey Name 
- The provider service key that the provider gives you when you set up a virtual circuit connection from the provider to Oracle Cloud Infrastructure. You can set up that connection and get your provider service key at the provider's website or portal. For the portal location, see the descriptionattribute of the FastConnectProviderService.
- provider_service_ strid 
- The OCID of the provider service.
- provider_service_ strkey_ name 
- The provider service key that the provider gives you when you set up a virtual circuit connection from the provider to Oracle Cloud Infrastructure. You can set up that connection and get your provider service key at the provider's website or portal. For the portal location, see the descriptionattribute of the FastConnectProviderService.
- providerService StringId 
- The OCID of the provider service.
- providerService StringKey Name 
- The provider service key that the provider gives you when you set up a virtual circuit connection from the provider to Oracle Cloud Infrastructure. You can set up that connection and get your provider service key at the provider's website or portal. For the portal location, see the descriptionattribute of the FastConnectProviderService.
getFastConnectProviderServiceKey Result
The following output properties are available:
- BandwidthShape stringName 
- The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The service key that the provider gives you when you set up a virtual circuit connection from the provider to Oracle Cloud Infrastructure. Use this value as the providerServiceKeyNamequery parameter for GetFastConnectProviderServiceKey.
- PeeringLocation string
- The provider's peering location.
- ProviderService stringId 
- ProviderService stringKey Name 
- BandwidthShape stringName 
- The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The service key that the provider gives you when you set up a virtual circuit connection from the provider to Oracle Cloud Infrastructure. Use this value as the providerServiceKeyNamequery parameter for GetFastConnectProviderServiceKey.
- PeeringLocation string
- The provider's peering location.
- ProviderService stringId 
- ProviderService stringKey Name 
- bandwidthShape StringName 
- The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The service key that the provider gives you when you set up a virtual circuit connection from the provider to Oracle Cloud Infrastructure. Use this value as the providerServiceKeyNamequery parameter for GetFastConnectProviderServiceKey.
- peeringLocation String
- The provider's peering location.
- providerService StringId 
- providerService StringKey Name 
- bandwidthShape stringName 
- The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The service key that the provider gives you when you set up a virtual circuit connection from the provider to Oracle Cloud Infrastructure. Use this value as the providerServiceKeyNamequery parameter for GetFastConnectProviderServiceKey.
- peeringLocation string
- The provider's peering location.
- providerService stringId 
- providerService stringKey Name 
- bandwidth_shape_ strname 
- The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The service key that the provider gives you when you set up a virtual circuit connection from the provider to Oracle Cloud Infrastructure. Use this value as the providerServiceKeyNamequery parameter for GetFastConnectProviderServiceKey.
- peering_location str
- The provider's peering location.
- provider_service_ strid 
- provider_service_ strkey_ name 
- bandwidthShape StringName 
- The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see ListFastConnectProviderServiceVirtualCircuitBandwidthShapes. Example: 10 Gbps
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The service key that the provider gives you when you set up a virtual circuit connection from the provider to Oracle Cloud Infrastructure. Use this value as the providerServiceKeyNamequery parameter for GetFastConnectProviderServiceKey.
- peeringLocation String
- The provider's peering location.
- providerService StringId 
- providerService StringKey Name 
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.