namespaces

package
v2.85.6 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionState

type ConnectionState struct {
	Description *string                      `json:"description,omitempty"`
	Status      *PrivateLinkConnectionStatus `json:"status,omitempty"`
}

type CreateOrUpdateResponse

type CreateOrUpdateResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type CreatedByType

type CreatedByType string
const (
	CreatedByTypeApplication     CreatedByType = "Application"
	CreatedByTypeKey             CreatedByType = "Key"
	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
	CreatedByTypeUser            CreatedByType = "User"
)

type DeleteResponse

type DeleteResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type EHNamespace

type EHNamespace struct {
	Id         *string                                 `json:"id,omitempty"`
	Identity   *identity.SystemUserAssignedIdentityMap `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                             `json:"systemData,omitempty"`
	Tags       *map[string]string                      `json:"tags,omitempty"`
	Type       *string                                 `json:"type,omitempty"`
}

type EHNamespacePredicate

type EHNamespacePredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (EHNamespacePredicate) Matches

func (p EHNamespacePredicate) Matches(input EHNamespace) bool

type EHNamespaceProperties

type EHNamespaceProperties struct {
	ClusterArmId               *string                      `json:"clusterArmId,omitempty"`
	CreatedAt                  *string                      `json:"createdAt,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"`
	PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
	ProvisioningState          *string                      `json:"provisioningState,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"
)

type GetResponse

type GetResponse struct {
	HttpResponse *http.Response
	Model        *EHNamespace
}

type KeySource

type KeySource string
const (
	KeySourceMicrosoftPointKeyVault KeySource = "Microsoft.KeyVault"
)

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 {
	Items []EHNamespace
}

type ListByResourceGroupResponse

type ListByResourceGroupResponse struct {
	HttpResponse *http.Response
	Model        *[]EHNamespace
	// contains filtered or unexported fields
}

func (ListByResourceGroupResponse) HasMore

func (r ListByResourceGroupResponse) HasMore() bool

func (ListByResourceGroupResponse) LoadMore

type ListCompleteResult

type ListCompleteResult struct {
	Items []EHNamespace
}

type ListResponse

type ListResponse struct {
	HttpResponse *http.Response
	Model        *[]EHNamespace
	// contains filtered or unexported fields
}

func (ListResponse) HasMore

func (r ListResponse) HasMore() bool

func (ListResponse) LoadMore

func (r ListResponse) LoadMore(ctx context.Context) (resp ListResponse, err error)

type NamespaceId

type NamespaceId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func NewNamespaceID

func NewNamespaceID(subscriptionId, resourceGroup, name string) NamespaceId

func ParseNamespaceID

func ParseNamespaceID(input string) (*NamespaceId, error)

ParseNamespaceID parses a Namespace ID into an NamespaceId struct

func ParseNamespaceIDInsensitively

func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error)

ParseNamespaceIDInsensitively parses an Namespace ID into an NamespaceId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseNamespaceID method should be used instead for validation etc.

func (NamespaceId) ID

func (id NamespaceId) ID() string

func (NamespaceId) String

func (id NamespaceId) String() string

type NamespacesClient

type NamespacesClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewNamespacesClientWithBaseURI

func NewNamespacesClientWithBaseURI(endpoint string) NamespacesClient

func (NamespacesClient) CreateOrUpdate

func (c NamespacesClient) CreateOrUpdate(ctx context.Context, id NamespaceId, input EHNamespace) (result CreateOrUpdateResponse, 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 DeleteResponse, 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 GetResponse, err error)

Get ...

func (NamespacesClient) List

func (c NamespacesClient) List(ctx context.Context, id SubscriptionId) (resp ListResponse, err error)

List ...

func (NamespacesClient) ListByResourceGroup

func (c NamespacesClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ListByResourceGroupResponse, err error)

ListByResourceGroup ...

func (NamespacesClient) ListByResourceGroupComplete

func (c NamespacesClient) ListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ListByResourceGroupCompleteResult, error)

ListByResourceGroupComplete retrieves all of the results into a single object

func (NamespacesClient) ListByResourceGroupCompleteMatchingPredicate

