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 FeatureProviderId
- 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) SubscriptionFeatureRegistrationsCreateOrUpdate(ctx context.Context, id SubscriptionFeatureRegistrationId, ...) (result SubscriptionFeatureRegistrationsCreateOrUpdateOperationResponse, ...)
- func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsDelete(ctx context.Context, id SubscriptionFeatureRegistrationId) (result SubscriptionFeatureRegistrationsDeleteOperationResponse, err error)
- func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsGet(ctx context.Context, id SubscriptionFeatureRegistrationId) (result SubscriptionFeatureRegistrationsGetOperationResponse, err error)
- func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListAllBySubscription(ctx context.Context, id commonids.SubscriptionId) (result SubscriptionFeatureRegistrationsListAllBySubscriptionOperationResponse, ...)
- func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListAllBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (SubscriptionFeatureRegistrationsListAllBySubscriptionCompleteResult, error)
- func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListAllBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result SubscriptionFeatureRegistrationsListAllBySubscriptionCompleteResult, ...)
- func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListBySubscription(ctx context.Context, id FeatureProviderId) (result SubscriptionFeatureRegistrationsListBySubscriptionOperationResponse, ...)
- func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListBySubscriptionComplete(ctx context.Context, id FeatureProviderId) (SubscriptionFeatureRegistrationsListBySubscriptionCompleteResult, error)
- func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id FeatureProviderId, ...) (result SubscriptionFeatureRegistrationsListBySubscriptionCompleteResult, ...)
- type SubscriptionFeatureRegistrationsCreateOrUpdateOperationResponse
- type SubscriptionFeatureRegistrationsDeleteOperationResponse
- type SubscriptionFeatureRegistrationsGetOperationResponse
- type SubscriptionFeatureRegistrationsListAllBySubscriptionCompleteResult
- type SubscriptionFeatureRegistrationsListAllBySubscriptionOperationResponse
- type SubscriptionFeatureRegistrationsListBySubscriptionCompleteResult
- type SubscriptionFeatureRegistrationsListBySubscriptionOperationResponse
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 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) 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 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) 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) SubscriptionFeatureRegistrationsCreateOrUpdate ¶
func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsCreateOrUpdate(ctx context.Context, id SubscriptionFeatureRegistrationId, input SubscriptionFeatureRegistration) (result SubscriptionFeatureRegistrationsCreateOrUpdateOperationResponse, err error)
SubscriptionFeatureRegistrationsCreateOrUpdate ...
func (SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsDelete ¶
func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsDelete(ctx context.Context, id SubscriptionFeatureRegistrationId) (result SubscriptionFeatureRegistrationsDeleteOperationResponse, err error)
SubscriptionFeatureRegistrationsDelete ...
func (SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsGet ¶
func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsGet(ctx context.Context, id SubscriptionFeatureRegistrationId) (result SubscriptionFeatureRegistrationsGetOperationResponse, err error)
SubscriptionFeatureRegistrationsGet ...
func (SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListAllBySubscription ¶
func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListAllBySubscription(ctx context.Context, id commonids.SubscriptionId) (result SubscriptionFeatureRegistrationsListAllBySubscriptionOperationResponse, err error)
SubscriptionFeatureRegistrationsListAllBySubscription ...
func (SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListAllBySubscriptionComplete ¶
func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListAllBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (SubscriptionFeatureRegistrationsListAllBySubscriptionCompleteResult, error)
SubscriptionFeatureRegistrationsListAllBySubscriptionComplete retrieves all the results into a single object
func (SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListAllBySubscriptionCompleteMatchingPredicate ¶
func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListAllBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SubscriptionFeatureRegistrationOperationPredicate) (result SubscriptionFeatureRegistrationsListAllBySubscriptionCompleteResult, err error)
SubscriptionFeatureRegistrationsListAllBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListBySubscription ¶
func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListBySubscription(ctx context.Context, id FeatureProviderId) (result SubscriptionFeatureRegistrationsListBySubscriptionOperationResponse, err error)
SubscriptionFeatureRegistrationsListBySubscription ...
func (SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListBySubscriptionComplete ¶
func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListBySubscriptionComplete(ctx context.Context, id FeatureProviderId) (SubscriptionFeatureRegistrationsListBySubscriptionCompleteResult, error)
SubscriptionFeatureRegistrationsListBySubscriptionComplete retrieves all the results into a single object
func (SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListBySubscriptionCompleteMatchingPredicate ¶
func (c SubscriptionFeatureRegistrationsClient) SubscriptionFeatureRegistrationsListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id FeatureProviderId, predicate SubscriptionFeatureRegistrationOperationPredicate) (result SubscriptionFeatureRegistrationsListBySubscriptionCompleteResult, err error)
SubscriptionFeatureRegistrationsListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
type SubscriptionFeatureRegistrationsCreateOrUpdateOperationResponse ¶
type SubscriptionFeatureRegistrationsCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SubscriptionFeatureRegistration }
type SubscriptionFeatureRegistrationsGetOperationResponse ¶
type SubscriptionFeatureRegistrationsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SubscriptionFeatureRegistration }
type SubscriptionFeatureRegistrationsListAllBySubscriptionCompleteResult ¶
type SubscriptionFeatureRegistrationsListAllBySubscriptionCompleteResult struct {
Items []SubscriptionFeatureRegistration
}
type SubscriptionFeatureRegistrationsListAllBySubscriptionOperationResponse ¶
type SubscriptionFeatureRegistrationsListAllBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SubscriptionFeatureRegistration }
type SubscriptionFeatureRegistrationsListBySubscriptionCompleteResult ¶
type SubscriptionFeatureRegistrationsListBySubscriptionCompleteResult struct {
Items []SubscriptionFeatureRegistration
}
type SubscriptionFeatureRegistrationsListBySubscriptionOperationResponse ¶
type SubscriptionFeatureRegistrationsListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SubscriptionFeatureRegistration }
Source Files ¶
- client.go
- constants.go
- id_featureprovider.go
- id_subscriptionfeatureregistration.go
- method_subscriptionfeatureregistrationscreateorupdate.go
- method_subscriptionfeatureregistrationsdelete.go
- method_subscriptionfeatureregistrationsget.go
- method_subscriptionfeatureregistrationslistallbysubscription.go
- method_subscriptionfeatureregistrationslistbysubscription.go
- model_authorizationprofile.go
- model_subscriptionfeatureregistration.go
- model_subscriptionfeatureregistrationproperties.go
- predicates.go
- version.go