Documentation ¶
Index ¶
- func PossibleValuesForLedgerDigestUploadsState() []string
- func ValidateDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DatabaseId
- type DisableOperationResponse
- type GetOperationResponse
- type LedgerDigestUploads
- type LedgerDigestUploadsClient
- func (c LedgerDigestUploadsClient) CreateOrUpdate(ctx context.Context, id DatabaseId, input LedgerDigestUploads) (result CreateOrUpdateOperationResponse, err error)
- func (c LedgerDigestUploadsClient) CreateOrUpdateThenPoll(ctx context.Context, id DatabaseId, input LedgerDigestUploads) error
- func (c LedgerDigestUploadsClient) Disable(ctx context.Context, id DatabaseId) (result DisableOperationResponse, err error)
- func (c LedgerDigestUploadsClient) DisableThenPoll(ctx context.Context, id DatabaseId) error
- func (c LedgerDigestUploadsClient) Get(ctx context.Context, id DatabaseId) (result GetOperationResponse, err error)
- func (c LedgerDigestUploadsClient) ListByDatabase(ctx context.Context, id DatabaseId) (result ListByDatabaseOperationResponse, err error)
- func (c LedgerDigestUploadsClient) ListByDatabaseComplete(ctx context.Context, id DatabaseId) (ListByDatabaseCompleteResult, error)
- func (c LedgerDigestUploadsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id DatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- type LedgerDigestUploadsOperationPredicate
- type LedgerDigestUploadsProperties
- type LedgerDigestUploadsState
- type ListByDatabaseCompleteResult
- type ListByDatabaseOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLedgerDigestUploadsState ¶
func PossibleValuesForLedgerDigestUploadsState() []string
func ValidateDatabaseID ¶
ValidateDatabaseID checks that 'input' can be parsed as a Database ID
Types ¶
type DatabaseId ¶
type DatabaseId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string }
DatabaseId is a struct representing the Resource ID for a Database
func NewDatabaseID ¶
func NewDatabaseID(subscriptionId string, resourceGroupName string, serverName string, databaseName string) DatabaseId
NewDatabaseID returns a new DatabaseId struct
func ParseDatabaseID ¶
func ParseDatabaseID(input string) (*DatabaseId, error)
ParseDatabaseID parses 'input' into a DatabaseId
func ParseDatabaseIDInsensitively ¶
func ParseDatabaseIDInsensitively(input string) (*DatabaseId, error)
ParseDatabaseIDInsensitively parses 'input' case-insensitively into a DatabaseId note: this method should only be used for API response data and not user input
func (DatabaseId) Segments ¶
func (id DatabaseId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Database ID
func (DatabaseId) String ¶
func (id DatabaseId) String() string
String returns a human-readable description of this Database ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LedgerDigestUploads }
type LedgerDigestUploads ¶
type LedgerDigestUploads struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *LedgerDigestUploadsProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type LedgerDigestUploadsClient ¶
type LedgerDigestUploadsClient struct {
Client *resourcemanager.Client
}
func NewLedgerDigestUploadsClientWithBaseURI ¶
func NewLedgerDigestUploadsClientWithBaseURI(sdkApi sdkEnv.Api) (*LedgerDigestUploadsClient, error)
func (LedgerDigestUploadsClient) CreateOrUpdate ¶
func (c LedgerDigestUploadsClient) CreateOrUpdate(ctx context.Context, id DatabaseId, input LedgerDigestUploads) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (LedgerDigestUploadsClient) CreateOrUpdateThenPoll ¶
func (c LedgerDigestUploadsClient) CreateOrUpdateThenPoll(ctx context.Context, id DatabaseId, input LedgerDigestUploads) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (LedgerDigestUploadsClient) Disable ¶
func (c LedgerDigestUploadsClient) Disable(ctx context.Context, id DatabaseId) (result DisableOperationResponse, err error)
Disable ...
func (LedgerDigestUploadsClient) DisableThenPoll ¶
func (c LedgerDigestUploadsClient) DisableThenPoll(ctx context.Context, id DatabaseId) error
DisableThenPoll performs Disable then polls until it's completed
func (LedgerDigestUploadsClient) Get ¶
func (c LedgerDigestUploadsClient) Get(ctx context.Context, id DatabaseId) (result GetOperationResponse, err error)
Get ...
func (LedgerDigestUploadsClient) ListByDatabase ¶
func (c LedgerDigestUploadsClient) ListByDatabase(ctx context.Context, id DatabaseId) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (LedgerDigestUploadsClient) ListByDatabaseComplete ¶
func (c LedgerDigestUploadsClient) ListByDatabaseComplete(ctx context.Context, id DatabaseId) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (LedgerDigestUploadsClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c LedgerDigestUploadsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id DatabaseId, predicate LedgerDigestUploadsOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
type LedgerDigestUploadsOperationPredicate ¶
func (LedgerDigestUploadsOperationPredicate) Matches ¶
func (p LedgerDigestUploadsOperationPredicate) Matches(input LedgerDigestUploads) bool
type LedgerDigestUploadsProperties ¶
type LedgerDigestUploadsProperties struct { DigestStorageEndpoint *string `json:"digestStorageEndpoint,omitempty"` State *LedgerDigestUploadsState `json:"state,omitempty"` }
type LedgerDigestUploadsState ¶
type LedgerDigestUploadsState string
const ( LedgerDigestUploadsStateDisabled LedgerDigestUploadsState = "Disabled" LedgerDigestUploadsStateEnabled LedgerDigestUploadsState = "Enabled" )
func (*LedgerDigestUploadsState) UnmarshalJSON ¶
func (s *LedgerDigestUploadsState) UnmarshalJSON(bytes []byte) error
type ListByDatabaseCompleteResult ¶
type ListByDatabaseCompleteResult struct {
Items []LedgerDigestUploads
}
type ListByDatabaseOperationResponse ¶
type ListByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LedgerDigestUploads }