Documentation ¶
Index ¶
- func PossibleValuesForAuthorizationMethod() []string
- func PossibleValuesForBearerTokenSendingMethod() []string
- func PossibleValuesForClientAuthenticationMethod() []string
- func PossibleValuesForGrantType() []string
- func ValidateAuthorizationServerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type AuthorizationMethod
- type AuthorizationServerClient
- func (c AuthorizationServerClient) CreateOrUpdate(ctx context.Context, id AuthorizationServerId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c AuthorizationServerClient) Delete(ctx context.Context, id AuthorizationServerId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c AuthorizationServerClient) Get(ctx context.Context, id AuthorizationServerId) (result GetOperationResponse, err error)
- func (c AuthorizationServerClient) GetEntityTag(ctx context.Context, id AuthorizationServerId) (result GetEntityTagOperationResponse, err error)
- func (c AuthorizationServerClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
- func (c AuthorizationServerClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c AuthorizationServerClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (resp ListByServiceCompleteResult, err error)
- func (c AuthorizationServerClient) ListSecrets(ctx context.Context, id AuthorizationServerId) (result ListSecretsOperationResponse, err error)
- func (c AuthorizationServerClient) Update(ctx context.Context, id AuthorizationServerId, ...) (result UpdateOperationResponse, err error)
- type AuthorizationServerContract
- type AuthorizationServerContractOperationPredicate
- type AuthorizationServerContractProperties
- type AuthorizationServerId
- type AuthorizationServerSecretsContract
- type AuthorizationServerUpdateContract
- type AuthorizationServerUpdateContractProperties
- type BearerTokenSendingMethod
- type ClientAuthenticationMethod
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type GrantType
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ListSecretsOperationResponse
- type ServiceId
- type TokenBodyParameterContract
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAuthorizationMethod ¶
func PossibleValuesForAuthorizationMethod() []string
func PossibleValuesForBearerTokenSendingMethod ¶
func PossibleValuesForBearerTokenSendingMethod() []string
func PossibleValuesForClientAuthenticationMethod ¶
func PossibleValuesForClientAuthenticationMethod() []string
func PossibleValuesForGrantType ¶
func PossibleValuesForGrantType() []string
func ValidateAuthorizationServerID ¶
func ValidateAuthorizationServerID(input interface{}, key string) (warnings []string, errors []error)
ValidateAuthorizationServerID checks that 'input' can be parsed as a Authorization Server ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type AuthorizationMethod ¶
type AuthorizationMethod string
const ( AuthorizationMethodDELETE AuthorizationMethod = "DELETE" AuthorizationMethodGET AuthorizationMethod = "GET" AuthorizationMethodHEAD AuthorizationMethod = "HEAD" AuthorizationMethodOPTIONS AuthorizationMethod = "OPTIONS" AuthorizationMethodPATCH AuthorizationMethod = "PATCH" AuthorizationMethodPOST AuthorizationMethod = "POST" AuthorizationMethodPUT AuthorizationMethod = "PUT" AuthorizationMethodTRACE AuthorizationMethod = "TRACE" )
type AuthorizationServerClient ¶
type AuthorizationServerClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewAuthorizationServerClientWithBaseURI ¶
func NewAuthorizationServerClientWithBaseURI(endpoint string) AuthorizationServerClient
func (AuthorizationServerClient) CreateOrUpdate ¶
func (c AuthorizationServerClient) CreateOrUpdate(ctx context.Context, id AuthorizationServerId, input AuthorizationServerContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AuthorizationServerClient) Delete ¶
func (c AuthorizationServerClient) Delete(ctx context.Context, id AuthorizationServerId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (AuthorizationServerClient) Get ¶
func (c AuthorizationServerClient) Get(ctx context.Context, id AuthorizationServerId) (result GetOperationResponse, err error)
Get ...
func (AuthorizationServerClient) GetEntityTag ¶
func (c AuthorizationServerClient) GetEntityTag(ctx context.Context, id AuthorizationServerId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (AuthorizationServerClient) ListByService ¶
func (c AuthorizationServerClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (AuthorizationServerClient) ListByServiceComplete ¶
func (c AuthorizationServerClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (AuthorizationServerClient) ListByServiceCompleteMatchingPredicate ¶
func (c AuthorizationServerClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate AuthorizationServerContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AuthorizationServerClient) ListSecrets ¶
func (c AuthorizationServerClient) ListSecrets(ctx context.Context, id AuthorizationServerId) (result ListSecretsOperationResponse, err error)
ListSecrets ...
func (AuthorizationServerClient) Update ¶
func (c AuthorizationServerClient) Update(ctx context.Context, id AuthorizationServerId, input AuthorizationServerUpdateContract, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type AuthorizationServerContract ¶
type AuthorizationServerContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AuthorizationServerContractProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type AuthorizationServerContractOperationPredicate ¶
func (AuthorizationServerContractOperationPredicate) Matches ¶
func (p AuthorizationServerContractOperationPredicate) Matches(input AuthorizationServerContract) bool
type AuthorizationServerContractProperties ¶
type AuthorizationServerContractProperties struct { AuthorizationEndpoint string `json:"authorizationEndpoint"` AuthorizationMethods *[]AuthorizationMethod `json:"authorizationMethods,omitempty"` BearerTokenSendingMethods *[]BearerTokenSendingMethod `json:"bearerTokenSendingMethods,omitempty"` ClientAuthenticationMethod *[]ClientAuthenticationMethod `json:"clientAuthenticationMethod,omitempty"` ClientId string `json:"clientId"` ClientRegistrationEndpoint string `json:"clientRegistrationEndpoint"` ClientSecret *string `json:"clientSecret,omitempty"` DefaultScope *string `json:"defaultScope,omitempty"` Description *string `json:"description,omitempty"` DisplayName string `json:"displayName"` GrantTypes []GrantType `json:"grantTypes"` ResourceOwnerPassword *string `json:"resourceOwnerPassword,omitempty"` ResourceOwnerUsername *string `json:"resourceOwnerUsername,omitempty"` SupportState *bool `json:"supportState,omitempty"` TokenBodyParameters *[]TokenBodyParameterContract `json:"tokenBodyParameters,omitempty"` TokenEndpoint *string `json:"tokenEndpoint,omitempty"` }
type AuthorizationServerId ¶
type AuthorizationServerId struct { SubscriptionId string ResourceGroupName string ServiceName string Authsid string }
AuthorizationServerId is a struct representing the Resource ID for a Authorization Server
func NewAuthorizationServerID ¶
func NewAuthorizationServerID(subscriptionId string, resourceGroupName string, serviceName string, authsid string) AuthorizationServerId
NewAuthorizationServerID returns a new AuthorizationServerId struct
func ParseAuthorizationServerID ¶
func ParseAuthorizationServerID(input string) (*AuthorizationServerId, error)
ParseAuthorizationServerID parses 'input' into a AuthorizationServerId
func ParseAuthorizationServerIDInsensitively ¶
func ParseAuthorizationServerIDInsensitively(input string) (*AuthorizationServerId, error)
ParseAuthorizationServerIDInsensitively parses 'input' case-insensitively into a AuthorizationServerId note: this method should only be used for API response data and not user input
func (AuthorizationServerId) ID ¶
func (id AuthorizationServerId) ID() string
ID returns the formatted Authorization Server ID
func (AuthorizationServerId) Segments ¶
func (id AuthorizationServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Authorization Server ID
func (AuthorizationServerId) String ¶
func (id AuthorizationServerId) String() string
String returns a human-readable description of this Authorization Server ID
type AuthorizationServerUpdateContract ¶
type AuthorizationServerUpdateContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AuthorizationServerUpdateContractProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type AuthorizationServerUpdateContractProperties ¶
type AuthorizationServerUpdateContractProperties struct { AuthorizationEndpoint *string `json:"authorizationEndpoint,omitempty"` AuthorizationMethods *[]AuthorizationMethod `json:"authorizationMethods,omitempty"` BearerTokenSendingMethods *[]BearerTokenSendingMethod `json:"bearerTokenSendingMethods,omitempty"` ClientAuthenticationMethod *[]ClientAuthenticationMethod `json:"clientAuthenticationMethod,omitempty"` ClientId *string `json:"clientId,omitempty"` ClientRegistrationEndpoint *string `json:"clientRegistrationEndpoint,omitempty"` ClientSecret *string `json:"clientSecret,omitempty"` DefaultScope *string `json:"defaultScope,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` GrantTypes *[]GrantType `json:"grantTypes,omitempty"` ResourceOwnerPassword *string `json:"resourceOwnerPassword,omitempty"` ResourceOwnerUsername *string `json:"resourceOwnerUsername,omitempty"` SupportState *bool `json:"supportState,omitempty"` TokenBodyParameters *[]TokenBodyParameterContract `json:"tokenBodyParameters,omitempty"` TokenEndpoint *string `json:"tokenEndpoint,omitempty"` }
type BearerTokenSendingMethod ¶
type BearerTokenSendingMethod string
const ( BearerTokenSendingMethodAuthorizationHeader BearerTokenSendingMethod = "authorizationHeader" BearerTokenSendingMethodQuery BearerTokenSendingMethod = "query" )
type ClientAuthenticationMethod ¶
type ClientAuthenticationMethod string
const ( ClientAuthenticationMethodBasic ClientAuthenticationMethod = "Basic" ClientAuthenticationMethodBody ClientAuthenticationMethod = "Body" )
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *AuthorizationServerContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *AuthorizationServerContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []AuthorizationServerContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]AuthorizationServerContract // contains filtered or unexported fields }
func (ListByServiceOperationResponse) HasMore ¶
func (r ListByServiceOperationResponse) HasMore() bool
func (ListByServiceOperationResponse) LoadMore ¶
func (r ListByServiceOperationResponse) LoadMore(ctx context.Context) (resp ListByServiceOperationResponse, err error)
type ListSecretsOperationResponse ¶
type ListSecretsOperationResponse struct { HttpResponse *http.Response Model *AuthorizationServerSecretsContract }
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *AuthorizationServerContract }
Source Files ¶
- client.go
- constants.go
- id_authorizationserver.go
- id_service.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getentitytag_autorest.go
- method_listbyservice_autorest.go
- method_listsecrets_autorest.go
- method_update_autorest.go
- model_authorizationservercontract.go
- model_authorizationservercontractproperties.go
- model_authorizationserversecretscontract.go
- model_authorizationserverupdatecontract.go
- model_authorizationserverupdatecontractproperties.go
- model_tokenbodyparametercontract.go
- predicates.go
- version.go