Viewing docs for Oracle Cloud Infrastructure v4.6.0
published on Thursday, Apr 9, 2026 by Pulumi
published on Thursday, Apr 9, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.6.0
published on Thursday, Apr 9, 2026 by Pulumi
published on Thursday, Apr 9, 2026 by Pulumi
This data source provides the list of Partner Subscriptions in Oracle Cloud Infrastructure Self service.
Gets information about a Subscription.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPartnerSubscriptions = oci.oci.getSelfPartnerSubscriptions({
listingId: testListing.id,
displayName: partnerSubscriptionDisplayName,
});
import pulumi
import pulumi_oci as oci
test_partner_subscriptions = oci.oci.get_self_partner_subscriptions(listing_id=test_listing["id"],
display_name=partner_subscription_display_name)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/oci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oci.GetSelfPartnerSubscriptions(ctx, &oci.GetSelfPartnerSubscriptionsArgs{
ListingId: testListing.Id,
DisplayName: pulumi.StringRef(partnerSubscriptionDisplayName),
}, 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 testPartnerSubscriptions = Oci.Oci.GetSelfPartnerSubscriptions.Invoke(new()
{
ListingId = testListing.Id,
DisplayName = partnerSubscriptionDisplayName,
});
});
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.GetSelfPartnerSubscriptionsArgs;
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 testPartnerSubscriptions = OciFunctions.getSelfPartnerSubscriptions(GetSelfPartnerSubscriptionsArgs.builder()
.listingId(testListing.id())
.displayName(partnerSubscriptionDisplayName)
.build());
}
}
variables:
testPartnerSubscriptions:
fn::invoke:
function: oci:oci:getSelfPartnerSubscriptions
arguments:
listingId: ${testListing.id}
displayName: ${partnerSubscriptionDisplayName}
Using getSelfPartnerSubscriptions
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 getSelfPartnerSubscriptions(args: GetSelfPartnerSubscriptionsArgs, opts?: InvokeOptions): Promise<GetSelfPartnerSubscriptionsResult>
function getSelfPartnerSubscriptionsOutput(args: GetSelfPartnerSubscriptionsOutputArgs, opts?: InvokeOptions): Output<GetSelfPartnerSubscriptionsResult>def get_self_partner_subscriptions(display_name: Optional[str] = None,
filters: Optional[Sequence[GetSelfPartnerSubscriptionsFilter]] = None,
listing_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSelfPartnerSubscriptionsResult
def get_self_partner_subscriptions_output(display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetSelfPartnerSubscriptionsFilterArgs]]]] = None,
listing_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSelfPartnerSubscriptionsResult]func GetSelfPartnerSubscriptions(ctx *Context, args *GetSelfPartnerSubscriptionsArgs, opts ...InvokeOption) (*GetSelfPartnerSubscriptionsResult, error)
func GetSelfPartnerSubscriptionsOutput(ctx *Context, args *GetSelfPartnerSubscriptionsOutputArgs, opts ...InvokeOption) GetSelfPartnerSubscriptionsResultOutput> Note: This function is named GetSelfPartnerSubscriptions in the Go SDK.
public static class GetSelfPartnerSubscriptions
{
public static Task<GetSelfPartnerSubscriptionsResult> InvokeAsync(GetSelfPartnerSubscriptionsArgs args, InvokeOptions? opts = null)
public static Output<GetSelfPartnerSubscriptionsResult> Invoke(GetSelfPartnerSubscriptionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSelfPartnerSubscriptionsResult> getSelfPartnerSubscriptions(GetSelfPartnerSubscriptionsArgs args, InvokeOptions options)
public static Output<GetSelfPartnerSubscriptionsResult> getSelfPartnerSubscriptions(GetSelfPartnerSubscriptionsArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getSelfPartnerSubscriptions:getSelfPartnerSubscriptions
arguments:
# arguments dictionaryThe following arguments are supported:
- Listing
Id string - The unique identifier for the listing.
- Display
Name string - A filter to return only resources that match the given name.
- Filters
List<Get
Self Partner Subscriptions Filter>
- Listing
Id string - The unique identifier for the listing.
- Display
Name string - A filter to return only resources that match the given name.
- Filters
[]Get
Self Partner Subscriptions Filter
- listing
Id String - The unique identifier for the listing.
- display
Name String - A filter to return only resources that match the given name.
- filters
List<Get
Self Partner Subscriptions Filter>
- listing
Id string - The unique identifier for the listing.
- display
Name string - A filter to return only resources that match the given name.
- filters
Get
Self Partner Subscriptions Filter[]
- listing_
id str - The unique identifier for the listing.
- display_
name str - A filter to return only resources that match the given name.
- filters
Sequence[Get
Self Partner Subscriptions Filter]
- listing
Id String - The unique identifier for the listing.
- display
Name String - A filter to return only resources that match the given name.
- filters List<Property Map>
getSelfPartnerSubscriptions Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Listing
Id string - Listing
Subscriptions List<GetCollections Self Partner Subscriptions Listing Subscriptions Collection> - The list of listing_subscriptions_collection.
- Display
Name string - The subscription name. Must be unique within the compartment. This value can be updated.
- Filters
List<Get
Self Partner Subscriptions Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Listing
Id string - Listing
Subscriptions []GetCollections Self Partner Subscriptions Listing Subscriptions Collection - The list of listing_subscriptions_collection.
- Display
Name string - The subscription name. Must be unique within the compartment. This value can be updated.
- Filters
[]Get
Self Partner Subscriptions Filter
- id String
- The provider-assigned unique ID for this managed resource.
- listing
Id String - listing
Subscriptions List<GetCollections Self Partner Subscriptions Listing Subscriptions Collection> - The list of listing_subscriptions_collection.
- display
Name String - The subscription name. Must be unique within the compartment. This value can be updated.
- filters
List<Get
Self Partner Subscriptions Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- listing
Id string - listing
Subscriptions GetCollections Self Partner Subscriptions Listing Subscriptions Collection[] - The list of listing_subscriptions_collection.
- display
Name string - The subscription name. Must be unique within the compartment. This value can be updated.
- filters
Get
Self Partner Subscriptions Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- listing_
id str - listing_
subscriptions_ Sequence[Getcollections Self Partner Subscriptions Listing Subscriptions Collection] - The list of listing_subscriptions_collection.
- display_
name str - The subscription name. Must be unique within the compartment. This value can be updated.
- filters
Sequence[Get
Self Partner Subscriptions Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- listing
Id String - listing
Subscriptions List<Property Map>Collections - The list of listing_subscriptions_collection.
- display
Name String - The subscription name. Must be unique within the compartment. This value can be updated.
- filters List<Property Map>
Supporting Types
GetSelfPartnerSubscriptionsFilter
GetSelfPartnerSubscriptionsListingSubscriptionsCollection
- Items
List<Get
Self Partner Subscriptions Listing Subscriptions Collection Item> - List of subscriptions for particular listing.
- Items
[]Get
Self Partner Subscriptions Listing Subscriptions Collection Item - List of subscriptions for particular listing.
- items
List<Get
Self Partner Subscriptions Listing Subscriptions Collection Item> - List of subscriptions for particular listing.
- items
Get
Self Partner Subscriptions Listing Subscriptions Collection Item[] - List of subscriptions for particular listing.
- items
Sequence[Get
Self Partner Subscriptions Listing Subscriptions Collection Item] - List of subscriptions for particular listing.
- items List<Property Map>
- List of subscriptions for particular listing.
GetSelfPartnerSubscriptionsListingSubscriptionsCollectionItem
- 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"} - Lifecycle
Details string - A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Product
Id string - The unique identifier of marketplace listing in Oracle Cloud Infrastructure.
- State string
- The current state of the Subscription.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Ended string - The date and time the Subscription was ended, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Started string - The date and time the Subscription was started, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- 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"} - Lifecycle
Details string - A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Product
Id string - The unique identifier of marketplace listing in Oracle Cloud Infrastructure.
- State string
- The current state of the Subscription.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Ended string - The date and time the Subscription was ended, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Started string - The date and time the Subscription was started, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- 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"} - lifecycle
Details String - A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- product
Id String - The unique identifier of marketplace listing in Oracle Cloud Infrastructure.
- state String
- The current state of the Subscription.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Ended String - The date and time the Subscription was ended, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Started String - The date and time the Subscription was started, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- {[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"} - lifecycle
Details string - A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- product
Id string - The unique identifier of marketplace listing in Oracle Cloud Infrastructure.
- state string
- The current state of the Subscription.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Ended string - The date and time the Subscription was ended, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Started string - The date and time the Subscription was started, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- 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"} - lifecycle_
details str - A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- product_
id str - The unique identifier of marketplace listing in Oracle Cloud Infrastructure.
- state str
- The current state of the Subscription.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
ended str - The date and time the Subscription was ended, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time_
started str - The date and time the Subscription was started, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- 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"} - lifecycle
Details String - A message that describes the current state of the Subscription in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- product
Id String - The unique identifier of marketplace listing in Oracle Cloud Infrastructure.
- state String
- The current state of the Subscription.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Ended String - The date and time the Subscription was ended, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Started String - The date and time the Subscription was started, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
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 v4.6.0
published on Thursday, Apr 9, 2026 by Pulumi
published on Thursday, Apr 9, 2026 by Pulumi
