Documentation ¶
Index ¶
- func ValidateNamedValueID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type KeyVaultContractCreateProperties
- type KeyVaultContractProperties
- type KeyVaultLastAccessStatusContractProperties
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ListValueOperationResponse
- type NamedValueClient
- func (c NamedValueClient) CreateOrUpdate(ctx context.Context, id NamedValueId, input NamedValueCreateContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c NamedValueClient) CreateOrUpdateThenPoll(ctx context.Context, id NamedValueId, input NamedValueCreateContract, ...) error
- func (c NamedValueClient) Delete(ctx context.Context, id NamedValueId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c NamedValueClient) Get(ctx context.Context, id NamedValueId) (result GetOperationResponse, err error)
- func (c NamedValueClient) GetEntityTag(ctx context.Context, id NamedValueId) (result GetEntityTagOperationResponse, err error)
- func (c NamedValueClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c NamedValueClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c NamedValueClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- func (c NamedValueClient) ListValue(ctx context.Context, id NamedValueId) (result ListValueOperationResponse, err error)
- func (c NamedValueClient) RefreshSecret(ctx context.Context, id NamedValueId) (result RefreshSecretOperationResponse, err error)
- func (c NamedValueClient) RefreshSecretThenPoll(ctx context.Context, id NamedValueId) error
- func (c NamedValueClient) Update(ctx context.Context, id NamedValueId, input NamedValueUpdateParameters, ...) (result UpdateOperationResponse, err error)
- func (c NamedValueClient) UpdateThenPoll(ctx context.Context, id NamedValueId, input NamedValueUpdateParameters, ...) error
- type NamedValueContract
- type NamedValueContractOperationPredicate
- type NamedValueContractProperties
- type NamedValueCreateContract
- type NamedValueCreateContractProperties
- type NamedValueId
- type NamedValueSecretContract
- type NamedValueUpdateParameterProperties
- type NamedValueUpdateParameters
- type RefreshSecretOperationResponse
- type ServiceId
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateNamedValueID ¶
ValidateNamedValueID checks that 'input' can be parsed as a Named Value ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NamedValueContract }
type KeyVaultContractProperties ¶
type KeyVaultContractProperties struct { IdentityClientId *string `json:"identityClientId,omitempty"` LastStatus *KeyVaultLastAccessStatusContractProperties `json:"lastStatus,omitempty"` SecretIdentifier *string `json:"secretIdentifier,omitempty"` }
type KeyVaultLastAccessStatusContractProperties ¶
type KeyVaultLastAccessStatusContractProperties struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` TimeStampUtc *string `json:"timeStampUtc,omitempty"` }
func (*KeyVaultLastAccessStatusContractProperties) GetTimeStampUtcAsTime ¶
func (o *KeyVaultLastAccessStatusContractProperties) GetTimeStampUtcAsTime() (*time.Time, error)
func (*KeyVaultLastAccessStatusContractProperties) SetTimeStampUtcAsTime ¶
func (o *KeyVaultLastAccessStatusContractProperties) SetTimeStampUtcAsTime(input time.Time)
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []NamedValueContract }
type ListByServiceOperationOptions ¶
type ListByServiceOperationOptions struct { Filter *string IsKeyVaultRefreshFailed *bool Skip *int64 Top *int64 }
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NamedValueContract }
type ListValueOperationResponse ¶
type ListValueOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NamedValueSecretContract }
type NamedValueClient ¶
type NamedValueClient struct {
Client *resourcemanager.Client
}
func NewNamedValueClientWithBaseURI ¶
func NewNamedValueClientWithBaseURI(sdkApi sdkEnv.Api) (*NamedValueClient, error)
func (NamedValueClient) CreateOrUpdate ¶
func (c NamedValueClient) CreateOrUpdate(ctx context.Context, id NamedValueId, input NamedValueCreateContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (NamedValueClient) CreateOrUpdateThenPoll ¶
func (c NamedValueClient) CreateOrUpdateThenPoll(ctx context.Context, id NamedValueId, input NamedValueCreateContract, options CreateOrUpdateOperationOptions) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (NamedValueClient) Delete ¶
func (c NamedValueClient) Delete(ctx context.Context, id NamedValueId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (NamedValueClient) Get ¶
func (c NamedValueClient) Get(ctx context.Context, id NamedValueId) (result GetOperationResponse, err error)
Get ...
func (NamedValueClient) GetEntityTag ¶
func (c NamedValueClient) GetEntityTag(ctx context.Context, id NamedValueId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (NamedValueClient) ListByService ¶
func (c NamedValueClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (NamedValueClient) ListByServiceComplete ¶
func (c NamedValueClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (NamedValueClient) ListByServiceCompleteMatchingPredicate ¶
func (c NamedValueClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate NamedValueContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (NamedValueClient) ListValue ¶
func (c NamedValueClient) ListValue(ctx context.Context, id NamedValueId) (result ListValueOperationResponse, err error)
ListValue ...
func (NamedValueClient) RefreshSecret ¶
func (c NamedValueClient) RefreshSecret(ctx context.Context, id NamedValueId) (result RefreshSecretOperationResponse, err error)
RefreshSecret ...
func (NamedValueClient) RefreshSecretThenPoll ¶
func (c NamedValueClient) RefreshSecretThenPoll(ctx context.Context, id NamedValueId) error
RefreshSecretThenPoll performs RefreshSecret then polls until it's completed
func (NamedValueClient) Update ¶
func (c NamedValueClient) Update(ctx context.Context, id NamedValueId, input NamedValueUpdateParameters, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
func (NamedValueClient) UpdateThenPoll ¶
func (c NamedValueClient) UpdateThenPoll(ctx context.Context, id NamedValueId, input NamedValueUpdateParameters, options UpdateOperationOptions) error
UpdateThenPoll performs Update then polls until it's completed
type NamedValueContract ¶
type NamedValueContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *NamedValueContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type NamedValueContractOperationPredicate ¶
func (NamedValueContractOperationPredicate) Matches ¶
func (p NamedValueContractOperationPredicate) Matches(input NamedValueContract) bool
type NamedValueContractProperties ¶
type NamedValueContractProperties struct { DisplayName string `json:"displayName"` KeyVault *KeyVaultContractProperties `json:"keyVault,omitempty"` Secret *bool `json:"secret,omitempty"` Tags *[]string `json:"tags,omitempty"` Value *string `json:"value,omitempty"` }
type NamedValueCreateContract ¶
type NamedValueCreateContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *NamedValueCreateContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type NamedValueCreateContractProperties ¶
type NamedValueCreateContractProperties struct { DisplayName string `json:"displayName"` KeyVault *KeyVaultContractCreateProperties `json:"keyVault,omitempty"` Secret *bool `json:"secret,omitempty"` Tags *[]string `json:"tags,omitempty"` Value *string `json:"value,omitempty"` }
type NamedValueId ¶
type NamedValueId struct { SubscriptionId string ResourceGroupName string ServiceName string NamedValueId string }
NamedValueId is a struct representing the Resource ID for a Named Value
func NewNamedValueID ¶
func NewNamedValueID(subscriptionId string, resourceGroupName string, serviceName string, namedValueId string) NamedValueId
NewNamedValueID returns a new NamedValueId struct
func ParseNamedValueID ¶
func ParseNamedValueID(input string) (*NamedValueId, error)
ParseNamedValueID parses 'input' into a NamedValueId
func ParseNamedValueIDInsensitively ¶
func ParseNamedValueIDInsensitively(input string) (*NamedValueId, error)
ParseNamedValueIDInsensitively parses 'input' case-insensitively into a NamedValueId note: this method should only be used for API response data and not user input
func (*NamedValueId) FromParseResult ¶ added in v0.20231127.1171502
func (id *NamedValueId) FromParseResult(input resourceids.ParseResult) error
func (NamedValueId) Segments ¶
func (id NamedValueId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Named Value ID
func (NamedValueId) String ¶
func (id NamedValueId) String() string
String returns a human-readable description of this Named Value ID
type NamedValueSecretContract ¶
type NamedValueSecretContract struct {
Value *string `json:"value,omitempty"`
}
type NamedValueUpdateParameterProperties ¶
type NamedValueUpdateParameterProperties struct { DisplayName *string `json:"displayName,omitempty"` KeyVault *KeyVaultContractCreateProperties `json:"keyVault,omitempty"` Secret *bool `json:"secret,omitempty"` Tags *[]string `json:"tags,omitempty"` Value *string `json:"value,omitempty"` }
type NamedValueUpdateParameters ¶
type NamedValueUpdateParameters struct {
Properties *NamedValueUpdateParameterProperties `json:"properties,omitempty"`
}
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
func (UpdateOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- id_namedvalue.go
- id_service.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getentitytag.go
- method_listbyservice.go
- method_listvalue.go
- method_refreshsecret.go
- method_update.go
- model_keyvaultcontractcreateproperties.go
- model_keyvaultcontractproperties.go
- model_keyvaultlastaccessstatuscontractproperties.go
- model_namedvaluecontract.go
- model_namedvaluecontractproperties.go
- model_namedvaluecreatecontract.go
- model_namedvaluecreatecontractproperties.go
- model_namedvaluesecretcontract.go
- model_namedvalueupdateparameterproperties.go
- model_namedvalueupdateparameters.go
- predicates.go
- version.go