bothostsettings

package
v0.20240228.1135502 Latest Latest
Warning

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

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

README

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

The bothostsettings 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/bothostsettings"

Client Initialization

client := bothostsettings.NewBotHostSettingsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: BotHostSettingsClient.HostSettingsGet

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

read, err := client.HostSettingsGet(ctx, id)
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 BotHostSettingsClient

type BotHostSettingsClient struct {
	Client *resourcemanager.Client
}

func NewBotHostSettingsClientWithBaseURI

func NewBotHostSettingsClientWithBaseURI(sdkApi sdkEnv.Api) (*BotHostSettingsClient, error)

func (BotHostSettingsClient) HostSettingsGet

HostSettingsGet ...

type HostSettingsGetOperationResponse

type HostSettingsGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *HostSettingsResponse
}

type HostSettingsResponse

type HostSettingsResponse struct {
	BotOpenIdMetadata                  *string `json:"BotOpenIdMetadata,omitempty"`
	OAuthUrl                           *string `json:"OAuthUrl,omitempty"`
	ToBotFromChannelOpenIdMetadataUrl  *string `json:"ToBotFromChannelOpenIdMetadataUrl,omitempty"`
	ToBotFromChannelTokenIssuer        *string `json:"ToBotFromChannelTokenIssuer,omitempty"`
	ToBotFromEmulatorOpenIdMetadataUrl *string `json:"ToBotFromEmulatorOpenIdMetadataUrl,omitempty"`
	ToChannelFromBotLoginUrl           *string `json:"ToChannelFromBotLoginUrl,omitempty"`
	ToChannelFromBotOAuthScope         *string `json:"ToChannelFromBotOAuthScope,omitempty"`
	ValidateAuthority                  *bool   `json:"ValidateAuthority,omitempty"`
}

Jump to

Keyboard shortcuts

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