oci.Identity.getAllowedDomainLicenseTypes
Explore with Pulumi AI
This data source provides the list of Allowed Domain License Types in Oracle Cloud Infrastructure Identity service.
List the allowed domain license types supported by Oracle Cloud Infrastructure If {@code currentLicenseTypeName} provided, returns allowed license types a domain with the specified license type name can migrate to. If {@code name} is provided, it filters and returns resources that match the given license type name. Otherwise, returns all valid license types that are currently supported.
- If license type details are retrieved sucessfully, return 202 ACCEPTED.
- If any internal error occurs, return 500 INTERNAL SERVER ERROR.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAllowedDomainLicenseTypes = oci.Identity.getAllowedDomainLicenseTypes({
    currentLicenseTypeName: allowedDomainLicenseTypeCurrentLicenseTypeName,
});
import pulumi
import pulumi_oci as oci
test_allowed_domain_license_types = oci.Identity.get_allowed_domain_license_types(current_license_type_name=allowed_domain_license_type_current_license_type_name)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/identity"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := identity.GetAllowedDomainLicenseTypes(ctx, &identity.GetAllowedDomainLicenseTypesArgs{
			CurrentLicenseTypeName: pulumi.StringRef(allowedDomainLicenseTypeCurrentLicenseTypeName),
		}, 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 testAllowedDomainLicenseTypes = Oci.Identity.GetAllowedDomainLicenseTypes.Invoke(new()
    {
        CurrentLicenseTypeName = allowedDomainLicenseTypeCurrentLicenseTypeName,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Identity.IdentityFunctions;
import com.pulumi.oci.Identity.inputs.GetAllowedDomainLicenseTypesArgs;
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 testAllowedDomainLicenseTypes = IdentityFunctions.getAllowedDomainLicenseTypes(GetAllowedDomainLicenseTypesArgs.builder()
            .currentLicenseTypeName(allowedDomainLicenseTypeCurrentLicenseTypeName)
            .build());
    }
}
variables:
  testAllowedDomainLicenseTypes:
    fn::invoke:
      function: oci:Identity:getAllowedDomainLicenseTypes
      arguments:
        currentLicenseTypeName: ${allowedDomainLicenseTypeCurrentLicenseTypeName}
Using getAllowedDomainLicenseTypes
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 getAllowedDomainLicenseTypes(args: GetAllowedDomainLicenseTypesArgs, opts?: InvokeOptions): Promise<GetAllowedDomainLicenseTypesResult>
function getAllowedDomainLicenseTypesOutput(args: GetAllowedDomainLicenseTypesOutputArgs, opts?: InvokeOptions): Output<GetAllowedDomainLicenseTypesResult>def get_allowed_domain_license_types(current_license_type_name: Optional[str] = None,
                                     filters: Optional[Sequence[GetAllowedDomainLicenseTypesFilter]] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetAllowedDomainLicenseTypesResult
def get_allowed_domain_license_types_output(current_license_type_name: Optional[pulumi.Input[str]] = None,
                                     filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetAllowedDomainLicenseTypesFilterArgs]]]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetAllowedDomainLicenseTypesResult]func GetAllowedDomainLicenseTypes(ctx *Context, args *GetAllowedDomainLicenseTypesArgs, opts ...InvokeOption) (*GetAllowedDomainLicenseTypesResult, error)
