1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. DefaultRouteTable
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

oci.Core.DefaultRouteTable

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

    Create DefaultRouteTable Resource

    new DefaultRouteTable(name: string, args: DefaultRouteTableArgs, opts?: CustomResourceOptions);
    @overload
    def DefaultRouteTable(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          compartment_id: Optional[str] = None,
                          defined_tags: Optional[Mapping[str, Any]] = None,
                          display_name: Optional[str] = None,
                          freeform_tags: Optional[Mapping[str, Any]] = None,
                          manage_default_resource_id: Optional[str] = None,
                          route_rules: Optional[Sequence[_core.DefaultRouteTableRouteRuleArgs]] = None)
    @overload
    def DefaultRouteTable(resource_name: str,
                          args: DefaultRouteTableArgs,
                          opts: Optional[ResourceOptions] = None)
    func NewDefaultRouteTable(ctx *Context, name string, args DefaultRouteTableArgs, opts ...ResourceOption) (*DefaultRouteTable, error)
    public DefaultRouteTable(string name, DefaultRouteTableArgs args, CustomResourceOptions? opts = null)
    public DefaultRouteTable(String name, DefaultRouteTableArgs args)
    public DefaultRouteTable(String name, DefaultRouteTableArgs args, CustomResourceOptions options)
    
    type: oci:Core:DefaultRouteTable
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args DefaultRouteTableArgs
    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 DefaultRouteTableArgs
    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 DefaultRouteTableArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DefaultRouteTableArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DefaultRouteTableArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    DefaultRouteTable 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 DefaultRouteTable resource accepts the following input properties:

    ManageDefaultResourceId string
    CompartmentId string
    DefinedTags Dictionary<string, object>
    DisplayName string
    FreeformTags Dictionary<string, object>
    RouteRules List<DefaultRouteTableRouteRule>

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    TimeCreated string
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    TimeCreated string
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    timeCreated String
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    timeCreated string
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    time_created str
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    timeCreated String

    Look up Existing DefaultRouteTable Resource

    Get an existing DefaultRouteTable 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?: DefaultRouteTableState, opts?: CustomResourceOptions): DefaultRouteTable
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            manage_default_resource_id: Optional[str] = None,
            route_rules: Optional[Sequence[_core.DefaultRouteTableRouteRuleArgs]] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None) -> DefaultRouteTable
    func GetDefaultRouteTable(ctx *Context, name string, id IDInput, state *DefaultRouteTableState, opts ...ResourceOption) (*DefaultRouteTable, error)
    public static DefaultRouteTable Get(string name, Input<string> id, DefaultRouteTableState? state, CustomResourceOptions? opts = null)
    public static DefaultRouteTable get(String name, Output<String> id, DefaultRouteTableState 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.
    The following state arguments are supported:
    CompartmentId string
    DefinedTags Dictionary<string, object>
    DisplayName string
    FreeformTags Dictionary<string, object>
    ManageDefaultResourceId string
    RouteRules List<DefaultRouteTableRouteRule>
    State string
    TimeCreated string

    Supporting Types

    DefaultRouteTableRouteRule, DefaultRouteTableRouteRuleArgs

    NetworkEntityId string
    CidrBlock string

    Deprecated:The 'cidr_block' field has been deprecated. Please use 'destination' instead.

    Description string
    Destination string
    DestinationType string
    RouteType string
    NetworkEntityId string
    CidrBlock string

    Deprecated:The 'cidr_block' field has been deprecated. Please use 'destination' instead.

    Description string
    Destination string
    DestinationType string
    RouteType string
    networkEntityId String
    cidrBlock String

    Deprecated:The 'cidr_block' field has been deprecated. Please use 'destination' instead.

    description String
    destination String
    destinationType String
    routeType String
    networkEntityId string
    cidrBlock string

    Deprecated:The 'cidr_block' field has been deprecated. Please use 'destination' instead.

    description string
    destination string
    destinationType string
    routeType string
    network_entity_id str
    cidr_block str

    Deprecated:The 'cidr_block' field has been deprecated. Please use 'destination' instead.

    description str
    destination str
    destination_type str
    route_type str
    networkEntityId String
    cidrBlock String

    Deprecated:The 'cidr_block' field has been deprecated. Please use 'destination' instead.

    description String
    destination String
    destinationType String
    routeType String

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi