Documentation ¶
Index ¶
- func PossibleValuesForSubscriptionFeatureRegistrationApprovalType() []string
- func PossibleValuesForSubscriptionFeatureRegistrationState() []string
- func ValidateFeatureProviderID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSubscriptionFeatureRegistrationID(input interface{}, key string) (warnings []string, errors []error)
- type AuthorizationProfile
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FeatureProviderId
- type GetOperationResponse
- type ListAllBySubscriptionCompleteResult
- type ListAllBySubscriptionOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type SubscriptionFeatureRegistration
- type SubscriptionFeatureRegistrationApprovalType
- type SubscriptionFeatureRegistrationId
- func NewSubscriptionFeatureRegistrationID(subscriptionId string, featureProviderName string, ...) SubscriptionFeatureRegistrationId
- func ParseSubscriptionFeatureRegistrationID(input string) (*SubscriptionFeatureRegistrationId, error)
- func ParseSubscriptionFeatureRegistrationIDInsensitively(input string) (*SubscriptionFeatureRegistrationId, error)
- type SubscriptionFeatureRegistrationOperationPredicate
- type SubscriptionFeatureRegistrationProperties
- func (o *SubscriptionFeatureRegistrationProperties) GetRegistrationDateAsTime() (*time.Time, error)
- func (o *SubscriptionFeatureRegistrationProperties) GetReleaseDateAsTime() (*time.Time, error)
- func (o *SubscriptionFeatureRegistrationProperties) SetRegistrationDateAsTime(input time.Time)
- func (o *SubscriptionFeatureRegistrationProperties) SetReleaseDateAsTime(input time.Time)
- type SubscriptionFeatureRegistrationState
- type SubscriptionFeatureRegistrationsClient
- func (c SubscriptionFeatureRegistrationsClient) CreateOrUpdate(ctx context.Context, id SubscriptionFeatureRegistrationId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c SubscriptionFeatureRegistrationsClient) Delete(ctx context.Context, id SubscriptionFeatureRegistrationId) (result DeleteOperationResponse, err error)
- func (c SubscriptionFeatureRegistrationsClient) Get(ctx context.Context, id SubscriptionFeatureRegistrationId) (result GetOperationResponse, err error)
- func (c SubscriptionFeatureRegistrationsClient) ListAllBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListAllBySubscriptionOperationResponse, err error)
- func (c SubscriptionFeatureRegistrationsClient) ListAllBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllBySubscriptionCompleteResult, error)
- func (c SubscriptionFeatureRegistrationsClient) ListAllBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAllBySubscriptionCompleteResult, err error)
- func (c SubscriptionFeatureRegistrationsClient) ListBySubscription(ctx context.Context, id FeatureProviderId) (result ListBySubscriptionOperationResponse, err error)
- func (c SubscriptionFeatureRegistrationsClient) ListBySubscriptionComplete(ctx context.Context, id FeatureProviderId) (ListBySubscriptionCompleteResult, error)
- func (c SubscriptionFeatureRegistrationsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id FeatureProviderId, ...) (result ListBySubscriptionCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSubscriptionFeatureRegistrationApprovalType ¶
func PossibleValuesForSubscriptionFeatureRegistrationApprovalType() []string
func PossibleValuesForSubscriptionFeatureRegistrationState ¶
func PossibleValuesForSubscriptionFeatureRegistrationState() []string
func ValidateFeatureProviderID ¶
ValidateFeatureProviderID checks that 'input' can be parsed as a Feature Provider ID
func ValidateSubscriptionFeatureRegistrationID ¶
func ValidateSubscriptionFeatureRegistrationID(input interface{}, key string) (warnings []string, errors []error)
ValidateSubscriptionFeatureRegistrationID checks that 'input' can be parsed as a Subscription Feature Registration ID
Types ¶
type AuthorizationProfile ¶
type AuthorizationProfile struct { ApprovedTime *string `json:"approvedTime,omitempty"` Approver *string `json:"approver,omitempty"` RequestedTime *string `json:"requestedTime,omitempty"` Requester *string `json:"requester,omitempty"` RequesterObjectId *string `json:"requesterObjectId,omitempty"` }
func (*AuthorizationProfile) GetApprovedTimeAsTime ¶
func (o *AuthorizationProfile) GetApprovedTimeAsTime() (*time.Time, error)
func (*AuthorizationProfile) GetRequestedTimeAsTime ¶
func (o *AuthorizationProfile) GetRequestedTimeAsTime() (*time.Time, error)
func (*AuthorizationProfile) SetApprovedTimeAsTime ¶
func (o *AuthorizationProfile) SetApprovedTimeAsTime(input time.Time)
func (*AuthorizationProfile) SetRequestedTimeAsTime ¶
func (o *AuthorizationProfile) SetRequestedTimeAsTime(input time.Time)
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SubscriptionFeatureRegistration }
type DeleteOperationResponse ¶
type FeatureProviderId ¶
FeatureProviderId is a struct representing the Resource ID for a Feature Provider
func NewFeatureProviderID ¶
func NewFeatureProviderID(subscriptionId string, featureProviderName string) FeatureProviderId
NewFeatureProviderID returns a new FeatureProviderId struct
func ParseFeatureProviderID ¶
func ParseFeatureProviderID(input string) (*FeatureProviderId, error)
ParseFeatureProviderID parses 'input' into a FeatureProviderId
func ParseFeatureProviderIDInsensitively ¶
func ParseFeatureProviderIDInsensitively(input string) (*FeatureProviderId, error)
ParseFeatureProviderIDInsensitively parses 'input' case-insensitively into a FeatureProviderId note: this method should only be used for API response data and not user input
func (*FeatureProviderId) FromParseResult ¶
func (id *FeatureProviderId) FromParseResult(input resourceids.ParseResult) error
func (FeatureProviderId) ID ¶
func (id FeatureProviderId) ID() string
ID returns the formatted Feature Provider ID
func (FeatureProviderId) Segments ¶
func (id FeatureProviderId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Feature Provider ID
func (FeatureProviderId) String ¶
func (id FeatureProviderId) String() string
String returns a human-readable description of this Feature Provider ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SubscriptionFeatureRegistration }
type ListAllBySubscriptionCompleteResult ¶
type ListAllBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []SubscriptionFeatureRegistration }
type ListAllBySubscriptionOperationResponse ¶
type ListAllBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SubscriptionFeatureRegistration }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []SubscriptionFeatureRegistration }
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SubscriptionFeatureRegistration }
type SubscriptionFeatureRegistration ¶
type SubscriptionFeatureRegistration struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SubscriptionFeatureRegistrationProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SubscriptionFeatureRegistrationApprovalType ¶
type SubscriptionFeatureRegistrationApprovalType string
const ( SubscriptionFeatureRegistrationApprovalTypeApprovalRequired SubscriptionFeatureRegistrationApprovalType = "ApprovalRequired" SubscriptionFeatureRegistrationApprovalTypeAutoApproval SubscriptionFeatureRegistrationApprovalType = "AutoApproval" SubscriptionFeatureRegistrationApprovalTypeNotSpecified SubscriptionFeatureRegistrationApprovalType = "NotSpecified" )
func (*SubscriptionFeatureRegistrationApprovalType) UnmarshalJSON ¶
func (s *SubscriptionFeatureRegistrationApprovalType) UnmarshalJSON(bytes []byte) error
type SubscriptionFeatureRegistrationId ¶
type SubscriptionFeatureRegistrationId struct { SubscriptionId string FeatureProviderName string SubscriptionFeatureRegistrationName string }
SubscriptionFeatureRegistrationId is a struct representing the Resource ID for a Subscription Feature Registration
func NewSubscriptionFeatureRegistrationID ¶
func NewSubscriptionFeatureRegistrationID(subscriptionId string, featureProviderName string, subscriptionFeatureRegistrationName string) SubscriptionFeatureRegistrationId
NewSubscriptionFeatureRegistrationID returns a new SubscriptionFeatureRegistrationId struct
func ParseSubscriptionFeatureRegistrationID ¶
func ParseSubscriptionFeatureRegistrationID(input string) (*SubscriptionFeatureRegistrationId, error)
ParseSubscriptionFeatureRegistrationID parses 'input' into a SubscriptionFeatureRegistrationId
func ParseSubscriptionFeatureRegistrationIDInsensitively ¶
func ParseSubscriptionFeatureRegistrationIDInsensitively(input string) (*SubscriptionFeatureRegistrationId, error)
ParseSubscriptionFeatureRegistrationIDInsensitively parses 'input' case-insensitively into a SubscriptionFeatureRegistrationId note: this method should only be used for API response data and not user input
func (*SubscriptionFeatureRegistrationId) FromParseResult ¶
func (id *SubscriptionFeatureRegistrationId) FromParseResult(input resourceids.ParseResult) error
func (SubscriptionFeatureRegistrationId) ID ¶
func (id SubscriptionFeatureRegistrationId) ID() string
ID returns the formatted Subscription Feature Registration ID
func (SubscriptionFeatureRegistrationId) Segments ¶
func (id SubscriptionFeatureRegistrationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Subscription Feature Registration ID
func (SubscriptionFeatureRegistrationId) String ¶
func (id SubscriptionFeatureRegistrationId) String() string
String returns a human-readable description of this Subscription Feature Registration ID
type SubscriptionFeatureRegistrationOperationPredicate ¶
type SubscriptionFeatureRegistrationOperationPredicate struct { Id *string Name *string Type *string }
func (SubscriptionFeatureRegistrationOperationPredicate) Matches ¶
func (p SubscriptionFeatureRegistrationOperationPredicate) Matches(input SubscriptionFeatureRegistration) bool
type SubscriptionFeatureRegistrationProperties ¶
type SubscriptionFeatureRegistrationProperties struct { ApprovalType *SubscriptionFeatureRegistrationApprovalType `json:"approvalType,omitempty"` AuthorizationProfile *AuthorizationProfile `json:"authorizationProfile,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` DocumentationLink *string `json:"documentationLink,omitempty"` FeatureName *string `json:"featureName,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` ProviderNamespace *string `json:"providerNamespace,omitempty"` RegistrationDate *string `json:"registrationDate,omitempty"` ReleaseDate *string `json:"releaseDate,omitempty"` ShouldFeatureDisplayInPortal *bool `json:"shouldFeatureDisplayInPortal,omitempty"` State *SubscriptionFeatureRegistrationState `json:"state,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
func (*SubscriptionFeatureRegistrationProperties) GetRegistrationDateAsTime ¶
func (o *SubscriptionFeatureRegistrationProperties) GetRegistrationDateAsTime() (*time.Time, error)
func (*SubscriptionFeatureRegistrationProperties) GetReleaseDateAsTime ¶
func (o *SubscriptionFeatureRegistrationProperties) GetReleaseDateAsTime() (*time.Time, error)
func (*SubscriptionFeatureRegistrationProperties) SetRegistrationDateAsTime ¶
func (o *SubscriptionFeatureRegistrationProperties) SetRegistrationDateAsTime(input time.Time)
func (*SubscriptionFeatureRegistrationProperties) SetReleaseDateAsTime ¶
func (o *SubscriptionFeatureRegistrationProperties) SetReleaseDateAsTime(input time.Time)
type SubscriptionFeatureRegistrationState ¶
type SubscriptionFeatureRegistrationState string
const ( SubscriptionFeatureRegistrationStateNotRegistered SubscriptionFeatureRegistrationState = "NotRegistered" SubscriptionFeatureRegistrationStateNotSpecified SubscriptionFeatureRegistrationState = "NotSpecified" SubscriptionFeatureRegistrationStatePending SubscriptionFeatureRegistrationState = "Pending" SubscriptionFeatureRegistrationStateRegistered SubscriptionFeatureRegistrationState = "Registered" SubscriptionFeatureRegistrationStateRegistering SubscriptionFeatureRegistrationState = "Registering" SubscriptionFeatureRegistrationStateUnregistered SubscriptionFeatureRegistrationState = "Unregistered" SubscriptionFeatureRegistrationStateUnregistering SubscriptionFeatureRegistrationState = "Unregistering" )
func (*SubscriptionFeatureRegistrationState) UnmarshalJSON ¶
func (s *SubscriptionFeatureRegistrationState) UnmarshalJSON(bytes []byte) error
type SubscriptionFeatureRegistrationsClient ¶
type SubscriptionFeatureRegistrationsClient struct {
Client *resourcemanager.Client
}
func NewSubscriptionFeatureRegistrationsClientWithBaseURI ¶
func NewSubscriptionFeatureRegistrationsClientWithBaseURI(sdkApi sdkEnv.Api) (*SubscriptionFeatureRegistrationsClient, error)
func (SubscriptionFeatureRegistrationsClient) CreateOrUpdate ¶
func (c SubscriptionFeatureRegistrationsClient) CreateOrUpdate(ctx context.Context, id SubscriptionFeatureRegistrationId, input SubscriptionFeatureRegistration) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SubscriptionFeatureRegistrationsClient) Delete ¶
func (c SubscriptionFeatureRegistrationsClient) Delete(ctx context.Context, id SubscriptionFeatureRegistrationId) (result DeleteOperationResponse, err error)
Delete ...
func (SubscriptionFeatureRegistrationsClient) Get ¶
func (c SubscriptionFeatureRegistrationsClient) Get(ctx context.Context, id SubscriptionFeatureRegistrationId) (result GetOperationResponse, err error)
Get ...
func (SubscriptionFeatureRegistrationsClient) ListAllBySubscription ¶
func (c SubscriptionFeatureRegistrationsClient) ListAllBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListAllBySubscriptionOperationResponse, err error)
ListAllBySubscription ...
func (SubscriptionFeatureRegistrationsClient) ListAllBySubscriptionComplete ¶
func (c SubscriptionFeatureRegistrationsClient) ListAllBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllBySubscriptionCompleteResult, error)
ListAllBySubscriptionComplete retrieves all the results into a single object
func (SubscriptionFeatureRegistrationsClient) ListAllBySubscriptionCompleteMatchingPredicate ¶
func (c SubscriptionFeatureRegistrationsClient) ListAllBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SubscriptionFeatureRegistrationOperationPredicate) (result ListAllBySubscriptionCompleteResult, err error)
ListAllBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SubscriptionFeatureRegistrationsClient) ListBySubscription ¶
func (c SubscriptionFeatureRegistrationsClient) ListBySubscription(ctx context.Context, id FeatureProviderId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (SubscriptionFeatureRegistrationsClient) ListBySubscriptionComplete ¶
func (c SubscriptionFeatureRegistrationsClient) ListBySubscriptionComplete(ctx context.Context, id FeatureProviderId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (SubscriptionFeatureRegistrationsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c SubscriptionFeatureRegistrationsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id FeatureProviderId, predicate SubscriptionFeatureRegistrationOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
Source Files ¶
- client.go
- constants.go
- id_featureprovider.go
- id_subscriptionfeatureregistration.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listallbysubscription.go
- method_listbysubscription.go
- model_authorizationprofile.go
- model_subscriptionfeatureregistration.go
- model_subscriptionfeatureregistrationproperties.go
- predicates.go
- version.go