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) (result 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, ...) (result 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 *resourcemanager.Client
}
func NewAuthorizationProviderClientWithBaseURI ¶
func NewAuthorizationProviderClientWithBaseURI(sdkApi sdkEnv.Api) (*AuthorizationProviderClient, error)
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) (result ListByServiceOperationResponse, err error)
ListByService ...
func (AuthorizationProviderClient) ListByServiceComplete ¶
func (c AuthorizationProviderClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (AuthorizationProviderClient) ListByServiceCompleteMatchingPredicate ¶
func (c AuthorizationProviderClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate AuthorizationProviderContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *AuthorizationProviderId) FromParseResult(input resourceids.ParseResult) error
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
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 *AuthorizationProviderContract }
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 *AuthorizationProviderContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []AuthorizationProviderContract
}
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 *[]AuthorizationProviderContract }
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 ¶ added in v0.20231127.1171502
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
Source Files ¶
- client.go
- id_authorizationprovider.go
- id_service.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyservice.go
- model_authorizationprovidercontract.go
- model_authorizationprovidercontractproperties.go
- model_authorizationprovideroauth2granttypes.go
- model_authorizationprovideroauth2settings.go
- predicates.go
- version.go