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) (result 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, ...) (result 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 ListByServiceCustomPager
- 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" )
func (*AuthorizationMethod) UnmarshalJSON ¶
func (s *AuthorizationMethod) UnmarshalJSON(bytes []byte) error
type AuthorizationServerClient ¶
type AuthorizationServerClient struct {
Client *resourcemanager.Client
}
func NewAuthorizationServerClientWithBaseURI ¶
func NewAuthorizationServerClientWithBaseURI(sdkApi sdkEnv.Api) (*AuthorizationServerClient, error)
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) (result ListByServiceOperationResponse, err error)
ListByService ...
func (AuthorizationServerClient) ListByServiceComplete ¶
func (c AuthorizationServerClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (AuthorizationServerClient) ListByServiceCompleteMatchingPredicate ¶
func (c AuthorizationServerClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate AuthorizationServerContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies 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,omitempty"` 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"` UseInApiDocumentation *bool `json:"useInApiDocumentation,omitempty"` UseInTestConsole *bool `json:"useInTestConsole,omitempty"` }
type AuthorizationServerId ¶
type AuthorizationServerId struct { SubscriptionId string ResourceGroupName string ServiceName string AuthorizationServerName string }
AuthorizationServerId is a struct representing the Resource ID for a Authorization Server
func NewAuthorizationServerID ¶
func NewAuthorizationServerID(subscriptionId string, resourceGroupName string, serviceName string, authorizationServerName 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) FromParseResult ¶
func (id *AuthorizationServerId) FromParseResult(input resourceids.ParseResult) error
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,omitempty"` 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"` UseInApiDocumentation *bool `json:"useInApiDocumentation,omitempty"` UseInTestConsole *bool `json:"useInTestConsole,omitempty"` }
type BearerTokenSendingMethod ¶
type BearerTokenSendingMethod string
const ( BearerTokenSendingMethodAuthorizationHeader BearerTokenSendingMethod = "authorizationHeader" BearerTokenSendingMethodQuery BearerTokenSendingMethod = "query" )
func (*BearerTokenSendingMethod) UnmarshalJSON ¶
func (s *BearerTokenSendingMethod) UnmarshalJSON(bytes []byte) error
type ClientAuthenticationMethod ¶
type ClientAuthenticationMethod string
const ( ClientAuthenticationMethodBasic ClientAuthenticationMethod = "Basic" ClientAuthenticationMethodBody ClientAuthenticationMethod = "Body" )
func (*ClientAuthenticationMethod) UnmarshalJSON ¶
func (s *ClientAuthenticationMethod) UnmarshalJSON(bytes []byte) error
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AuthorizationServerContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AuthorizationServerContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []AuthorizationServerContract }
type ListByServiceCustomPager ¶
func (*ListByServiceCustomPager) NextPageLink ¶
func (p *ListByServiceCustomPager) NextPageLink() *odata.Link
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶
func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AuthorizationServerContract }
type ListSecretsOperationResponse ¶
type ListSecretsOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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) FromParseResult ¶
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
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
func (UpdateOperationOptions) ToHeaders ¶
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AuthorizationServerContract }
Source Files ¶
- client.go
- constants.go
- id_authorizationserver.go
- id_service.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getentitytag.go
- method_listbyservice.go
- method_listsecrets.go
- method_update.go
- model_authorizationservercontract.go
- model_authorizationservercontractproperties.go
- model_authorizationserversecretscontract.go
- model_authorizationserverupdatecontract.go
- model_authorizationserverupdatecontractproperties.go
- model_tokenbodyparametercontract.go
- predicates.go
- version.go