Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.CertificatesManagement.getAssociation
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Association resource in Oracle Cloud Infrastructure Certificates Management service.
Gets details about the specified association.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAssociation = oci.CertificatesManagement.getAssociation({
associationId: testAssociationOciCertificatesManagementAssociation.id,
});
import pulumi
import pulumi_oci as oci
test_association = oci.CertificatesManagement.get_association(association_id=test_association_oci_certificates_management_association["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/CertificatesManagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := CertificatesManagement.GetAssociation(ctx, &certificatesmanagement.GetAssociationArgs{
AssociationId: testAssociationOciCertificatesManagementAssociation.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 testAssociation = Oci.CertificatesManagement.GetAssociation.Invoke(new()
{
AssociationId = testAssociationOciCertificatesManagementAssociation.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CertificatesManagement.CertificatesManagementFunctions;
import com.pulumi.oci.CertificatesManagement.inputs.GetAssociationArgs;
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 testAssociation = CertificatesManagementFunctions.getAssociation(GetAssociationArgs.builder()
.associationId(testAssociationOciCertificatesManagementAssociation.id())
.build());
}
}
variables:
testAssociation:
fn::invoke:
Function: oci:CertificatesManagement:getAssociation
Arguments:
associationId: ${testAssociationOciCertificatesManagementAssociation.id}
Using getAssociation
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 getAssociation(args: GetAssociationArgs, opts?: InvokeOptions): Promise<GetAssociationResult>
function getAssociationOutput(args: GetAssociationOutputArgs, opts?: InvokeOptions): Output<GetAssociationResult>
def get_association(association_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAssociationResult
def get_association_output(association_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAssociationResult]
func GetAssociation(ctx *Context, args *GetAssociationArgs, opts ...InvokeOption) (*GetAssociationResult, error)
func GetAssociationOutput(ctx *Context, args *GetAssociationOutputArgs, opts ...InvokeOption) GetAssociationResultOutput
> Note: This function is named GetAssociation
in the Go SDK.
public static class GetAssociation
{
public static Task<GetAssociationResult> InvokeAsync(GetAssociationArgs args, InvokeOptions? opts = null)
public static Output<GetAssociationResult> Invoke(GetAssociationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAssociationResult> getAssociation(GetAssociationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:CertificatesManagement/getAssociation:getAssociation
arguments:
# arguments dictionary
The following arguments are supported:
- Association
Id string - The OCID of an association between a certificate-related resource and another Oracle Cloud Infrastructure resource.
- Association
Id string - The OCID of an association between a certificate-related resource and another Oracle Cloud Infrastructure resource.
- association
Id String - The OCID of an association between a certificate-related resource and another Oracle Cloud Infrastructure resource.
- association
Id string - The OCID of an association between a certificate-related resource and another Oracle Cloud Infrastructure resource.
- association_
id str - The OCID of an association between a certificate-related resource and another Oracle Cloud Infrastructure resource.
- association
Id String - The OCID of an association between a certificate-related resource and another Oracle Cloud Infrastructure resource.
getAssociation Result
The following output properties are available:
- Associated
Resource stringId - The OCID of the associated resource.
- Association
Id string - Association
Type string - Type of the association.
- Certificates
Resource stringId - The OCID of the certificate-related resource associated with another Oracle Cloud Infrastructure resource.
- Compartment
Id string - The compartment OCID of the association, which is strongly tied to the compartment OCID of the certificate-related resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- A user-friendly name generated by the service for the association, expressed in a format that follows the pattern: [certificatesResourceEntityType]-[associatedResourceEntityType]-UUID.
- State string
- The current lifecycle state of the association.
- Time
Created string - A property indicating when the association was created, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
- Associated
Resource stringId - The OCID of the associated resource.
- Association
Id string - Association
Type string - Type of the association.
- Certificates
Resource stringId - The OCID of the certificate-related resource associated with another Oracle Cloud Infrastructure resource.
- Compartment
Id string - The compartment OCID of the association, which is strongly tied to the compartment OCID of the certificate-related resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- A user-friendly name generated by the service for the association, expressed in a format that follows the pattern: [certificatesResourceEntityType]-[associatedResourceEntityType]-UUID.
- State string
- The current lifecycle state of the association.
- Time
Created string - A property indicating when the association was created, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
- associated
Resource StringId - The OCID of the associated resource.
- association
Id String - association
Type String - Type of the association.
- certificates
Resource StringId - The OCID of the certificate-related resource associated with another Oracle Cloud Infrastructure resource.
- compartment
Id String - The compartment OCID of the association, which is strongly tied to the compartment OCID of the certificate-related resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- A user-friendly name generated by the service for the association, expressed in a format that follows the pattern: [certificatesResourceEntityType]-[associatedResourceEntityType]-UUID.
- state String
- The current lifecycle state of the association.
- time
Created String - A property indicating when the association was created, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
- associated
Resource stringId - The OCID of the associated resource.
- association
Id string - association
Type string - Type of the association.
- certificates
Resource stringId - The OCID of the certificate-related resource associated with another Oracle Cloud Infrastructure resource.
- compartment
Id string - The compartment OCID of the association, which is strongly tied to the compartment OCID of the certificate-related resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- A user-friendly name generated by the service for the association, expressed in a format that follows the pattern: [certificatesResourceEntityType]-[associatedResourceEntityType]-UUID.
- state string
- The current lifecycle state of the association.
- time
Created string - A property indicating when the association was created, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
- associated_
resource_ strid - The OCID of the associated resource.
- association_
id str - association_
type str - Type of the association.
- certificates_
resource_ strid - The OCID of the certificate-related resource associated with another Oracle Cloud Infrastructure resource.
- compartment_
id str - The compartment OCID of the association, which is strongly tied to the compartment OCID of the certificate-related resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- A user-friendly name generated by the service for the association, expressed in a format that follows the pattern: [certificatesResourceEntityType]-[associatedResourceEntityType]-UUID.
- state str
- The current lifecycle state of the association.
- time_
created str - A property indicating when the association was created, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
- associated
Resource StringId - The OCID of the associated resource.
- association
Id String - association
Type String - Type of the association.
- certificates
Resource StringId - The OCID of the certificate-related resource associated with another Oracle Cloud Infrastructure resource.
- compartment
Id String - The compartment OCID of the association, which is strongly tied to the compartment OCID of the certificate-related resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- A user-friendly name generated by the service for the association, expressed in a format that follows the pattern: [certificatesResourceEntityType]-[associatedResourceEntityType]-UUID.
- state String
- The current lifecycle state of the association.
- time
Created String - A property indicating when the association was created, expressed in RFC 3339 timestamp format. Example:
2019-04-03T21:10:29.600Z
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 v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi