Documentation ¶
Index ¶
- func PossibleValuesForIdentityProviderType() []string
- func ValidateIdentityProviderID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type ClientSecretContract
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type IdentityProviderClient
- func (c IdentityProviderClient) CreateOrUpdate(ctx context.Context, id IdentityProviderId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c IdentityProviderClient) Delete(ctx context.Context, id IdentityProviderId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c IdentityProviderClient) Get(ctx context.Context, id IdentityProviderId) (result GetOperationResponse, err error)
- func (c IdentityProviderClient) GetEntityTag(ctx context.Context, id IdentityProviderId) (result GetEntityTagOperationResponse, err error)
- func (c IdentityProviderClient) ListByService(ctx context.Context, id ServiceId) (result ListByServiceOperationResponse, err error)
- func (c IdentityProviderClient) ListByServiceComplete(ctx context.Context, id ServiceId) (ListByServiceCompleteResult, error)
- func (c IdentityProviderClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, ...) (result ListByServiceCompleteResult, err error)
- func (c IdentityProviderClient) ListSecrets(ctx context.Context, id IdentityProviderId) (result ListSecretsOperationResponse, err error)
- func (c IdentityProviderClient) Update(ctx context.Context, id IdentityProviderId, ...) (result UpdateOperationResponse, err error)
- type IdentityProviderContract
- type IdentityProviderContractOperationPredicate
- type IdentityProviderContractProperties
- type IdentityProviderCreateContract
- type IdentityProviderCreateContractProperties
- type IdentityProviderId
- type IdentityProviderType
- type IdentityProviderUpdateParameters
- type IdentityProviderUpdateProperties
- type ListByServiceCompleteResult
- type ListByServiceOperationResponse
- type ListSecretsOperationResponse
- type ServiceId
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForIdentityProviderType ¶
func PossibleValuesForIdentityProviderType() []string
func ValidateIdentityProviderID ¶
ValidateIdentityProviderID checks that 'input' can be parsed as a Identity Provider ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type ClientSecretContract ¶
type ClientSecretContract struct {
ClientSecret *string `json:"clientSecret,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 *IdentityProviderContract }
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 *IdentityProviderContract }
type IdentityProviderClient ¶
type IdentityProviderClient struct {
Client *resourcemanager.Client
}
func NewIdentityProviderClientWithBaseURI ¶
func NewIdentityProviderClientWithBaseURI(sdkApi sdkEnv.Api) (*IdentityProviderClient, error)
func (IdentityProviderClient) CreateOrUpdate ¶
func (c IdentityProviderClient) CreateOrUpdate(ctx context.Context, id IdentityProviderId, input IdentityProviderCreateContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (IdentityProviderClient) Delete ¶
func (c IdentityProviderClient) Delete(ctx context.Context, id IdentityProviderId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (IdentityProviderClient) Get ¶
func (c IdentityProviderClient) Get(ctx context.Context, id IdentityProviderId) (result GetOperationResponse, err error)
Get ...
func (IdentityProviderClient) GetEntityTag ¶
func (c IdentityProviderClient) GetEntityTag(ctx context.Context, id IdentityProviderId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (IdentityProviderClient) ListByService ¶
func (c IdentityProviderClient) ListByService(ctx context.Context, id ServiceId) (result ListByServiceOperationResponse, err error)
ListByService ...
func (IdentityProviderClient) ListByServiceComplete ¶
func (c IdentityProviderClient) ListByServiceComplete(ctx context.Context, id ServiceId) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (IdentityProviderClient) ListByServiceCompleteMatchingPredicate ¶
func (c IdentityProviderClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate IdentityProviderContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (IdentityProviderClient) ListSecrets ¶
func (c IdentityProviderClient) ListSecrets(ctx context.Context, id IdentityProviderId) (result ListSecretsOperationResponse, err error)
ListSecrets ...
func (IdentityProviderClient) Update ¶
func (c IdentityProviderClient) Update(ctx context.Context, id IdentityProviderId, input IdentityProviderUpdateParameters, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type IdentityProviderContract ¶
type IdentityProviderContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *IdentityProviderContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type IdentityProviderContractOperationPredicate ¶
func (IdentityProviderContractOperationPredicate) Matches ¶
func (p IdentityProviderContractOperationPredicate) Matches(input IdentityProviderContract) bool
type IdentityProviderContractProperties ¶
type IdentityProviderContractProperties struct { AllowedTenants *[]string `json:"allowedTenants,omitempty"` Authority *string `json:"authority,omitempty"` ClientId string `json:"clientId"` ClientLibrary *string `json:"clientLibrary,omitempty"` ClientSecret *string `json:"clientSecret,omitempty"` PasswordResetPolicyName *string `json:"passwordResetPolicyName,omitempty"` ProfileEditingPolicyName *string `json:"profileEditingPolicyName,omitempty"` SigninPolicyName *string `json:"signinPolicyName,omitempty"` SigninTenant *string `json:"signinTenant,omitempty"` SignupPolicyName *string `json:"signupPolicyName,omitempty"` Type *IdentityProviderType `json:"type,omitempty"` }
type IdentityProviderCreateContract ¶
type IdentityProviderCreateContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *IdentityProviderCreateContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type IdentityProviderCreateContractProperties ¶
type IdentityProviderCreateContractProperties struct { AllowedTenants *[]string `json:"allowedTenants,omitempty"` Authority *string `json:"authority,omitempty"` ClientId string `json:"clientId"` ClientLibrary *string `json:"clientLibrary,omitempty"` ClientSecret string `json:"clientSecret"` PasswordResetPolicyName *string `json:"passwordResetPolicyName,omitempty"` ProfileEditingPolicyName *string `json:"profileEditingPolicyName,omitempty"` SigninPolicyName *string `json:"signinPolicyName,omitempty"` SigninTenant *string `json:"signinTenant,omitempty"` SignupPolicyName *string `json:"signupPolicyName,omitempty"` Type *IdentityProviderType `json:"type,omitempty"` }
type IdentityProviderId ¶
type IdentityProviderId struct { SubscriptionId string ResourceGroupName string ServiceName string IdentityProviderName IdentityProviderType }
IdentityProviderId is a struct representing the Resource ID for a Identity Provider
func NewIdentityProviderID ¶
func NewIdentityProviderID(subscriptionId string, resourceGroupName string, serviceName string, identityProviderName IdentityProviderType) IdentityProviderId
NewIdentityProviderID returns a new IdentityProviderId struct
func ParseIdentityProviderID ¶
func ParseIdentityProviderID(input string) (*IdentityProviderId, error)
ParseIdentityProviderID parses 'input' into a IdentityProviderId
func ParseIdentityProviderIDInsensitively ¶
func ParseIdentityProviderIDInsensitively(input string) (*IdentityProviderId, error)
ParseIdentityProviderIDInsensitively parses 'input' case-insensitively into a IdentityProviderId note: this method should only be used for API response data and not user input
func (*IdentityProviderId) FromParseResult ¶
func (id *IdentityProviderId) FromParseResult(input resourceids.ParseResult) error
func (IdentityProviderId) ID ¶
func (id IdentityProviderId) ID() string
ID returns the formatted Identity Provider ID
func (IdentityProviderId) Segments ¶
func (id IdentityProviderId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Identity Provider ID
func (IdentityProviderId) String ¶
func (id IdentityProviderId) String() string
String returns a human-readable description of this Identity Provider ID
type IdentityProviderType ¶
type IdentityProviderType string
const ( IdentityProviderTypeAad IdentityProviderType = "aad" IdentityProviderTypeAadBTwoC IdentityProviderType = "aadB2C" IdentityProviderTypeFacebook IdentityProviderType = "facebook" IdentityProviderTypeGoogle IdentityProviderType = "google" IdentityProviderTypeMicrosoft IdentityProviderType = "microsoft" IdentityProviderTypeTwitter IdentityProviderType = "twitter" )
func (*IdentityProviderType) UnmarshalJSON ¶
func (s *IdentityProviderType) UnmarshalJSON(bytes []byte) error
type IdentityProviderUpdateParameters ¶
type IdentityProviderUpdateParameters struct {
Properties *IdentityProviderUpdateProperties `json:"properties,omitempty"`
}
type IdentityProviderUpdateProperties ¶
type IdentityProviderUpdateProperties struct { AllowedTenants *[]string `json:"allowedTenants,omitempty"` Authority *string `json:"authority,omitempty"` ClientId *string `json:"clientId,omitempty"` ClientLibrary *string `json:"clientLibrary,omitempty"` ClientSecret *string `json:"clientSecret,omitempty"` PasswordResetPolicyName *string `json:"passwordResetPolicyName,omitempty"` ProfileEditingPolicyName *string `json:"profileEditingPolicyName,omitempty"` SigninPolicyName *string `json:"signinPolicyName,omitempty"` SigninTenant *string `json:"signinTenant,omitempty"` SignupPolicyName *string `json:"signupPolicyName,omitempty"` Type *IdentityProviderType `json:"type,omitempty"` }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []IdentityProviderContract }
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]IdentityProviderContract }
type ListSecretsOperationResponse ¶
type ListSecretsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ClientSecretContract }
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 *IdentityProviderContract }
Source Files ¶
- client.go
- constants.go
- id_identityprovider.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_clientsecretcontract.go
- model_identityprovidercontract.go
- model_identityprovidercontractproperties.go
- model_identityprovidercreatecontract.go
- model_identityprovidercreatecontractproperties.go
- model_identityproviderupdateparameters.go
- model_identityproviderupdateproperties.go
- predicates.go
- version.go