ai_core_sdk.models.resource_group module¶
- class ai_core_sdk.models.resource_group.ResourceGroup(resource_group_id: str = None, tenant_id: str = None, zone_id: str = None, labels: List[Label] = None, status: ResourceGroupStatus = None, status_message: str = None, **kwargs)¶
Bases:
objectResourceGroup represents the resource group.
- Parameters:
resource_group_id (str) – The resource_group_id of this ResourceGroup.
tenant_id (str) – The tenant_id of this ResourceGroup.
zone_id (str) – The zone_id of this ResourceGroup.
labels (ResourceGroupLabels) – The labels of this ResourceGroup.
status (str) – The status of this ResourceGroup.
status_message (str) – The status_message of this ResourceGroup.
- __init__(resource_group_id: str = None, tenant_id: str = None, zone_id: str = None, labels: List[Label] = None, status: ResourceGroupStatus = None, status_message: str = None, **kwargs)¶
- static from_dict(resource_group_dict: Dict[str, Any])¶
Returns a
ai_core_sdk.models.resource_group.ResourceGroupobject, created from the values in the dict provided as parameter- Parameters:
resource_group_dict (Dict[str, Any]) – Dict which includes the necessary values to create the object
- Returns:
An object, created from the values provided
- Return type:
class:ai_core_sdk.models.resource_group.ResourceGroup