namedvalue

package
v0.20240320.1143605 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2024 License: MPL-2.0 Imports: 13 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/apimanagement/2023-05-01-preview/namedvalue Documentation

The namedvalue SDK allows for interaction with the Azure Resource Manager Service apimanagement (API Version 2023-05-01-preview).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/apimanagement/2023-05-01-preview/namedvalue"

Client Initialization

client := namedvalue.NewNamedValueClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: NamedValueClient.CreateOrUpdate

ctx := context.TODO()
id := namedvalue.NewNamedValueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "namedValueIdValue")

payload := namedvalue.NamedValueCreateContract{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload, namedvalue.DefaultCreateOrUpdateOperationOptions()); err != nil {
	// handle the error
}

Example Usage: NamedValueClient.Delete

ctx := context.TODO()
id := namedvalue.NewNamedValueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "namedValueIdValue")

read, err := client.Delete(ctx, id, namedvalue.DefaultDeleteOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NamedValueClient.Get

ctx := context.TODO()
id := namedvalue.NewNamedValueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "namedValueIdValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NamedValueClient.GetEntityTag

ctx := context.TODO()
id := namedvalue.NewNamedValueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "namedValueIdValue")

read, err := client.GetEntityTag(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NamedValueClient.ListByService

ctx := context.TODO()
id := namedvalue.NewServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue")

// alternatively `client.ListByService(ctx, id, namedvalue.DefaultListByServiceOperationOptions())` can be used to do batched pagination
items, err := client.ListByServiceComplete(ctx, id, namedvalue.DefaultListByServiceOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: NamedValueClient.ListValue

ctx := context.TODO()
id := namedvalue.NewNamedValueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "namedValueIdValue")

read, err := client.ListValue(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NamedValueClient.RefreshSecret

ctx := context.TODO()
id := namedvalue.NewNamedValueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "namedValueIdValue")

if err := client.RefreshSecretThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: NamedValueClient.Update

ctx := context.TODO()
id := namedvalue.NewNamedValueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "namedValueIdValue")

payload := namedvalue.NamedValueUpdateParameters{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload, namedvalue.DefaultUpdateOperationOptions()); err != nil {
	// handle the error
}

Example Usage: NamedValueClient.WorkspaceNamedValueCreateOrUpdate

ctx := context.TODO()
id := namedvalue.NewWorkspaceNamedValueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue", "namedValueIdValue")

payload := namedvalue.NamedValueCreateContract{
	// ...
}


if err := client.WorkspaceNamedValueCreateOrUpdateThenPoll(ctx, id, payload, namedvalue.DefaultWorkspaceNamedValueCreateOrUpdateOperationOptions()); err != nil {
	// handle the error
}

Example Usage: NamedValueClient.WorkspaceNamedValueDelete

ctx := context.TODO()
id := namedvalue.NewWorkspaceNamedValueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue", "namedValueIdValue")

