Documentation ¶
Index ¶
- func PossibleValuesForLedgerRoleName() []string
- func PossibleValuesForLedgerType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateLedgerID(input interface{}, key string) (warnings []string, errors []error)
- type AADBasedSecurityPrincipal
- type CertBasedSecurityPrincipal
- type ConfidentialLedger
- type ConfidentialLedgerClient
- func (c ConfidentialLedgerClient) LedgerCreate(ctx context.Context, id LedgerId, input ConfidentialLedger) (result LedgerCreateOperationResponse, err error)
- func (c ConfidentialLedgerClient) LedgerCreateThenPoll(ctx context.Context, id LedgerId, input ConfidentialLedger) error
- func (c ConfidentialLedgerClient) LedgerDelete(ctx context.Context, id LedgerId) (result LedgerDeleteOperationResponse, err error)
- func (c ConfidentialLedgerClient) LedgerDeleteThenPoll(ctx context.Context, id LedgerId) error
- func (c ConfidentialLedgerClient) LedgerGet(ctx context.Context, id LedgerId) (result LedgerGetOperationResponse, err error)
- func (c ConfidentialLedgerClient) LedgerListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (resp LedgerListByResourceGroupOperationResponse, err error)
- func (c ConfidentialLedgerClient) LedgerListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (LedgerListByResourceGroupCompleteResult, error)
- func (c ConfidentialLedgerClient) LedgerListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp LedgerListByResourceGroupCompleteResult, err error)
- func (c ConfidentialLedgerClient) LedgerListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (resp LedgerListBySubscriptionOperationResponse, err error)
- func (c ConfidentialLedgerClient) LedgerListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (LedgerListBySubscriptionCompleteResult, error)
- func (c ConfidentialLedgerClient) LedgerListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp LedgerListBySubscriptionCompleteResult, err error)
- func (c ConfidentialLedgerClient) LedgerUpdate(ctx context.Context, id LedgerId, input ConfidentialLedger) (result LedgerUpdateOperationResponse, err error)
- func (c ConfidentialLedgerClient) LedgerUpdateThenPoll(ctx context.Context, id LedgerId, input ConfidentialLedger) error
- type ConfidentialLedgerOperationPredicate
- type LedgerCreateOperationResponse
- type LedgerDeleteOperationResponse
- type LedgerGetOperationResponse
- type LedgerId
- type LedgerListByResourceGroupCompleteResult
- type LedgerListByResourceGroupOperationOptions
- type LedgerListByResourceGroupOperationResponse
- type LedgerListBySubscriptionCompleteResult
- type LedgerListBySubscriptionOperationOptions
- type LedgerListBySubscriptionOperationResponse
- type LedgerProperties
- type LedgerRoleName
- type LedgerType
- type LedgerUpdateOperationResponse
- type ProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLedgerRoleName ¶
func PossibleValuesForLedgerRoleName() []string
func PossibleValuesForLedgerType ¶
func PossibleValuesForLedgerType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateLedgerID ¶
ValidateLedgerID checks that 'input' can be parsed as a Ledger ID
Types ¶
type AADBasedSecurityPrincipal ¶
type AADBasedSecurityPrincipal struct { LedgerRoleName *LedgerRoleName `json:"ledgerRoleName,omitempty"` PrincipalId *string `json:"principalId,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type CertBasedSecurityPrincipal ¶
type CertBasedSecurityPrincipal struct { Cert *string `json:"cert,omitempty"` LedgerRoleName *LedgerRoleName `json:"ledgerRoleName,omitempty"` }
type ConfidentialLedger ¶
type ConfidentialLedger struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *LedgerProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ConfidentialLedgerClient ¶
type ConfidentialLedgerClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewConfidentialLedgerClientWithBaseURI ¶
func NewConfidentialLedgerClientWithBaseURI(endpoint string) ConfidentialLedgerClient
func (ConfidentialLedgerClient) LedgerCreate ¶
func (c ConfidentialLedgerClient) LedgerCreate(ctx context.Context, id LedgerId, input ConfidentialLedger) (result LedgerCreateOperationResponse, err error)
LedgerCreate ...
func (ConfidentialLedgerClient) LedgerCreateThenPoll ¶
func (c ConfidentialLedgerClient) LedgerCreateThenPoll(ctx context.Context, id LedgerId, input ConfidentialLedger) error
LedgerCreateThenPoll performs LedgerCreate then polls until it's completed
func (ConfidentialLedgerClient) LedgerDelete ¶
func (c ConfidentialLedgerClient) LedgerDelete(ctx context.Context, id LedgerId) (result LedgerDeleteOperationResponse, err error)
LedgerDelete ...
func (ConfidentialLedgerClient) LedgerDeleteThenPoll ¶
func (c ConfidentialLedgerClient) LedgerDeleteThenPoll(ctx context.Context, id LedgerId) error
LedgerDeleteThenPoll performs LedgerDelete then polls until it's completed
func (ConfidentialLedgerClient) LedgerGet ¶
func (c ConfidentialLedgerClient) LedgerGet(ctx context.Context, id LedgerId) (result LedgerGetOperationResponse, err error)
LedgerGet ...
func (ConfidentialLedgerClient) LedgerListByResourceGroup ¶
func (c ConfidentialLedgerClient) LedgerListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options LedgerListByResourceGroupOperationOptions) (resp LedgerListByResourceGroupOperationResponse, err error)
LedgerListByResourceGroup ...
func (ConfidentialLedgerClient) LedgerListByResourceGroupComplete ¶
func (c ConfidentialLedgerClient) LedgerListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options LedgerListByResourceGroupOperationOptions) (LedgerListByResourceGroupCompleteResult, error)
LedgerListByResourceGroupComplete retrieves all of the results into a single object
func (ConfidentialLedgerClient) LedgerListByResourceGroupCompleteMatchingPredicate ¶
func (c ConfidentialLedgerClient) LedgerListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options LedgerListByResourceGroupOperationOptions, predicate ConfidentialLedgerOperationPredicate) (resp LedgerListByResourceGroupCompleteResult, err error)
LedgerListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ConfidentialLedgerClient) LedgerListBySubscription ¶
func (c ConfidentialLedgerClient) LedgerListBySubscription(ctx context.Context, id commonids.SubscriptionId, options LedgerListBySubscriptionOperationOptions) (resp LedgerListBySubscriptionOperationResponse, err error)
LedgerListBySubscription ...
func (ConfidentialLedgerClient) LedgerListBySubscriptionComplete ¶
func (c ConfidentialLedgerClient) LedgerListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options LedgerListBySubscriptionOperationOptions) (LedgerListBySubscriptionCompleteResult, error)
LedgerListBySubscriptionComplete retrieves all of the results into a single object
func (ConfidentialLedgerClient) LedgerListBySubscriptionCompleteMatchingPredicate ¶
func (c ConfidentialLedgerClient) LedgerListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options LedgerListBySubscriptionOperationOptions, predicate ConfidentialLedgerOperationPredicate) (resp LedgerListBySubscriptionCompleteResult, err error)
LedgerListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ConfidentialLedgerClient) LedgerUpdate ¶
func (c ConfidentialLedgerClient) LedgerUpdate(ctx context.Context, id LedgerId, input ConfidentialLedger) (result LedgerUpdateOperationResponse, err error)
LedgerUpdate ...
func (ConfidentialLedgerClient) LedgerUpdateThenPoll ¶
func (c ConfidentialLedgerClient) LedgerUpdateThenPoll(ctx context.Context, id LedgerId, input ConfidentialLedger) error
LedgerUpdateThenPoll performs LedgerUpdate then polls until it's completed
type ConfidentialLedgerOperationPredicate ¶
type ConfidentialLedgerOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (ConfidentialLedgerOperationPredicate) Matches ¶
func (p ConfidentialLedgerOperationPredicate) Matches(input ConfidentialLedger) bool
type LedgerCreateOperationResponse ¶
type LedgerCreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type LedgerDeleteOperationResponse ¶
type LedgerDeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type LedgerGetOperationResponse ¶
type LedgerGetOperationResponse struct { HttpResponse *http.Response Model *ConfidentialLedger }
type LedgerId ¶
LedgerId is a struct representing the Resource ID for a Ledger
func NewLedgerID ¶
NewLedgerID returns a new LedgerId struct
func ParseLedgerID ¶
ParseLedgerID parses 'input' into a LedgerId
func ParseLedgerIDInsensitively ¶
ParseLedgerIDInsensitively parses 'input' case-insensitively into a LedgerId note: this method should only be used for API response data and not user input
func (LedgerId) Segments ¶
func (id LedgerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Ledger ID
type LedgerListByResourceGroupCompleteResult ¶
type LedgerListByResourceGroupCompleteResult struct {
Items []ConfidentialLedger
}
type LedgerListByResourceGroupOperationOptions ¶
type LedgerListByResourceGroupOperationOptions struct {
Filter *string
}
func DefaultLedgerListByResourceGroupOperationOptions ¶
func DefaultLedgerListByResourceGroupOperationOptions() LedgerListByResourceGroupOperationOptions
type LedgerListByResourceGroupOperationResponse ¶
type LedgerListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]ConfidentialLedger // contains filtered or unexported fields }
func (LedgerListByResourceGroupOperationResponse) HasMore ¶
func (r LedgerListByResourceGroupOperationResponse) HasMore() bool
func (LedgerListByResourceGroupOperationResponse) LoadMore ¶
func (r LedgerListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp LedgerListByResourceGroupOperationResponse, err error)
type LedgerListBySubscriptionCompleteResult ¶
type LedgerListBySubscriptionCompleteResult struct {
Items []ConfidentialLedger
}
type LedgerListBySubscriptionOperationOptions ¶
type LedgerListBySubscriptionOperationOptions struct {
Filter *string
}
func DefaultLedgerListBySubscriptionOperationOptions ¶
func DefaultLedgerListBySubscriptionOperationOptions() LedgerListBySubscriptionOperationOptions
type LedgerListBySubscriptionOperationResponse ¶
type LedgerListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]ConfidentialLedger // contains filtered or unexported fields }
func (LedgerListBySubscriptionOperationResponse) HasMore ¶
func (r LedgerListBySubscriptionOperationResponse) HasMore() bool
func (LedgerListBySubscriptionOperationResponse) LoadMore ¶
func (r LedgerListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp LedgerListBySubscriptionOperationResponse, err error)
type LedgerProperties ¶
type LedgerProperties struct { AadBasedSecurityPrincipals *[]AADBasedSecurityPrincipal `json:"aadBasedSecurityPrincipals,omitempty"` CertBasedSecurityPrincipals *[]CertBasedSecurityPrincipal `json:"certBasedSecurityPrincipals,omitempty"` IdentityServiceUri *string `json:"identityServiceUri,omitempty"` LedgerInternalNamespace *string `json:"ledgerInternalNamespace,omitempty"` LedgerName *string `json:"ledgerName,omitempty"` LedgerType *LedgerType `json:"ledgerType,omitempty"` LedgerUri *string `json:"ledgerUri,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type LedgerRoleName ¶
type LedgerRoleName string
const ( LedgerRoleNameAdministrator LedgerRoleName = "Administrator" LedgerRoleNameContributor LedgerRoleName = "Contributor" LedgerRoleNameReader LedgerRoleName = "Reader" )
type LedgerType ¶
type LedgerType string
const ( LedgerTypePrivate LedgerType = "Private" LedgerTypePublic LedgerType = "Public" LedgerTypeUnknown LedgerType = "Unknown" )
type LedgerUpdateOperationResponse ¶
type LedgerUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUnknown ProvisioningState = "Unknown" ProvisioningStateUpdating ProvisioningState = "Updating" )
Source Files ¶
- client.go
- constants.go
- id_ledger.go
- method_ledgercreate_autorest.go
- method_ledgerdelete_autorest.go
- method_ledgerget_autorest.go
- method_ledgerlistbyresourcegroup_autorest.go
- method_ledgerlistbysubscription_autorest.go
- method_ledgerupdate_autorest.go
- model_aadbasedsecurityprincipal.go
- model_certbasedsecurityprincipal.go
- model_confidentialledger.go
- model_ledgerproperties.go
- predicates.go
- version.go