Documentation ¶
Overview ¶
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.
Index ¶
- type ResourcesClient
- func (client ResourcesClient) CreateOrUpdateByID(ctx context.Context, resourceID string, parameters resources.GenericResource, ...) (result resources.CreateOrUpdateByIDFuture, err error)
- func (client ResourcesClient) GetByID(ctx context.Context, resourceID, apiVersion string) (result resources.GenericResource, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourcesClient ¶
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:
https://github.com/Azure/azure-sdk-for-go/issues/741
When this issue has been resolved, we should drop this code and use the SDK's client directly.
func (ResourcesClient) CreateOrUpdateByID ¶
func (client ResourcesClient) CreateOrUpdateByID(ctx context.Context, resourceID string, parameters resources.GenericResource, apiVersion string) (result resources.CreateOrUpdateByIDFuture, err error)
CreateOrUpdateByID creates a resource.
See: resources.Client.CreateOrUpdateByID.
func (ResourcesClient) GetByID ¶
func (client ResourcesClient) GetByID(ctx context.Context, resourceID, apiVersion string) (result resources.GenericResource, err error)
GetByID gets a resource by ID.
See: resources.Client.GetByID.
Click to show internal directories.
Click to hide internal directories.