listqnamakerendpointkeys

package
v0.20240306.1111727 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/botservice/2022-09-15/listqnamakerendpointkeys Documentation

The listqnamakerendpointkeys SDK allows for interaction with the Azure Resource Manager Service botservice (API Version 2022-09-15).

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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/botservice/2022-09-15/listqnamakerendpointkeys"

Client Initialization

client := listqnamakerendpointkeys.NewListQnAMakerEndpointKeysClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ListQnAMakerEndpointKeysClient.QnAMakerEndpointKeysGet

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

payload := listqnamakerendpointkeys.QnAMakerEndpointKeysRequestBody{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListQnAMakerEndpointKeysClient

type ListQnAMakerEndpointKeysClient struct {
	Client *resourcemanager.Client
}

func NewListQnAMakerEndpointKeysClientWithBaseURI

func NewListQnAMakerEndpointKeysClientWithBaseURI(sdkApi sdkEnv.Api) (*ListQnAMakerEndpointKeysClient, error)

func (ListQnAMakerEndpointKeysClient) QnAMakerEndpointKeysGet

QnAMakerEndpointKeysGet ...

type QnAMakerEndpointKeysGetOperationResponse

type QnAMakerEndpointKeysGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *QnAMakerEndpointKeysResponse
}

type QnAMakerEndpointKeysRequestBody

type QnAMakerEndpointKeysRequestBody struct {
	Authkey  *string `json:"authkey,omitempty"`
	Hostname *string `json:"hostname,omitempty"`
}

type QnAMakerEndpointKeysResponse

type QnAMakerEndpointKeysResponse struct {
	InstalledVersion     *string `json:"installedVersion,omitempty"`
	LastStableVersion    *string `json:"lastStableVersion,omitempty"`
	PrimaryEndpointKey   *string `json:"primaryEndpointKey,omitempty"`
	SecondaryEndpointKey *string `json:"secondaryEndpointKey,omitempty"`
}

Jump to

Keyboard shortcuts

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