Documentation ¶
Index ¶
- func PossibleValuesForAuthorizationType() []string
- func PossibleValuesForOAuth2GrantType() []string
- func ValidateAuthorizationProviderID(input interface{}, key string) (warnings []string, errors []error)
- type AuthorizationContract
- type AuthorizationContractOperationPredicate
- type AuthorizationContractProperties
- type AuthorizationError
- type AuthorizationListByAuthorizationProviderCompleteResult
- type AuthorizationListByAuthorizationProviderOperationOptions
- type AuthorizationListByAuthorizationProviderOperationResponse
- type AuthorizationProviderId
- func NewAuthorizationProviderID(subscriptionId string, resourceGroupName string, serviceName string, ...) AuthorizationProviderId
- func ParseAuthorizationProviderID(input string) (*AuthorizationProviderId, error)
- func ParseAuthorizationProviderIDInsensitively(input string) (*AuthorizationProviderId, error)
- type AuthorizationType
- type AuthorizationsClient
- func (c AuthorizationsClient) AuthorizationListByAuthorizationProvider(ctx context.Context, id AuthorizationProviderId, ...) (resp AuthorizationListByAuthorizationProviderOperationResponse, err error)
- func (c AuthorizationsClient) AuthorizationListByAuthorizationProviderComplete(ctx context.Context, id AuthorizationProviderId, ...) (AuthorizationListByAuthorizationProviderCompleteResult, error)
- func (c AuthorizationsClient) AuthorizationListByAuthorizationProviderCompleteMatchingPredicate(ctx context.Context, id AuthorizationProviderId, ...) (resp AuthorizationListByAuthorizationProviderCompleteResult, err error)
- type OAuth2GrantType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAuthorizationType ¶
func PossibleValuesForAuthorizationType() []string
func PossibleValuesForOAuth2GrantType ¶
func PossibleValuesForOAuth2GrantType() []string
func ValidateAuthorizationProviderID ¶
func ValidateAuthorizationProviderID(input interface{}, key string) (warnings []string, errors []error)
ValidateAuthorizationProviderID checks that 'input' can be parsed as a Authorization Provider ID
Types ¶
type AuthorizationContract ¶
type AuthorizationContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AuthorizationContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AuthorizationContractOperationPredicate ¶
func (AuthorizationContractOperationPredicate) Matches ¶
func (p AuthorizationContractOperationPredicate) Matches(input AuthorizationContract) bool
type AuthorizationContractProperties ¶
type AuthorizationContractProperties struct { AuthorizationType *AuthorizationType `json:"authorizationType,omitempty"` Error *AuthorizationError `json:"error,omitempty"` Oauth2grantType *OAuth2GrantType `json:"oauth2grantType,omitempty"` Parameters *map[string]string `json:"parameters,omitempty"` Status *string `json:"status,omitempty"` }
type AuthorizationError ¶
type AuthorizationListByAuthorizationProviderCompleteResult ¶
type AuthorizationListByAuthorizationProviderCompleteResult struct {
Items []AuthorizationContract
}
type AuthorizationListByAuthorizationProviderOperationOptions ¶
type AuthorizationListByAuthorizationProviderOperationOptions struct { Filter *string Skip *int64 Top *int64 }
func DefaultAuthorizationListByAuthorizationProviderOperationOptions ¶
func DefaultAuthorizationListByAuthorizationProviderOperationOptions() AuthorizationListByAuthorizationProviderOperationOptions
type AuthorizationListByAuthorizationProviderOperationResponse ¶
type AuthorizationListByAuthorizationProviderOperationResponse struct { HttpResponse *http.Response Model *[]AuthorizationContract // contains filtered or unexported fields }
func (AuthorizationListByAuthorizationProviderOperationResponse) HasMore ¶
func (r AuthorizationListByAuthorizationProviderOperationResponse) HasMore() bool
func (AuthorizationListByAuthorizationProviderOperationResponse) LoadMore ¶
func (r AuthorizationListByAuthorizationProviderOperationResponse) LoadMore(ctx context.Context) (resp AuthorizationListByAuthorizationProviderOperationResponse, err error)
type AuthorizationProviderId ¶
type AuthorizationProviderId struct { SubscriptionId string ResourceGroupName string ServiceName string AuthorizationProviderId string }
AuthorizationProviderId is a struct representing the Resource ID for a Authorization Provider
func NewAuthorizationProviderID ¶
func NewAuthorizationProviderID(subscriptionId string, resourceGroupName string, serviceName string, authorizationProviderId string) AuthorizationProviderId
NewAuthorizationProviderID returns a new AuthorizationProviderId struct
func ParseAuthorizationProviderID ¶
func ParseAuthorizationProviderID(input string) (*AuthorizationProviderId, error)
ParseAuthorizationProviderID parses 'input' into a AuthorizationProviderId
func ParseAuthorizationProviderIDInsensitively ¶
func ParseAuthorizationProviderIDInsensitively(input string) (*AuthorizationProviderId, error)
ParseAuthorizationProviderIDInsensitively parses 'input' case-insensitively into a AuthorizationProviderId note: this method should only be used for API response data and not user input
func (AuthorizationProviderId) ID ¶
func (id AuthorizationProviderId) ID() string
ID returns the formatted Authorization Provider ID
func (AuthorizationProviderId) Segments ¶
func (id AuthorizationProviderId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Authorization Provider ID
func (AuthorizationProviderId) String ¶
func (id AuthorizationProviderId) String() string
String returns a human-readable description of this Authorization Provider ID
type AuthorizationType ¶
type AuthorizationType string
const (
AuthorizationTypeOAuthTwo AuthorizationType = "OAuth2"
)
type AuthorizationsClient ¶
type AuthorizationsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewAuthorizationsClientWithBaseURI ¶
func NewAuthorizationsClientWithBaseURI(endpoint string) AuthorizationsClient
func (AuthorizationsClient) AuthorizationListByAuthorizationProvider ¶
func (c AuthorizationsClient) AuthorizationListByAuthorizationProvider(ctx context.Context, id AuthorizationProviderId, options AuthorizationListByAuthorizationProviderOperationOptions) (resp AuthorizationListByAuthorizationProviderOperationResponse, err error)
AuthorizationListByAuthorizationProvider ...
func (AuthorizationsClient) AuthorizationListByAuthorizationProviderComplete ¶
func (c AuthorizationsClient) AuthorizationListByAuthorizationProviderComplete(ctx context.Context, id AuthorizationProviderId, options AuthorizationListByAuthorizationProviderOperationOptions) (AuthorizationListByAuthorizationProviderCompleteResult, error)
AuthorizationListByAuthorizationProviderComplete retrieves all of the results into a single object
func (AuthorizationsClient) AuthorizationListByAuthorizationProviderCompleteMatchingPredicate ¶
func (c AuthorizationsClient) AuthorizationListByAuthorizationProviderCompleteMatchingPredicate(ctx context.Context, id AuthorizationProviderId, options AuthorizationListByAuthorizationProviderOperationOptions, predicate AuthorizationContractOperationPredicate) (resp AuthorizationListByAuthorizationProviderCompleteResult, err error)
AuthorizationListByAuthorizationProviderCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type OAuth2GrantType ¶
type OAuth2GrantType string
const ( OAuth2GrantTypeAuthorizationCode OAuth2GrantType = "AuthorizationCode" OAuth2GrantTypeClientCredentials OAuth2GrantType = "ClientCredentials" )