Documentation ¶
Index ¶
- func PossibleValuesForDataSourceType() []string
- func ValidateDataSourceTypeID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DataSourceType
- type DataSourceTypeId
- type DeleteOperationResponse
- type GetOperationResponse
- type LinkedStorageAccountsClient
- func (c LinkedStorageAccountsClient) CreateOrUpdate(ctx context.Context, id DataSourceTypeId, input LinkedStorageAccountsResource) (result CreateOrUpdateOperationResponse, err error)
- func (c LinkedStorageAccountsClient) Delete(ctx context.Context, id DataSourceTypeId) (result DeleteOperationResponse, err error)
- func (c LinkedStorageAccountsClient) Get(ctx context.Context, id DataSourceTypeId) (result GetOperationResponse, err error)
- func (c LinkedStorageAccountsClient) ListByWorkspace(ctx context.Context, id WorkspaceId) (result ListByWorkspaceOperationResponse, err error)
- type LinkedStorageAccountsListResult
- type LinkedStorageAccountsProperties
- type LinkedStorageAccountsResource
- type ListByWorkspaceOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDataSourceType ¶
func PossibleValuesForDataSourceType() []string
func ValidateDataSourceTypeID ¶
ValidateDataSourceTypeID checks that 'input' can be parsed as a Data Source Type ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LinkedStorageAccountsResource }
type DataSourceType ¶
type DataSourceType string
const ( DataSourceTypeAlerts DataSourceType = "Alerts" DataSourceTypeAzureWatson DataSourceType = "AzureWatson" DataSourceTypeCustomLogs DataSourceType = "CustomLogs" DataSourceTypeIngestion DataSourceType = "Ingestion" DataSourceTypeQuery DataSourceType = "Query" )
func (*DataSourceType) UnmarshalJSON ¶
func (s *DataSourceType) UnmarshalJSON(bytes []byte) error
type DataSourceTypeId ¶
type DataSourceTypeId struct { SubscriptionId string ResourceGroupName string WorkspaceName string DataSourceType DataSourceType }
DataSourceTypeId is a struct representing the Resource ID for a Data Source Type
func NewDataSourceTypeID ¶
func NewDataSourceTypeID(subscriptionId string, resourceGroupName string, workspaceName string, dataSourceType DataSourceType) DataSourceTypeId
NewDataSourceTypeID returns a new DataSourceTypeId struct
func ParseDataSourceTypeID ¶
func ParseDataSourceTypeID(input string) (*DataSourceTypeId, error)
ParseDataSourceTypeID parses 'input' into a DataSourceTypeId
func ParseDataSourceTypeIDInsensitively ¶
func ParseDataSourceTypeIDInsensitively(input string) (*DataSourceTypeId, error)
ParseDataSourceTypeIDInsensitively parses 'input' case-insensitively into a DataSourceTypeId note: this method should only be used for API response data and not user input
func (*DataSourceTypeId) FromParseResult ¶
func (id *DataSourceTypeId) FromParseResult(input resourceids.ParseResult) error
func (DataSourceTypeId) ID ¶
func (id DataSourceTypeId) ID() string
ID returns the formatted Data Source Type ID
func (DataSourceTypeId) Segments ¶
func (id DataSourceTypeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data Source Type ID
func (DataSourceTypeId) String ¶
func (id DataSourceTypeId) String() string
String returns a human-readable description of this Data Source Type ID
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LinkedStorageAccountsResource }
type LinkedStorageAccountsClient ¶
type LinkedStorageAccountsClient struct {
Client *resourcemanager.Client
}
func NewLinkedStorageAccountsClientWithBaseURI ¶
func NewLinkedStorageAccountsClientWithBaseURI(sdkApi sdkEnv.Api) (*LinkedStorageAccountsClient, error)
func (LinkedStorageAccountsClient) CreateOrUpdate ¶
func (c LinkedStorageAccountsClient) CreateOrUpdate(ctx context.Context, id DataSourceTypeId, input LinkedStorageAccountsResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (LinkedStorageAccountsClient) Delete ¶
func (c LinkedStorageAccountsClient) Delete(ctx context.Context, id DataSourceTypeId) (result DeleteOperationResponse, err error)
Delete ...
func (LinkedStorageAccountsClient) Get ¶
func (c LinkedStorageAccountsClient) Get(ctx context.Context, id DataSourceTypeId) (result GetOperationResponse, err error)
Get ...
func (LinkedStorageAccountsClient) ListByWorkspace ¶
func (c LinkedStorageAccountsClient) ListByWorkspace(ctx context.Context, id WorkspaceId) (result ListByWorkspaceOperationResponse, err error)
ListByWorkspace ...
type LinkedStorageAccountsListResult ¶
type LinkedStorageAccountsListResult struct {
Value *[]LinkedStorageAccountsResource `json:"value,omitempty"`
}
type LinkedStorageAccountsProperties ¶
type LinkedStorageAccountsProperties struct { DataSourceType *DataSourceType `json:"dataSourceType,omitempty"` StorageAccountIds *[]string `json:"storageAccountIds,omitempty"` }
type LinkedStorageAccountsResource ¶
type LinkedStorageAccountsResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties LinkedStorageAccountsProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type ListByWorkspaceOperationResponse ¶
type ListByWorkspaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LinkedStorageAccountsListResult }
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName 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) 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