The following functions retrieve information about zones, resource types, resources, resource groups, and extension properties:
scds_get_current_method_name(3HA ) – Retrieves the last element of the path name by which a data service method was called.
scds_get_zone_name(3HA) – Retrieves the name of the zone on whose behalf a method is running.
scds_get_resource_type_name(3HA) – Retrieves the name of the resource type for the calling program.
scds_get_resource_name(3HA) – Retrieves the name of the resource for the calling program.
scds_get_resource_group_name(3HA) – Retrieves the name of the resource group for the calling program.
scds_get_ext_property(3HA) – Retrieves the value of the specified extension property.
scds_free_ext_property(3HA) – Frees the memory that is allocated by scds_get_ext_property().
The following function retrieves status information about the SUNW.HAStoragePlus resources that are used by a resource:
scds_hasp_check (3HA) – Retrieves status information about SUNW.HAStoragePlus resources that are used by a resource. This information is obtained from the state (online or otherwise) of all SUNW.HAStoragePlus resources on which the resource depends by using the Resource_dependencies or Resource_dependencies_weak system properties that are defined for the resource. See the SUNW.HAStoragePlus (5) man page for more information.