func (c NamespacesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate EHNamespacePredicate) (resp ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (NamespacesClient) ListComplete

ListComplete retrieves all of the results into a single object

func (NamespacesClient) ListCompleteMatchingPredicate

func (c NamespacesClient) ListCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate EHNamespacePredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (NamespacesClient) Update

func (c NamespacesClient) Update(ctx context.Context, id NamespaceId, input EHNamespace) (result UpdateResponse, err error)

Update ...

type PrivateEndpoint

type PrivateEndpoint struct {
	Id *string `json:"id,omitempty"`
}

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	Id         *string                              `json:"id,omitempty"`
	Name       *string                              `json:"name,omitempty"`
	Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	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"
)

type ResourceGroupId

type ResourceGroupId struct {
	SubscriptionId string
	ResourceGroup  string
}

func NewResourceGroupID

func NewResourceGroupID(subscriptionId, resourceGroup string) ResourceGroupId

func ParseResourceGroupID

func ParseResourceGroupID(input string) (*ResourceGroupId, error)

ParseResourceGroupID parses a ResourceGroup ID into an ResourceGroupId struct

func ParseResourceGroupIDInsensitively

func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)

ParseResourceGroupIDInsensitively parses an ResourceGroup ID into an ResourceGroupId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseResourceGroupID method should be used instead for validation etc.

func (ResourceGroupId) ID

func (id ResourceGroupId) ID() string

func (ResourceGroupId) String

func (id ResourceGroupId) String() string

type Sku

type Sku struct {
	Capacity *int64   `json:"capacity,omitempty"`
	Name     SkuName  `json:"name"`
	Tier     *SkuTier `json:"tier,omitempty"`
}

type SkuName

type SkuName string
const (
	SkuNameBasic    SkuName = "Basic"
	SkuNamePremium  SkuName = "Premium"
	SkuNameStandard SkuName = "Standard"
)

type SkuTier

type SkuTier string
const (
	SkuTierBasic    SkuTier = "Basic"
	SkuTierPremium  SkuTier = "Premium"
	SkuTierStandard SkuTier = "Standard"
)

type SubscriptionId

type SubscriptionId struct {
	SubscriptionId string
}

func NewSubscriptionID

func NewSubscriptionID(subscriptionId string) SubscriptionId

func ParseSubscriptionID

func ParseSubscriptionID(input string) (*SubscriptionId, error)

ParseSubscriptionID parses a Subscription ID into an SubscriptionId struct

func ParseSubscriptionIDInsensitively

func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)

ParseSubscriptionIDInsensitively parses an Subscription ID into an SubscriptionId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseSubscriptionID method should be used instead for validation etc.

func (SubscriptionId) ID

func (id SubscriptionId) ID() string

func (SubscriptionId) String

func (id SubscriptionId) String() string

type SystemData

type SystemData struct {
	CreatedAt          *string        `json:"createdAt,omitempty"`
	CreatedBy          *string        `json:"createdBy,omitempty"`
	CreatedByType      *CreatedByType `json:"createdByType,omitempty"`
	LastModifiedAt     *string        `json:"lastModifiedAt,omitempty"`
	LastModifiedBy     *string        `json:"lastModifiedBy,omitempty"`
	LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"`
}

func (SystemData) GetCreatedAtAsTime

func (o SystemData) GetCreatedAtAsTime() (*time.Time, error)

func (SystemData) GetLastModifiedAtAsTime

func (o SystemData) GetLastModifiedAtAsTime() (*time.Time, error)

func (SystemData) SetCreatedAtAsTime

func (o SystemData) SetCreatedAtAsTime(input time.Time)

func (SystemData) SetLastModifiedAtAsTime

func (o SystemData) SetLastModifiedAtAsTime(input time.Time)

type UpdateResponse

type UpdateResponse struct {
	HttpResponse *http.Response
	Model        *EHNamespace
}

type UserAssignedIdentityProperties

type UserAssignedIdentityProperties struct {
	UserAssignedIdentity *string `json:"userAssignedIdentity,omitempty"`
}

Jump to

Keyboard shortcuts

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