Documentation ¶
Index ¶
- func ValidateAuthorizationProviderID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type AuthorizationProviderClient
- func (c AuthorizationProviderClient) CreateOrUpdate(ctx context.Context, id AuthorizationProviderId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c AuthorizationProviderClient) Delete(ctx context.Context, id AuthorizationProviderId, ...) (result DeleteOperationResponse, err error)
- func (c AuthorizationProviderClient) Get(ctx context.Context, id AuthorizationProviderId) (result GetOperationResponse, err error)
- func (c AuthorizationProviderClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
- func (c AuthorizationProviderClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c AuthorizationProviderClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (resp ListByServiceCompleteResult, err error)
- type AuthorizationProviderContract
- type AuthorizationProviderContractOperationPredicate
- type AuthorizationProviderContractProperties
- type AuthorizationProviderId
- func NewAuthorizationProviderID(subscriptionId string, resourceGroupName string, serviceName string, ...) AuthorizationProviderId
- func ParseAuthorizationProviderID(input string) (*AuthorizationProviderId, error)
- func ParseAuthorizationProviderIDInsensitively(input string) (*AuthorizationProviderId, error)
- type AuthorizationProviderOAuth2GrantTypes
- type AuthorizationProviderOAuth2Settings
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ServiceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAuthorizationProviderID ¶
func ValidateAuthorizationProviderID(input interface{}, key string) (warnings []string, errors []error)
ValidateAuthorizationProviderID checks that 'input' can be parsed as a Authorization Provider ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type AuthorizationProviderClient ¶
type AuthorizationProviderClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewAuthorizationProviderClientWithBaseURI ¶
func NewAuthorizationProviderClientWithBaseURI(endpoint string) AuthorizationProviderClient
func (AuthorizationProviderClient) CreateOrUpdate ¶
func (c AuthorizationProviderClient) CreateOrUpdate(ctx context.Context, id AuthorizationProviderId, input AuthorizationProviderContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AuthorizationProviderClient) Delete ¶
func (c AuthorizationProviderClient) Delete(ctx context.Context, id AuthorizationProviderId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (AuthorizationProviderClient) Get ¶
func (c AuthorizationProviderClient) Get(ctx context.Context, id AuthorizationProviderId) (result GetOperationResponse, err error)
Get ...
func (AuthorizationProviderClient) ListByService ¶
func (c AuthorizationProviderClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (AuthorizationProviderClient) ListByServiceComplete ¶
func (c AuthorizationProviderClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (AuthorizationProviderClient) ListByServiceCompleteMatchingPredicate ¶
func (c AuthorizationProviderClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate AuthorizationProviderContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type AuthorizationProviderContract ¶
type AuthorizationProviderContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AuthorizationProviderContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AuthorizationProviderContractOperationPredicate ¶
type AuthorizationProviderContractOperationPredicate struct { Id *string Name *string Type *string }
func (AuthorizationProviderContractOperationPredicate) Matches ¶
func (p AuthorizationProviderContractOperationPredicate) Matches(input AuthorizationProviderContract) bool
type AuthorizationProviderContractProperties ¶
type AuthorizationProviderContractProperties struct { DisplayName *string `json:"displayName,omitempty"` IdentityProvider *string `json:"identityProvider,omitempty"` Oauth2 *AuthorizationProviderOAuth2Settings `json:"oauth2,omitempty"` }
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 AuthorizationProviderOAuth2Settings ¶
type AuthorizationProviderOAuth2Settings struct { GrantTypes *AuthorizationProviderOAuth2GrantTypes `json:"grantTypes,omitempty"` RedirectUrl *string `json:"redirectUrl,omitempty"` }
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *AuthorizationProviderContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *AuthorizationProviderContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []AuthorizationProviderContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]AuthorizationProviderContract // 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 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
Source Files ¶
- client.go
- id_authorizationprovider.go
- id_service.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyservice_autorest.go
- model_authorizationprovidercontract.go
- model_authorizationprovidercontractproperties.go
- model_authorizationprovideroauth2granttypes.go
- model_authorizationprovideroauth2settings.go
- predicates.go
- version.go