workspacemanagedsqlserverdedicatedsqlminimaltlssettings

package
v0.20240327.1161949 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: MPL-2.0 Imports: 10 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/synapse/2021-06-01/workspacemanagedsqlserverdedicatedsqlminimaltlssettings Documentation

The workspacemanagedsqlserverdedicatedsqlminimaltlssettings SDK allows for interaction with the Azure Resource Manager Service synapse (API Version 2021-06-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/synapse/2021-06-01/workspacemanagedsqlserverdedicatedsqlminimaltlssettings"

Client Initialization

client := workspacemanagedsqlserverdedicatedsqlminimaltlssettings.NewWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient.Get

ctx := context.TODO()
id := workspacemanagedsqlserverdedicatedsqlminimaltlssettings.NewDedicatedSQLMinimalTLSSettingID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "dedicatedSQLMinimalTLSSettingValue")

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: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient.List

ctx := context.TODO()
id := workspacemanagedsqlserverdedicatedsqlminimaltlssettings.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue")

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

Example Usage: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient.Update

ctx := context.TODO()
id := workspacemanagedsqlserverdedicatedsqlminimaltlssettings.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue")

payload := workspacemanagedsqlserverdedicatedsqlminimaltlssettings.DedicatedSQLMinimalTLSSettings{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateDedicatedSQLMinimalTLSSettingID

func ValidateDedicatedSQLMinimalTLSSettingID(input interface{}, key string) (warnings []string, errors []error)

ValidateDedicatedSQLMinimalTLSSettingID checks that 'input' can be parsed as a Dedicated S Q L Minimal T L S Setting ID

func ValidateWorkspaceID

func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)

ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID

Types

type DedicatedSQLMinimalTLSSettingId

type DedicatedSQLMinimalTLSSettingId struct {
	SubscriptionId                    string
	ResourceGroupName                 string
	WorkspaceName                     string
	DedicatedSQLMinimalTLSSettingName string
}

DedicatedSQLMinimalTLSSettingId is a struct representing the Resource ID for a Dedicated S Q L Minimal T L S Setting

func NewDedicatedSQLMinimalTLSSettingID

func NewDedicatedSQLMinimalTLSSettingID(subscriptionId string, resourceGroupName string, workspaceName string, dedicatedSQLMinimalTLSSettingName string) DedicatedSQLMinimalTLSSettingId

NewDedicatedSQLMinimalTLSSettingID returns a new DedicatedSQLMinimalTLSSettingId struct

func ParseDedicatedSQLMinimalTLSSettingID

func ParseDedicatedSQLMinimalTLSSettingID(input string) (*DedicatedSQLMinimalTLSSettingId, error)

ParseDedicatedSQLMinimalTLSSettingID parses 'input' into a DedicatedSQLMinimalTLSSettingId

func ParseDedicatedSQLMinimalTLSSettingIDInsensitively

func ParseDedicatedSQLMinimalTLSSettingIDInsensitively(input string) (*DedicatedSQLMinimalTLSSettingId, error)

ParseDedicatedSQLMinimalTLSSettingIDInsensitively parses 'input' case-insensitively into a DedicatedSQLMinimalTLSSettingId note: this method should only be used for API response data and not user input

func (*DedicatedSQLMinimalTLSSettingId) FromParseResult

func (id *DedicatedSQLMinimalTLSSettingId) FromParseResult(input resourceids.ParseResult) error

func (DedicatedSQLMinimalTLSSettingId) ID

ID returns the formatted Dedicated S Q L Minimal T L S Setting ID

func (DedicatedSQLMinimalTLSSettingId) Segments

Segments returns a slice of Resource ID Segments which comprise this Dedicated S Q L Minimal T L S Setting ID

func (DedicatedSQLMinimalTLSSettingId) String

String returns a human-readable description of this Dedicated S Q L Minimal T L S Setting ID

type DedicatedSQLMinimalTLSSettings

type DedicatedSQLMinimalTLSSettings struct {
	Id         *string                                   `json:"id,omitempty"`
	Location   *string                                   `json:"location,omitempty"`
	Name       *string                                   `json:"name,omitempty"`
	Properties *DedicatedSQLminimalTlsSettingsProperties `json:"properties,omitempty"`
	Type       *string                                   `json:"type,omitempty"`
}

type DedicatedSQLMinimalTLSSettingsOperationPredicate

type DedicatedSQLMinimalTLSSettingsOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (DedicatedSQLMinimalTLSSettingsOperationPredicate) Matches

type DedicatedSQLminimalTlsSettingsProperties

type DedicatedSQLminimalTlsSettingsProperties struct {
	MinimalTlsVersion *string `json:"minimalTlsVersion,omitempty"`
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DedicatedSQLMinimalTLSSettings
}

type ListCompleteResult

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DedicatedSQLMinimalTLSSettings
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DedicatedSQLMinimalTLSSettings
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DedicatedSQLMinimalTLSSettings
}

type WorkspaceId

type WorkspaceId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
}

WorkspaceId is a struct representing the Resource ID for a Workspace

func NewWorkspaceID

func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId

NewWorkspaceID returns a new WorkspaceId struct

func ParseWorkspaceID

func ParseWorkspaceID(input string) (*WorkspaceId, error)

ParseWorkspaceID parses 'input' into a WorkspaceId

func ParseWorkspaceIDInsensitively

func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)

ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input

func (*WorkspaceId) FromParseResult

func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error

func (WorkspaceId) ID

func (id WorkspaceId) ID() string

ID returns the formatted Workspace ID

func (WorkspaceId) Segments

func (id WorkspaceId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Workspace ID

func (WorkspaceId) String

func (id WorkspaceId) String() string

String returns a human-readable description of this Workspace ID

type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient

type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient struct {
	Client *resourcemanager.Client
}

func NewWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClientWithBaseURI

func NewWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient, error)

func (WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient) Get

Get ...

func (WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient) List

List ...

func (WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient) ListComplete

ListComplete retrieves all the results into a single object

func (WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient) Update

Update ...

func (WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL