Documentation ¶
Index ¶
- func PossibleValuesForCredentialsType() []string
- func PossibleValuesForDatastoreType() []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 ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ListSecretsOperationResponse
- type NoneDatastoreCredentials
- 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 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 DatastoreSecrets `json:"secrets"`
}
func (AccountKeyDatastoreCredentials) MarshalJSON ¶
func (s AccountKeyDatastoreCredentials) MarshalJSON() ([]byte, error)
func (*AccountKeyDatastoreCredentials) UnmarshalJSON ¶
func (s *AccountKeyDatastoreCredentials) UnmarshalJSON(bytes []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"` 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 (AzureBlobDatastore) MarshalJSON ¶
func (s AzureBlobDatastore) MarshalJSON() ([]byte, error)
func (*AzureBlobDatastore) UnmarshalJSON ¶ added in v0.20220704.1074157
func (s *AzureBlobDatastore) UnmarshalJSON(bytes []byte) error
type AzureDataLakeGen1Datastore ¶
type AzureDataLakeGen1Datastore struct { ServiceDataAccessAuthIdentity *ServiceDataAccessAuthIdentity `json:"serviceDataAccessAuthIdentity,omitempty"` StoreName string `json:"storeName"` // 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 ¶ added in v0.20220704.1074157
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"` 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 (AzureDataLakeGen2Datastore) MarshalJSON ¶
func (s AzureDataLakeGen2Datastore) MarshalJSON() ([]byte, error)
func (*AzureDataLakeGen2Datastore) UnmarshalJSON ¶ added in v0.20220704.1074157
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"` 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 (AzureFileDatastore) MarshalJSON ¶
func (s AzureFileDatastore) MarshalJSON() ([]byte, error)
func (*AzureFileDatastore) UnmarshalJSON ¶ added in v0.20220704.1074157
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 DatastoreSecrets `json:"secrets"` TenantId string `json:"tenantId"` Thumbprint string `json:"thumbprint"` }
func (CertificateDatastoreCredentials) MarshalJSON ¶
func (s CertificateDatastoreCredentials) MarshalJSON() ([]byte, error)
func (*CertificateDatastoreCredentials) UnmarshalJSON ¶
func (s *CertificateDatastoreCredentials) UnmarshalJSON(bytes []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 ¶ added in v0.20230713.1092427
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶ added in v0.20230713.1092427
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶ added in v0.20230713.1092427
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 ¶ added in v0.20230713.1092427
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) 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(api environments.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" )
func (*DatastoreType) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *DatastoreType) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatastoreResource }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []DatastoreResource
}
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 ¶ added in v0.20230713.1092427
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230713.1092427
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230713.1092427
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 SasDatastoreCredentials ¶
type SasDatastoreCredentials struct {
Secrets DatastoreSecrets `json:"secrets"`
}
func (SasDatastoreCredentials) MarshalJSON ¶
func (s SasDatastoreCredentials) MarshalJSON() ([]byte, error)
func (*SasDatastoreCredentials) UnmarshalJSON ¶
func (s *SasDatastoreCredentials) UnmarshalJSON(bytes []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 ¶ added in v0.20230713.1092427
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 ¶ added in v0.20230713.1092427
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 DatastoreSecrets `json:"secrets"` TenantId string `json:"tenantId"` }
func (ServicePrincipalDatastoreCredentials) MarshalJSON ¶
func (s ServicePrincipalDatastoreCredentials) MarshalJSON() ([]byte, error)
func (*ServicePrincipalDatastoreCredentials) UnmarshalJSON ¶
func (s *ServicePrincipalDatastoreCredentials) UnmarshalJSON(bytes []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) 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_nonedatastorecredentials.go
- model_sasdatastorecredentials.go
- model_sasdatastoresecrets.go
- model_serviceprincipaldatastorecredentials.go
- model_serviceprincipaldatastoresecrets.go
- predicates.go
- version.go