Documentation ¶
Index ¶
- func PossibleValuesForCatalogSyncState() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateCatalogID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDevCenterID(input interface{}, key string) (warnings []string, errors []error)
- type Catalog
- type CatalogId
- type CatalogOperationPredicate
- type CatalogProperties
- type CatalogSyncState
- type CatalogUpdate
- type CatalogUpdateProperties
- type CatalogsClient
- func (c CatalogsClient) CreateOrUpdate(ctx context.Context, id CatalogId, input Catalog) (result CreateOrUpdateOperationResponse, err error)
- func (c CatalogsClient) CreateOrUpdateThenPoll(ctx context.Context, id CatalogId, input Catalog) error
- func (c CatalogsClient) Delete(ctx context.Context, id CatalogId) (result DeleteOperationResponse, err error)
- func (c CatalogsClient) DeleteThenPoll(ctx context.Context, id CatalogId) error
- func (c CatalogsClient) Get(ctx context.Context, id CatalogId) (result GetOperationResponse, err error)
- func (c CatalogsClient) ListByDevCenter(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions) (result ListByDevCenterOperationResponse, err error)
- func (c CatalogsClient) ListByDevCenterComplete(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions) (ListByDevCenterCompleteResult, error)
- func (c CatalogsClient) ListByDevCenterCompleteMatchingPredicate(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions, ...) (result ListByDevCenterCompleteResult, err error)
- func (c CatalogsClient) Sync(ctx context.Context, id CatalogId) (result SyncOperationResponse, err error)
- func (c CatalogsClient) SyncThenPoll(ctx context.Context, id CatalogId) error
- func (c CatalogsClient) Update(ctx context.Context, id CatalogId, input CatalogUpdate) (result UpdateOperationResponse, err error)
- func (c CatalogsClient) UpdateThenPoll(ctx context.Context, id CatalogId, input CatalogUpdate) error
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DevCenterId
- type GetOperationResponse
- type GitCatalog
- type ListByDevCenterCompleteResult
- type ListByDevCenterOperationOptions
- type ListByDevCenterOperationResponse
- type ProvisioningState
- type SyncOperationResponse
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCatalogSyncState ¶
func PossibleValuesForCatalogSyncState() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateCatalogID ¶
ValidateCatalogID checks that 'input' can be parsed as a Catalog ID
func ValidateDevCenterID ¶
ValidateDevCenterID checks that 'input' can be parsed as a Dev Center ID
Types ¶
type Catalog ¶
type Catalog struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CatalogProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type CatalogId ¶
type CatalogId struct { SubscriptionId string ResourceGroupName string DevCenterName string CatalogName string }
CatalogId is a struct representing the Resource ID for a Catalog
func NewCatalogID ¶
func NewCatalogID(subscriptionId string, resourceGroupName string, devCenterName string, catalogName string) CatalogId
NewCatalogID returns a new CatalogId struct
func ParseCatalogID ¶
ParseCatalogID parses 'input' into a CatalogId
func ParseCatalogIDInsensitively ¶
ParseCatalogIDInsensitively parses 'input' case-insensitively into a CatalogId note: this method should only be used for API response data and not user input
func (*CatalogId) FromParseResult ¶ added in v0.20231127.1171502
func (id *CatalogId) FromParseResult(input resourceids.ParseResult) error
func (CatalogId) Segments ¶
func (id CatalogId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Catalog ID
type CatalogOperationPredicate ¶
func (CatalogOperationPredicate) Matches ¶
func (p CatalogOperationPredicate) Matches(input Catalog) bool
type CatalogProperties ¶
type CatalogProperties struct { AdoGit *GitCatalog `json:"adoGit,omitempty"` GitHub *GitCatalog `json:"gitHub,omitempty"` LastSyncTime *string `json:"lastSyncTime,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SyncState *CatalogSyncState `json:"syncState,omitempty"` }
func (*CatalogProperties) GetLastSyncTimeAsTime ¶
func (o *CatalogProperties) GetLastSyncTimeAsTime() (*time.Time, error)
func (*CatalogProperties) SetLastSyncTimeAsTime ¶
func (o *CatalogProperties) SetLastSyncTimeAsTime(input time.Time)
type CatalogSyncState ¶
type CatalogSyncState string
const ( CatalogSyncStateCanceled CatalogSyncState = "Canceled" CatalogSyncStateFailed CatalogSyncState = "Failed" CatalogSyncStateInProgress CatalogSyncState = "InProgress" CatalogSyncStateSucceeded CatalogSyncState = "Succeeded" )
func (*CatalogSyncState) UnmarshalJSON ¶
func (s *CatalogSyncState) UnmarshalJSON(bytes []byte) error
type CatalogUpdate ¶
type CatalogUpdate struct { Properties *CatalogUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type CatalogUpdateProperties ¶
type CatalogUpdateProperties struct { AdoGit *GitCatalog `json:"adoGit,omitempty"` GitHub *GitCatalog `json:"gitHub,omitempty"` }
type CatalogsClient ¶
type CatalogsClient struct {
Client *resourcemanager.Client
}
func NewCatalogsClientWithBaseURI ¶
func NewCatalogsClientWithBaseURI(sdkApi sdkEnv.Api) (*CatalogsClient, error)
func (CatalogsClient) CreateOrUpdate ¶
func (c CatalogsClient) CreateOrUpdate(ctx context.Context, id CatalogId, input Catalog) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CatalogsClient) CreateOrUpdateThenPoll ¶
func (c CatalogsClient) CreateOrUpdateThenPoll(ctx context.Context, id CatalogId, input Catalog) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (CatalogsClient) Delete ¶
func (c CatalogsClient) Delete(ctx context.Context, id CatalogId) (result DeleteOperationResponse, err error)
Delete ...
func (CatalogsClient) DeleteThenPoll ¶
func (c CatalogsClient) DeleteThenPoll(ctx context.Context, id CatalogId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CatalogsClient) Get ¶
func (c CatalogsClient) Get(ctx context.Context, id CatalogId) (result GetOperationResponse, err error)
Get ...
func (CatalogsClient) ListByDevCenter ¶
func (c CatalogsClient) ListByDevCenter(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions) (result ListByDevCenterOperationResponse, err error)
ListByDevCenter ...
func (CatalogsClient) ListByDevCenterComplete ¶
func (c CatalogsClient) ListByDevCenterComplete(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions) (ListByDevCenterCompleteResult, error)
ListByDevCenterComplete retrieves all the results into a single object
func (CatalogsClient) ListByDevCenterCompleteMatchingPredicate ¶
func (c CatalogsClient) ListByDevCenterCompleteMatchingPredicate(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions, predicate CatalogOperationPredicate) (result ListByDevCenterCompleteResult, err error)
ListByDevCenterCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CatalogsClient) Sync ¶
func (c CatalogsClient) Sync(ctx context.Context, id CatalogId) (result SyncOperationResponse, err error)
Sync ...
func (CatalogsClient) SyncThenPoll ¶
func (c CatalogsClient) SyncThenPoll(ctx context.Context, id CatalogId) error
SyncThenPoll performs Sync then polls until it's completed
func (CatalogsClient) Update ¶
func (c CatalogsClient) Update(ctx context.Context, id CatalogId, input CatalogUpdate) (result UpdateOperationResponse, err error)
Update ...
func (CatalogsClient) UpdateThenPoll ¶
func (c CatalogsClient) UpdateThenPoll(ctx context.Context, id CatalogId, input CatalogUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type DeleteOperationResponse ¶
type DevCenterId ¶
DevCenterId is a struct representing the Resource ID for a Dev Center
func NewDevCenterID ¶
func NewDevCenterID(subscriptionId string, resourceGroupName string, devCenterName string) DevCenterId
NewDevCenterID returns a new DevCenterId struct
func ParseDevCenterID ¶
func ParseDevCenterID(input string) (*DevCenterId, error)
ParseDevCenterID parses 'input' into a DevCenterId
func ParseDevCenterIDInsensitively ¶
func ParseDevCenterIDInsensitively(input string) (*DevCenterId, error)
ParseDevCenterIDInsensitively parses 'input' case-insensitively into a DevCenterId note: this method should only be used for API response data and not user input
func (*DevCenterId) FromParseResult ¶ added in v0.20231127.1171502
func (id *DevCenterId) FromParseResult(input resourceids.ParseResult) error
func (DevCenterId) Segments ¶
func (id DevCenterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dev Center ID
func (DevCenterId) String ¶
func (id DevCenterId) String() string
String returns a human-readable description of this Dev Center ID
type GetOperationResponse ¶
type GitCatalog ¶
type ListByDevCenterOperationOptions ¶
type ListByDevCenterOperationOptions struct {
Top *int64
}
func DefaultListByDevCenterOperationOptions ¶
func DefaultListByDevCenterOperationOptions() ListByDevCenterOperationOptions
func (ListByDevCenterOperationOptions) ToHeaders ¶
func (o ListByDevCenterOperationOptions) ToHeaders() *client.Headers
func (ListByDevCenterOperationOptions) ToOData ¶
func (o ListByDevCenterOperationOptions) ToOData() *odata.Query
func (ListByDevCenterOperationOptions) ToQuery ¶
func (o ListByDevCenterOperationOptions) ToQuery() *client.QueryParams
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMovingResources ProvisioningState = "MovingResources" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateRolloutInProgress ProvisioningState = "RolloutInProgress" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateStorageProvisioningFailed ProvisioningState = "StorageProvisioningFailed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateTransientFailure ProvisioningState = "TransientFailure" ProvisioningStateUpdated ProvisioningState = "Updated" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type SyncOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_catalog.go
- id_devcenter.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbydevcenter.go
- method_sync.go
- method_update.go
- model_catalog.go
- model_catalogproperties.go
- model_catalogupdate.go
- model_catalogupdateproperties.go
- model_gitcatalog.go
- predicates.go
- version.go