oci
stable
  • Installation
  • Configuration
  • Using FIPS-validated Libraries
  • Forward Compatibility
  • New Region Support
  • Backward Compatibility
  • Quickstart
  • Known Issues
  • Logging
  • Exception handling
  • Uploading Large Objects
  • Raw Requests
  • Composite Operations and Waiters
  • Pagination
  • API Reference
    • Analytics
    • Announcements Service
    • Apigateway
    • Apm Control Plane
    • Apm Synthetics
    • Apm Traces
    • Application Migration
    • Artifacts
    • Audit
    • Autoscaling
    • Bds
    • Blockchain
    • Budget
    • Cims
    • Cloud Guard
    • Compute Instance Agent
    • Container Engine
    • Core Services
    • Data Catalog
    • Data Flow
    • Data Integration
    • Data Safe
    • Data Science
    • Database
    • Database Management
    • DNS
    • Dts
    • Email
    • Events
    • File Storage
    • Functions
    • Golden Gate
    • Healthchecks
    • Identity
    • Integration
    • Key Management
    • Limits
    • Load Balancer
    • Log Analytics
    • Logging
    • Loggingingestion
    • Loggingsearch
    • Management Agent
    • Management Dashboard
    • Marketplace
    • Monitoring
    • Mysql
    • Network Load Balancer
    • Nosql
    • Object Storage
    • Oce
    • Ocvp
    • Oda
    • Ons
    • Opsi
    • Optimizer
    • Os Management
    • Resource Manager
    • Resource Search
    • Rover
    • Sch
    • Secrets
    • Streaming
    • Tenant Manager Control Plane
      • DomainClient
      • DomainGovernanceClient
      • LinkClient
      • RecipientInvitationClient
      • SenderInvitationClient
      • WorkRequestClient
      • DomainClientCompositeOperations
      • DomainGovernanceClientCompositeOperations
      • LinkClientCompositeOperations
      • RecipientInvitationClientCompositeOperations
      • SenderInvitationClientCompositeOperations
      • WorkRequestClientCompositeOperations
      • Models
        • CreateDomainDetails
        • CreateDomainGovernanceDetails
        • CreateSenderInvitationDetails
        • Domain
        • DomainCollection
        • DomainGovernance
        • DomainGovernanceCollection
        • DomainGovernanceSummary
        • DomainSummary
        • Link
        • LinkCollection
        • LinkSummary
        • RecipientInvitation
        • RecipientInvitationCollection
        • RecipientInvitationSummary
        • SenderInvitation
        • SenderInvitationCollection
        • SenderInvitationSummary
        • UpdateDomainDetails
        • UpdateDomainGovernanceDetails
        • UpdateRecipientInvitationDetails
        • UpdateSenderInvitationDetails
        • WorkRequest
        • WorkRequestCollection
        • WorkRequestError
        • WorkRequestErrorCollection
        • WorkRequestLogEntry
        • WorkRequestLogEntryCollection
        • WorkRequestResource
        • WorkRequestSummary
    • Usage Api
    • Vault
    • Vulnerability Scanning
    • Waas
    • Work Requests
    • Config
    • Exceptions
    • Pagination
    • Request and Response
    • Retry
    • Signing
    • Upload Manager
    • Utilities
    • Waiters
  • Customizing Service Clients
  • SDK Behaviors
  • Contributions
  • Notifications
  • License
  • Questions or Feedback
oci
  • Docs »
  • API Reference »
  • Tenant Manager Control Plane »
  • Link
  • Edit on GitHub

Link¶

class oci.tenant_manager_control_plane.models.Link(**kwargs)¶

Bases: object

A link between a parent tenancy and a child tenancy.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a Link.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a Link.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a Link.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a Link.
LIFECYCLE_STATE_TERMINATED A constant which can be used with the lifecycle_state property of a Link.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a Link.
child_tenancy_id [Required] Gets the child_tenancy_id of this Link.
id [Required] Gets the id of this Link.
lifecycle_state Gets the lifecycle_state of this Link.
parent_tenancy_id [Required] Gets the parent_tenancy_id of this Link.
time_created [Required] Gets the time_created of this Link.
time_terminated Gets the time_terminated of this Link.
time_updated Gets the time_updated of this Link.

Methods

__init__(**kwargs) Initializes a new Link object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶

A constant which can be used with the lifecycle_state property of a Link. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'¶

A constant which can be used with the lifecycle_state property of a Link. This constant has a value of “CREATING”

LIFECYCLE_STATE_FAILED = 'FAILED'¶

A constant which can be used with the lifecycle_state property of a Link. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶

A constant which can be used with the lifecycle_state property of a Link. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_TERMINATED = 'TERMINATED'¶

A constant which can be used with the lifecycle_state property of a Link. This constant has a value of “TERMINATED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'¶

A constant which can be used with the lifecycle_state property of a Link. This constant has a value of “UPDATING”

__init__(**kwargs)¶

Initializes a new Link object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this Link.
  • parent_tenancy_id (str) – The value to assign to the parent_tenancy_id property of this Link.
  • child_tenancy_id (str) – The value to assign to the child_tenancy_id property of this Link.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this Link. Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “FAILED”, “TERMINATED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this Link.
  • time_updated (datetime) – The value to assign to the time_updated property of this Link.
  • time_terminated (datetime) – The value to assign to the time_terminated property of this Link.
child_tenancy_id¶

[Required] Gets the child_tenancy_id of this Link. OCID of the child tenancy

Returns:The child_tenancy_id of this Link.
Return type:str
id¶

[Required] Gets the id of this Link. OCID of the link.

Returns:The id of this Link.
Return type:str
lifecycle_state¶

Gets the lifecycle_state of this Link. Lifecycle state of the link.

Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “FAILED”, “TERMINATED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this Link.
Return type:str
parent_tenancy_id¶

[Required] Gets the parent_tenancy_id of this Link. OCID of the parent tenancy.

Returns:The parent_tenancy_id of this Link.
Return type:str
time_created¶

[Required] Gets the time_created of this Link. Date-time when this link was created.

Returns:The time_created of this Link.
Return type:datetime
time_terminated¶

Gets the time_terminated of this Link. Date-time when this link was terminated.

Returns:The time_terminated of this Link.
Return type:datetime
time_updated¶

Gets the time_updated of this Link. Date-time when this link was last updated.

Returns:The time_updated of this Link.
Return type:datetime
Next Previous

© Copyright 2016, 2021, Oracle Revision f1c12526.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: stable
Versions
latest
stable
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.