Documentation ¶
Index ¶
- func PossibleValuesForEndPointProvisioningState() []string
- func PossibleValuesForKeySource() []string
- func PossibleValuesForPrivateLinkConnectionStatus() []string
- func PossibleValuesForPublicNetworkAccess() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForSkuTier() []string
- func PossibleValuesForTlsVersion() []string
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- type ConnectionState
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EHNamespace
- type EHNamespaceOperationPredicate
- type EHNamespaceProperties
- type Encryption
- type EndPointProvisioningState
- type GetOperationResponse
- type KeySource
- type KeyVaultProperties
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type NamespaceId
- type NamespacesClient
- func (c NamespacesClient) CreateOrUpdate(ctx context.Context, id NamespaceId, input EHNamespace) (result CreateOrUpdateOperationResponse, err error)
- func (c NamespacesClient) CreateOrUpdateThenPoll(ctx context.Context, id NamespaceId, input EHNamespace) error
- func (c NamespacesClient) Delete(ctx context.Context, id NamespaceId) (result DeleteOperationResponse, err error)
- func (c NamespacesClient) DeleteThenPoll(ctx context.Context, id NamespaceId) error
- func (c NamespacesClient) Get(ctx context.Context, id NamespaceId) (result GetOperationResponse, err error)
- func (c NamespacesClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c NamespacesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c NamespacesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c NamespacesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c NamespacesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c NamespacesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c NamespacesClient) Update(ctx context.Context, id NamespaceId, input EHNamespace) (result UpdateOperationResponse, err error)
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateLinkConnectionStatus
- type PublicNetworkAccess
- type Sku
- type SkuName
- type SkuTier
- type TlsVersion
- type UpdateOperationResponse
- type UserAssignedIdentityProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEndPointProvisioningState ¶
func PossibleValuesForEndPointProvisioningState() []string
func PossibleValuesForKeySource ¶
func PossibleValuesForKeySource() []string
func PossibleValuesForPrivateLinkConnectionStatus ¶
func PossibleValuesForPrivateLinkConnectionStatus() []string
func PossibleValuesForPublicNetworkAccess ¶
func PossibleValuesForPublicNetworkAccess() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func PossibleValuesForTlsVersion ¶
func PossibleValuesForTlsVersion() []string
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
Types ¶
type ConnectionState ¶
type ConnectionState struct { Description *string `json:"description,omitempty"` Status *PrivateLinkConnectionStatus `json:"status,omitempty"` }
type DeleteOperationResponse ¶
type EHNamespace ¶
type EHNamespace struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *EHNamespaceProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type EHNamespaceOperationPredicate ¶
func (EHNamespaceOperationPredicate) Matches ¶
func (p EHNamespaceOperationPredicate) Matches(input EHNamespace) bool
type EHNamespaceProperties ¶
type EHNamespaceProperties struct { AlternateName *string `json:"alternateName,omitempty"` ClusterArmId *string `json:"clusterArmId,omitempty"` CreatedAt *string `json:"createdAt,omitempty"` DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"` Encryption *Encryption `json:"encryption,omitempty"` IsAutoInflateEnabled *bool `json:"isAutoInflateEnabled,omitempty"` KafkaEnabled *bool `json:"kafkaEnabled,omitempty"` MaximumThroughputUnits *int64 `json:"maximumThroughputUnits,omitempty"` MetricId *string `json:"metricId,omitempty"` MinimumTlsVersion *TlsVersion `json:"minimumTlsVersion,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` ServiceBusEndpoint *string `json:"serviceBusEndpoint,omitempty"` Status *string `json:"status,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty"` ZoneRedundant *bool `json:"zoneRedundant,omitempty"` }
func (*EHNamespaceProperties) GetCreatedAtAsTime ¶
func (o *EHNamespaceProperties) GetCreatedAtAsTime() (*time.Time, error)
func (*EHNamespaceProperties) GetUpdatedAtAsTime ¶
func (o *EHNamespaceProperties) GetUpdatedAtAsTime() (*time.Time, error)
func (*EHNamespaceProperties) SetCreatedAtAsTime ¶
func (o *EHNamespaceProperties) SetCreatedAtAsTime(input time.Time)
func (*EHNamespaceProperties) SetUpdatedAtAsTime ¶
func (o *EHNamespaceProperties) SetUpdatedAtAsTime(input time.Time)
type Encryption ¶
type Encryption struct { KeySource *KeySource `json:"keySource,omitempty"` KeyVaultProperties *[]KeyVaultProperties `json:"keyVaultProperties,omitempty"` RequireInfrastructureEncryption *bool `json:"requireInfrastructureEncryption,omitempty"` }
type EndPointProvisioningState ¶
type EndPointProvisioningState string
const ( EndPointProvisioningStateCanceled EndPointProvisioningState = "Canceled" EndPointProvisioningStateCreating EndPointProvisioningState = "Creating" EndPointProvisioningStateDeleting EndPointProvisioningState = "Deleting" EndPointProvisioningStateFailed EndPointProvisioningState = "Failed" EndPointProvisioningStateSucceeded EndPointProvisioningState = "Succeeded" EndPointProvisioningStateUpdating EndPointProvisioningState = "Updating" )
func (*EndPointProvisioningState) UnmarshalJSON ¶
func (s *EndPointProvisioningState) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EHNamespace }
type KeySource ¶
type KeySource string
const (
KeySourceMicrosoftPointKeyVault KeySource = "Microsoft.KeyVault"
)
func (*KeySource) UnmarshalJSON ¶
type KeyVaultProperties ¶
type KeyVaultProperties struct { Identity *UserAssignedIdentityProperties `json:"identity,omitempty"` KeyName *string `json:"keyName,omitempty"` KeyVaultUri *string `json:"keyVaultUri,omitempty"` KeyVersion *string `json:"keyVersion,omitempty"` }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []EHNamespace }
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]EHNamespace }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []EHNamespace }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]EHNamespace }
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
type NamespacesClient ¶
type NamespacesClient struct {
Client *resourcemanager.Client
}
func NewNamespacesClientWithBaseURI ¶
func NewNamespacesClientWithBaseURI(sdkApi sdkEnv.Api) (*NamespacesClient, error)
func (NamespacesClient) CreateOrUpdate ¶
func (c NamespacesClient) CreateOrUpdate(ctx context.Context, id NamespaceId, input EHNamespace) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (NamespacesClient) CreateOrUpdateThenPoll ¶
func (c NamespacesClient) CreateOrUpdateThenPoll(ctx context.Context, id NamespaceId, input EHNamespace) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (NamespacesClient) Delete ¶
func (c NamespacesClient) Delete(ctx context.Context, id NamespaceId) (result DeleteOperationResponse, err error)
Delete ...
func (NamespacesClient) DeleteThenPoll ¶
func (c NamespacesClient) DeleteThenPoll(ctx context.Context, id NamespaceId) error
DeleteThenPoll performs Delete then polls until it's completed
func (NamespacesClient) Get ¶
func (c NamespacesClient) Get(ctx context.Context, id NamespaceId) (result GetOperationResponse, err error)
Get ...
func (NamespacesClient) List ¶
func (c NamespacesClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (NamespacesClient) ListByResourceGroup ¶
func (c NamespacesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (NamespacesClient) ListByResourceGroupComplete ¶
func (c NamespacesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (NamespacesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c NamespacesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate EHNamespaceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (NamespacesClient) ListComplete ¶
func (c NamespacesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (NamespacesClient) ListCompleteMatchingPredicate ¶
func (c NamespacesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate EHNamespaceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (NamespacesClient) Update ¶
func (c NamespacesClient) Update(ctx context.Context, id NamespaceId, input EHNamespace) (result UpdateOperationResponse, err error)
Update ...
type PrivateEndpoint ¶
type PrivateEndpoint struct {
Id *string `json:"id,omitempty"`
}
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState *ConnectionState `json:"privateLinkServiceConnectionState,omitempty"` ProvisioningState *EndPointProvisioningState `json:"provisioningState,omitempty"` }
type PrivateLinkConnectionStatus ¶
type PrivateLinkConnectionStatus string
const ( PrivateLinkConnectionStatusApproved PrivateLinkConnectionStatus = "Approved" PrivateLinkConnectionStatusDisconnected PrivateLinkConnectionStatus = "Disconnected" PrivateLinkConnectionStatusPending PrivateLinkConnectionStatus = "Pending" PrivateLinkConnectionStatusRejected PrivateLinkConnectionStatus = "Rejected" )
func (*PrivateLinkConnectionStatus) UnmarshalJSON ¶
func (s *PrivateLinkConnectionStatus) UnmarshalJSON(bytes []byte) error
type PublicNetworkAccess ¶
type PublicNetworkAccess string
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" PublicNetworkAccessSecuredByPerimeter PublicNetworkAccess = "SecuredByPerimeter" )
func (*PublicNetworkAccess) UnmarshalJSON ¶
func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error
type TlsVersion ¶
type TlsVersion string
const ( TlsVersionOnePointOne TlsVersion = "1.1" TlsVersionOnePointTwo TlsVersion = "1.2" TlsVersionOnePointZero TlsVersion = "1.0" )
func (*TlsVersion) UnmarshalJSON ¶
func (s *TlsVersion) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EHNamespace }
type UserAssignedIdentityProperties ¶
type UserAssignedIdentityProperties struct {
UserAssignedIdentity *string `json:"userAssignedIdentity,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- id_namespace.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listbyresourcegroup.go
- method_update.go
- model_connectionstate.go
- model_ehnamespace.go
- model_ehnamespaceproperties.go
- model_encryption.go
- model_keyvaultproperties.go
- model_privateendpoint.go
- model_privateendpointconnection.go
- model_privateendpointconnectionproperties.go
- model_sku.go
- model_userassignedidentityproperties.go
- predicates.go
- version.go