MulticloudPolicySummary¶
- class oci.multicloud.models.MulticloudPolicySummary(**kwargs)¶
Bases:
objectSummary of missing IAM policies for a multicloud subscription.
Attributes:
A constant which can be used with the subscription_type property of a MulticloudPolicySummary.
A constant which can be used with the subscription_type property of a MulticloudPolicySummary.
A constant which can be used with the subscription_type property of a MulticloudPolicySummary.
Gets the defined_tags of this MulticloudPolicySummary.
Gets the freeform_tags of this MulticloudPolicySummary.
Gets the groups of this MulticloudPolicySummary.
Gets the lifecycle_state of this MulticloudPolicySummary.
Gets the policies of this MulticloudPolicySummary.
Gets the subscription_id of this MulticloudPolicySummary.
[Required] Gets the subscription_type of this MulticloudPolicySummary.
Gets the system_tags of this MulticloudPolicySummary.
Methods:
__init__(**kwargs)Initializes a new MulticloudPolicySummary object with values from keyword arguments.
- SUBSCRIPTION_TYPE_ORACLEDBATAWS = 'ORACLEDBATAWS'¶
A constant which can be used with the subscription_type property of a MulticloudPolicySummary. This constant has a value of “ORACLEDBATAWS”
- SUBSCRIPTION_TYPE_ORACLEDBATAZURE = 'ORACLEDBATAZURE'¶
A constant which can be used with the subscription_type property of a MulticloudPolicySummary. This constant has a value of “ORACLEDBATAZURE”
- SUBSCRIPTION_TYPE_ORACLEDBATGOOGLE = 'ORACLEDBATGOOGLE'¶
A constant which can be used with the subscription_type property of a MulticloudPolicySummary. This constant has a value of “ORACLEDBATGOOGLE”
- __init__(**kwargs)¶
Initializes a new MulticloudPolicySummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
subscription_id (str) – The value to assign to the subscription_id property of this MulticloudPolicySummary.
subscription_type (str) – The value to assign to the subscription_type property of this MulticloudPolicySummary. Allowed values for this property are: “ORACLEDBATAZURE”, “ORACLEDBATGOOGLE”, “ORACLEDBATAWS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
groups (list[str]) – The value to assign to the groups property of this MulticloudPolicySummary.
policies (list[oci.multicloud.models.MulticloudPolicy]) – The value to assign to the policies property of this MulticloudPolicySummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this MulticloudPolicySummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MulticloudPolicySummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MulticloudPolicySummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MulticloudPolicySummary.
- property defined_tags¶
Gets the defined_tags of this MulticloudPolicySummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this MulticloudPolicySummary.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this MulticloudPolicySummary. 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”}
- Returns
The freeform_tags of this MulticloudPolicySummary.
- Return type
dict(str, str)
- property groups¶
Gets the groups of this MulticloudPolicySummary. groups required for the particular subscriptionType IAM policy statements required.
- Returns
The groups of this MulticloudPolicySummary.
- Return type
list[str]
- property lifecycle_state¶
Gets the lifecycle_state of this MulticloudPolicySummary. The current state of the Multicloud Network Alert.
- Returns
The lifecycle_state of this MulticloudPolicySummary.
- Return type
str
- property policies¶
Gets the policies of this MulticloudPolicySummary. Missing policy definitions.
- Returns
The policies of this MulticloudPolicySummary.
- Return type
- property subscription_id¶
Gets the subscription_id of this MulticloudPolicySummary. Compartment The OCID of the Oracle Subscription
- Returns
The subscription_id of this MulticloudPolicySummary.
- Return type
str
- property subscription_type¶
[Required] Gets the subscription_type of this MulticloudPolicySummary. Oracle Cloud Infrastructure Subscription Type.
Allowed values for this property are: “ORACLEDBATAZURE”, “ORACLEDBATGOOGLE”, “ORACLEDBATAWS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The subscription_type of this MulticloudPolicySummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this MulticloudPolicySummary. System tags for this resource. Each key is predefined and scoped to a namespace.
Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns
The system_tags of this MulticloudPolicySummary.
- Return type
dict(str, dict(str, object))