package
0.20240715.1103416
Repository: https://github.com/hashicorp/go-azure-sdk.git
Documentation: pkg.go.dev
# README
github.com/hashicorp/go-azure-sdk/resource-manager/streamanalytics/2020-03-01/transformations
Documentation
The transformations
SDK allows for interaction with the Azure Resource Manager Service streamanalytics
(API Version 2020-03-01
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/streamanalytics/2020-03-01/transformations"
Client Initialization
client := transformations.NewTransformationsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: TransformationsClient.CreateOrReplace
ctx := context.TODO()
id := transformations.NewTransformationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "streamingJobValue", "transformationValue")
payload := transformations.Transformation{
// ...
}
read, err := client.CreateOrReplace(ctx, id, payload, transformations.DefaultCreateOrReplaceOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: TransformationsClient.Get
ctx := context.TODO()
id := transformations.NewTransformationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "streamingJobValue", "transformationValue")
read, err := client.Get(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: TransformationsClient.Update
ctx := context.TODO()
id := transformations.NewTransformationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "streamingJobValue", "transformationValue")
payload := transformations.Transformation{
// ...
}
read, err := client.Update(ctx, id, payload, transformations.DefaultUpdateOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
# Functions
No description provided by the author
No description provided by the author
NewTransformationID returns a new TransformationId struct.
No description provided by the author
ParseTransformationID parses 'input' into a TransformationId.
ParseTransformationIDInsensitively parses 'input' case-insensitively into a TransformationId note: this method should only be used for API response data and not user input.
ValidateTransformationID checks that 'input' can be parsed as a Transformation ID.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TransformationId is a struct representing the Resource ID for a Transformation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author