Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForAuthorizationType() []string + func PossibleValuesForOAuth2GrantType() []string + func ValidateAuthorizationID(input interface{}, key string) (warnings []string, errors []error) + type AuthorizationClient struct + Client *resourcemanager.Client + func NewAuthorizationClientWithBaseURI(sdkApi sdkEnv.Api) (*AuthorizationClient, error) + func (c AuthorizationClient) CreateOrUpdate(ctx context.Context, id AuthorizationId, input AuthorizationContract, ...) (result CreateOrUpdateOperationResponse, err error) + func (c AuthorizationClient) Delete(ctx context.Context, id AuthorizationId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) + func (c AuthorizationClient) Get(ctx context.Context, id AuthorizationId) (result GetOperationResponse, err error) + type AuthorizationContract struct + Id *string + Name *string + Properties *AuthorizationContractProperties + Type *string + type AuthorizationContractProperties struct + AuthorizationType *AuthorizationType + Error *AuthorizationError + Oauth2grantType *OAuth2GrantType + Parameters *map[string]string + Status *string + type AuthorizationError struct + Code *string + Message *string + type AuthorizationId struct + AuthorizationId string + AuthorizationProviderId string + ResourceGroupName string + ServiceName string + SubscriptionId string + func NewAuthorizationID(subscriptionId string, resourceGroupName string, serviceName string, ...) AuthorizationId + func ParseAuthorizationID(input string) (*AuthorizationId, error) + func ParseAuthorizationIDInsensitively(input string) (*AuthorizationId, error) + func (id *AuthorizationId) FromParseResult(input resourceids.ParseResult) error + func (id AuthorizationId) ID() string + func (id AuthorizationId) Segments() []resourceids.Segment + func (id AuthorizationId) String() string + type AuthorizationType string + const AuthorizationTypeOAuthTwo + func (s *AuthorizationType) UnmarshalJSON(bytes []byte) error + type CreateOrUpdateOperationOptions struct + IfMatch *string + func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions + func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers + func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query + func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *AuthorizationContract + OData *odata.OData + type DeleteOperationOptions struct + IfMatch *string + func DefaultDeleteOperationOptions() DeleteOperationOptions + func (o DeleteOperationOptions) ToHeaders() *client.Headers + func (o DeleteOperationOptions) ToOData() *odata.Query + func (o DeleteOperationOptions) ToQuery() *client.QueryParams + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *AuthorizationContract + OData *odata.OData + type OAuth2GrantType string + const OAuth2GrantTypeAuthorizationCode + const OAuth2GrantTypeClientCredentials + func (s *OAuth2GrantType) UnmarshalJSON(bytes []byte) error