func GetAllowedDomainLicenseTypesOutput(ctx *Context, args *GetAllowedDomainLicenseTypesOutputArgs, opts ...InvokeOption) GetAllowedDomainLicenseTypesResultOutput> Note: This function is named GetAllowedDomainLicenseTypes in the Go SDK.
public static class GetAllowedDomainLicenseTypes 
{
    public static Task<GetAllowedDomainLicenseTypesResult> InvokeAsync(GetAllowedDomainLicenseTypesArgs args, InvokeOptions? opts = null)
    public static Output<GetAllowedDomainLicenseTypesResult> Invoke(GetAllowedDomainLicenseTypesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAllowedDomainLicenseTypesResult> getAllowedDomainLicenseTypes(GetAllowedDomainLicenseTypesArgs args, InvokeOptions options)
public static Output<GetAllowedDomainLicenseTypesResult> getAllowedDomainLicenseTypes(GetAllowedDomainLicenseTypesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Identity/getAllowedDomainLicenseTypes:getAllowedDomainLicenseTypes
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CurrentLicense stringType Name 
- The domain license type
- Filters
List<GetAllowed Domain License Types Filter> 
- CurrentLicense stringType Name 
- The domain license type
- Filters
[]GetAllowed Domain License Types Filter 
- currentLicense StringType Name 
- The domain license type
- filters
List<GetAllowed Domain License Types Filter> 
- currentLicense stringType Name 
- The domain license type
- filters
GetAllowed Domain License Types Filter[] 
- current_license_ strtype_ name 
- The domain license type
- filters
Sequence[GetAllowed Domain License Types Filter] 
- currentLicense StringType Name 
- The domain license type
- filters List<Property Map>
getAllowedDomainLicenseTypes Result
The following output properties are available:
- AllowedDomain List<GetLicense Types Allowed Domain License Types Allowed Domain License Type> 
- The list of allowed_domain_license_types.
- Id string
- The provider-assigned unique ID for this managed resource.
- CurrentLicense stringType Name 
- Filters
List<GetAllowed Domain License Types Filter> 
- AllowedDomain []GetLicense Types Allowed Domain License Types Allowed Domain License Type 
- The list of allowed_domain_license_types.
- Id string
- The provider-assigned unique ID for this managed resource.
- CurrentLicense stringType Name 
- Filters
[]GetAllowed Domain License Types Filter 
- allowedDomain List<GetLicense Types Allowed Domain License Types Allowed Domain License Type> 
- The list of allowed_domain_license_types.
- id String
- The provider-assigned unique ID for this managed resource.
- currentLicense StringType Name 
- filters
List<GetAllowed Domain License Types Filter> 
- allowedDomain GetLicense Types Allowed Domain License Types Allowed Domain License Type[] 
- The list of allowed_domain_license_types.
- id string
- The provider-assigned unique ID for this managed resource.
- currentLicense stringType Name 
- filters
GetAllowed Domain License Types Filter[] 
- allowed_domain_ Sequence[Getlicense_ types Allowed Domain License Types Allowed Domain License Type] 
- The list of allowed_domain_license_types.
- id str
- The provider-assigned unique ID for this managed resource.
- current_license_ strtype_ name 
- filters
Sequence[GetAllowed Domain License Types Filter] 
- allowedDomain List<Property Map>License Types 
- The list of allowed_domain_license_types.
- id String
- The provider-assigned unique ID for this managed resource.
- currentLicense StringType Name 
- filters List<Property Map>
Supporting Types
GetAllowedDomainLicenseTypesAllowedDomainLicenseType        
- Description string
- The license type description.
- LicenseType string
- The license type identifier. Example: "oracle-apps-premium"
- Name string
- The license type name. Example: "Oracle Apps Premium"
- Description string
- The license type description.
- LicenseType string
- The license type identifier. Example: "oracle-apps-premium"
- Name string
- The license type name. Example: "Oracle Apps Premium"
- description String
- The license type description.
- licenseType String
- The license type identifier. Example: "oracle-apps-premium"
- name String
- The license type name. Example: "Oracle Apps Premium"
- description string
- The license type description.
- licenseType string
- The license type identifier. Example: "oracle-apps-premium"
- name string
- The license type name. Example: "Oracle Apps Premium"
- description str
- The license type description.
- license_type str
- The license type identifier. Example: "oracle-apps-premium"
- name str
- The license type name. Example: "Oracle Apps Premium"
- description String
- The license type description.
- licenseType String
- The license type identifier. Example: "oracle-apps-premium"
- name String
- The license type name. Example: "Oracle Apps Premium"
GetAllowedDomainLicenseTypesFilter     
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.