read, err := client.WorkspaceNamedValueDelete(ctx, id, namedvalue.DefaultWorkspaceNamedValueDeleteOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NamedValueClient.WorkspaceNamedValueGet

ctx := context.TODO()
id := namedvalue.NewWorkspaceNamedValueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue", "namedValueIdValue")

read, err := client.WorkspaceNamedValueGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NamedValueClient.WorkspaceNamedValueGetEntityTag

ctx := context.TODO()
id := namedvalue.NewWorkspaceNamedValueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue", "namedValueIdValue")

read, err := client.WorkspaceNamedValueGetEntityTag(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NamedValueClient.WorkspaceNamedValueListByService

ctx := context.TODO()
id := namedvalue.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue")

// alternatively `client.WorkspaceNamedValueListByService(ctx, id, namedvalue.DefaultWorkspaceNamedValueListByServiceOperationOptions())` can be used to do batched pagination
items, err := client.WorkspaceNamedValueListByServiceComplete(ctx, id, namedvalue.DefaultWorkspaceNamedValueListByServiceOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: NamedValueClient.WorkspaceNamedValueListValue

ctx := context.TODO()
id := namedvalue.NewWorkspaceNamedValueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue", "namedValueIdValue")

read, err := client.WorkspaceNamedValueListValue(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: NamedValueClient.WorkspaceNamedValueRefreshSecret

ctx := context.TODO()
id := namedvalue.NewWorkspaceNamedValueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue", "namedValueIdValue")

if err := client.WorkspaceNamedValueRefreshSecretThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: NamedValueClient.WorkspaceNamedValueUpdate

ctx := context.TODO()
id := namedvalue.NewWorkspaceNamedValueID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue", "namedValueIdValue")

payload := namedvalue.NamedValueUpdateParameters{
	// ...
}


if err := client.WorkspaceNamedValueUpdateThenPoll(ctx, id, payload, namedvalue.DefaultWorkspaceNamedValueUpdateOperationOptions()); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForKeyVaultRefreshState

func PossibleValuesForKeyVaultRefreshState() []string

func ValidateNamedValueID

func ValidateNamedValueID(input interface{}, key string) (warnings []string, errors []error)

ValidateNamedValueID checks that 'input' can be parsed as a Named Value ID

func ValidateServiceID

func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)

ValidateServiceID checks that 'input' can be parsed as a Service ID

func ValidateWorkspaceID

func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)

ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID

func ValidateWorkspaceNamedValueID

func ValidateWorkspaceNamedValueID(input interface{}, key string) (warnings []string, errors []error)

ValidateWorkspaceNamedValueID checks that 'input' can be parsed as a Workspace Named Value ID

Types

type CreateOrUpdateOperationOptions

type CreateOrUpdateOperationOptions struct {
	IfMatch *string
}

func DefaultCreateOrUpdateOperationOptions

func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions

func (CreateOrUpdateOperationOptions) ToHeaders

func (CreateOrUpdateOperationOptions) ToOData

func (CreateOrUpdateOperationOptions) ToQuery

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NamedValueContract
}

type DeleteOperationOptions

type DeleteOperationOptions struct {
	IfMatch *string
}

func DefaultDeleteOperationOptions

func DefaultDeleteOperationOptions() DeleteOperationOptions

func (DeleteOperationOptions) ToHeaders

func (o DeleteOperationOptions) ToHeaders() *client.Headers

func (DeleteOperationOptions) ToOData

func (o DeleteOperationOptions) ToOData() *odata.Query

func (DeleteOperationOptions) ToQuery

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetEntityTagOperationResponse

type GetEntityTagOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NamedValueContract
}

type KeyVaultContractCreateProperties

type KeyVaultContractCreateProperties struct {
	IdentityClientId *string `json:"identityClientId,omitempty"`
	SecretIdentifier *string `json:"secretIdentifier,omitempty"`
}

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 KeyVaultRefreshState

type KeyVaultRefreshState string
const (
	KeyVaultRefreshStateFalse KeyVaultRefreshState = "false"
	KeyVaultRefreshStateTrue  KeyVaultRefreshState = "true"
)

func (*KeyVaultRefreshState) UnmarshalJSON

func (s *KeyVaultRefreshState) UnmarshalJSON(bytes []byte) error

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

func (ListByServiceOperationOptions) ToOData

func (ListByServiceOperationOptions) ToQuery

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

CreateOrUpdate ...

func (NamedValueClient) CreateOrUpdateThenPoll

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (NamedValueClient) Delete

Delete ...

func (NamedValueClient) Get

Get ...

func (NamedValueClient) GetEntityTag

func (c NamedValueClient) GetEntityTag(ctx context.Context, id NamedValueId) (result GetEntityTagOperationResponse, err error)

GetEntityTag ...

func (NamedValueClient) ListByService

ListByService ...

func (NamedValueClient) ListByServiceComplete

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

Update ...

func (NamedValueClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

func (NamedValueClient) WorkspaceNamedValueCreateOrUpdate

WorkspaceNamedValueCreateOrUpdate ...

func (NamedValueClient) WorkspaceNamedValueCreateOrUpdateThenPoll

WorkspaceNamedValueCreateOrUpdateThenPoll performs WorkspaceNamedValueCreateOrUpdate then polls until it's completed

func (NamedValueClient) WorkspaceNamedValueDelete

WorkspaceNamedValueDelete ...

func (NamedValueClient) WorkspaceNamedValueGet

WorkspaceNamedValueGet ...

func (NamedValueClient) WorkspaceNamedValueGetEntityTag

func (c NamedValueClient) WorkspaceNamedValueGetEntityTag(ctx context.Context, id WorkspaceNamedValueId) (result WorkspaceNamedValueGetEntityTagOperationResponse, err error)

WorkspaceNamedValueGetEntityTag ...

func (NamedValueClient) WorkspaceNamedValueListByService

WorkspaceNamedValueListByService ...

func (NamedValueClient) WorkspaceNamedValueListByServiceComplete

WorkspaceNamedValueListByServiceComplete retrieves all the results into a single object

func (NamedValueClient) WorkspaceNamedValueListByServiceCompleteMatchingPredicate

func (c NamedValueClient) WorkspaceNamedValueListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options WorkspaceNamedValueListByServiceOperationOptions, predicate NamedValueContractOperationPredicate) (result WorkspaceNamedValueListByServiceCompleteResult, err error)

WorkspaceNamedValueListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (NamedValueClient) WorkspaceNamedValueListValue

func (c NamedValueClient) WorkspaceNamedValueListValue(ctx context.Context, id WorkspaceNamedValueId) (result WorkspaceNamedValueListValueOperationResponse, err error)

WorkspaceNamedValueListValue ...

func (NamedValueClient) WorkspaceNamedValueRefreshSecret

func (c NamedValueClient) WorkspaceNamedValueRefreshSecret(ctx context.Context, id WorkspaceNamedValueId) (result WorkspaceNamedValueRefreshSecretOperationResponse, err error)

WorkspaceNamedValueRefreshSecret ...

func (NamedValueClient) WorkspaceNamedValueRefreshSecretThenPoll

func (c NamedValueClient) WorkspaceNamedValueRefreshSecretThenPoll(ctx context.Context, id WorkspaceNamedValueId) error

WorkspaceNamedValueRefreshSecretThenPoll performs WorkspaceNamedValueRefreshSecret then polls until it's completed

func (NamedValueClient) WorkspaceNamedValueUpdate

WorkspaceNamedValueUpdate ...

func (NamedValueClient) WorkspaceNamedValueUpdateThenPoll

WorkspaceNamedValueUpdateThenPoll performs WorkspaceNamedValueUpdate 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

type NamedValueContractOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (NamedValueContractOperationPredicate) Matches

type NamedValueContractProperties

