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-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 := bothostsettings.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 ¶
func (c BotHostSettingsClient) HostSettingsGet(ctx context.Context, id commonids.SubscriptionId) (result HostSettingsGetOperationResponse, err error)
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"` }
Click to show internal directories.
Click to hide internal directories.