The sushy.resources.common Module¶
-
class
sushy.resources.common.ActionField(*args, **kwargs)¶ Bases:
sushy.resources.base.CompositeField-
operation_apply_time_support= <sushy.resources.common.OperationApplyTimeSupportField object>¶
-
target_uri= <sushy.resources.base.Field object>¶
-
-
class
sushy.resources.common.IdRefField(*args, **kwargs)¶ Bases:
sushy.resources.base.CompositeFieldReference to the resource odata identity field.
-
resource_uri= <sushy.resources.base.Field object>¶ The unique identifier for a resource
-
-
class
sushy.resources.common.IdentifiersListField(*args, **kwargs)¶ Bases:
sushy.resources.base.ListFieldThis type describes any additional identifiers for a resource.
-
durable_name= <sushy.resources.base.Field object>¶ This indicates the world wide, persistent name of the resource.
-
durable_name_format= <sushy.resources.base.MappedField object>¶ This represents the format of the DurableName property.
-
-
class
sushy.resources.common.InitializeActionField(*args, **kwargs)¶ Bases:
sushy.resources.common.ActionField-
allowed_values= <sushy.resources.base.Field object>¶
-
-
class
sushy.resources.common.OperationApplyTimeSupportField¶ Bases:
sushy.resources.base.CompositeField-
maintenance_window_duration_in_seconds= <sushy.resources.base.Field object>¶ The expiry time of maintenance window in seconds
-
maintenance_window_start_time= <sushy.resources.base.Field object>¶ The start time of a maintenance window
-
supported_values= <sushy.resources.base.Field object>¶ The client is allowed request when performing a create, delete, or action operation
-
-
class
sushy.resources.common.ResetActionField(*args, **kwargs)¶ Bases:
sushy.resources.common.ActionField-
allowed_values= <sushy.resources.base.Field object>¶
-
-
class
sushy.resources.common.StatusField(*args, **kwargs)¶ Bases:
sushy.resources.base.CompositeFieldThis Field describes the status of a resource and its children.
This field shall contain any state or health properties of a resource.
-
health= <sushy.resources.base.MappedField object>¶ Represents health of resource w/o considering its dependent resources
-
health_rollup= <sushy.resources.base.MappedField object>¶ Represents health state of resource and its dependent resources
-
state= <sushy.resources.base.MappedField object>¶ Indicates the known state of the resource, such as if it is enabled.
-