# Functions
Clone returns a shallow clone of m.
ImportResourceGroupID deconstructs the given ID when terraform import runs, so the attribute groups can be set within the terraform state.
SetExistingAttributesAsOptional updates the schema of existing top level attributes by ensuring they are optional by setting Computed and Required to false and Optional to true.
SetExistingAttributesAsRequired updates the schema of existing top level attributes by ensuring they are required by setting Computed and Optional to false and Required to true.
SetResourceGroupID sets the ID of the resource when the ID is a combination of multiple resource IDs.
TransformResourceToDataSource is a recursive function that converts an existing Resource schema to a DataSource schema.