Documentation ¶
Index ¶
- func PossibleValuesForCredentialsType() []string
- func PossibleValuesForDatastoreType() []string
- func PossibleValuesForOneLakeArtifactType() []string
- func PossibleValuesForSecretsType() []string
- func PossibleValuesForServiceDataAccessAuthIdentity() []string
- func ValidateDataStoreID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type AccountKeyDatastoreCredentials
- type AccountKeyDatastoreSecrets
- type AzureBlobDatastore
- type AzureDataLakeGen1Datastore
- type AzureDataLakeGen2Datastore
- type AzureFileDatastore
- type CertificateDatastoreCredentials
- type CertificateDatastoreSecrets
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type CredentialsType
- type DataStoreId
- type Datastore
- type DatastoreClient
- func (c DatastoreClient) CreateOrUpdate(ctx context.Context, id DataStoreId, input DatastoreResource, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c DatastoreClient) Delete(ctx context.Context, id DataStoreId) (result DeleteOperationResponse, err error)
- func (c DatastoreClient) Get(ctx context.Context, id DataStoreId) (result GetOperationResponse, err error)
- func (c DatastoreClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c DatastoreClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c DatastoreClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c DatastoreClient) ListSecrets(ctx context.Context, id DataStoreId) (result ListSecretsOperationResponse, err error)
- type DatastoreCredentials
- type DatastoreResource
- type DatastoreResourceOperationPredicate
- type DatastoreSecrets
- type DatastoreType
- type DeleteOperationResponse
- type GetOperationResponse
- type LakeHouseArtifact
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type ListSecretsOperationResponse
- type NoneDatastoreCredentials
- type OneLakeArtifact
- type OneLakeArtifactType
- type OneLakeDatastore
- type RawDatastoreCredentialsImpl
- type RawDatastoreImpl
- type RawDatastoreSecretsImpl
- type RawOneLakeArtifactImpl
- type SasDatastoreCredentials
- type SasDatastoreSecrets
- type SecretsType
- type ServiceDataAccessAuthIdentity
- type ServicePrincipalDatastoreCredentials
- type ServicePrincipalDatastoreSecrets
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCredentialsType ¶
func PossibleValuesForCredentialsType() []string
func PossibleValuesForDatastoreType ¶
func PossibleValuesForDatastoreType() []string
func PossibleValuesForOneLakeArtifactType ¶
func PossibleValuesForOneLakeArtifactType() []string
func PossibleValuesForSecretsType ¶
func PossibleValuesForSecretsType() []string
func PossibleValuesForServiceDataAccessAuthIdentity ¶
func PossibleValuesForServiceDataAccessAuthIdentity() []string
func ValidateDataStoreID ¶
ValidateDataStoreID checks that 'input' can be parsed as a Data Store ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type AccountKeyDatastoreCredentials ¶
type AccountKeyDatastoreCredentials struct {
Secrets AccountKeyDatastoreSecrets `json:"secrets"`
}
func (AccountKeyDatastoreCredentials) MarshalJSON ¶
func (s AccountKeyDatastoreCredentials) MarshalJSON() ([]byte, error)
type AccountKeyDatastoreSecrets ¶
type AccountKeyDatastoreSecrets struct {
Key *string `json:"key,omitempty"`
}
func (AccountKeyDatastoreSecrets) MarshalJSON ¶
func (s AccountKeyDatastoreSecrets) MarshalJSON() ([]byte, error)
type AzureBlobDatastore ¶
type AzureBlobDatastore struct { AccountName *string `json:"accountName,omitempty"` ContainerName *string `json:"containerName,omitempty"` Endpoint *string `json:"endpoint,omitempty"` Protocol *string `json:"protocol,omitempty"` ResourceGroup *string `json:"resourceGroup,omitempty"` ServiceDataAccessAuthIdentity *ServiceDataAccessAuthIdentity `json:"serviceDataAccessAuthIdentity,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` // Fields inherited from Datastore Credentials DatastoreCredentials `json:"credentials"` Description *string `json:"description,omitempty"` IsDefault *bool `json:"isDefault,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
func (AzureBlobDatastore) MarshalJSON ¶
func (s AzureBlobDatastore) MarshalJSON() ([]byte, error)
func (*AzureBlobDatastore) UnmarshalJSON ¶
func (s *AzureBlobDatastore) UnmarshalJSON(bytes []byte) error
type AzureDataLakeGen1Datastore ¶
type AzureDataLakeGen1Datastore struct { ResourceGroup *string `json:"resourceGroup,omitempty"` ServiceDataAccessAuthIdentity *ServiceDataAccessAuthIdentity `json:"serviceDataAccessAuthIdentity,omitempty"` StoreName string `json:"storeName"` SubscriptionId *string `json:"subscriptionId,omitempty"` // Fields inherited from Datastore Credentials DatastoreCredentials `json:"credentials"` Description *string `json:"description,omitempty"` IsDefault *bool `json:"isDefault,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
func (AzureDataLakeGen1Datastore) MarshalJSON ¶
func (s AzureDataLakeGen1Datastore) MarshalJSON() ([]byte, error)
func (*AzureDataLakeGen1Datastore) UnmarshalJSON ¶
func (s *AzureDataLakeGen1Datastore) UnmarshalJSON(bytes []byte) error
type AzureDataLakeGen2Datastore ¶
type AzureDataLakeGen2Datastore struct { AccountName string `json:"accountName"` Endpoint *string `json:"endpoint,omitempty"` Filesystem string `json:"filesystem"` Protocol *string `json:"protocol,omitempty"` ResourceGroup *string `json:"resourceGroup,omitempty"` ServiceDataAccessAuthIdentity *ServiceDataAccessAuthIdentity `json:"serviceDataAccessAuthIdentity,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` // Fields inherited from Datastore Credentials DatastoreCredentials `json:"credentials"` Description *string `json:"description,omitempty"` IsDefault *bool `json:"isDefault,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
func (AzureDataLakeGen2Datastore) MarshalJSON ¶
func (s AzureDataLakeGen2Datastore) MarshalJSON() ([]byte, error)
func (*AzureDataLakeGen2Datastore) UnmarshalJSON ¶
func (s *AzureDataLakeGen2Datastore) UnmarshalJSON(bytes []byte) error
type AzureFileDatastore ¶
type AzureFileDatastore struct { AccountName string `json:"accountName"` Endpoint *string `json:"endpoint,omitempty"` Protocol *string `json:"protocol,omitempty"` ResourceGroup *string `json:"resourceGroup,omitempty"` ServiceDataAccessAuthIdentity *ServiceDataAccessAuthIdentity `json:"serviceDataAccessAuthIdentity,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` // Fields inherited from Datastore Credentials DatastoreCredentials `json:"credentials"` Description *string `json:"description,omitempty"` IsDefault *bool `json:"isDefault,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
func (AzureFileDatastore) MarshalJSON ¶
func (s AzureFileDatastore) MarshalJSON() ([]byte, error)
func (*AzureFileDatastore) UnmarshalJSON ¶
func (s *AzureFileDatastore) UnmarshalJSON(bytes []byte) error
type CertificateDatastoreCredentials ¶
type CertificateDatastoreCredentials struct { AuthorityUrl *string `json:"authorityUrl,omitempty"` ClientId string `json:"clientId"` ResourceUrl *string `json:"resourceUrl,omitempty"` Secrets CertificateDatastoreSecrets `json:"secrets"` TenantId string `json:"tenantId"` Thumbprint string `json:"thumbprint"` }
func (CertificateDatastoreCredentials) MarshalJSON ¶
func (s CertificateDatastoreCredentials) MarshalJSON() ([]byte, error)
type CertificateDatastoreSecrets ¶
type CertificateDatastoreSecrets struct {
Certificate *string `json:"certificate,omitempty"`
}
func (CertificateDatastoreSecrets) MarshalJSON ¶
func (s CertificateDatastoreSecrets) MarshalJSON() ([]byte, error)
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
SkipValidation *bool
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatastoreResource }
type CredentialsType ¶
type CredentialsType string
const ( CredentialsTypeAccountKey CredentialsType = "AccountKey" CredentialsTypeCertificate CredentialsType = "Certificate" CredentialsTypeNone CredentialsType = "None" CredentialsTypeSas CredentialsType = "Sas" CredentialsTypeServicePrincipal CredentialsType = "ServicePrincipal" )
func (*CredentialsType) UnmarshalJSON ¶
func (s *CredentialsType) UnmarshalJSON(bytes []byte) error
type DataStoreId ¶
type DataStoreId struct { SubscriptionId string ResourceGroupName string WorkspaceName string DataStoreName string }
DataStoreId is a struct representing the Resource ID for a Data Store
func NewDataStoreID ¶
func NewDataStoreID(subscriptionId string, resourceGroupName string, workspaceName string, dataStoreName string) DataStoreId
NewDataStoreID returns a new DataStoreId struct
func ParseDataStoreID ¶
func ParseDataStoreID(input string) (*DataStoreId, error)
ParseDataStoreID parses 'input' into a DataStoreId
func ParseDataStoreIDInsensitively ¶
func ParseDataStoreIDInsensitively(input string) (*DataStoreId, error)
ParseDataStoreIDInsensitively parses 'input' case-insensitively into a DataStoreId note: this method should only be used for API response data and not user input
func (*DataStoreId) FromParseResult ¶
func (id *DataStoreId) FromParseResult(input resourceids.ParseResult) error
func (DataStoreId) Segments ¶
func (id DataStoreId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data Store ID
func (DataStoreId) String ¶
func (id DataStoreId) String() string
String returns a human-readable description of this Data Store ID
type DatastoreClient ¶
type DatastoreClient struct {
Client *resourcemanager.Client
}
func NewDatastoreClientWithBaseURI ¶
func NewDatastoreClientWithBaseURI(sdkApi sdkEnv.Api) (*DatastoreClient, error)
func (DatastoreClient) CreateOrUpdate ¶
func (c DatastoreClient) CreateOrUpdate(ctx context.Context, id DataStoreId, input DatastoreResource, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DatastoreClient) Delete ¶
func (c DatastoreClient) Delete(ctx context.Context, id DataStoreId) (result DeleteOperationResponse, err error)
Delete ...
func (DatastoreClient) Get ¶
func (c DatastoreClient) Get(ctx context.Context, id DataStoreId) (result GetOperationResponse, err error)
Get ...
func (DatastoreClient) List ¶
func (c DatastoreClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (DatastoreClient) ListComplete ¶
func (c DatastoreClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (DatastoreClient) ListCompleteMatchingPredicate ¶
func (c DatastoreClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, predicate DatastoreResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DatastoreClient) ListSecrets ¶
func (c DatastoreClient) ListSecrets(ctx context.Context, id DataStoreId) (result ListSecretsOperationResponse, err error)
ListSecrets ...
type DatastoreCredentials ¶
type DatastoreCredentials interface { }
type DatastoreResource ¶
type DatastoreResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties Datastore `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (*DatastoreResource) UnmarshalJSON ¶
func (s *DatastoreResource) UnmarshalJSON(bytes []byte) error
type DatastoreResourceOperationPredicate ¶
func (DatastoreResourceOperationPredicate) Matches ¶
func (p DatastoreResourceOperationPredicate) Matches(input DatastoreResource) bool
type DatastoreSecrets ¶
type DatastoreSecrets interface { }
type DatastoreType ¶
type DatastoreType string
const ( DatastoreTypeAzureBlob DatastoreType = "AzureBlob" DatastoreTypeAzureDataLakeGenOne DatastoreType = "AzureDataLakeGen1" DatastoreTypeAzureDataLakeGenTwo DatastoreType = "AzureDataLakeGen2" DatastoreTypeAzureFile DatastoreType = "AzureFile" DatastoreTypeOneLake DatastoreType = "OneLake" )
func (*DatastoreType) UnmarshalJSON ¶
func (s *DatastoreType) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatastoreResource }
type LakeHouseArtifact ¶
type LakeHouseArtifact struct { // Fields inherited from OneLakeArtifact ArtifactName string `json:"artifactName"` }
func (LakeHouseArtifact) MarshalJSON ¶
func (s LakeHouseArtifact) MarshalJSON() ([]byte, error)
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []DatastoreResource }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
type ListOperationOptions struct { Count *int64 IsDefault *bool Names *[]string OrderBy *string OrderByAsc *bool SearchText *string Skip *string }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DatastoreResource }
type ListSecretsOperationResponse ¶
type ListSecretsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatastoreSecrets }
type NoneDatastoreCredentials ¶
type NoneDatastoreCredentials struct { }
func (NoneDatastoreCredentials) MarshalJSON ¶
func (s NoneDatastoreCredentials) MarshalJSON() ([]byte, error)
type OneLakeArtifact ¶
type OneLakeArtifact interface { }
type OneLakeArtifactType ¶
type OneLakeArtifactType string
const (
OneLakeArtifactTypeLakeHouse OneLakeArtifactType = "LakeHouse"
)
func (*OneLakeArtifactType) UnmarshalJSON ¶
func (s *OneLakeArtifactType) UnmarshalJSON(bytes []byte) error
type OneLakeDatastore ¶
type OneLakeDatastore struct { Artifact OneLakeArtifact `json:"artifact"` Endpoint *string `json:"endpoint,omitempty"` OneLakeWorkspaceName string `json:"oneLakeWorkspaceName"` ServiceDataAccessAuthIdentity *ServiceDataAccessAuthIdentity `json:"serviceDataAccessAuthIdentity,omitempty"` // Fields inherited from Datastore Credentials DatastoreCredentials `json:"credentials"` Description *string `json:"description,omitempty"` IsDefault *bool `json:"isDefault,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
func (OneLakeDatastore) MarshalJSON ¶
func (s OneLakeDatastore) MarshalJSON() ([]byte, error)
func (*OneLakeDatastore) UnmarshalJSON ¶
func (s *OneLakeDatastore) UnmarshalJSON(bytes []byte) error
type RawDatastoreCredentialsImpl ¶
RawDatastoreCredentialsImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawDatastoreImpl ¶
RawDatastoreImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawDatastoreSecretsImpl ¶
RawDatastoreSecretsImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawOneLakeArtifactImpl ¶
RawOneLakeArtifactImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type SasDatastoreCredentials ¶
type SasDatastoreCredentials struct {
Secrets SasDatastoreSecrets `json:"secrets"`
}
func (SasDatastoreCredentials) MarshalJSON ¶
func (s SasDatastoreCredentials) MarshalJSON() ([]byte, error)
type SasDatastoreSecrets ¶
type SasDatastoreSecrets struct {
SasToken *string `json:"sasToken,omitempty"`
}
func (SasDatastoreSecrets) MarshalJSON ¶
func (s SasDatastoreSecrets) MarshalJSON() ([]byte, error)
type SecretsType ¶
type SecretsType string
const ( SecretsTypeAccountKey SecretsType = "AccountKey" SecretsTypeCertificate SecretsType = "Certificate" SecretsTypeSas SecretsType = "Sas" SecretsTypeServicePrincipal SecretsType = "ServicePrincipal" )
func (*SecretsType) UnmarshalJSON ¶
func (s *SecretsType) UnmarshalJSON(bytes []byte) error
type ServiceDataAccessAuthIdentity ¶
type ServiceDataAccessAuthIdentity string
const ( ServiceDataAccessAuthIdentityNone ServiceDataAccessAuthIdentity = "None" ServiceDataAccessAuthIdentityWorkspaceSystemAssignedIdentity ServiceDataAccessAuthIdentity = "WorkspaceSystemAssignedIdentity" ServiceDataAccessAuthIdentityWorkspaceUserAssignedIdentity ServiceDataAccessAuthIdentity = "WorkspaceUserAssignedIdentity" )
func (*ServiceDataAccessAuthIdentity) UnmarshalJSON ¶
func (s *ServiceDataAccessAuthIdentity) UnmarshalJSON(bytes []byte) error
type ServicePrincipalDatastoreCredentials ¶
type ServicePrincipalDatastoreCredentials struct { AuthorityUrl *string `json:"authorityUrl,omitempty"` ClientId string `json:"clientId"` ResourceUrl *string `json:"resourceUrl,omitempty"` Secrets ServicePrincipalDatastoreSecrets `json:"secrets"` TenantId string `json:"tenantId"` }
func (ServicePrincipalDatastoreCredentials) MarshalJSON ¶
func (s ServicePrincipalDatastoreCredentials) MarshalJSON() ([]byte, error)
type ServicePrincipalDatastoreSecrets ¶
type ServicePrincipalDatastoreSecrets struct {
ClientSecret *string `json:"clientSecret,omitempty"`
}
func (ServicePrincipalDatastoreSecrets) MarshalJSON ¶
func (s ServicePrincipalDatastoreSecrets) MarshalJSON() ([]byte, error)
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
Source Files ¶
- client.go
- constants.go
- id_datastore.go
- id_workspace.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listsecrets.go
- model_accountkeydatastorecredentials.go
- model_accountkeydatastoresecrets.go
- model_azureblobdatastore.go
- model_azuredatalakegen1datastore.go
- model_azuredatalakegen2datastore.go
- model_azurefiledatastore.go
- model_certificatedatastorecredentials.go
- model_certificatedatastoresecrets.go
- model_datastore.go
- model_datastorecredentials.go
- model_datastoreresource.go
- model_datastoresecrets.go
- model_lakehouseartifact.go
- model_nonedatastorecredentials.go
- model_onelakeartifact.go
- model_onelakedatastore.go
- model_sasdatastorecredentials.go
- model_sasdatastoresecrets.go
- model_serviceprincipaldatastorecredentials.go
- model_serviceprincipaldatastoresecrets.go
- predicates.go
- version.go