Documentation ¶
Index ¶
- func PossibleValuesForTrustScopes() []string
- func ValidateProviderLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServerTrustGroupID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByInstanceCompleteResult
- type ListByInstanceOperationResponse
- type ListByLocationCompleteResult
- type ListByLocationOperationResponse
- type ProviderLocationId
- type ServerInfo
- type ServerTrustGroup
- type ServerTrustGroupId
- type ServerTrustGroupOperationPredicate
- type ServerTrustGroupProperties
- type ServerTrustGroupsClient
- func (c ServerTrustGroupsClient) CreateOrUpdate(ctx context.Context, id ServerTrustGroupId, input ServerTrustGroup) (result CreateOrUpdateOperationResponse, err error)
- func (c ServerTrustGroupsClient) CreateOrUpdateThenPoll(ctx context.Context, id ServerTrustGroupId, input ServerTrustGroup) error
- func (c ServerTrustGroupsClient) Delete(ctx context.Context, id ServerTrustGroupId) (result DeleteOperationResponse, err error)
- func (c ServerTrustGroupsClient) DeleteThenPoll(ctx context.Context, id ServerTrustGroupId) error
- func (c ServerTrustGroupsClient) Get(ctx context.Context, id ServerTrustGroupId) (result GetOperationResponse, err error)
- func (c ServerTrustGroupsClient) ListByInstance(ctx context.Context, id commonids.SqlManagedInstanceId) (result ListByInstanceOperationResponse, err error)
- func (c ServerTrustGroupsClient) ListByInstanceComplete(ctx context.Context, id commonids.SqlManagedInstanceId) (ListByInstanceCompleteResult, error)
- func (c ServerTrustGroupsClient) ListByInstanceCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceId, ...) (result ListByInstanceCompleteResult, err error)
- func (c ServerTrustGroupsClient) ListByLocation(ctx context.Context, id ProviderLocationId) (result ListByLocationOperationResponse, err error)
- func (c ServerTrustGroupsClient) ListByLocationComplete(ctx context.Context, id ProviderLocationId) (ListByLocationCompleteResult, error)
- func (c ServerTrustGroupsClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id ProviderLocationId, ...) (result ListByLocationCompleteResult, err error)
- type TrustScopes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForTrustScopes ¶
func PossibleValuesForTrustScopes() []string
func ValidateProviderLocationID ¶
ValidateProviderLocationID checks that 'input' can be parsed as a Provider Location ID
func ValidateServerTrustGroupID ¶
ValidateServerTrustGroupID checks that 'input' can be parsed as a Server Trust Group ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServerTrustGroup }
type ListByInstanceCompleteResult ¶
type ListByInstanceCompleteResult struct {
Items []ServerTrustGroup
}
type ListByInstanceOperationResponse ¶
type ListByInstanceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ServerTrustGroup }
type ListByLocationCompleteResult ¶
type ListByLocationCompleteResult struct {
Items []ServerTrustGroup
}
type ListByLocationOperationResponse ¶
type ListByLocationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ServerTrustGroup }
type ProviderLocationId ¶
type ProviderLocationId struct { SubscriptionId string ResourceGroupName string LocationName string }
ProviderLocationId is a struct representing the Resource ID for a Provider Location
func NewProviderLocationID ¶
func NewProviderLocationID(subscriptionId string, resourceGroupName string, locationName string) ProviderLocationId
NewProviderLocationID returns a new ProviderLocationId struct
func ParseProviderLocationID ¶
func ParseProviderLocationID(input string) (*ProviderLocationId, error)
ParseProviderLocationID parses 'input' into a ProviderLocationId
func ParseProviderLocationIDInsensitively ¶
func ParseProviderLocationIDInsensitively(input string) (*ProviderLocationId, error)
ParseProviderLocationIDInsensitively parses 'input' case-insensitively into a ProviderLocationId note: this method should only be used for API response data and not user input
func (*ProviderLocationId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ProviderLocationId) FromParseResult(input resourceids.ParseResult) error
func (ProviderLocationId) ID ¶
func (id ProviderLocationId) ID() string
ID returns the formatted Provider Location ID
func (ProviderLocationId) Segments ¶
func (id ProviderLocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Location ID
func (ProviderLocationId) String ¶
func (id ProviderLocationId) String() string
String returns a human-readable description of this Provider Location ID
type ServerInfo ¶
type ServerInfo struct {
ServerId string `json:"serverId"`
}
type ServerTrustGroup ¶
type ServerTrustGroup struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ServerTrustGroupProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ServerTrustGroupId ¶
type ServerTrustGroupId struct { SubscriptionId string ResourceGroupName string LocationName string ServerTrustGroupName string }
ServerTrustGroupId is a struct representing the Resource ID for a Server Trust Group
func NewServerTrustGroupID ¶
func NewServerTrustGroupID(subscriptionId string, resourceGroupName string, locationName string, serverTrustGroupName string) ServerTrustGroupId
NewServerTrustGroupID returns a new ServerTrustGroupId struct
func ParseServerTrustGroupID ¶
func ParseServerTrustGroupID(input string) (*ServerTrustGroupId, error)
ParseServerTrustGroupID parses 'input' into a ServerTrustGroupId
func ParseServerTrustGroupIDInsensitively ¶
func ParseServerTrustGroupIDInsensitively(input string) (*ServerTrustGroupId, error)
ParseServerTrustGroupIDInsensitively parses 'input' case-insensitively into a ServerTrustGroupId note: this method should only be used for API response data and not user input
func (*ServerTrustGroupId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ServerTrustGroupId) FromParseResult(input resourceids.ParseResult) error
func (ServerTrustGroupId) ID ¶
func (id ServerTrustGroupId) ID() string
ID returns the formatted Server Trust Group ID
func (ServerTrustGroupId) Segments ¶
func (id ServerTrustGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server Trust Group ID
func (ServerTrustGroupId) String ¶
func (id ServerTrustGroupId) String() string
String returns a human-readable description of this Server Trust Group ID
type ServerTrustGroupOperationPredicate ¶
func (ServerTrustGroupOperationPredicate) Matches ¶
func (p ServerTrustGroupOperationPredicate) Matches(input ServerTrustGroup) bool
type ServerTrustGroupProperties ¶
type ServerTrustGroupProperties struct { GroupMembers []ServerInfo `json:"groupMembers"` TrustScopes []TrustScopes `json:"trustScopes"` }
type ServerTrustGroupsClient ¶
type ServerTrustGroupsClient struct {
Client *resourcemanager.Client
}
func NewServerTrustGroupsClientWithBaseURI ¶
func NewServerTrustGroupsClientWithBaseURI(sdkApi sdkEnv.Api) (*ServerTrustGroupsClient, error)
func (ServerTrustGroupsClient) CreateOrUpdate ¶
func (c ServerTrustGroupsClient) CreateOrUpdate(ctx context.Context, id ServerTrustGroupId, input ServerTrustGroup) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ServerTrustGroupsClient) CreateOrUpdateThenPoll ¶
func (c ServerTrustGroupsClient) CreateOrUpdateThenPoll(ctx context.Context, id ServerTrustGroupId, input ServerTrustGroup) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ServerTrustGroupsClient) Delete ¶
func (c ServerTrustGroupsClient) Delete(ctx context.Context, id ServerTrustGroupId) (result DeleteOperationResponse, err error)
Delete ...
func (ServerTrustGroupsClient) DeleteThenPoll ¶
func (c ServerTrustGroupsClient) DeleteThenPoll(ctx context.Context, id ServerTrustGroupId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ServerTrustGroupsClient) Get ¶
func (c ServerTrustGroupsClient) Get(ctx context.Context, id ServerTrustGroupId) (result GetOperationResponse, err error)
Get ...
func (ServerTrustGroupsClient) ListByInstance ¶
func (c ServerTrustGroupsClient) ListByInstance(ctx context.Context, id commonids.SqlManagedInstanceId) (result ListByInstanceOperationResponse, err error)
ListByInstance ...
func (ServerTrustGroupsClient) ListByInstanceComplete ¶
func (c ServerTrustGroupsClient) ListByInstanceComplete(ctx context.Context, id commonids.SqlManagedInstanceId) (ListByInstanceCompleteResult, error)
ListByInstanceComplete retrieves all the results into a single object
func (ServerTrustGroupsClient) ListByInstanceCompleteMatchingPredicate ¶
func (c ServerTrustGroupsClient) ListByInstanceCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceId, predicate ServerTrustGroupOperationPredicate) (result ListByInstanceCompleteResult, err error)
ListByInstanceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ServerTrustGroupsClient) ListByLocation ¶
func (c ServerTrustGroupsClient) ListByLocation(ctx context.Context, id ProviderLocationId) (result ListByLocationOperationResponse, err error)
ListByLocation ...
func (ServerTrustGroupsClient) ListByLocationComplete ¶
func (c ServerTrustGroupsClient) ListByLocationComplete(ctx context.Context, id ProviderLocationId) (ListByLocationCompleteResult, error)
ListByLocationComplete retrieves all the results into a single object
func (ServerTrustGroupsClient) ListByLocationCompleteMatchingPredicate ¶
func (c ServerTrustGroupsClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id ProviderLocationId, predicate ServerTrustGroupOperationPredicate) (result ListByLocationCompleteResult, err error)
ListByLocationCompleteMatchingPredicate retrieves all the results and then applies the predicate
type TrustScopes ¶
type TrustScopes string
const ( TrustScopesGlobalTransactions TrustScopes = "GlobalTransactions" TrustScopesServiceBroker TrustScopes = "ServiceBroker" )
func (*TrustScopes) UnmarshalJSON ¶
func (s *TrustScopes) UnmarshalJSON(bytes []byte) error