Viewing docs for Oracle Cloud Infrastructure v5.2.0
published on Thursday, Oct 1, 2026 by Pulumi
published on Thursday, Oct 1, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v5.2.0
published on Thursday, Oct 1, 2026 by Pulumi
published on Thursday, Oct 1, 2026 by Pulumi
This data source provides the list of Partners in Oracle Cloud Infrastructure Self service.
Lists marketplace publisher partner info for a compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPartners = oci.oci.getSelfPartners({
compartmentId: compartmentId,
displayName: partnerDisplayName,
});
import pulumi
import pulumi_oci as oci
test_partners = oci.oci.get_self_partners(compartment_id=compartment_id,
display_name=partner_display_name)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/oci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oci.GetSelfPartners(ctx, &oci.GetSelfPartnersArgs{
CompartmentId: pulumi.StringRef(compartmentId),
DisplayName: pulumi.StringRef(partnerDisplayName),
}, 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 testPartners = Oci.Oci.GetSelfPartners.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = partnerDisplayName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.oci.OciFunctions;
import com.pulumi.oci.oci.inputs.GetSelfPartnersArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 testPartners = OciFunctions.getSelfPartners(GetSelfPartnersArgs.builder()
.compartmentId(compartmentId)
.displayName(partnerDisplayName)
.build());
}
}
variables:
testPartners:
fn::invoke:
function: oci:oci:getSelfPartners
arguments:
compartmentId: ${compartmentId}
displayName: ${partnerDisplayName}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_oci_getselfpartners" "testPartners" {
compartment_id = compartmentId
display_name = partnerDisplayName
}
Using getSelfPartners
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 getSelfPartners(args: GetSelfPartnersArgs, opts?: InvokeOptions): Promise<GetSelfPartnersResult>
function getSelfPartnersOutput(args: GetSelfPartnersOutputArgs, opts?: InvokeOutputOptions): Output<GetSelfPartnersResult>def get_self_partners(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetSelfPartnersFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetSelfPartnersResult
def get_self_partners_output(compartment_id: pulumi.Input[Optional[str]] = None,
display_name: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetSelfPartnersFilterArgs]]]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetSelfPartnersResult]func GetSelfPartners(ctx *Context, args *GetSelfPartnersArgs, opts ...InvokeOption) (*GetSelfPartnersResult, error)
func GetSelfPartnersOutput(ctx *Context, args *GetSelfPartnersOutputArgs, opts ...InvokeOption) GetSelfPartnersResultOutput> Note: This function is named GetSelfPartners in the Go SDK.
public static class GetSelfPartners
{
public static Task<GetSelfPartnersResult> InvokeAsync(GetSelfPartnersArgs args, InvokeOptions? opts = null)
public static Output<GetSelfPartnersResult> Invoke(GetSelfPartnersInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetSelfPartnersResult> Invoke(GetSelfPartnersInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSelfPartnersResult> getSelfPartners(GetSelfPartnersArgs args, InvokeOptions options)
public static Output<GetSelfPartnersResult> getSelfPartners(GetSelfPartnersArgs args, InvokeOptions options)
public static Output<GetSelfPartnersResult> getSelfPartners(GetSelfPartnersArgs args, InvokeOutputOptions options)
fn::invoke:
function: oci:oci/getSelfPartners:getSelfPartners
arguments:
# arguments dictionarydata "oci_oci_get_self_partners" "name" {
# arguments
}The following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the given name.
- Filters
List<Get
Self Partners Filter>
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the given name.
- Filters
[]Get
Self Partners Filter
- compartment_
id string - The OCID of the compartment in which to list resources.
- display_
name string - A filter to return only resources that match the given name.
- filters list(object)
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the given name.
- filters
List<Get
Self Partners Filter>
- compartment
Id string - The OCID of the compartment in which to list resources.
- display
Name string - A filter to return only resources that match the given name.
- filters
Get
Self Partners Filter[]
- compartment_
id str - The OCID of the compartment in which to list resources.
- display_
name str - A filter to return only resources that match the given name.
- filters
Sequence[Get
Self Partners Filter]
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the given name.
- filters List<Property Map>
getSelfPartners Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Partner
Collections List<GetSelf Partners Partner Collection> - The list of partner_collection.
- Compartment
Id string - The unique identifier of the compartment of partner.
- Display
Name string - The display name of marketplace publisher partner.
- Filters
List<Get
Self Partners Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Partner
Collections []GetSelf Partners Partner Collection - The list of partner_collection.
- Compartment
Id string - The unique identifier of the compartment of partner.
- Display
Name string - The display name of marketplace publisher partner.
- Filters
[]Get
Self Partners Filter
- id string
- The provider-assigned unique ID for this managed resource.
- partner_
collections list(object) - The list of partner_collection.
- compartment_
id string - The unique identifier of the compartment of partner.
- display_
name string - The display name of marketplace publisher partner.
- filters list(object)
- id String
- The provider-assigned unique ID for this managed resource.
- partner
Collections List<GetSelf Partners Partner Collection> - The list of partner_collection.
- compartment
Id String - The unique identifier of the compartment of partner.
- display
Name String - The display name of marketplace publisher partner.
- filters
List<Get
Self Partners Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- partner
Collections GetSelf Partners Partner Collection[] - The list of partner_collection.
- compartment
Id string - The unique identifier of the compartment of partner.
- display
Name string - The display name of marketplace publisher partner.
- filters
Get
Self Partners Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- partner_
collections Sequence[GetSelf Partners Partner Collection] - The list of partner_collection.
- compartment_
id str - The unique identifier of the compartment of partner.
- display_
name str - The display name of marketplace publisher partner.
- filters
Sequence[Get
Self Partners Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- partner
Collections List<Property Map> - The list of partner_collection.
- compartment
Id String - The unique identifier of the compartment of partner.
- display
Name String - The display name of marketplace publisher partner.
- filters List<Property Map>
Supporting Types
GetSelfPartnersFilter
GetSelfPartnersPartnerCollection
- Items
List<Get
Self Partners Partner Collection Item> - The list of marketplace publisher partners.
- Items
[]Get
Self Partners Partner Collection Item - The list of marketplace publisher partners.
- items list(object)
- The list of marketplace publisher partners.
- items
List<Get
Self Partners Partner Collection Item> - The list of marketplace publisher partners.
- items
Get
Self Partners Partner Collection Item[] - The list of marketplace publisher partners.
- items
Sequence[Get
Self Partners Partner Collection Item] - The list of marketplace publisher partners.
- items List<Property Map>
- The list of marketplace publisher partners.
GetSelfPartnersPartnerCollectionItem
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Display
Name string - A filter to return only resources that match the given name.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The unique identifier of the marketplace publisher partner.
- State string
- The current lifecycle state of the marketplace publisher partner.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Compartment
Id string - The OCID of the compartment in which to list resources.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Display
Name string - A filter to return only resources that match the given name.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The unique identifier of the marketplace publisher partner.
- State string
- The current lifecycle state of the marketplace publisher partner.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- compartment_
id string - The OCID of the compartment in which to list resources.
- map(string)
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display_
name string - A filter to return only resources that match the given name.
- map(string)
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id string
- The unique identifier of the marketplace publisher partner.
- state string
- The current lifecycle state of the marketplace publisher partner.
- map(string)
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- compartment
Id String - The OCID of the compartment in which to list resources.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name String - A filter to return only resources that match the given name.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The unique identifier of the marketplace publisher partner.
- state String
- The current lifecycle state of the marketplace publisher partner.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- compartment
Id string - The OCID of the compartment in which to list resources.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name string - A filter to return only resources that match the given name.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id string
- The unique identifier of the marketplace publisher partner.
- state string
- The current lifecycle state of the marketplace publisher partner.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- compartment_
id str - The OCID of the compartment in which to list resources.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display_
name str - A filter to return only resources that match the given name.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id str
- The unique identifier of the marketplace publisher partner.
- state str
- The current lifecycle state of the marketplace publisher partner.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- compartment
Id String - The OCID of the compartment in which to list resources.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name String - A filter to return only resources that match the given name.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The unique identifier of the marketplace publisher partner.
- state String
- The current lifecycle state of the marketplace publisher partner.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v5.2.0
published on Thursday, Oct 1, 2026 by Pulumi
published on Thursday, Oct 1, 2026 by Pulumi