bothostsettings

package
v0.20241021.1074254 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 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 Azure Resource Manager 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