Documentation ¶
Index ¶
- 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
- type CacheRuleId
- type CacheRuleOperationPredicate
- type CacheRuleProperties
- type CacheRuleUpdateParameters
- type CacheRuleUpdateProperties
- type CacheRulesClient
- 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
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ProvisioningState
- type RegistryId
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateCacheRuleID ¶
ValidateCacheRuleID checks that 'input' can be parsed as a Cache Rule ID
func ValidateRegistryID ¶
ValidateRegistryID checks that 'input' can be parsed as a Registry ID
Types ¶
type CacheRule ¶
type CacheRule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CacheRuleProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type CacheRuleId ¶
type CacheRuleId struct { SubscriptionId string ResourceGroupName string RegistryName string CacheRuleName string }
CacheRuleId is a struct representing the Resource ID for a Cache Rule
func NewCacheRuleID ¶
func NewCacheRuleID(subscriptionId string, resourceGroupName string, registryName string, cacheRuleName string) CacheRuleId
NewCacheRuleID returns a new CacheRuleId struct
func ParseCacheRuleID ¶
func ParseCacheRuleID(input string) (*CacheRuleId, error)
ParseCacheRuleID parses 'input' into a CacheRuleId
func ParseCacheRuleIDInsensitively ¶
func ParseCacheRuleIDInsensitively(input string) (*CacheRuleId, error)
ParseCacheRuleIDInsensitively parses 'input' case-insensitively into a CacheRuleId note: this method should only be used for API response data and not user input
func (*CacheRuleId) FromParseResult ¶ added in v0.20231127.1171502
func (id *CacheRuleId) FromParseResult(input resourceids.ParseResult) error
func (CacheRuleId) Segments ¶
func (id CacheRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cache Rule ID
func (CacheRuleId) String ¶
func (id CacheRuleId) String() string
String returns a human-readable description of this Cache Rule ID
type CacheRuleOperationPredicate ¶
func (CacheRuleOperationPredicate) Matches ¶
func (p CacheRuleOperationPredicate) Matches(input CacheRule) bool
type CacheRuleProperties ¶
type CacheRuleProperties struct { CreationDate *string `json:"creationDate,omitempty"` CredentialSetResourceId *string `json:"credentialSetResourceId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SourceRepository *string `json:"sourceRepository,omitempty"` TargetRepository *string `json:"targetRepository,omitempty"` }
func (*CacheRuleProperties) GetCreationDateAsTime ¶
func (o *CacheRuleProperties) GetCreationDateAsTime() (*time.Time, error)
func (*CacheRuleProperties) SetCreationDateAsTime ¶
func (o *CacheRuleProperties) SetCreationDateAsTime(input time.Time)
type CacheRuleUpdateParameters ¶
type CacheRuleUpdateParameters struct {
Properties *CacheRuleUpdateProperties `json:"properties,omitempty"`
}
type CacheRuleUpdateProperties ¶
type CacheRuleUpdateProperties struct {
CredentialSetResourceId *string `json:"credentialSetResourceId,omitempty"`
}
type CacheRulesClient ¶
type CacheRulesClient struct {
Client *resourcemanager.Client
}
func NewCacheRulesClientWithBaseURI ¶
func NewCacheRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*CacheRulesClient, error)
func (CacheRulesClient) Create ¶
func (c CacheRulesClient) Create(ctx context.Context, id CacheRuleId, input CacheRule) (result CreateOperationResponse, err error)
Create ...
func (CacheRulesClient) CreateThenPoll ¶
func (c CacheRulesClient) CreateThenPoll(ctx context.Context, id CacheRuleId, input CacheRule) error
CreateThenPoll performs Create then polls until it's completed
func (CacheRulesClient) Delete ¶
func (c CacheRulesClient) Delete(ctx context.Context, id CacheRuleId) (result DeleteOperationResponse, err error)
Delete ...
func (CacheRulesClient) DeleteThenPoll ¶
func (c CacheRulesClient) DeleteThenPoll(ctx context.Context, id CacheRuleId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CacheRulesClient) Get ¶
func (c CacheRulesClient) Get(ctx context.Context, id CacheRuleId) (result GetOperationResponse, err error)
Get ...
func (CacheRulesClient) List ¶
func (c CacheRulesClient) List(ctx context.Context, id RegistryId) (result ListOperationResponse, err error)
List ...
func (CacheRulesClient) ListComplete ¶
func (c CacheRulesClient) ListComplete(ctx context.Context, id RegistryId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (CacheRulesClient) ListCompleteMatchingPredicate ¶
func (c CacheRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate CacheRuleOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CacheRulesClient) Update ¶
func (c CacheRulesClient) Update(ctx context.Context, id CacheRuleId, input CacheRuleUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (CacheRulesClient) UpdateThenPoll ¶
func (c CacheRulesClient) UpdateThenPoll(ctx context.Context, id CacheRuleId, input CacheRuleUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListOperationResponse ¶
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RegistryId ¶
RegistryId is a struct representing the Resource ID for a Registry
func NewRegistryID ¶
func NewRegistryID(subscriptionId string, resourceGroupName string, registryName string) RegistryId
NewRegistryID returns a new RegistryId struct
func ParseRegistryID ¶
func ParseRegistryID(input string) (*RegistryId, error)
ParseRegistryID parses 'input' into a RegistryId
func ParseRegistryIDInsensitively ¶
func ParseRegistryIDInsensitively(input string) (*RegistryId, error)
ParseRegistryIDInsensitively parses 'input' case-insensitively into a RegistryId note: this method should only be used for API response data and not user input
func (*RegistryId) FromParseResult ¶ added in v0.20231127.1171502
func (id *RegistryId) FromParseResult(input resourceids.ParseResult) error
func (RegistryId) Segments ¶
func (id RegistryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registry ID
func (RegistryId) String ¶
func (id RegistryId) String() string
String returns a human-readable description of this Registry ID