autonomousdatabasenationalcharactersets

package
v0.20240731.1212841 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabasenationalcharactersets Documentation

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

Client Initialization

client := autonomousdatabasenationalcharactersets.NewAutonomousDatabaseNationalCharacterSetsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: AutonomousDatabaseNationalCharacterSetsClient.Get

ctx := context.TODO()
id := autonomousdatabasenationalcharactersets.NewAutonomousDatabaseNationalCharacterSetID("12345678-1234-9876-4563-123456789012", "locationValue", "autonomousDatabaseNationalCharacterSetValue")

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: AutonomousDatabaseNationalCharacterSetsClient.ListByLocation

ctx := context.TODO()
id := autonomousdatabasenationalcharactersets.NewLocationID("12345678-1234-9876-4563-123456789012", "locationValue")

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAutonomousDatabaseNationalCharacterSetID

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

ValidateAutonomousDatabaseNationalCharacterSetID checks that 'input' can be parsed as a Autonomous Database National Character Set ID

func ValidateLocationID

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

ValidateLocationID checks that 'input' can be parsed as a Location ID

Types

type AutonomousDatabaseNationalCharacterSet

type AutonomousDatabaseNationalCharacterSet struct {
	Id         *string                                           `json:"id,omitempty"`
	Name       *string                                           `json:"name,omitempty"`
	Properties *AutonomousDatabaseNationalCharacterSetProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData                            `json:"systemData,omitempty"`
	Type       *string                                           `json:"type,omitempty"`
}

type AutonomousDatabaseNationalCharacterSetId

type AutonomousDatabaseNationalCharacterSetId struct {
	SubscriptionId                             string
	LocationName                               string
	AutonomousDatabaseNationalCharacterSetName string
}

AutonomousDatabaseNationalCharacterSetId is a struct representing the Resource ID for a Autonomous Database National Character Set

func NewAutonomousDatabaseNationalCharacterSetID

func NewAutonomousDatabaseNationalCharacterSetID(subscriptionId string, locationName string, autonomousDatabaseNationalCharacterSetName string) AutonomousDatabaseNationalCharacterSetId

NewAutonomousDatabaseNationalCharacterSetID returns a new AutonomousDatabaseNationalCharacterSetId struct

func ParseAutonomousDatabaseNationalCharacterSetID

func ParseAutonomousDatabaseNationalCharacterSetID(input string) (*AutonomousDatabaseNationalCharacterSetId, error)

ParseAutonomousDatabaseNationalCharacterSetID parses 'input' into a AutonomousDatabaseNationalCharacterSetId

func ParseAutonomousDatabaseNationalCharacterSetIDInsensitively

func ParseAutonomousDatabaseNationalCharacterSetIDInsensitively(input string) (*AutonomousDatabaseNationalCharacterSetId, error)

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

func (*AutonomousDatabaseNationalCharacterSetId) FromParseResult

func (AutonomousDatabaseNationalCharacterSetId) ID

ID returns the formatted Autonomous Database National Character Set ID

func (AutonomousDatabaseNationalCharacterSetId) Segments

Segments returns a slice of Resource ID Segments which comprise this Autonomous Database National Character Set ID

func (AutonomousDatabaseNationalCharacterSetId) String

String returns a human-readable description of this Autonomous Database National Character Set ID

type AutonomousDatabaseNationalCharacterSetOperationPredicate

type AutonomousDatabaseNationalCharacterSetOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (AutonomousDatabaseNationalCharacterSetOperationPredicate) Matches

type AutonomousDatabaseNationalCharacterSetProperties

type AutonomousDatabaseNationalCharacterSetProperties struct {
	CharacterSet *string `json:"characterSet,omitempty"`
}

type AutonomousDatabaseNationalCharacterSetsClient

type AutonomousDatabaseNationalCharacterSetsClient struct {
	Client *resourcemanager.Client
}

func NewAutonomousDatabaseNationalCharacterSetsClientWithBaseURI

func NewAutonomousDatabaseNationalCharacterSetsClientWithBaseURI(sdkApi sdkEnv.Api) (*AutonomousDatabaseNationalCharacterSetsClient, error)

func (AutonomousDatabaseNationalCharacterSetsClient) Get

Get ...

func (AutonomousDatabaseNationalCharacterSetsClient) ListByLocation

ListByLocation ...

func (AutonomousDatabaseNationalCharacterSetsClient) ListByLocationComplete

ListByLocationComplete retrieves all the results into a single object

func (AutonomousDatabaseNationalCharacterSetsClient) ListByLocationCompleteMatchingPredicate

ListByLocationCompleteMatchingPredicate retrieves all the results and then applies the predicate

type GetOperationResponse

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

type ListByLocationCompleteResult

type ListByLocationCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []AutonomousDatabaseNationalCharacterSet
}

type ListByLocationCustomPager

type ListByLocationCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByLocationCustomPager) NextPageLink() *odata.Link

type ListByLocationOperationResponse

type ListByLocationOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AutonomousDatabaseNationalCharacterSet
}

type LocationId

type LocationId struct {
	SubscriptionId string
	LocationName   string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, locationName string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID

func ParseLocationID(input string) (*LocationId, error)

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively

func ParseLocationIDInsensitively(input string) (*LocationId, error)

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

func (*LocationId) FromParseResult

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

func (LocationId) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments

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

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

func (LocationId) String

func (id LocationId) String() string

String returns a human-readable description of this Location ID

Jump to

Keyboard shortcuts

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