1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getFastConnectProviderServiceKey
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

oci.Core.getFastConnectProviderServiceKey

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

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,
});
Copy
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)
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
variables:
  testFastConnectProviderServiceKey:
    fn::invoke:
      function: oci:Core:getFastConnectProviderServiceKey
      arguments:
        providerServiceId: ${testFastConnectProviderServices.fastConnectProviderServices[0].id}
        providerServiceKeyName: ${fastConnectProviderServiceKeyProviderServiceKeyName}
Copy

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>
Copy
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]
Copy
func GetFastConnectProviderServiceKey(ctx *Context, args *GetFastConnectProviderServiceKeyArgs, opts ...InvokeOption) (*GetFastConnectProviderServiceKeyResult, error)
func GetFastConnectProviderServiceKeyOutput(ctx *Context, args *GetFastConnectProviderServiceKeyOutputArgs, opts ...InvokeOption) GetFastConnectProviderServiceKeyResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetFastConnectProviderServiceKeyResult> getFastConnectProviderServiceKey(GetFastConnectProviderServiceKeyArgs args, InvokeOptions options)
public static Output<GetFastConnectProviderServiceKeyResult> getFastConnectProviderServiceKey(GetFastConnectProviderServiceKeyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Core/getFastConnectProviderServiceKey:getFastConnectProviderServiceKey
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ProviderServiceId This property is required. string
The OCID of the provider service.
ProviderServiceKeyName This property is required. string
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 description attribute of the FastConnectProviderService.
ProviderServiceId This property is required. string
The OCID of the provider service.
ProviderServiceKeyName This property is required. string
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 description attribute of the FastConnectProviderService.
providerServiceId This property is required. String
The OCID of the provider service.
providerServiceKeyName This property is required. String
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 description attribute of the FastConnectProviderService.
providerServiceId This property is required. string
The OCID of the provider service.
providerServiceKeyName This property is required. string
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 description attribute of the FastConnectProviderService.
provider_service_id This property is required. str
The OCID of the provider service.
provider_service_key_name This property is required. str
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 description attribute of the FastConnectProviderService.
providerServiceId This property is required. String
The OCID of the provider service.
providerServiceKeyName This property is required. String
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 description attribute of the FastConnectProviderService.

getFastConnectProviderServiceKey Result

The following output properties are available:

BandwidthShapeName string
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 providerServiceKeyName query parameter for GetFastConnectProviderServiceKey.
PeeringLocation string
The provider's peering location.
ProviderServiceId string
ProviderServiceKeyName string
BandwidthShapeName string
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 providerServiceKeyName query parameter for GetFastConnectProviderServiceKey.
PeeringLocation string
The provider's peering location.
ProviderServiceId string
ProviderServiceKeyName string
bandwidthShapeName String
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 providerServiceKeyName query parameter for GetFastConnectProviderServiceKey.
peeringLocation String
The provider's peering location.
providerServiceId String
providerServiceKeyName String
bandwidthShapeName string
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 providerServiceKeyName query parameter for GetFastConnectProviderServiceKey.
peeringLocation string
The provider's peering location.
providerServiceId string
providerServiceKeyName string
bandwidth_shape_name str
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 providerServiceKeyName query parameter for GetFastConnectProviderServiceKey.
peering_location str
The provider's peering location.
provider_service_id str
provider_service_key_name str
bandwidthShapeName String
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 providerServiceKeyName query parameter for GetFastConnectProviderServiceKey.
peeringLocation String
The provider's peering location.
providerServiceId String
providerServiceKeyName String

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi