Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Core/getFastConnectProviderServiceKey:getFastConnectProviderServiceKey
arguments:
# arguments dictionary
The following arguments are supported:
- Provider
Service stringId - The OCID of the provider service.
- Provider
Service 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
description
attribute of the FastConnectProviderService.
- Provider
Service stringId - The OCID of the provider service.
- Provider
Service 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
description
attribute of the FastConnectProviderService.
- provider
Service StringId - The OCID of the provider service.
- provider
Service 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
description
attribute of the FastConnectProviderService.
- provider
Service stringId - The OCID of the provider service.
- provider
Service 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
description
attribute 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
description
attribute of the FastConnectProviderService.
- provider
Service StringId - The OCID of the provider service.
- provider
Service 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
description
attribute of the FastConnectProviderService.
getFastConnectProviderServiceKey Result
The following output properties are available:
- Bandwidth
Shape 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
providerServiceKeyName
query parameter for GetFastConnectProviderServiceKey. - Peering
Location string - The provider's peering location.
- Provider
Service stringId - Provider
Service stringKey Name
- Bandwidth
Shape 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
providerServiceKeyName
query parameter for GetFastConnectProviderServiceKey. - Peering
Location string - The provider's peering location.
- Provider
Service stringId - Provider
Service stringKey Name
- bandwidth
Shape 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
providerServiceKeyName
query parameter for GetFastConnectProviderServiceKey. - peering
Location String - The provider's peering location.
- provider
Service StringId - provider
Service StringKey Name
- bandwidth
Shape 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
providerServiceKeyName
query parameter for GetFastConnectProviderServiceKey. - peering
Location string - The provider's peering location.
- provider
Service stringId - provider
Service 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
providerServiceKeyName
query parameter for GetFastConnectProviderServiceKey. - peering_
location str - The provider's peering location.
- provider_
service_ strid - provider_
service_ strkey_ name
- bandwidth
Shape 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
providerServiceKeyName
query parameter for GetFastConnectProviderServiceKey. - peering
Location String - The provider's peering location.
- provider
Service StringId - provider
Service StringKey Name
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.