listserviceproviders

package
v0.20240327.1133120 Latest Latest
Warning

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

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

README

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

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

Client Initialization

client := listserviceproviders.NewListServiceProvidersClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ListServiceProvidersClient.BotConnectionListServiceProviders

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

// alternatively `client.BotConnectionListServiceProviders(ctx, id)` can be used to do batched pagination
items, err := client.BotConnectionListServiceProvidersComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BotConnectionListServiceProvidersCompleteResult added in v0.20240227.1172434

type BotConnectionListServiceProvidersCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ServiceProvider
}

type BotConnectionListServiceProvidersOperationResponse

type BotConnectionListServiceProvidersOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ServiceProvider
}

type ListServiceProvidersClient

type ListServiceProvidersClient struct {
	Client *resourcemanager.Client
}

func NewListServiceProvidersClientWithBaseURI

func NewListServiceProvidersClientWithBaseURI(sdkApi sdkEnv.Api) (*ListServiceProvidersClient, error)

func (ListServiceProvidersClient) BotConnectionListServiceProviders

BotConnectionListServiceProviders ...

func (ListServiceProvidersClient) BotConnectionListServiceProvidersComplete added in v0.20240227.1172434

BotConnectionListServiceProvidersComplete retrieves all the results into a single object

func (ListServiceProvidersClient) BotConnectionListServiceProvidersCompleteMatchingPredicate added in v0.20240227.1172434

func (c ListServiceProvidersClient) BotConnectionListServiceProvidersCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ServiceProviderOperationPredicate) (result BotConnectionListServiceProvidersCompleteResult, err error)

BotConnectionListServiceProvidersCompleteMatchingPredicate retrieves all the results and then applies the predicate

type ServiceProvider

type ServiceProvider struct {
	Properties *ServiceProviderProperties `json:"properties,omitempty"`
}

type ServiceProviderOperationPredicate added in v0.20240227.1172434

type ServiceProviderOperationPredicate struct {
}

func (ServiceProviderOperationPredicate) Matches added in v0.20240227.1172434

type ServiceProviderParameter

type ServiceProviderParameter struct {
	Default     *string                           `json:"default,omitempty"`
	Description *string                           `json:"description,omitempty"`
	DisplayName *string                           `json:"displayName,omitempty"`
	HelpUrl     *string                           `json:"helpUrl,omitempty"`
	Metadata    *ServiceProviderParameterMetadata `json:"metadata,omitempty"`
	Name        *string                           `json:"name,omitempty"`
	Type        *string                           `json:"type,omitempty"`
}

type ServiceProviderParameterMetadata

type ServiceProviderParameterMetadata struct {
	Constraints *ServiceProviderParameterMetadataConstraints `json:"constraints,omitempty"`
}

type ServiceProviderParameterMetadataConstraints

type ServiceProviderParameterMetadataConstraints struct {
	Required *bool `json:"required,omitempty"`
}

type ServiceProviderProperties

type ServiceProviderProperties struct {
	DevPortalUrl        *string                     `json:"devPortalUrl,omitempty"`
	DisplayName         *string                     `json:"displayName,omitempty"`
	IconUrl             *string                     `json:"iconUrl,omitempty"`
	Id                  *string                     `json:"id,omitempty"`
	Parameters          *[]ServiceProviderParameter `json:"parameters,omitempty"`
	ServiceProviderName *string                     `json:"serviceProviderName,omitempty"`
}

Jump to

Keyboard shortcuts

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