type NamedValueContractProperties struct {
	DisplayName       string                      `json:"displayName"`
	KeyVault          *KeyVaultContractProperties `json:"keyVault,omitempty"`
	ProvisioningState *string                     `json:"provisioningState,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

func (id *NamedValueId) FromParseResult(input resourceids.ParseResult) error

func (NamedValueId) ID

func (id NamedValueId) ID() string

ID returns the formatted Named Value ID

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 RefreshSecretOperationResponse

type RefreshSecretOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NamedValueContract
}

type ServiceId

type ServiceId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServiceName       string
}

ServiceId is a struct representing the Resource ID for a Service

func NewServiceID

func NewServiceID(subscriptionId string, resourceGroupName string, serviceName string) ServiceId

NewServiceID returns a new ServiceId struct

func ParseServiceID

func ParseServiceID(input string) (*ServiceId, error)

ParseServiceID parses 'input' into a ServiceId

func ParseServiceIDInsensitively

func ParseServiceIDInsensitively(input string) (*ServiceId, error)

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

func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error

func (ServiceId) ID

func (id ServiceId) ID() string

ID returns the formatted Service ID

func (ServiceId) Segments

func (id ServiceId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Service ID

func (ServiceId) String

func (id ServiceId) String() string

String returns a human-readable description of this Service ID

type UpdateOperationOptions

type UpdateOperationOptions struct {
	IfMatch *string
}

func DefaultUpdateOperationOptions

func DefaultUpdateOperationOptions() UpdateOperationOptions

func (UpdateOperationOptions) ToHeaders

func (o UpdateOperationOptions) ToHeaders() *client.Headers

func (UpdateOperationOptions) ToOData

func (o UpdateOperationOptions) ToOData() *odata.Query

func (UpdateOperationOptions) ToQuery

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NamedValueContract
}

type WorkspaceId

type WorkspaceId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServiceName       string
	WorkspaceId       string
}

WorkspaceId is a struct representing the Resource ID for a Workspace

func NewWorkspaceID

func NewWorkspaceID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string) WorkspaceId

NewWorkspaceID returns a new WorkspaceId struct

func ParseWorkspaceID

func ParseWorkspaceID(input string) (*WorkspaceId, error)

ParseWorkspaceID parses 'input' into a WorkspaceId

func ParseWorkspaceIDInsensitively

func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)

ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input

func (*WorkspaceId) FromParseResult

func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error

func (WorkspaceId) ID

func (id WorkspaceId) ID() string

ID returns the formatted Workspace ID

func (WorkspaceId) Segments

func (id WorkspaceId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Workspace ID

func (WorkspaceId) String

func (id WorkspaceId) String() string

String returns a human-readable description of this Workspace ID

type WorkspaceNamedValueCreateOrUpdateOperationOptions

type WorkspaceNamedValueCreateOrUpdateOperationOptions struct {
	IfMatch *string
}

func DefaultWorkspaceNamedValueCreateOrUpdateOperationOptions

func DefaultWorkspaceNamedValueCreateOrUpdateOperationOptions() WorkspaceNamedValueCreateOrUpdateOperationOptions

func (WorkspaceNamedValueCreateOrUpdateOperationOptions) ToHeaders

func (WorkspaceNamedValueCreateOrUpdateOperationOptions) ToOData

func (WorkspaceNamedValueCreateOrUpdateOperationOptions) ToQuery

type WorkspaceNamedValueCreateOrUpdateOperationResponse

type WorkspaceNamedValueCreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NamedValueContract
}

type WorkspaceNamedValueDeleteOperationOptions

type WorkspaceNamedValueDeleteOperationOptions struct {
	IfMatch *string
}

func DefaultWorkspaceNamedValueDeleteOperationOptions

func DefaultWorkspaceNamedValueDeleteOperationOptions() WorkspaceNamedValueDeleteOperationOptions

func (WorkspaceNamedValueDeleteOperationOptions) ToHeaders

func (WorkspaceNamedValueDeleteOperationOptions) ToOData

func (WorkspaceNamedValueDeleteOperationOptions) ToQuery

type WorkspaceNamedValueDeleteOperationResponse

type WorkspaceNamedValueDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type WorkspaceNamedValueGetEntityTagOperationResponse

type WorkspaceNamedValueGetEntityTagOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type WorkspaceNamedValueGetOperationResponse

type WorkspaceNamedValueGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NamedValueContract
}

type WorkspaceNamedValueId

type WorkspaceNamedValueId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServiceName       string
	WorkspaceId       string
	NamedValueId      string
}

WorkspaceNamedValueId is a struct representing the Resource ID for a Workspace Named Value

func NewWorkspaceNamedValueID

func NewWorkspaceNamedValueID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, namedValueId string) WorkspaceNamedValueId

NewWorkspaceNamedValueID returns a new WorkspaceNamedValueId struct

func ParseWorkspaceNamedValueID

func ParseWorkspaceNamedValueID(input string) (*WorkspaceNamedValueId, error)

ParseWorkspaceNamedValueID parses 'input' into a WorkspaceNamedValueId

func ParseWorkspaceNamedValueIDInsensitively

func ParseWorkspaceNamedValueIDInsensitively(input string) (*WorkspaceNamedValueId, error)

ParseWorkspaceNamedValueIDInsensitively parses 'input' case-insensitively into a WorkspaceNamedValueId note: this method should only be used for API response data and not user input

func (*WorkspaceNamedValueId) FromParseResult

func (id *WorkspaceNamedValueId) FromParseResult(input resourceids.ParseResult) error

func (WorkspaceNamedValueId) ID

func (id WorkspaceNamedValueId) ID() string

ID returns the formatted Workspace Named Value ID

func (WorkspaceNamedValueId) Segments

func (id WorkspaceNamedValueId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Workspace Named Value ID

func (WorkspaceNamedValueId) String

func (id WorkspaceNamedValueId) String() string

String returns a human-readable description of this Workspace Named Value ID

type WorkspaceNamedValueListByServiceCompleteResult

type WorkspaceNamedValueListByServiceCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []NamedValueContract
}

type WorkspaceNamedValueListByServiceOperationOptions

type WorkspaceNamedValueListByServiceOperationOptions struct {
	Filter                  *string
	IsKeyVaultRefreshFailed *KeyVaultRefreshState
	Skip                    *int64
	Top                     *int64
}

func DefaultWorkspaceNamedValueListByServiceOperationOptions

func DefaultWorkspaceNamedValueListByServiceOperationOptions() WorkspaceNamedValueListByServiceOperationOptions

func (WorkspaceNamedValueListByServiceOperationOptions) ToHeaders

func (WorkspaceNamedValueListByServiceOperationOptions) ToOData

func (WorkspaceNamedValueListByServiceOperationOptions) ToQuery

type WorkspaceNamedValueListByServiceOperationResponse

type WorkspaceNamedValueListByServiceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]NamedValueContract
}

type WorkspaceNamedValueListValueOperationResponse

type WorkspaceNamedValueListValueOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NamedValueSecretContract
}

type WorkspaceNamedValueRefreshSecretOperationResponse

type WorkspaceNamedValueRefreshSecretOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NamedValueContract
}

type WorkspaceNamedValueUpdateOperationOptions

type WorkspaceNamedValueUpdateOperationOptions struct {
	IfMatch *string
}

func DefaultWorkspaceNamedValueUpdateOperationOptions

func DefaultWorkspaceNamedValueUpdateOperationOptions() WorkspaceNamedValueUpdateOperationOptions

func (WorkspaceNamedValueUpdateOperationOptions) ToHeaders

func (WorkspaceNamedValueUpdateOperationOptions) ToOData

func (WorkspaceNamedValueUpdateOperationOptions) ToQuery

type WorkspaceNamedValueUpdateOperationResponse

type WorkspaceNamedValueUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NamedValueContract
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL