oci.ApiGateway.Subscriber
Explore with Pulumi AI
This resource provides the Subscriber resource in Oracle Cloud Infrastructure API Gateway service.
Creates a new subscriber.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSubscriber = new oci.apigateway.Subscriber("test_subscriber", {
clients: [{
name: subscriberClientsName,
token: subscriberClientsToken,
}],
compartmentId: compartmentId,
usagePlans: subscriberUsagePlans,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: subscriberDisplayName,
freeformTags: {
Department: "Finance",
},
});
import pulumi
import pulumi_oci as oci
test_subscriber = oci.api_gateway.Subscriber("test_subscriber",
clients=[{
"name": subscriber_clients_name,
"token": subscriber_clients_token,
}],
compartment_id=compartment_id,
usage_plans=subscriber_usage_plans,
defined_tags={
"Operations.CostCenter": "42",
},
display_name=subscriber_display_name,
freeform_tags={
"Department": "Finance",
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ApiGateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ApiGateway.NewSubscriber(ctx, "test_subscriber", &ApiGateway.SubscriberArgs{
Clients: apigateway.SubscriberClientArray{
&apigateway.SubscriberClientArgs{
Name: pulumi.Any(subscriberClientsName),
Token: pulumi.Any(subscriberClientsToken),
},
},
CompartmentId: pulumi.Any(compartmentId),
UsagePlans: pulumi.Any(subscriberUsagePlans),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(subscriberDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
})
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 testSubscriber = new Oci.ApiGateway.Subscriber("test_subscriber", new()
{
Clients = new[]
{
new Oci.ApiGateway.Inputs.SubscriberClientArgs
{
Name = subscriberClientsName,
Token = subscriberClientsToken,
},
},
CompartmentId = compartmentId,
UsagePlans = subscriberUsagePlans,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = subscriberDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ApiGateway.Subscriber;
import com.pulumi.oci.ApiGateway.SubscriberArgs;
import com.pulumi.oci.ApiGateway.inputs.SubscriberClientArgs;
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 testSubscriber = new Subscriber("testSubscriber", SubscriberArgs.builder()
.clients(SubscriberClientArgs.builder()
.name(subscriberClientsName)
.token(subscriberClientsToken)
.build())
.compartmentId(compartmentId)
.usagePlans(subscriberUsagePlans)
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(subscriberDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.build());
}
}
resources:
testSubscriber:
type: oci:ApiGateway:Subscriber
name: test_subscriber
properties:
clients:
- name: ${subscriberClientsName}
token: ${subscriberClientsToken}
compartmentId: ${compartmentId}
usagePlans: ${subscriberUsagePlans}
definedTags:
Operations.CostCenter: '42'
displayName: ${subscriberDisplayName}
freeformTags:
Department: Finance
Create Subscriber Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Subscriber(name: string, args: SubscriberArgs, opts?: CustomResourceOptions);
@overload
def Subscriber(resource_name: str,
args: SubscriberArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Subscriber(resource_name: str,
opts: Optional[ResourceOptions] = None,
clients: Optional[Sequence[_apigateway.SubscriberClientArgs]] = None,
compartment_id: Optional[str] = None,
usage_plans: Optional[Sequence[str]] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None)
func NewSubscriber(ctx *Context, name string, args SubscriberArgs, opts ...ResourceOption) (*Subscriber, error)
public Subscriber(string name, SubscriberArgs args, CustomResourceOptions? opts = null)
public Subscriber(String name, SubscriberArgs args)
public Subscriber(String name, SubscriberArgs args, CustomResourceOptions options)
type: oci:ApiGateway:Subscriber
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 SubscriberArgs
- 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 SubscriberArgs
- 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 SubscriberArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SubscriberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SubscriberArgs
- 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 subscriberResource = new Oci.ApiGateway.Subscriber("subscriberResource", new()
{
Clients = new[]
{
new Oci.ApiGateway.Inputs.SubscriberClientArgs
{
Name = "string",
Token = "string",
},
},
CompartmentId = "string",
UsagePlans = new[]
{
"string",
},
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
});
example, err := ApiGateway.NewSubscriber(ctx, "subscriberResource", &ApiGateway.SubscriberArgs{
Clients: apigateway.SubscriberClientArray{
&apigateway.SubscriberClientArgs{
Name: pulumi.String("string"),
Token: pulumi.String("string"),
},
},
CompartmentId: pulumi.String("string"),
UsagePlans: pulumi.StringArray{
pulumi.String("string"),
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var subscriberResource = new Subscriber("subscriberResource", SubscriberArgs.builder()
.clients(SubscriberClientArgs.builder()
.name("string")
.token("string")
.build())
.compartmentId("string")
.usagePlans("string")
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.build());
subscriber_resource = oci.api_gateway.Subscriber("subscriberResource",
clients=[{
"name": "string",
"token": "string",
}],
compartment_id="string",
usage_plans=["string"],
defined_tags={
"string": "string",
},
display_name="string",
freeform_tags={
"string": "string",
})
const subscriberResource = new oci.apigateway.Subscriber("subscriberResource", {
clients: [{
name: "string",
token: "string",
}],
compartmentId: "string",
usagePlans: ["string"],
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
});
type: oci:ApiGateway:Subscriber
properties:
clients:
- name: string
token: string
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
usagePlans:
- string
Subscriber 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 Subscriber resource accepts the following input properties:
- Clients
List<Subscriber
Client> - (Updatable) The clients belonging to this subscriber.
- Compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- Usage
Plans List<string> (Updatable) An array of OCIDs of usage plan resources.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Dictionary<string, string>
- (Updatable) 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 - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Dictionary<string, string>
- (Updatable) 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"}
- Clients
[]Subscriber
Client Args - (Updatable) The clients belonging to this subscriber.
- Compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- Usage
Plans []string (Updatable) An array of OCIDs of usage plan resources.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- map[string]string
- (Updatable) 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 - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- map[string]string
- (Updatable) 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"}
- clients
List<Subscriber
Client> - (Updatable) The clients belonging to this subscriber.
- compartment
Id String - (Updatable) The OCID of the compartment in which the resource is created.
- usage
Plans List<String> (Updatable) An array of OCIDs of usage plan resources.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String,String>
- (Updatable) 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 - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Map<String,String>
- (Updatable) 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"}
- clients
Subscriber
Client[] - (Updatable) The clients belonging to this subscriber.
- compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- usage
Plans string[] (Updatable) An array of OCIDs of usage plan resources.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- {[key: string]: string}
- (Updatable) 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 - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- {[key: string]: string}
- (Updatable) 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"}
- clients
Sequence[apigateway.
Subscriber Client Args] - (Updatable) The clients belonging to this subscriber.
- compartment_
id str - (Updatable) The OCID of the compartment in which the resource is created.
- usage_
plans Sequence[str] (Updatable) An array of OCIDs of usage plan resources.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Mapping[str, str]
- (Updatable) 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 - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Mapping[str, str]
- (Updatable) 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"}
- clients List<Property Map>
- (Updatable) The clients belonging to this subscriber.
- compartment
Id String - (Updatable) The OCID of the compartment in which the resource is created.
- usage
Plans List<String> (Updatable) An array of OCIDs of usage plan resources.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String>
- (Updatable) 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 - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Map<String>
- (Updatable) 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"}
Outputs
All input properties are implicitly available as output properties. Additionally, the Subscriber resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- State string
- The current state of the subscriber.
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- State string
- The current state of the subscriber.
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- state String
- The current state of the subscriber.
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- state string
- The current state of the subscriber.
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- state str
- The current state of the subscriber.
- time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- state String
- The current state of the subscriber.
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
Look up Existing Subscriber Resource
Get an existing Subscriber 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?: SubscriberState, opts?: CustomResourceOptions): Subscriber
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
clients: Optional[Sequence[_apigateway.SubscriberClientArgs]] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
state: Optional[str] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
usage_plans: Optional[Sequence[str]] = None) -> Subscriber
func GetSubscriber(ctx *Context, name string, id IDInput, state *SubscriberState, opts ...ResourceOption) (*Subscriber, error)
public static Subscriber Get(string name, Input<string> id, SubscriberState? state, CustomResourceOptions? opts = null)
public static Subscriber get(String name, Output<String> id, SubscriberState 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.
- Clients
List<Subscriber
Client> - (Updatable) The clients belonging to this subscriber.
- Compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- Dictionary<string, string>
- (Updatable) 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 - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Dictionary<string, string>
- (Updatable) 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 describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- State string
- The current state of the subscriber.
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Usage
Plans List<string> (Updatable) An array of OCIDs of usage plan resources.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Clients
[]Subscriber
Client Args - (Updatable) The clients belonging to this subscriber.
- Compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- map[string]string
- (Updatable) 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 - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- map[string]string
- (Updatable) 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 describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- State string
- The current state of the subscriber.
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Usage
Plans []string (Updatable) An array of OCIDs of usage plan resources.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- clients
List<Subscriber
Client> - (Updatable) The clients belonging to this subscriber.
- compartment
Id String - (Updatable) The OCID of the compartment in which the resource is created.
- Map<String,String>
- (Updatable) 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 - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Map<String,String>
- (Updatable) 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 describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- state String
- The current state of the subscriber.
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- usage
Plans List<String> (Updatable) An array of OCIDs of usage plan resources.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- clients
Subscriber
Client[] - (Updatable) The clients belonging to this subscriber.
- compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- {[key: string]: string}
- (Updatable) 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 - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- {[key: string]: string}
- (Updatable) 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 describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- state string
- The current state of the subscriber.
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- usage
Plans string[] (Updatable) An array of OCIDs of usage plan resources.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- clients
Sequence[apigateway.
Subscriber Client Args] - (Updatable) The clients belonging to this subscriber.
- compartment_
id str - (Updatable) The OCID of the compartment in which the resource is created.
- Mapping[str, str]
- (Updatable) 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 - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Mapping[str, str]
- (Updatable) 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 describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- state str
- The current state of the subscriber.
- time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- usage_
plans Sequence[str] (Updatable) An array of OCIDs of usage plan resources.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- clients List<Property Map>
- (Updatable) The clients belonging to this subscriber.
- compartment
Id String - (Updatable) The OCID of the compartment in which the resource is created.
- Map<String>
- (Updatable) 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 - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Map<String>
- (Updatable) 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 describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- state String
- The current state of the subscriber.
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- usage
Plans List<String> (Updatable) An array of OCIDs of usage plan resources.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Supporting Types
SubscriberClient, SubscriberClientArgs
Import
Subscribers can be imported using the id
, e.g.
$ pulumi import oci:ApiGateway/subscriber:Subscriber test_subscriber "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.