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/datashare/2019-11-01/synchronizationsetting Documentation

The synchronizationsetting SDK allows for interaction with the Azure Resource Manager Service datashare (API Version 2019-11-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/datashare/2019-11-01/synchronizationsetting"

Client Initialization

client := synchronizationsetting.NewSynchronizationSettingClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: SynchronizationSettingClient.Create

ctx := context.TODO()
id := synchronizationsetting.NewSynchronizationSettingID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "shareValue", "synchronizationSettingValue")

payload := synchronizationsetting.SynchronizationSetting{
	// ...
}


read, err := client.Create(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: SynchronizationSettingClient.Delete

ctx := context.TODO()
id := synchronizationsetting.NewSynchronizationSettingID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "shareValue", "synchronizationSettingValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: SynchronizationSettingClient.Get

ctx := context.TODO()
id := synchronizationsetting.NewSynchronizationSettingID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "shareValue", "synchronizationSettingValue")

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: SynchronizationSettingClient.ListByShare

ctx := context.TODO()
id := synchronizationsetting.NewShareID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "shareValue")

// alternatively `client.ListByShare(ctx, id)` can be used to do batched pagination
items, err := client.ListByShareComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

# Functions

NewShareID returns a new ShareId struct.
No description provided by the author
NewSynchronizationSettingID returns a new SynchronizationSettingId struct.
ParseShareID parses 'input' into a ShareId.
ParseShareIDInsensitively parses 'input' case-insensitively into a ShareId note: this method should only be used for API response data and not user input.
ParseSynchronizationSettingID parses 'input' into a SynchronizationSettingId.
ParseSynchronizationSettingIDInsensitively parses 'input' case-insensitively into a SynchronizationSettingId note: this method should only be used for API response data and not user input.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ValidateShareID checks that 'input' can be parsed as a Share ID.
ValidateSynchronizationSettingID checks that 'input' can be parsed as a Synchronization Setting ID.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# 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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RawSynchronizationSettingImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g.
No description provided by the author
No description provided by the author
ShareId is a struct representing the Resource ID for a Share.
No description provided by the author
SynchronizationSettingId is a struct representing the Resource ID for a Synchronization Setting.
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author