oci.Core.ListingResourceVersionAgreement
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,
});
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)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/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
})
}
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,
});
});
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());
}
}
resources:
testAppCatalogListingResourceVersionAgreement:
type: oci:Core:AppCatalogListingResourceVersionAgreement
name: test_app_catalog_listing_resource_version_agreement
properties:
listingId: ${testListing.id}
listingResourceVersion: ${appCatalogListingResourceVersionAgreementListingResourceVersion}
Create ListingResourceVersionAgreement Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ListingResourceVersionAgreement(name: string, args: ListingResourceVersionAgreementArgs, opts?: CustomResourceOptions);
@overload
def ListingResourceVersionAgreement(resource_name: str,
args: ListingResourceVersionAgreementArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ListingResourceVersionAgreement(resource_name: str,
opts: Optional[ResourceOptions] = None,
listing_id: Optional[str] = None,
listing_resource_version: Optional[str] = None)
func NewListingResourceVersionAgreement(ctx *Context, name string, args ListingResourceVersionAgreementArgs, opts ...ResourceOption) (*ListingResourceVersionAgreement, error)
public ListingResourceVersionAgreement(string name, ListingResourceVersionAgreementArgs args, CustomResourceOptions? opts = null)
public ListingResourceVersionAgreement(String name, ListingResourceVersionAgreementArgs args)
public ListingResourceVersionAgreement(String name, ListingResourceVersionAgreementArgs args, CustomResourceOptions options)
type: oci:Core:ListingResourceVersionAgreement
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ListingResourceVersionAgreementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ListingResourceVersionAgreementArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ListingResourceVersionAgreementArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ListingResourceVersionAgreementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ListingResourceVersionAgreementArgs
- 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 listingResourceVersionAgreementResource = new Oci.Core.ListingResourceVersionAgreement("listingResourceVersionAgreementResource", new()
{
ListingId = "string",
ListingResourceVersion = "string",
});
example, err := Core.NewListingResourceVersionAgreement(ctx, "listingResourceVersionAgreementResource", &Core.ListingResourceVersionAgreementArgs{
ListingId: pulumi.String("string"),
ListingResourceVersion: pulumi.String("string"),
})
var listingResourceVersionAgreementResource = new ListingResourceVersionAgreement("listingResourceVersionAgreementResource", ListingResourceVersionAgreementArgs.builder()
.listingId("string")
.listingResourceVersion("string")
.build());
listing_resource_version_agreement_resource = oci.core.ListingResourceVersionAgreement("listingResourceVersionAgreementResource",
listing_id="string",
listing_resource_version="string")
const listingResourceVersionAgreementResource = new oci.core.ListingResourceVersionAgreement("listingResourceVersionAgreementResource", {
listingId: "string",
listingResourceVersion: "string",
});
type: oci:Core:ListingResourceVersionAgreement
properties:
listingId: string
listingResourceVersion: string
ListingResourceVersionAgreement Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ListingResourceVersionAgreement resource accepts the following input properties:
- Listing
Id string - The OCID of the listing.
- Listing
Resource stringVersion - Listing Resource Version.
- Listing
Id string - The OCID of the listing.
- Listing
Resource stringVersion - Listing Resource Version.
- listing
Id String - The OCID of the listing.
- listing
Resource StringVersion - Listing Resource Version.
- listing
Id string - The OCID of the listing.
- listing
Resource stringVersion - Listing Resource Version.
- listing_
id str - The OCID of the listing.
- listing_
resource_ strversion - Listing Resource Version.
- listing
Id String - The OCID of the listing.
- listing
Resource StringVersion - Listing Resource Version.
Outputs
All input properties are implicitly available as output properties. Additionally, the ListingResourceVersionAgreement resource produces the following output properties:
- Eula
Link string - EULA link
- Id string
- The provider-assigned unique ID for this managed resource.
- Oracle
Terms stringOf Use Link - Oracle TOU link
- Signature string
- A generated signature for this agreement retrieval operation which should be used in the create subscription call.
- Time
Retrieved string - Date and time the agreements were retrieved, in RFC3339 format. Example:
2018-03-20T12:32:53.532Z
- Eula
Link string - EULA link
- Id string
- The provider-assigned unique ID for this managed resource.
- Oracle
Terms stringOf Use Link - Oracle TOU link
- Signature string
- A generated signature for this agreement retrieval operation which should be used in the create subscription call.
- Time
Retrieved string - Date and time the agreements were retrieved, in RFC3339 format. Example:
2018-03-20T12:32:53.532Z
- eula
Link String - EULA link
- id String
- The provider-assigned unique ID for this managed resource.
- oracle
Terms StringOf Use Link - Oracle TOU link
- signature String
- A generated signature for this agreement retrieval operation which should be used in the create subscription call.
- time
Retrieved String - Date and time the agreements were retrieved, in RFC3339 format. Example:
2018-03-20T12:32:53.532Z
- eula
Link string - EULA link
- id string
- The provider-assigned unique ID for this managed resource.
- oracle
Terms stringOf Use Link - Oracle TOU link
- signature string
- A generated signature for this agreement retrieval operation which should be used in the create subscription call.
- time
Retrieved 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_ strof_ use_ link - 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
- eula
Link String - EULA link
- id String
- The provider-assigned unique ID for this managed resource.
- oracle
Terms StringOf Use Link - Oracle TOU link
- signature String
- A generated signature for this agreement retrieval operation which should be used in the create subscription call.
- time
Retrieved String - Date and time the agreements were retrieved, in RFC3339 format. Example:
2018-03-20T12:32:53.532Z
Look up Existing ListingResourceVersionAgreement Resource
Get an existing ListingResourceVersionAgreement 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?: ListingResourceVersionAgreementState, opts?: CustomResourceOptions): ListingResourceVersionAgreement
@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) -> ListingResourceVersionAgreement
func GetListingResourceVersionAgreement(ctx *Context, name string, id IDInput, state *ListingResourceVersionAgreementState, opts ...ResourceOption) (*ListingResourceVersionAgreement, error)
public static ListingResourceVersionAgreement Get(string name, Input<string> id, ListingResourceVersionAgreementState? state, CustomResourceOptions? opts = null)
public static ListingResourceVersionAgreement get(String name, Output<String> id, ListingResourceVersionAgreementState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Eula
Link string - EULA link
- Listing
Id string - The OCID of the listing.
- Listing
Resource stringVersion - Listing Resource Version.
- Oracle
Terms stringOf Use Link - Oracle TOU link
- Signature string
- A generated signature for this agreement retrieval operation which should be used in the create subscription call.
- Time
Retrieved string - Date and time the agreements were retrieved, in RFC3339 format. Example:
2018-03-20T12:32:53.532Z
- Eula
Link string - EULA link
- Listing
Id string - The OCID of the listing.
- Listing
Resource stringVersion - Listing Resource Version.
- Oracle
Terms stringOf Use Link - Oracle TOU link
- Signature string
- A generated signature for this agreement retrieval operation which should be used in the create subscription call.
- Time
Retrieved string - Date and time the agreements were retrieved, in RFC3339 format. Example:
2018-03-20T12:32:53.532Z
- eula
Link String - EULA link
- listing
Id String - The OCID of the listing.
- listing
Resource StringVersion - Listing Resource Version.
- oracle
Terms StringOf Use Link - Oracle TOU link
- signature String
- A generated signature for this agreement retrieval operation which should be used in the create subscription call.
- time
Retrieved String - Date and time the agreements were retrieved, in RFC3339 format. Example:
2018-03-20T12:32:53.532Z
- eula
Link string - EULA link
- listing
Id string - The OCID of the listing.
- listing
Resource stringVersion - Listing Resource Version.
- oracle
Terms stringOf Use Link - Oracle TOU link
- signature string
- A generated signature for this agreement retrieval operation which should be used in the create subscription call.
- time
Retrieved 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 str - The OCID of the listing.
- listing_
resource_ strversion - Listing Resource Version.
- oracle_
terms_ strof_ use_ link - 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
- eula
Link String - EULA link
- listing
Id String - The OCID of the listing.
- listing
Resource StringVersion - Listing Resource Version.
- oracle
Terms StringOf Use Link - Oracle TOU link
- signature String
- A generated signature for this agreement retrieval operation which should be used in the create subscription call.
- time
Retrieved 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.