Documentation ¶
Index ¶
- func PossibleValuesForConnectionAuthType() []string
- func PossibleValuesForConnectionCategory() []string
- func PossibleValuesForConnectionGroup() []string
- func PossibleValuesForValueFormat() []string
- func ValidateConnectionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type AADAuthTypeWorkspaceConnectionProperties
- type AccessKeyAuthTypeWorkspaceConnectionProperties
- type AccountKeyAuthTypeWorkspaceConnectionProperties
- type ApiKeyAuthWorkspaceConnectionProperties
- type ConnectionAuthType
- type ConnectionCategory
- type ConnectionGroup
- type ConnectionId
- type CustomKeys
- type CustomKeysWorkspaceConnectionProperties
- type ManagedIdentityAuthTypeWorkspaceConnectionProperties
- type NoneAuthTypeWorkspaceConnectionProperties
- type OAuth2AuthTypeWorkspaceConnectionProperties
- type PATAuthTypeWorkspaceConnectionProperties
- type RawWorkspaceConnectionPropertiesV2Impl
- type SASAuthTypeWorkspaceConnectionProperties
- type ServicePrincipalAuthTypeWorkspaceConnectionProperties
- type UsernamePasswordAuthTypeWorkspaceConnectionProperties
- type V2WorkspaceConnectionResourceClient
- func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsCreate(ctx context.Context, id ConnectionId, ...) (result WorkspaceConnectionsCreateOperationResponse, err error)
- func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsDelete(ctx context.Context, id ConnectionId) (result WorkspaceConnectionsDeleteOperationResponse, err error)
- func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsGet(ctx context.Context, id ConnectionId) (result WorkspaceConnectionsGetOperationResponse, err error)
- func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsList(ctx context.Context, id WorkspaceId, ...) (result WorkspaceConnectionsListOperationResponse, err error)
- func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListComplete(ctx context.Context, id WorkspaceId, ...) (WorkspaceConnectionsListCompleteResult, error)
- func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result WorkspaceConnectionsListCompleteResult, err error)
- func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListSecrets(ctx context.Context, id ConnectionId) (result WorkspaceConnectionsListSecretsOperationResponse, err error)
- type ValueFormat
- type WorkspaceConnectionAccessKey
- type WorkspaceConnectionAccountKey
- type WorkspaceConnectionApiKey
- type WorkspaceConnectionManagedIdentity
- type WorkspaceConnectionOAuth2
- type WorkspaceConnectionPersonalAccessToken
- type WorkspaceConnectionPropertiesV2
- type WorkspaceConnectionPropertiesV2BasicResource
- type WorkspaceConnectionPropertiesV2BasicResourceOperationPredicate
- type WorkspaceConnectionServicePrincipal
- type WorkspaceConnectionSharedAccessSignature
- type WorkspaceConnectionUsernamePassword
- type WorkspaceConnectionsCreateOperationResponse
- type WorkspaceConnectionsDeleteOperationResponse
- type WorkspaceConnectionsGetOperationResponse
- type WorkspaceConnectionsListCompleteResult
- type WorkspaceConnectionsListCustomPager
- type WorkspaceConnectionsListOperationOptions
- type WorkspaceConnectionsListOperationResponse
- type WorkspaceConnectionsListSecretsOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForConnectionAuthType ¶
func PossibleValuesForConnectionAuthType() []string
func PossibleValuesForConnectionCategory ¶
func PossibleValuesForConnectionCategory() []string
func PossibleValuesForConnectionGroup ¶
func PossibleValuesForConnectionGroup() []string
func PossibleValuesForValueFormat ¶
func PossibleValuesForValueFormat() []string
func ValidateConnectionID ¶
ValidateConnectionID checks that 'input' can be parsed as a Connection ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type AADAuthTypeWorkspaceConnectionProperties ¶
type AADAuthTypeWorkspaceConnectionProperties struct { // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` CreatedByWorkspaceArmId *string `json:"createdByWorkspaceArmId,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` Group *ConnectionGroup `json:"group,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (*AADAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime ¶
func (o *AADAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (AADAuthTypeWorkspaceConnectionProperties) MarshalJSON ¶
func (s AADAuthTypeWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
func (*AADAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime ¶
func (o *AADAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime(input time.Time)
type AccessKeyAuthTypeWorkspaceConnectionProperties ¶
type AccessKeyAuthTypeWorkspaceConnectionProperties struct { Credentials *WorkspaceConnectionAccessKey `json:"credentials,omitempty"` // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` CreatedByWorkspaceArmId *string `json:"createdByWorkspaceArmId,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` Group *ConnectionGroup `json:"group,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (*AccessKeyAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime ¶
func (o *AccessKeyAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (AccessKeyAuthTypeWorkspaceConnectionProperties) MarshalJSON ¶
func (s AccessKeyAuthTypeWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
func (*AccessKeyAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime ¶
func (o *AccessKeyAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime(input time.Time)
type AccountKeyAuthTypeWorkspaceConnectionProperties ¶
type AccountKeyAuthTypeWorkspaceConnectionProperties struct { Credentials *WorkspaceConnectionAccountKey `json:"credentials,omitempty"` // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` CreatedByWorkspaceArmId *string `json:"createdByWorkspaceArmId,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` Group *ConnectionGroup `json:"group,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (*AccountKeyAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime ¶
func (o *AccountKeyAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (AccountKeyAuthTypeWorkspaceConnectionProperties) MarshalJSON ¶
func (s AccountKeyAuthTypeWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
func (*AccountKeyAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime ¶
func (o *AccountKeyAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime(input time.Time)
type ApiKeyAuthWorkspaceConnectionProperties ¶
type ApiKeyAuthWorkspaceConnectionProperties struct { Credentials *WorkspaceConnectionApiKey `json:"credentials,omitempty"` // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` CreatedByWorkspaceArmId *string `json:"createdByWorkspaceArmId,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` Group *ConnectionGroup `json:"group,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (*ApiKeyAuthWorkspaceConnectionProperties) GetExpiryTimeAsTime ¶
func (o *ApiKeyAuthWorkspaceConnectionProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (ApiKeyAuthWorkspaceConnectionProperties) MarshalJSON ¶
func (s ApiKeyAuthWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
func (*ApiKeyAuthWorkspaceConnectionProperties) SetExpiryTimeAsTime ¶
func (o *ApiKeyAuthWorkspaceConnectionProperties) SetExpiryTimeAsTime(input time.Time)
type ConnectionAuthType ¶
type ConnectionAuthType string
const ( ConnectionAuthTypeAAD ConnectionAuthType = "AAD" ConnectionAuthTypeAccessKey ConnectionAuthType = "AccessKey" ConnectionAuthTypeAccountKey ConnectionAuthType = "AccountKey" ConnectionAuthTypeApiKey ConnectionAuthType = "ApiKey" ConnectionAuthTypeCustomKeys ConnectionAuthType = "CustomKeys" ConnectionAuthTypeManagedIdentity ConnectionAuthType = "ManagedIdentity" ConnectionAuthTypeNone ConnectionAuthType = "None" ConnectionAuthTypeOAuthTwo ConnectionAuthType = "OAuth2" ConnectionAuthTypePAT ConnectionAuthType = "PAT" ConnectionAuthTypeSAS ConnectionAuthType = "SAS" ConnectionAuthTypeServicePrincipal ConnectionAuthType = "ServicePrincipal" ConnectionAuthTypeUsernamePassword ConnectionAuthType = "UsernamePassword" )
func (*ConnectionAuthType) UnmarshalJSON ¶
func (s *ConnectionAuthType) UnmarshalJSON(bytes []byte) error
type ConnectionCategory ¶
type ConnectionCategory string
const ( ConnectionCategoryADLSGenTwo ConnectionCategory = "ADLSGen2" ConnectionCategoryAIServices ConnectionCategory = "AIServices" ConnectionCategoryAmazonMws ConnectionCategory = "AmazonMws" ConnectionCategoryAmazonRdsForOracle ConnectionCategory = "AmazonRdsForOracle" ConnectionCategoryAmazonRdsForSqlServer ConnectionCategory = "AmazonRdsForSqlServer" ConnectionCategoryAmazonRedshift ConnectionCategory = "AmazonRedshift" ConnectionCategoryAmazonSThreeCompatible ConnectionCategory = "AmazonS3Compatible" ConnectionCategoryApiKey ConnectionCategory = "ApiKey" ConnectionCategoryAzureBlob ConnectionCategory = "AzureBlob" ConnectionCategoryAzureDataExplorer ConnectionCategory = "AzureDataExplorer" ConnectionCategoryAzureDatabricksDeltaLake ConnectionCategory = "AzureDatabricksDeltaLake" ConnectionCategoryAzureMariaDb ConnectionCategory = "AzureMariaDb" ConnectionCategoryAzureMySqlDb ConnectionCategory = "AzureMySqlDb" ConnectionCategoryAzureOneLake ConnectionCategory = "AzureOneLake" ConnectionCategoryAzureOpenAI ConnectionCategory = "AzureOpenAI" ConnectionCategoryAzurePostgresDb ConnectionCategory = "AzurePostgresDb" ConnectionCategoryAzureSqlDb ConnectionCategory = "AzureSqlDb" ConnectionCategoryAzureSqlMi ConnectionCategory = "AzureSqlMi" ConnectionCategoryAzureSynapseAnalytics ConnectionCategory = "AzureSynapseAnalytics" ConnectionCategoryAzureTableStorage ConnectionCategory = "AzureTableStorage" ConnectionCategoryBingLLMSearch ConnectionCategory = "BingLLMSearch" ConnectionCategoryCassandra ConnectionCategory = "Cassandra" ConnectionCategoryCognitiveSearch ConnectionCategory = "CognitiveSearch" ConnectionCategoryCognitiveService ConnectionCategory = "CognitiveService" ConnectionCategoryConcur ConnectionCategory = "Concur" ConnectionCategoryContainerRegistry ConnectionCategory = "ContainerRegistry" ConnectionCategoryCosmosDb ConnectionCategory = "CosmosDb" ConnectionCategoryCosmosDbMongoDbApi ConnectionCategory = "CosmosDbMongoDbApi" ConnectionCategoryCouchbase ConnectionCategory = "Couchbase" ConnectionCategoryCustomKeys ConnectionCategory = "CustomKeys" ConnectionCategoryDbTwo ConnectionCategory = "Db2" ConnectionCategoryDrill ConnectionCategory = "Drill" ConnectionCategoryDynamics ConnectionCategory = "Dynamics" ConnectionCategoryDynamicsAx ConnectionCategory = "DynamicsAx" ConnectionCategoryDynamicsCrm ConnectionCategory = "DynamicsCrm" ConnectionCategoryEloqua ConnectionCategory = "Eloqua" ConnectionCategoryFileServer ConnectionCategory = "FileServer" ConnectionCategoryFtpServer ConnectionCategory = "FtpServer" ConnectionCategoryGenericContainerRegistry ConnectionCategory = "GenericContainerRegistry" ConnectionCategoryGenericHTTP ConnectionCategory = "GenericHttp" ConnectionCategoryGenericRest ConnectionCategory = "GenericRest" ConnectionCategoryGit ConnectionCategory = "Git" ConnectionCategoryGoogleAdWords ConnectionCategory = "GoogleAdWords" ConnectionCategoryGoogleBigQuery ConnectionCategory = "GoogleBigQuery" ConnectionCategoryGoogleCloudStorage ConnectionCategory = "GoogleCloudStorage" ConnectionCategoryGreenplum ConnectionCategory = "Greenplum" ConnectionCategoryHbase ConnectionCategory = "Hbase" ConnectionCategoryHdfs ConnectionCategory = "Hdfs" ConnectionCategoryHive ConnectionCategory = "Hive" ConnectionCategoryHubspot ConnectionCategory = "Hubspot" ConnectionCategoryImpala ConnectionCategory = "Impala" ConnectionCategoryInformix ConnectionCategory = "Informix" ConnectionCategoryJira ConnectionCategory = "Jira" ConnectionCategoryMagento ConnectionCategory = "Magento" ConnectionCategoryMariaDb ConnectionCategory = "MariaDb" ConnectionCategoryMarketo ConnectionCategory = "Marketo" ConnectionCategoryMicrosoftAccess ConnectionCategory = "MicrosoftAccess" ConnectionCategoryMongoDbAtlas ConnectionCategory = "MongoDbAtlas" ConnectionCategoryMongoDbVTwo ConnectionCategory = "MongoDbV2" ConnectionCategoryMySql ConnectionCategory = "MySql" ConnectionCategoryNetezza ConnectionCategory = "Netezza" ConnectionCategoryODataRest ConnectionCategory = "ODataRest" ConnectionCategoryOdbc ConnectionCategory = "Odbc" ConnectionCategoryOfficeThreeSixFive ConnectionCategory = "Office365" ConnectionCategoryOpenAI ConnectionCategory = "OpenAI" ConnectionCategoryOracle ConnectionCategory = "Oracle" ConnectionCategoryOracleCloudStorage ConnectionCategory = "OracleCloudStorage" ConnectionCategoryOracleServiceCloud ConnectionCategory = "OracleServiceCloud" ConnectionCategoryPayPal ConnectionCategory = "PayPal" ConnectionCategoryPhoenix ConnectionCategory = "Phoenix" ConnectionCategoryPostgreSql ConnectionCategory = "PostgreSql" ConnectionCategoryPresto ConnectionCategory = "Presto" ConnectionCategoryPythonFeed ConnectionCategory = "PythonFeed" ConnectionCategoryQuickBooks ConnectionCategory = "QuickBooks" ConnectionCategoryRedis ConnectionCategory = "Redis" ConnectionCategoryResponsys ConnectionCategory = "Responsys" ConnectionCategorySThree ConnectionCategory = "S3" ConnectionCategorySalesforce ConnectionCategory = "Salesforce" ConnectionCategorySalesforceMarketingCloud ConnectionCategory = "SalesforceMarketingCloud" ConnectionCategorySalesforceServiceCloud ConnectionCategory = "SalesforceServiceCloud" ConnectionCategorySapBw ConnectionCategory = "SapBw" ConnectionCategorySapCloudForCustomer ConnectionCategory = "SapCloudForCustomer" ConnectionCategorySapEcc ConnectionCategory = "SapEcc" ConnectionCategorySapHana ConnectionCategory = "SapHana" ConnectionCategorySapOpenHub ConnectionCategory = "SapOpenHub" ConnectionCategorySapTable ConnectionCategory = "SapTable" ConnectionCategorySerp ConnectionCategory = "Serp" ConnectionCategoryServerless ConnectionCategory = "Serverless" ConnectionCategoryServiceNow ConnectionCategory = "ServiceNow" ConnectionCategorySftp ConnectionCategory = "Sftp" ConnectionCategoryShopify ConnectionCategory = "Shopify" ConnectionCategorySnowflake ConnectionCategory = "Snowflake" ConnectionCategorySpark ConnectionCategory = "Spark" ConnectionCategorySqlServer ConnectionCategory = "SqlServer" ConnectionCategorySquare ConnectionCategory = "Square" ConnectionCategorySybase ConnectionCategory = "Sybase" ConnectionCategoryTeradata ConnectionCategory = "Teradata" ConnectionCategoryVertica ConnectionCategory = "Vertica" ConnectionCategoryWebTable ConnectionCategory = "WebTable" ConnectionCategoryXero ConnectionCategory = "Xero" ConnectionCategoryZoho ConnectionCategory = "Zoho" )
func (*ConnectionCategory) UnmarshalJSON ¶
func (s *ConnectionCategory) UnmarshalJSON(bytes []byte) error
type ConnectionGroup ¶
type ConnectionGroup string
const ( ConnectionGroupAzure ConnectionGroup = "Azure" ConnectionGroupAzureAI ConnectionGroup = "AzureAI" ConnectionGroupDatabase ConnectionGroup = "Database" ConnectionGroupFile ConnectionGroup = "File" ConnectionGroupGenericProtocol ConnectionGroup = "GenericProtocol" ConnectionGroupNoSQL ConnectionGroup = "NoSQL" ConnectionGroupServicesAndApps ConnectionGroup = "ServicesAndApps" )
func (*ConnectionGroup) UnmarshalJSON ¶
func (s *ConnectionGroup) UnmarshalJSON(bytes []byte) error
type ConnectionId ¶
type ConnectionId struct { SubscriptionId string ResourceGroupName string WorkspaceName string ConnectionName string }
ConnectionId is a struct representing the Resource ID for a Connection
func NewConnectionID ¶
func NewConnectionID(subscriptionId string, resourceGroupName string, workspaceName string, connectionName string) ConnectionId
NewConnectionID returns a new ConnectionId struct
func ParseConnectionID ¶
func ParseConnectionID(input string) (*ConnectionId, error)
ParseConnectionID parses 'input' into a ConnectionId
func ParseConnectionIDInsensitively ¶
func ParseConnectionIDInsensitively(input string) (*ConnectionId, error)
ParseConnectionIDInsensitively parses 'input' case-insensitively into a ConnectionId note: this method should only be used for API response data and not user input
func (*ConnectionId) FromParseResult ¶
func (id *ConnectionId) FromParseResult(input resourceids.ParseResult) error
func (ConnectionId) Segments ¶
func (id ConnectionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Connection ID
func (ConnectionId) String ¶
func (id ConnectionId) String() string
String returns a human-readable description of this Connection ID
type CustomKeys ¶
type CustomKeysWorkspaceConnectionProperties ¶
type CustomKeysWorkspaceConnectionProperties struct { Credentials *CustomKeys `json:"credentials,omitempty"` // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` CreatedByWorkspaceArmId *string `json:"createdByWorkspaceArmId,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` Group *ConnectionGroup `json:"group,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (*CustomKeysWorkspaceConnectionProperties) GetExpiryTimeAsTime ¶
func (o *CustomKeysWorkspaceConnectionProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (CustomKeysWorkspaceConnectionProperties) MarshalJSON ¶
func (s CustomKeysWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
func (*CustomKeysWorkspaceConnectionProperties) SetExpiryTimeAsTime ¶
func (o *CustomKeysWorkspaceConnectionProperties) SetExpiryTimeAsTime(input time.Time)
type ManagedIdentityAuthTypeWorkspaceConnectionProperties ¶
type ManagedIdentityAuthTypeWorkspaceConnectionProperties struct { Credentials *WorkspaceConnectionManagedIdentity `json:"credentials,omitempty"` // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` CreatedByWorkspaceArmId *string `json:"createdByWorkspaceArmId,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` Group *ConnectionGroup `json:"group,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (*ManagedIdentityAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime ¶
func (o *ManagedIdentityAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (ManagedIdentityAuthTypeWorkspaceConnectionProperties) MarshalJSON ¶
func (s ManagedIdentityAuthTypeWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
func (*ManagedIdentityAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime ¶
func (o *ManagedIdentityAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime(input time.Time)
type NoneAuthTypeWorkspaceConnectionProperties ¶
type NoneAuthTypeWorkspaceConnectionProperties struct { // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` CreatedByWorkspaceArmId *string `json:"createdByWorkspaceArmId,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` Group *ConnectionGroup `json:"group,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (*NoneAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime ¶
func (o *NoneAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (NoneAuthTypeWorkspaceConnectionProperties) MarshalJSON ¶
func (s NoneAuthTypeWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
func (*NoneAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime ¶
func (o *NoneAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime(input time.Time)
type OAuth2AuthTypeWorkspaceConnectionProperties ¶
type OAuth2AuthTypeWorkspaceConnectionProperties struct { Credentials *WorkspaceConnectionOAuth2 `json:"credentials,omitempty"` // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` CreatedByWorkspaceArmId *string `json:"createdByWorkspaceArmId,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` Group *ConnectionGroup `json:"group,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (*OAuth2AuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime ¶
func (o *OAuth2AuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (OAuth2AuthTypeWorkspaceConnectionProperties) MarshalJSON ¶
func (s OAuth2AuthTypeWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
func (*OAuth2AuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime ¶
func (o *OAuth2AuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime(input time.Time)
type PATAuthTypeWorkspaceConnectionProperties ¶
type PATAuthTypeWorkspaceConnectionProperties struct { Credentials *WorkspaceConnectionPersonalAccessToken `json:"credentials,omitempty"` // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` CreatedByWorkspaceArmId *string `json:"createdByWorkspaceArmId,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` Group *ConnectionGroup `json:"group,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (*PATAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime ¶
func (o *PATAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (PATAuthTypeWorkspaceConnectionProperties) MarshalJSON ¶
func (s PATAuthTypeWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
func (*PATAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime ¶
func (o *PATAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime(input time.Time)
type RawWorkspaceConnectionPropertiesV2Impl ¶
RawWorkspaceConnectionPropertiesV2Impl 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 SASAuthTypeWorkspaceConnectionProperties ¶
type SASAuthTypeWorkspaceConnectionProperties struct { Credentials *WorkspaceConnectionSharedAccessSignature `json:"credentials,omitempty"` // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` CreatedByWorkspaceArmId *string `json:"createdByWorkspaceArmId,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` Group *ConnectionGroup `json:"group,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (*SASAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime ¶
func (o *SASAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (SASAuthTypeWorkspaceConnectionProperties) MarshalJSON ¶
func (s SASAuthTypeWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
func (*SASAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime ¶
func (o *SASAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime(input time.Time)
type ServicePrincipalAuthTypeWorkspaceConnectionProperties ¶
type ServicePrincipalAuthTypeWorkspaceConnectionProperties struct { Credentials *WorkspaceConnectionServicePrincipal `json:"credentials,omitempty"` // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` CreatedByWorkspaceArmId *string `json:"createdByWorkspaceArmId,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` Group *ConnectionGroup `json:"group,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (*ServicePrincipalAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime ¶
func (o *ServicePrincipalAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (ServicePrincipalAuthTypeWorkspaceConnectionProperties) MarshalJSON ¶
func (s ServicePrincipalAuthTypeWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
func (*ServicePrincipalAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime ¶
func (o *ServicePrincipalAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime(input time.Time)
type UsernamePasswordAuthTypeWorkspaceConnectionProperties ¶
type UsernamePasswordAuthTypeWorkspaceConnectionProperties struct { Credentials *WorkspaceConnectionUsernamePassword `json:"credentials,omitempty"` // Fields inherited from WorkspaceConnectionPropertiesV2 Category *ConnectionCategory `json:"category,omitempty"` CreatedByWorkspaceArmId *string `json:"createdByWorkspaceArmId,omitempty"` ExpiryTime *string `json:"expiryTime,omitempty"` Group *ConnectionGroup `json:"group,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` Target *string `json:"target,omitempty"` Value *string `json:"value,omitempty"` ValueFormat *ValueFormat `json:"valueFormat,omitempty"` }
func (*UsernamePasswordAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime ¶
func (o *UsernamePasswordAuthTypeWorkspaceConnectionProperties) GetExpiryTimeAsTime() (*time.Time, error)
func (UsernamePasswordAuthTypeWorkspaceConnectionProperties) MarshalJSON ¶
func (s UsernamePasswordAuthTypeWorkspaceConnectionProperties) MarshalJSON() ([]byte, error)
func (*UsernamePasswordAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime ¶
func (o *UsernamePasswordAuthTypeWorkspaceConnectionProperties) SetExpiryTimeAsTime(input time.Time)
type V2WorkspaceConnectionResourceClient ¶
type V2WorkspaceConnectionResourceClient struct {
Client *resourcemanager.Client
}
func NewV2WorkspaceConnectionResourceClientWithBaseURI ¶
func NewV2WorkspaceConnectionResourceClientWithBaseURI(sdkApi sdkEnv.Api) (*V2WorkspaceConnectionResourceClient, error)
func (V2WorkspaceConnectionResourceClient) WorkspaceConnectionsCreate ¶
func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsCreate(ctx context.Context, id ConnectionId, input WorkspaceConnectionPropertiesV2BasicResource) (result WorkspaceConnectionsCreateOperationResponse, err error)
WorkspaceConnectionsCreate ...
func (V2WorkspaceConnectionResourceClient) WorkspaceConnectionsDelete ¶
func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsDelete(ctx context.Context, id ConnectionId) (result WorkspaceConnectionsDeleteOperationResponse, err error)
WorkspaceConnectionsDelete ...
func (V2WorkspaceConnectionResourceClient) WorkspaceConnectionsGet ¶
func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsGet(ctx context.Context, id ConnectionId) (result WorkspaceConnectionsGetOperationResponse, err error)
WorkspaceConnectionsGet ...
func (V2WorkspaceConnectionResourceClient) WorkspaceConnectionsList ¶
func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsList(ctx context.Context, id WorkspaceId, options WorkspaceConnectionsListOperationOptions) (result WorkspaceConnectionsListOperationResponse, err error)
WorkspaceConnectionsList ...
func (V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListComplete ¶
func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListComplete(ctx context.Context, id WorkspaceId, options WorkspaceConnectionsListOperationOptions) (WorkspaceConnectionsListCompleteResult, error)
WorkspaceConnectionsListComplete retrieves all the results into a single object
func (V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListCompleteMatchingPredicate ¶
func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options WorkspaceConnectionsListOperationOptions, predicate WorkspaceConnectionPropertiesV2BasicResourceOperationPredicate) (result WorkspaceConnectionsListCompleteResult, err error)
WorkspaceConnectionsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListSecrets ¶
func (c V2WorkspaceConnectionResourceClient) WorkspaceConnectionsListSecrets(ctx context.Context, id ConnectionId) (result WorkspaceConnectionsListSecretsOperationResponse, err error)
WorkspaceConnectionsListSecrets ...
type ValueFormat ¶
type ValueFormat string
const (
ValueFormatJSON ValueFormat = "JSON"
)
func (*ValueFormat) UnmarshalJSON ¶
func (s *ValueFormat) UnmarshalJSON(bytes []byte) error
type WorkspaceConnectionAccountKey ¶ added in v0.20240611.1112045
type WorkspaceConnectionAccountKey struct {
Key *string `json:"key,omitempty"`
}
type WorkspaceConnectionApiKey ¶
type WorkspaceConnectionApiKey struct {
Key *string `json:"key,omitempty"`
}
type WorkspaceConnectionOAuth2 ¶
type WorkspaceConnectionOAuth2 struct { AuthUrl *string `json:"authUrl,omitempty"` ClientId *string `json:"clientId,omitempty"` ClientSecret *string `json:"clientSecret,omitempty"` DeveloperToken *string `json:"developerToken,omitempty"` Password *string `json:"password,omitempty"` RefreshToken *string `json:"refreshToken,omitempty"` TenantId *string `json:"tenantId,omitempty"` Username *string `json:"username,omitempty"` }
type WorkspaceConnectionPersonalAccessToken ¶
type WorkspaceConnectionPersonalAccessToken struct {
Pat *string `json:"pat,omitempty"`
}
type WorkspaceConnectionPropertiesV2 ¶
type WorkspaceConnectionPropertiesV2 interface { }
type WorkspaceConnectionPropertiesV2BasicResource ¶
type WorkspaceConnectionPropertiesV2BasicResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties WorkspaceConnectionPropertiesV2 `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (*WorkspaceConnectionPropertiesV2BasicResource) UnmarshalJSON ¶
func (s *WorkspaceConnectionPropertiesV2BasicResource) UnmarshalJSON(bytes []byte) error
type WorkspaceConnectionPropertiesV2BasicResourceOperationPredicate ¶
type WorkspaceConnectionPropertiesV2BasicResourceOperationPredicate struct { Id *string Name *string Type *string }
type WorkspaceConnectionSharedAccessSignature ¶
type WorkspaceConnectionSharedAccessSignature struct {
}type WorkspaceConnectionsCreateOperationResponse ¶
type WorkspaceConnectionsCreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkspaceConnectionPropertiesV2BasicResource }
type WorkspaceConnectionsGetOperationResponse ¶
type WorkspaceConnectionsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkspaceConnectionPropertiesV2BasicResource }
type WorkspaceConnectionsListCompleteResult ¶
type WorkspaceConnectionsListCompleteResult struct { LatestHttpResponse *http.Response Items []WorkspaceConnectionPropertiesV2BasicResource }
type WorkspaceConnectionsListCustomPager ¶ added in v0.20240628.1153531
func (*WorkspaceConnectionsListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *WorkspaceConnectionsListCustomPager) NextPageLink() *odata.Link
type WorkspaceConnectionsListOperationOptions ¶
func DefaultWorkspaceConnectionsListOperationOptions ¶
func DefaultWorkspaceConnectionsListOperationOptions() WorkspaceConnectionsListOperationOptions
func (WorkspaceConnectionsListOperationOptions) ToHeaders ¶
func (o WorkspaceConnectionsListOperationOptions) ToHeaders() *client.Headers
func (WorkspaceConnectionsListOperationOptions) ToOData ¶
func (o WorkspaceConnectionsListOperationOptions) ToOData() *odata.Query
func (WorkspaceConnectionsListOperationOptions) ToQuery ¶
func (o WorkspaceConnectionsListOperationOptions) ToQuery() *client.QueryParams
type WorkspaceConnectionsListOperationResponse ¶
type WorkspaceConnectionsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]WorkspaceConnectionPropertiesV2BasicResource }
type WorkspaceConnectionsListSecretsOperationResponse ¶
type WorkspaceConnectionsListSecretsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkspaceConnectionPropertiesV2BasicResource }
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_connection.go
- id_workspace.go
- method_workspaceconnectionscreate.go
- method_workspaceconnectionsdelete.go
- method_workspaceconnectionsget.go
- method_workspaceconnectionslist.go
- method_workspaceconnectionslistsecrets.go
- model_aadauthtypeworkspaceconnectionproperties.go
- model_accesskeyauthtypeworkspaceconnectionproperties.go
- model_accountkeyauthtypeworkspaceconnectionproperties.go
- model_apikeyauthworkspaceconnectionproperties.go
- model_customkeys.go
- model_customkeysworkspaceconnectionproperties.go
- model_managedidentityauthtypeworkspaceconnectionproperties.go
- model_noneauthtypeworkspaceconnectionproperties.go
- model_oauth2authtypeworkspaceconnectionproperties.go
- model_patauthtypeworkspaceconnectionproperties.go
- model_sasauthtypeworkspaceconnectionproperties.go
- model_serviceprincipalauthtypeworkspaceconnectionproperties.go
- model_usernamepasswordauthtypeworkspaceconnectionproperties.go
- model_workspaceconnectionaccesskey.go
- model_workspaceconnectionaccountkey.go
- model_workspaceconnectionapikey.go
- model_workspaceconnectionmanagedidentity.go
- model_workspaceconnectionoauth2.go
- model_workspaceconnectionpersonalaccesstoken.go
- model_workspaceconnectionpropertiesv2.go
- model_workspaceconnectionpropertiesv2basicresource.go
- model_workspaceconnectionserviceprincipal.go
- model_workspaceconnectionsharedaccesssignature.go
- model_workspaceconnectionusernamepassword.go
- predicates.go
- version.go