Documentation ¶
Index ¶
- func PossibleValuesForAccessIdName() []string
- func ValidateAccessID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type AccessId
- type AccessIdName
- type AccessInformationContract
- type AccessInformationContractOperationPredicate
- type AccessInformationContractProperties
- type AccessInformationCreateParameterProperties
- type AccessInformationCreateParameters
- type AccessInformationSecretsContract
- type AccessInformationUpdateParameterProperties
- type AccessInformationUpdateParameters
- type CreateOperationOptions
- type CreateOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ListSecretsOperationResponse
- type RegeneratePrimaryKeyOperationResponse
- type RegenerateSecondaryKeyOperationResponse
- type ServiceId
- type TenantAccessClient
- func (c TenantAccessClient) Create(ctx context.Context, id AccessId, input AccessInformationCreateParameters, ...) (result CreateOperationResponse, err error)
- func (c TenantAccessClient) Get(ctx context.Context, id AccessId) (result GetOperationResponse, err error)
- func (c TenantAccessClient) GetEntityTag(ctx context.Context, id AccessId) (result GetEntityTagOperationResponse, err error)
- func (c TenantAccessClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
- func (c TenantAccessClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c TenantAccessClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (resp ListByServiceCompleteResult, err error)
- func (c TenantAccessClient) ListSecrets(ctx context.Context, id AccessId) (result ListSecretsOperationResponse, err error)
- func (c TenantAccessClient) RegeneratePrimaryKey(ctx context.Context, id AccessId) (result RegeneratePrimaryKeyOperationResponse, err error)
- func (c TenantAccessClient) RegenerateSecondaryKey(ctx context.Context, id AccessId) (result RegenerateSecondaryKeyOperationResponse, err error)
- func (c TenantAccessClient) Update(ctx context.Context, id AccessId, input AccessInformationUpdateParameters, ...) (result UpdateOperationResponse, err error)
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessIdName ¶
func PossibleValuesForAccessIdName() []string
func ValidateAccessID ¶ added in v0.20220907.1111434
ValidateAccessID checks that 'input' can be parsed as a Access ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type AccessId ¶ added in v0.20220907.1111434
type AccessId struct { SubscriptionId string ResourceGroupName string ServiceName string AccessName AccessIdName }
AccessId is a struct representing the Resource ID for a Access
func NewAccessID ¶ added in v0.20220907.1111434
func NewAccessID(subscriptionId string, resourceGroupName string, serviceName string, accessName AccessIdName) AccessId
NewAccessID returns a new AccessId struct
func ParseAccessID ¶ added in v0.20220907.1111434
ParseAccessID parses 'input' into a AccessId
func ParseAccessIDInsensitively ¶ added in v0.20220907.1111434
ParseAccessIDInsensitively parses 'input' case-insensitively into a AccessId note: this method should only be used for API response data and not user input
func (AccessId) Segments ¶ added in v0.20220907.1111434
func (id AccessId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Access ID
type AccessIdName ¶
type AccessIdName string
const ( AccessIdNameAccess AccessIdName = "access" AccessIdNameGitAccess AccessIdName = "gitAccess" )
type AccessInformationContract ¶
type AccessInformationContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AccessInformationContractProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type AccessInformationContractOperationPredicate ¶
func (AccessInformationContractOperationPredicate) Matches ¶
func (p AccessInformationContractOperationPredicate) Matches(input AccessInformationContract) bool
type AccessInformationCreateParameters ¶
type AccessInformationCreateParameters struct {
Properties *AccessInformationCreateParameterProperties `json:"properties"`
}
type AccessInformationUpdateParameterProperties ¶
type AccessInformationUpdateParameterProperties struct {
Enabled *bool `json:"enabled,omitempty"`
}
type AccessInformationUpdateParameters ¶
type AccessInformationUpdateParameters struct {
Properties *AccessInformationUpdateParameterProperties `json:"properties"`
}
type CreateOperationOptions ¶
type CreateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOperationOptions ¶
func DefaultCreateOperationOptions() CreateOperationOptions
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response Model *AccessInformationContract }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *AccessInformationContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []AccessInformationContract
}
type ListByServiceOperationOptions ¶
type ListByServiceOperationOptions struct {
Filter *string
}
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]AccessInformationContract // contains filtered or unexported fields }
func (ListByServiceOperationResponse) HasMore ¶
func (r ListByServiceOperationResponse) HasMore() bool
func (ListByServiceOperationResponse) LoadMore ¶
func (r ListByServiceOperationResponse) LoadMore(ctx context.Context) (resp ListByServiceOperationResponse, err error)
type ListSecretsOperationResponse ¶
type ListSecretsOperationResponse struct { HttpResponse *http.Response Model *AccessInformationSecretsContract }
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type TenantAccessClient ¶
func NewTenantAccessClientWithBaseURI ¶
func NewTenantAccessClientWithBaseURI(endpoint string) TenantAccessClient
func (TenantAccessClient) Create ¶
func (c TenantAccessClient) Create(ctx context.Context, id AccessId, input AccessInformationCreateParameters, options CreateOperationOptions) (result CreateOperationResponse, err error)
Create ...
func (TenantAccessClient) Get ¶
func (c TenantAccessClient) Get(ctx context.Context, id AccessId) (result GetOperationResponse, err error)
Get ...
func (TenantAccessClient) GetEntityTag ¶
func (c TenantAccessClient) GetEntityTag(ctx context.Context, id AccessId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (TenantAccessClient) ListByService ¶
func (c TenantAccessClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (TenantAccessClient) ListByServiceComplete ¶
func (c TenantAccessClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (TenantAccessClient) ListByServiceCompleteMatchingPredicate ¶
func (c TenantAccessClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate AccessInformationContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (TenantAccessClient) ListSecrets ¶
func (c TenantAccessClient) ListSecrets(ctx context.Context, id AccessId) (result ListSecretsOperationResponse, err error)
ListSecrets ...
func (TenantAccessClient) RegeneratePrimaryKey ¶
func (c TenantAccessClient) RegeneratePrimaryKey(ctx context.Context, id AccessId) (result RegeneratePrimaryKeyOperationResponse, err error)
RegeneratePrimaryKey ...
func (TenantAccessClient) RegenerateSecondaryKey ¶
func (c TenantAccessClient) RegenerateSecondaryKey(ctx context.Context, id AccessId) (result RegenerateSecondaryKeyOperationResponse, err error)
RegenerateSecondaryKey ...
func (TenantAccessClient) Update ¶
func (c TenantAccessClient) Update(ctx context.Context, id AccessId, input AccessInformationUpdateParameters, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *AccessInformationContract }
Source Files ¶
- client.go
- constants.go
- id_access.go
- id_service.go
- method_create_autorest.go
- method_get_autorest.go
- method_getentitytag_autorest.go
- method_listbyservice_autorest.go
- method_listsecrets_autorest.go
- method_regenerateprimarykey_autorest.go
- method_regeneratesecondarykey_autorest.go
- method_update_autorest.go
- model_accessinformationcontract.go
- model_accessinformationcontractproperties.go
- model_accessinformationcreateparameterproperties.go
- model_accessinformationcreateparameters.go
- model_accessinformationsecretscontract.go
- model_accessinformationupdateparameterproperties.go
- model_accessinformationupdateparameters.go
- predicates.go
- version.go