Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.ServiceCatalog.getServiceCatalogAssociation
Explore with Pulumi AI
This data source provides details about a specific Service Catalog Association resource in Oracle Cloud Infrastructure Service Catalog service.
Gets detailed information about specific service catalog association.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testServiceCatalogAssociation = oci.ServiceCatalog.getServiceCatalogAssociation({
serviceCatalogAssociationId: testServiceCatalogAssociationOciServiceCatalogServiceCatalogAssociation.id,
});
import pulumi
import pulumi_oci as oci
test_service_catalog_association = oci.ServiceCatalog.get_service_catalog_association(service_catalog_association_id=test_service_catalog_association_oci_service_catalog_service_catalog_association["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ServiceCatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ServiceCatalog.GetServiceCatalogAssociation(ctx, &servicecatalog.GetServiceCatalogAssociationArgs{
ServiceCatalogAssociationId: testServiceCatalogAssociationOciServiceCatalogServiceCatalogAssociation.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 testServiceCatalogAssociation = Oci.ServiceCatalog.GetServiceCatalogAssociation.Invoke(new()
{
ServiceCatalogAssociationId = testServiceCatalogAssociationOciServiceCatalogServiceCatalogAssociation.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ServiceCatalog.ServiceCatalogFunctions;
import com.pulumi.oci.ServiceCatalog.inputs.GetServiceCatalogAssociationArgs;
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 testServiceCatalogAssociation = ServiceCatalogFunctions.getServiceCatalogAssociation(GetServiceCatalogAssociationArgs.builder()
.serviceCatalogAssociationId(testServiceCatalogAssociationOciServiceCatalogServiceCatalogAssociation.id())
.build());
}
}
variables:
testServiceCatalogAssociation:
fn::invoke:
Function: oci:ServiceCatalog:getServiceCatalogAssociation
Arguments:
serviceCatalogAssociationId: ${testServiceCatalogAssociationOciServiceCatalogServiceCatalogAssociation.id}
Using getServiceCatalogAssociation
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 getServiceCatalogAssociation(args: GetServiceCatalogAssociationArgs, opts?: InvokeOptions): Promise<GetServiceCatalogAssociationResult>
function getServiceCatalogAssociationOutput(args: GetServiceCatalogAssociationOutputArgs, opts?: InvokeOptions): Output<GetServiceCatalogAssociationResult>
def get_service_catalog_association(service_catalog_association_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceCatalogAssociationResult
def get_service_catalog_association_output(service_catalog_association_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceCatalogAssociationResult]
func GetServiceCatalogAssociation(ctx *Context, args *GetServiceCatalogAssociationArgs, opts ...InvokeOption) (*GetServiceCatalogAssociationResult, error)
func GetServiceCatalogAssociationOutput(ctx *Context, args *GetServiceCatalogAssociationOutputArgs, opts ...InvokeOption) GetServiceCatalogAssociationResultOutput
> Note: This function is named GetServiceCatalogAssociation
in the Go SDK.
public static class GetServiceCatalogAssociation
{
public static Task<GetServiceCatalogAssociationResult> InvokeAsync(GetServiceCatalogAssociationArgs args, InvokeOptions? opts = null)
public static Output<GetServiceCatalogAssociationResult> Invoke(GetServiceCatalogAssociationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServiceCatalogAssociationResult> getServiceCatalogAssociation(GetServiceCatalogAssociationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:ServiceCatalog/getServiceCatalogAssociation:getServiceCatalogAssociation
arguments:
# arguments dictionary
The following arguments are supported:
- Service
Catalog stringAssociation Id - The unique identifier of the service catalog association.
- Service
Catalog stringAssociation Id - The unique identifier of the service catalog association.
- service
Catalog StringAssociation Id - The unique identifier of the service catalog association.
- service
Catalog stringAssociation Id - The unique identifier of the service catalog association.
- service_
catalog_ strassociation_ id - The unique identifier of the service catalog association.
- service
Catalog StringAssociation Id - The unique identifier of the service catalog association.
getServiceCatalogAssociation Result
The following output properties are available:
- Entity
Id string - Identifier of the entity being associated with service catalog.
- Entity
Type string - The type of the entity that is associated with the service catalog.
- Id string
- Identifier of the association.
- Service
Catalog stringAssociation Id - Service
Catalog stringId - Identifier of the service catalog.
- Time
Created string - Timestamp of when the resource was associated with service catalog.
- Entity
Id string - Identifier of the entity being associated with service catalog.
- Entity
Type string - The type of the entity that is associated with the service catalog.
- Id string
- Identifier of the association.
- Service
Catalog stringAssociation Id - Service
Catalog stringId - Identifier of the service catalog.
- Time
Created string - Timestamp of when the resource was associated with service catalog.
- entity
Id String - Identifier of the entity being associated with service catalog.
- entity
Type String - The type of the entity that is associated with the service catalog.
- id String
- Identifier of the association.
- service
Catalog StringAssociation Id - service
Catalog StringId - Identifier of the service catalog.
- time
Created String - Timestamp of when the resource was associated with service catalog.
- entity
Id string - Identifier of the entity being associated with service catalog.
- entity
Type string - The type of the entity that is associated with the service catalog.
- id string
- Identifier of the association.
- service
Catalog stringAssociation Id - service
Catalog stringId - Identifier of the service catalog.
- time
Created string - Timestamp of when the resource was associated with service catalog.
- entity_
id str - Identifier of the entity being associated with service catalog.
- entity_
type str - The type of the entity that is associated with the service catalog.
- id str
- Identifier of the association.
- service_
catalog_ strassociation_ id - service_
catalog_ strid - Identifier of the service catalog.
- time_
created str - Timestamp of when the resource was associated with service catalog.
- entity
Id String - Identifier of the entity being associated with service catalog.
- entity
Type String - The type of the entity that is associated with the service catalog.
- id String
- Identifier of the association.
- service
Catalog StringAssociation Id - service
Catalog StringId - Identifier of the service catalog.
- time
Created String - Timestamp of when the resource was associated with service catalog.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.