This file is based on code from Azure/azure-sdk-for-go, which is Copyright Microsoft Corporation. See the LICENSE file in this directory for details.
ResourcesClient wraps resources.Client, providing methods for dealing with generic resources.
NOTE(axw) this wrapper is necessary only to work around an issue in the generated Client, which hard-codes the API version:
When this issue has been resolved, we should drop this code and use the SDK's client directly.
func (client ResourcesClient) CreateOrUpdateByID(ctx context.Context, resourceID string, parameters resources.GenericResource, apiVersion string) (result resources.CreateOrUpdateByIDFuture, err error)
CreateOrUpdateByID creates a resource.
func (client ResourcesClient) GetByID(ctx context.Context, resourceID, apiVersion string) (result resources.GenericResource, err error)
GetByID gets a resource by ID.