Documentation ¶
Index ¶
- func PossibleValuesForClientCertificateValidationScheme() []string
- func PossibleValuesForClientProvisioningState() []string
- func PossibleValuesForClientState() []string
- func ValidateClientID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- type Client
- type ClientCertificateAuthentication
- type ClientCertificateValidationScheme
- type ClientId
- type ClientOperationPredicate
- type ClientProperties
- type ClientProvisioningState
- type ClientState
- type ClientsClient
- func (c ClientsClient) CreateOrUpdate(ctx context.Context, id ClientId, input Client) (result CreateOrUpdateOperationResponse, err error)
- func (c ClientsClient) CreateOrUpdateThenPoll(ctx context.Context, id ClientId, input Client) error
- func (c ClientsClient) Delete(ctx context.Context, id ClientId) (result DeleteOperationResponse, err error)
- func (c ClientsClient) DeleteThenPoll(ctx context.Context, id ClientId) error
- func (c ClientsClient) Get(ctx context.Context, id ClientId) (result GetOperationResponse, err error)
- func (c ClientsClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (result ListByNamespaceOperationResponse, err error)
- func (c ClientsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
- func (c ClientsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, ...) (result ListByNamespaceCompleteResult, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByNamespaceCompleteResult
- type ListByNamespaceCustomPager
- type ListByNamespaceOperationOptions
- type ListByNamespaceOperationResponse
- type NamespaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForClientCertificateValidationScheme ¶
func PossibleValuesForClientCertificateValidationScheme() []string
func PossibleValuesForClientProvisioningState ¶
func PossibleValuesForClientProvisioningState() []string
func PossibleValuesForClientState ¶
func PossibleValuesForClientState() []string
func ValidateClientID ¶
ValidateClientID checks that 'input' can be parsed as a Client ID
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
Types ¶
type Client ¶
type Client struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ClientProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ClientCertificateAuthentication ¶
type ClientCertificateAuthentication struct { AllowedThumbprints *[]string `json:"allowedThumbprints,omitempty"` ValidationScheme *ClientCertificateValidationScheme `json:"validationScheme,omitempty"` }
type ClientCertificateValidationScheme ¶
type ClientCertificateValidationScheme string
const ( ClientCertificateValidationSchemeDnsMatchesAuthenticationName ClientCertificateValidationScheme = "DnsMatchesAuthenticationName" ClientCertificateValidationSchemeEmailMatchesAuthenticationName ClientCertificateValidationScheme = "EmailMatchesAuthenticationName" ClientCertificateValidationSchemeIPMatchesAuthenticationName ClientCertificateValidationScheme = "IpMatchesAuthenticationName" ClientCertificateValidationSchemeSubjectMatchesAuthenticationName ClientCertificateValidationScheme = "SubjectMatchesAuthenticationName" ClientCertificateValidationSchemeThumbprintMatch ClientCertificateValidationScheme = "ThumbprintMatch" ClientCertificateValidationSchemeUriMatchesAuthenticationName ClientCertificateValidationScheme = "UriMatchesAuthenticationName" )
func (*ClientCertificateValidationScheme) UnmarshalJSON ¶
func (s *ClientCertificateValidationScheme) UnmarshalJSON(bytes []byte) error
type ClientId ¶
type ClientId struct { SubscriptionId string ResourceGroupName string NamespaceName string ClientName string }
ClientId is a struct representing the Resource ID for a Client
func NewClientID ¶
func NewClientID(subscriptionId string, resourceGroupName string, namespaceName string, clientName string) ClientId
NewClientID returns a new ClientId struct
func ParseClientID ¶
ParseClientID parses 'input' into a ClientId
func ParseClientIDInsensitively ¶
ParseClientIDInsensitively parses 'input' case-insensitively into a ClientId note: this method should only be used for API response data and not user input
func (*ClientId) FromParseResult ¶
func (id *ClientId) FromParseResult(input resourceids.ParseResult) error
func (ClientId) Segments ¶
func (id ClientId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Client ID
type ClientOperationPredicate ¶
func (ClientOperationPredicate) Matches ¶
func (p ClientOperationPredicate) Matches(input Client) bool
type ClientProperties ¶
type ClientProperties struct { Attributes *interface{} `json:"attributes,omitempty"` AuthenticationName *string `json:"authenticationName,omitempty"` ClientCertificateAuthentication *ClientCertificateAuthentication `json:"clientCertificateAuthentication,omitempty"` Description *string `json:"description,omitempty"` ProvisioningState *ClientProvisioningState `json:"provisioningState,omitempty"` State *ClientState `json:"state,omitempty"` }
type ClientProvisioningState ¶
type ClientProvisioningState string
const ( ClientProvisioningStateCanceled ClientProvisioningState = "Canceled" ClientProvisioningStateCreating ClientProvisioningState = "Creating" ClientProvisioningStateDeleted ClientProvisioningState = "Deleted" ClientProvisioningStateDeleting ClientProvisioningState = "Deleting" ClientProvisioningStateFailed ClientProvisioningState = "Failed" ClientProvisioningStateSucceeded ClientProvisioningState = "Succeeded" ClientProvisioningStateUpdating ClientProvisioningState = "Updating" )
func (*ClientProvisioningState) UnmarshalJSON ¶
func (s *ClientProvisioningState) UnmarshalJSON(bytes []byte) error
type ClientState ¶
type ClientState string
const ( ClientStateDisabled ClientState = "Disabled" ClientStateEnabled ClientState = "Enabled" )
func (*ClientState) UnmarshalJSON ¶
func (s *ClientState) UnmarshalJSON(bytes []byte) error
type ClientsClient ¶
type ClientsClient struct {
Client *resourcemanager.Client
}
func NewClientsClientWithBaseURI ¶
func NewClientsClientWithBaseURI(sdkApi sdkEnv.Api) (*ClientsClient, error)
func (ClientsClient) CreateOrUpdate ¶
func (c ClientsClient) CreateOrUpdate(ctx context.Context, id ClientId, input Client) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ClientsClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ClientsClient) Delete ¶
func (c ClientsClient) Delete(ctx context.Context, id ClientId) (result DeleteOperationResponse, err error)
Delete ...
func (ClientsClient) DeleteThenPoll ¶
func (c ClientsClient) DeleteThenPoll(ctx context.Context, id ClientId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ClientsClient) Get ¶
func (c ClientsClient) Get(ctx context.Context, id ClientId) (result GetOperationResponse, err error)
Get ...
func (ClientsClient) ListByNamespace ¶
func (c ClientsClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (result ListByNamespaceOperationResponse, err error)
ListByNamespace ...
func (ClientsClient) ListByNamespaceComplete ¶
func (c ClientsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
ListByNamespaceComplete retrieves all the results into a single object
func (ClientsClient) ListByNamespaceCompleteMatchingPredicate ¶
func (c ClientsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, predicate ClientOperationPredicate) (result ListByNamespaceCompleteResult, err error)
ListByNamespaceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListByNamespaceCustomPager ¶ added in v0.20240628.1153531
func (*ListByNamespaceCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByNamespaceCustomPager) NextPageLink() *odata.Link
type ListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions() ListByNamespaceOperationOptions
func (ListByNamespaceOperationOptions) ToHeaders ¶
func (o ListByNamespaceOperationOptions) ToHeaders() *client.Headers
func (ListByNamespaceOperationOptions) ToOData ¶
func (o ListByNamespaceOperationOptions) ToOData() *odata.Query
func (ListByNamespaceOperationOptions) ToQuery ¶
func (o ListByNamespaceOperationOptions) ToQuery() *client.QueryParams
type NamespaceId ¶
NamespaceId is a struct representing the Resource ID for a Namespace
func NewNamespaceID ¶
func NewNamespaceID(subscriptionId string, resourceGroupName string, namespaceName string) NamespaceId
NewNamespaceID returns a new NamespaceId struct
func ParseNamespaceID ¶
func ParseNamespaceID(input string) (*NamespaceId, error)
ParseNamespaceID parses 'input' into a NamespaceId
func ParseNamespaceIDInsensitively ¶
func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error)
ParseNamespaceIDInsensitively parses 'input' case-insensitively into a NamespaceId note: this method should only be used for API response data and not user input
func (*NamespaceId) FromParseResult ¶
func (id *NamespaceId) FromParseResult(input resourceids.ParseResult) error
func (NamespaceId) Segments ¶
func (id NamespaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Namespace ID
func (NamespaceId) String ¶
func (id NamespaceId) String() string
String returns a human-readable description of this Namespace ID