1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. AppCatalogListingResourceVersionAgreement
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

oci.Core.AppCatalogListingResourceVersionAgreement

Explore with Pulumi AI

The oci.Core.AppCatalogListingResourceVersionAgreement resource creates AppCatalogListingResourceVersionAgreement for a particular resource version of a listing.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAppCatalogListingResourceVersionAgreement = new oci.core.AppCatalogListingResourceVersionAgreement("test_app_catalog_listing_resource_version_agreement", {
    listingId: testListing.id,
    listingResourceVersion: appCatalogListingResourceVersionAgreementListingResourceVersion,
});
Copy
import pulumi
import pulumi_oci as oci

test_app_catalog_listing_resource_version_agreement = oci.core.AppCatalogListingResourceVersionAgreement("test_app_catalog_listing_resource_version_agreement",
    listing_id=test_listing["id"],
    listing_resource_version=app_catalog_listing_resource_version_agreement_listing_resource_version)
Copy
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.NewAppCatalogListingResourceVersionAgreement(ctx, "test_app_catalog_listing_resource_version_agreement", &core.AppCatalogListingResourceVersionAgreementArgs{
			ListingId:              pulumi.Any(testListing.Id),
			ListingResourceVersion: pulumi.Any(appCatalogListingResourceVersionAgreementListingResourceVersion),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testAppCatalogListingResourceVersionAgreement = new Oci.Core.AppCatalogListingResourceVersionAgreement("test_app_catalog_listing_resource_version_agreement", new()
    {
        ListingId = testListing.Id,
        ListingResourceVersion = appCatalogListingResourceVersionAgreementListingResourceVersion,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.AppCatalogListingResourceVersionAgreement;
import com.pulumi.oci.Core.AppCatalogListingResourceVersionAgreementArgs;
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) {
        var testAppCatalogListingResourceVersionAgreement = new AppCatalogListingResourceVersionAgreement("testAppCatalogListingResourceVersionAgreement", AppCatalogListingResourceVersionAgreementArgs.builder()
            .listingId(testListing.id())
            .listingResourceVersion(appCatalogListingResourceVersionAgreementListingResourceVersion)
            .build());

    }
}
Copy
resources:
  testAppCatalogListingResourceVersionAgreement:
    type: oci:Core:AppCatalogListingResourceVersionAgreement
    name: test_app_catalog_listing_resource_version_agreement
    properties:
      listingId: ${testListing.id}
      listingResourceVersion: ${appCatalogListingResourceVersionAgreementListingResourceVersion}
Copy

Create AppCatalogListingResourceVersionAgreement Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AppCatalogListingResourceVersionAgreement(name: string, args: AppCatalogListingResourceVersionAgreementArgs, opts?: CustomResourceOptions);
@overload
def AppCatalogListingResourceVersionAgreement(resource_name: str,
                                              args: AppCatalogListingResourceVersionAgreementArgs,
                                              opts: Optional[ResourceOptions] = None)

@overload
def AppCatalogListingResourceVersionAgreement(resource_name: str,
                                              opts: Optional[ResourceOptions] = None,
                                              listing_id: Optional[str] = None,
                                              listing_resource_version: Optional[str] = None)
func NewAppCatalogListingResourceVersionAgreement(ctx *Context, name string, args AppCatalogListingResourceVersionAgreementArgs, opts ...ResourceOption) (*AppCatalogListingResourceVersionAgreement, error)
public AppCatalogListingResourceVersionAgreement(string name, AppCatalogListingResourceVersionAgreementArgs args, CustomResourceOptions? opts = null)
public AppCatalogListingResourceVersionAgreement(String name, AppCatalogListingResourceVersionAgreementArgs args)
public AppCatalogListingResourceVersionAgreement(String name, AppCatalogListingResourceVersionAgreementArgs args, CustomResourceOptions options)
type: oci:Core:AppCatalogListingResourceVersionAgreement
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AppCatalogListingResourceVersionAgreementArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AppCatalogListingResourceVersionAgreementArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AppCatalogListingResourceVersionAgreementArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AppCatalogListingResourceVersionAgreementArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AppCatalogListingResourceVersionAgreementArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var appCatalogListingResourceVersionAgreementResource = new Oci.Core.AppCatalogListingResourceVersionAgreement("appCatalogListingResourceVersionAgreementResource", new()
{
    ListingId = "string",
    ListingResourceVersion = "string",
});
Copy
example, err := core.NewAppCatalogListingResourceVersionAgreement(ctx, "appCatalogListingResourceVersionAgreementResource", &core.AppCatalogListingResourceVersionAgreementArgs{
	ListingId:              pulumi.String("string"),
	ListingResourceVersion: pulumi.String("string"),
})
Copy
var appCatalogListingResourceVersionAgreementResource = new AppCatalogListingResourceVersionAgreement("appCatalogListingResourceVersionAgreementResource", AppCatalogListingResourceVersionAgreementArgs.builder()
    .listingId("string")
    .listingResourceVersion("string")
    .build());
Copy
app_catalog_listing_resource_version_agreement_resource = oci.core.AppCatalogListingResourceVersionAgreement("appCatalogListingResourceVersionAgreementResource",
    listing_id="string",
    listing_resource_version="string")
Copy
const appCatalogListingResourceVersionAgreementResource = new oci.core.AppCatalogListingResourceVersionAgreement("appCatalogListingResourceVersionAgreementResource", {
    listingId: "string",
    listingResourceVersion: "string",
});
Copy
type: oci:Core:AppCatalogListingResourceVersionAgreement
properties:
    listingId: string
    listingResourceVersion: string
Copy

AppCatalogListingResourceVersionAgreement Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The AppCatalogListingResourceVersionAgreement resource accepts the following input properties:

ListingId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the listing.
ListingResourceVersion
This property is required.
Changes to this property will trigger replacement.
string
Listing Resource Version.
ListingId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the listing.
ListingResourceVersion
This property is required.
Changes to this property will trigger replacement.
string
Listing Resource Version.
listingId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the listing.
listingResourceVersion
This property is required.
Changes to this property will trigger replacement.
String
Listing Resource Version.
listingId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the listing.
listingResourceVersion
This property is required.
Changes to this property will trigger replacement.
string
Listing Resource Version.
listing_id
This property is required.
Changes to this property will trigger replacement.
str
The OCID of the listing.
listing_resource_version
This property is required.
Changes to this property will trigger replacement.
str
Listing Resource Version.
listingId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the listing.
listingResourceVersion
This property is required.
Changes to this property will trigger replacement.
String
Listing Resource Version.

Outputs

All input properties are implicitly available as output properties. Additionally, the AppCatalogListingResourceVersionAgreement resource produces the following output properties:

EulaLink string
EULA link
Id string
The provider-assigned unique ID for this managed resource.
OracleTermsOfUseLink string
Oracle TOU link
Signature string
A generated signature for this agreement retrieval operation which should be used in the create subscription call.
TimeRetrieved string
Date and time the agreements were retrieved, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
EulaLink string
EULA link
Id string
The provider-assigned unique ID for this managed resource.
OracleTermsOfUseLink string
Oracle TOU link
Signature string
A generated signature for this agreement retrieval operation which should be used in the create subscription call.
TimeRetrieved string
Date and time the agreements were retrieved, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
eulaLink String
EULA link
id String
The provider-assigned unique ID for this managed resource.
oracleTermsOfUseLink String
Oracle TOU link
signature String
A generated signature for this agreement retrieval operation which should be used in the create subscription call.
timeRetrieved String
Date and time the agreements were retrieved, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
eulaLink string
EULA link
id string
The provider-assigned unique ID for this managed resource.
oracleTermsOfUseLink string
Oracle TOU link
signature string
A generated signature for this agreement retrieval operation which should be used in the create subscription call.
timeRetrieved string
Date and time the agreements were retrieved, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
eula_link str
EULA link
id str
The provider-assigned unique ID for this managed resource.
oracle_terms_of_use_link str
Oracle TOU link
signature str
A generated signature for this agreement retrieval operation which should be used in the create subscription call.
time_retrieved str
Date and time the agreements were retrieved, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
eulaLink String
EULA link
id String
The provider-assigned unique ID for this managed resource.
oracleTermsOfUseLink String
Oracle TOU link
signature String
A generated signature for this agreement retrieval operation which should be used in the create subscription call.
timeRetrieved String
Date and time the agreements were retrieved, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z

Look up Existing AppCatalogListingResourceVersionAgreement Resource

Get an existing AppCatalogListingResourceVersionAgreement resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AppCatalogListingResourceVersionAgreementState, opts?: CustomResourceOptions): AppCatalogListingResourceVersionAgreement
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        eula_link: Optional[str] = None,
        listing_id: Optional[str] = None,
        listing_resource_version: Optional[str] = None,
        oracle_terms_of_use_link: Optional[str] = None,
        signature: Optional[str] = None,
        time_retrieved: Optional[str] = None) -> AppCatalogListingResourceVersionAgreement
func GetAppCatalogListingResourceVersionAgreement(ctx *Context, name string, id IDInput, state *AppCatalogListingResourceVersionAgreementState, opts ...ResourceOption) (*AppCatalogListingResourceVersionAgreement, error)
public static AppCatalogListingResourceVersionAgreement Get(string name, Input<string> id, AppCatalogListingResourceVersionAgreementState? state, CustomResourceOptions? opts = null)
public static AppCatalogListingResourceVersionAgreement get(String name, Output<String> id, AppCatalogListingResourceVersionAgreementState state, CustomResourceOptions options)
resources:  _:    type: oci:Core:AppCatalogListingResourceVersionAgreement    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
EulaLink string
EULA link
ListingId Changes to this property will trigger replacement. string
The OCID of the listing.
ListingResourceVersion Changes to this property will trigger replacement. string
Listing Resource Version.
OracleTermsOfUseLink string
Oracle TOU link
Signature string
A generated signature for this agreement retrieval operation which should be used in the create subscription call.
TimeRetrieved string
Date and time the agreements were retrieved, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
EulaLink string
EULA link
ListingId Changes to this property will trigger replacement. string
The OCID of the listing.
ListingResourceVersion Changes to this property will trigger replacement. string
Listing Resource Version.
OracleTermsOfUseLink string
Oracle TOU link
Signature string
A generated signature for this agreement retrieval operation which should be used in the create subscription call.
TimeRetrieved string
Date and time the agreements were retrieved, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
eulaLink String
EULA link
listingId Changes to this property will trigger replacement. String
The OCID of the listing.
listingResourceVersion Changes to this property will trigger replacement. String
Listing Resource Version.
oracleTermsOfUseLink String
Oracle TOU link
signature String
A generated signature for this agreement retrieval operation which should be used in the create subscription call.
timeRetrieved String
Date and time the agreements were retrieved, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
eulaLink string
EULA link
listingId Changes to this property will trigger replacement. string
The OCID of the listing.
listingResourceVersion Changes to this property will trigger replacement. string
Listing Resource Version.
oracleTermsOfUseLink string
Oracle TOU link
signature string
A generated signature for this agreement retrieval operation which should be used in the create subscription call.
timeRetrieved string
Date and time the agreements were retrieved, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
eula_link str
EULA link
listing_id Changes to this property will trigger replacement. str
The OCID of the listing.
listing_resource_version Changes to this property will trigger replacement. str
Listing Resource Version.
oracle_terms_of_use_link str
Oracle TOU link
signature str
A generated signature for this agreement retrieval operation which should be used in the create subscription call.
time_retrieved str
Date and time the agreements were retrieved, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z
eulaLink String
EULA link
listingId Changes to this property will trigger replacement. String
The OCID of the listing.
listingResourceVersion Changes to this property will trigger replacement. String
Listing Resource Version.
oracleTermsOfUseLink String
Oracle TOU link
signature String
A generated signature for this agreement retrieval operation which should be used in the create subscription call.
timeRetrieved String
Date and time the agreements were retrieved, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.