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 PossibleValuesForProvisioningState() []string + func ValidateCacheRuleID(input interface{}, key string) (warnings []string, errors []error) + func ValidateRegistryID(input interface{}, key string) (warnings []string, errors []error) + type CacheRule struct + Id *string + Name *string + Properties *CacheRuleProperties + SystemData *systemdata.SystemData + Type *string + type CacheRuleId struct + CacheRuleName string + RegistryName string + ResourceGroupName string + SubscriptionId string + func NewCacheRuleID(subscriptionId string, resourceGroupName string, registryName string, ...) CacheRuleId + func ParseCacheRuleID(input string) (*CacheRuleId, error) + func ParseCacheRuleIDInsensitively(input string) (*CacheRuleId, error) + func (id *CacheRuleId) FromParseResult(input resourceids.ParseResult) error + func (id CacheRuleId) ID() string + func (id CacheRuleId) Segments() []resourceids.Segment + func (id CacheRuleId) String() string + type CacheRuleOperationPredicate struct + Id *string + Name *string + Type *string + func (p CacheRuleOperationPredicate) Matches(input CacheRule) bool + type CacheRuleProperties struct + CreationDate *string + CredentialSetResourceId *string + ProvisioningState *ProvisioningState + SourceRepository *string + TargetRepository *string + func (o *CacheRuleProperties) GetCreationDateAsTime() (*time.Time, error) + func (o *CacheRuleProperties) SetCreationDateAsTime(input time.Time) + type CacheRuleUpdateParameters struct + Properties *CacheRuleUpdateProperties + type CacheRuleUpdateProperties struct + CredentialSetResourceId *string + type CacheRulesClient struct + Client *resourcemanager.Client + func NewCacheRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*CacheRulesClient, error) + func (c CacheRulesClient) Create(ctx context.Context, id CacheRuleId, input CacheRule) (result CreateOperationResponse, err error) + func (c CacheRulesClient) CreateThenPoll(ctx context.Context, id CacheRuleId, input CacheRule) error + func (c CacheRulesClient) Delete(ctx context.Context, id CacheRuleId) (result DeleteOperationResponse, err error) + func (c CacheRulesClient) DeleteThenPoll(ctx context.Context, id CacheRuleId) error + func (c CacheRulesClient) Get(ctx context.Context, id CacheRuleId) (result GetOperationResponse, err error) + func (c CacheRulesClient) List(ctx context.Context, id RegistryId) (result ListOperationResponse, err error) + func (c CacheRulesClient) ListComplete(ctx context.Context, id RegistryId) (ListCompleteResult, error) + func (c CacheRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate CacheRuleOperationPredicate) (result ListCompleteResult, err error) + func (c CacheRulesClient) Update(ctx context.Context, id CacheRuleId, input CacheRuleUpdateParameters) (result UpdateOperationResponse, err error) + func (c CacheRulesClient) UpdateThenPoll(ctx context.Context, id CacheRuleId, input CacheRuleUpdateParameters) error + type CreateOperationResponse struct + HttpResponse *http.Response + Model *CacheRule + OData *odata.OData + Poller pollers.Poller + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type GetOperationResponse struct + HttpResponse *http.Response + Model *CacheRule + OData *odata.OData + type ListCompleteResult struct + Items []CacheRule + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]CacheRule + OData *odata.OData + type ProvisioningState string + const ProvisioningStateCanceled + const ProvisioningStateCreating + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type RegistryId struct + RegistryName string + ResourceGroupName string + SubscriptionId string + func NewRegistryID(subscriptionId string, resourceGroupName string, registryName string) RegistryId + func ParseRegistryID(input string) (*RegistryId, error) + func ParseRegistryIDInsensitively(input string) (*RegistryId, error) + func (id *RegistryId) FromParseResult(input resourceids.ParseResult) error + func (id RegistryId) ID() string + func (id RegistryId) Segments() []resourceids.Segment + func (id RegistryId) String() string + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *CacheRule + OData *odata.OData + Poller pollers.Poller