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 ¶
func (c ListQnAMakerEndpointKeysClient) QnAMakerEndpointKeysGet(ctx context.Context, id commonids.SubscriptionId, input QnAMakerEndpointKeysRequestBody) (result QnAMakerEndpointKeysGetOperationResponse, err error)
QnAMakerEndpointKeysGet ...
type QnAMakerEndpointKeysGetOperationResponse ¶
type QnAMakerEndpointKeysGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *QnAMakerEndpointKeysResponse }
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"` }
Click to show internal directories.
Click to hide internal directories.