Documentation
¶
Index ¶
- type ClientFactory
- type CreateDataPipelineRequest
- type DataPipeline
- type DataPipelines
- type ItemType
- type ItemsClient
- func (client *ItemsClient) BeginCreateDataPipeline(ctx context.Context, workspaceID string, ...) (*runtime.Poller[ItemsClientCreateDataPipelineResponse], error)
- func (client *ItemsClient) CreateDataPipeline(ctx context.Context, workspaceID string, ...) (ItemsClientCreateDataPipelineResponse, error)
- func (client *ItemsClient) DeleteDataPipeline(ctx context.Context, workspaceID string, dataPipelineID string, ...) (ItemsClientDeleteDataPipelineResponse, error)
- func (client *ItemsClient) GetDataPipeline(ctx context.Context, workspaceID string, dataPipelineID string, ...) (ItemsClientGetDataPipelineResponse, error)
- func (client *ItemsClient) ListDataPipelines(ctx context.Context, workspaceID string, ...) ([]DataPipeline, error)
- func (client *ItemsClient) NewListDataPipelinesPager(workspaceID string, options *ItemsClientListDataPipelinesOptions) *runtime.Pager[ItemsClientListDataPipelinesResponse]
- func (client *ItemsClient) UpdateDataPipeline(ctx context.Context, workspaceID string, dataPipelineID string, ...) (ItemsClientUpdateDataPipelineResponse, error)
- type ItemsClientBeginCreateDataPipelineOptions
- type ItemsClientCreateDataPipelineResponse
- type ItemsClientDeleteDataPipelineOptions
- type ItemsClientDeleteDataPipelineResponse
- type ItemsClientGetDataPipelineOptions
- type ItemsClientGetDataPipelineResponse
- type ItemsClientListDataPipelinesOptions
- type ItemsClientListDataPipelinesResponse
- type ItemsClientUpdateDataPipelineOptions
- type ItemsClientUpdateDataPipelineResponse
- type UpdateDataPipelineRequest
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientFactory ¶
type ClientFactory struct {
// contains filtered or unexported fields
}
ClientFactory is a client factory used to create any client in this module. Don't use this type directly, use NewClientFactory instead.
func NewClientFactory ¶
func NewClientFactory(credential azcore.TokenCredential, endpoint *string, options *azcore.ClientOptions) (*ClientFactory, error)
NewClientFactory creates a new instance of ClientFactory with the specified values. The parameter values will be propagated to any client created from this factory.
- credential - used to authorize requests. Usually a credential from azidentity.
- endpoint - pass nil to accept the default values.
- options - pass nil to accept the default values.
func NewClientFactoryWithClient ¶
func NewClientFactoryWithClient(client fabric.Client) *ClientFactory
NewClientFactoryWithClient creates a new instance of ClientFactory with sharable Client. The Client will be propagated to any client created from this factory.
- client - Client created in the containing module: github.com/microsoft/fabric-sdk-go/fabric
func (*ClientFactory) NewItemsClient ¶
func (c *ClientFactory) NewItemsClient() *ItemsClient
NewItemsClient creates a new instance of ItemsClient.
type CreateDataPipelineRequest ¶
type CreateDataPipelineRequest struct { // REQUIRED; The data pipeline display name. DisplayName *string // The data pipeline description. Maximum length is 256 characters. Description *string }
CreateDataPipelineRequest - Create data pipeline request payload.
func (CreateDataPipelineRequest) MarshalJSON ¶
func (c CreateDataPipelineRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CreateDataPipelineRequest.
func (*CreateDataPipelineRequest) UnmarshalJSON ¶
func (c *CreateDataPipelineRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CreateDataPipelineRequest.
type DataPipeline ¶
type DataPipeline struct { // REQUIRED; The item type. Type *ItemType // The item description. Description *string // The item display name. DisplayName *string // READ-ONLY; The item ID. ID *string // READ-ONLY; The workspace ID. WorkspaceID *string }
DataPipeline - A data pipeline object.
func (DataPipeline) MarshalJSON ¶
func (d DataPipeline) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DataPipeline.
func (*DataPipeline) UnmarshalJSON ¶
func (d *DataPipeline) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DataPipeline.
type DataPipelines ¶
type DataPipelines struct { // REQUIRED; A list of data pipelines. Value []DataPipeline // The token for the next result set batch. If there are no more records, it's removed from the response. ContinuationToken *string // The URI of the next result set batch. If there are no more records, it's removed from the response. ContinuationURI *string }
DataPipelines - A list of data pipelines.
func (DataPipelines) MarshalJSON ¶
func (d DataPipelines) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DataPipelines.
func (*DataPipelines) UnmarshalJSON ¶
func (d *DataPipelines) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DataPipelines.
type ItemType ¶
type ItemType string
ItemType - The type of the item. Additional item types may be added over time.
const ( // ItemTypeDashboard - PowerBI dashboard. ItemTypeDashboard ItemType = "Dashboard" // ItemTypeDataPipeline - A data pipeline. ItemTypeDataPipeline ItemType = "DataPipeline" // ItemTypeDatamart - PowerBI datamart. ItemTypeDatamart ItemType = "Datamart" // ItemTypeEnvironment - An environment. ItemTypeEnvironment ItemType = "Environment" // ItemTypeEventhouse - An eventhouse. ItemTypeEventhouse ItemType = "Eventhouse" // ItemTypeEventstream - An eventstream. ItemTypeEventstream ItemType = "Eventstream" // ItemTypeGraphQLAPI - An API for GraphQL item. ItemTypeGraphQLAPI ItemType = "GraphQLApi" // ItemTypeKQLDashboard - A KQL dashboard. ItemTypeKQLDashboard ItemType = "KQLDashboard" // ItemTypeKQLDatabase - A KQL database. ItemTypeKQLDatabase ItemType = "KQLDatabase" // ItemTypeKQLQueryset - A KQL queryset. ItemTypeKQLQueryset ItemType = "KQLQueryset" // ItemTypeLakehouse - A lakehouse. ItemTypeLakehouse ItemType = "Lakehouse" // ItemTypeMLExperiment - A machine learning experiment. ItemTypeMLExperiment ItemType = "MLExperiment" // ItemTypeMLModel - A machine learning model. ItemTypeMLModel ItemType = "MLModel" // ItemTypeMirroredDatabase - A mirrored database. ItemTypeMirroredDatabase ItemType = "MirroredDatabase" // ItemTypeMirroredWarehouse - A mirrored warehouse. ItemTypeMirroredWarehouse ItemType = "MirroredWarehouse" // ItemTypeNotebook - A notebook. ItemTypeNotebook ItemType = "Notebook" // ItemTypePaginatedReport - PowerBI paginated report. ItemTypePaginatedReport ItemType = "PaginatedReport" // ItemTypeReflex - A Reflex. ItemTypeReflex ItemType = "Reflex" // ItemTypeReport - PowerBI report. ItemTypeReport ItemType = "Report" // ItemTypeSQLEndpoint - An SQL endpoint. ItemTypeSQLEndpoint ItemType = "SQLEndpoint" // ItemTypeSemanticModel - PowerBI semantic model. ItemTypeSemanticModel ItemType = "SemanticModel" // ItemTypeSparkJobDefinition - A spark job definition. ItemTypeSparkJobDefinition ItemType = "SparkJobDefinition" // ItemTypeWarehouse - A warehouse. ItemTypeWarehouse ItemType = "Warehouse" )
func PossibleItemTypeValues ¶
func PossibleItemTypeValues() []ItemType
PossibleItemTypeValues returns the possible values for the ItemType const type.
type ItemsClient ¶
type ItemsClient struct {
// contains filtered or unexported fields
}
ItemsClient contains the methods for the Items group. Don't use this type directly, use a constructor function instead.
func (*ItemsClient) BeginCreateDataPipeline ¶
func (client *ItemsClient) BeginCreateDataPipeline(ctx context.Context, workspaceID string, createDataPipelineRequest CreateDataPipelineRequest, options *ItemsClientBeginCreateDataPipelineOptions) (*runtime.Poller[ItemsClientCreateDataPipelineResponse], error)
BeginCreateDataPipeline - This API supports long running operations (LRO) [/rest/api/fabric/articles/long-running-operation]. PERMISSIONS THE CALLER MUST HAVE CONTRIBUTOR OR HIGHER WORKSPACE ROLE. REQUIRED DELEGATED SCOPES DataPipeline.ReadWrite.All or Item.ReadWrite.All LIMITATIONS * To create a data pipeline, the workspace must be on a supported Fabric capacity. MICROSOFT ENTRA SUPPORTED IDENTITIES This API supports the Microsoft identities [/rest/api/fabric/articles/identity-support] listed in this section. | Identity | Support | |-|-| | User | Yes | | Service principal [/entra/identity-platform/app-objects-and-service-principals#service-principal-object] and Managed identities [/entra/identity/managed-identities-azure-resources/overview] | No | INTERFACE If the operation fails it returns an *core.ResponseError type.
Generated from API version v1
- workspaceID - The workspace ID.
- createDataPipelineRequest - Create item request payload.
- options - ItemsClientBeginCreateDataPipelineOptions contains the optional parameters for the ItemsClient.BeginCreateDataPipeline method.
Example ¶
Generated from example definition
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/microsoft/fabric-sdk-go/fabric/datapipeline" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := datapipeline.NewClientFactory(cred, nil, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } poller, err := clientFactory.NewItemsClient().BeginCreateDataPipeline(ctx, "cfafbeb1-8037-4d0c-896e-a46fb27ff229", datapipeline.CreateDataPipelineRequest{ Description: to.Ptr("A data pipeline description"), DisplayName: to.Ptr("DataPipeline 1"), }, nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } _, err = poller.PollUntilDone(ctx, nil) if err != nil { log.Fatalf("failed to pull the result: %v", err) } }
Output:
func (*ItemsClient) CreateDataPipeline ¶
func (client *ItemsClient) CreateDataPipeline(ctx context.Context, workspaceID string, createDataPipelineRequest CreateDataPipelineRequest, options *ItemsClientBeginCreateDataPipelineOptions) (ItemsClientCreateDataPipelineResponse, error)
CreateDataPipeline - returns ItemsClientCreateDataPipelineResponse in sync mode. This API supports long running operations (LRO) [/rest/api/fabric/articles/long-running-operation].
PERMISSIONS THE CALLER MUST HAVE CONTRIBUTOR OR HIGHER WORKSPACE ROLE. REQUIRED DELEGATED SCOPES DataPipeline.ReadWrite.All or Item.ReadWrite.All
LIMITATIONS
- To create a data pipeline, the workspace must be on a supported Fabric capacity.
MICROSOFT ENTRA SUPPORTED IDENTITIES This API supports the Microsoft identities [/rest/api/fabric/articles/identity-support] listed in this section.
| Identity | Support | |-|-| | User | Yes | | Service principal [/entra/identity-platform/app-objects-and-service-principals#service-principal-object] and Managed identities [/entra/identity/managed-identities-azure-resources/overview] | No |
INTERFACE Generated from API version v1
- workspaceID - The workspace ID.
- createDataPipelineRequest - Create item request payload.
- options - ItemsClientBeginCreateDataPipelineOptions contains the optional parameters for the ItemsClient.BeginCreateDataPipeline method.
func (*ItemsClient) DeleteDataPipeline ¶
func (client *ItemsClient) DeleteDataPipeline(ctx context.Context, workspaceID string, dataPipelineID string, options *ItemsClientDeleteDataPipelineOptions) (ItemsClientDeleteDataPipelineResponse, error)
DeleteDataPipeline - PERMISSIONS The caller must have contributor or higher workspace role. REQUIRED DELEGATED SCOPES DataPipeline.ReadWrite.All or Item.ReadWrite.All MICROSOFT ENTRA SUPPORTED IDENTITIES This API supports the Microsoft identities [/rest/api/fabric/articles/identity-support] listed in this section. | Identity | Support | |-|-| | User | Yes | | Service principal [/entra/identity-platform/app-objects-and-service-principals#service-principal-object] and Managed identities [/entra/identity/managed-identities-azure-resources/overview] | No | INTERFACE If the operation fails it returns an *core.ResponseError type.
Generated from API version v1
- workspaceID - The workspace ID.
- dataPipelineID - The data pipeline ID.
- options - ItemsClientDeleteDataPipelineOptions contains the optional parameters for the ItemsClient.DeleteDataPipeline method.
Example ¶
Generated from example definition
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/microsoft/fabric-sdk-go/fabric/datapipeline" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := datapipeline.NewClientFactory(cred, nil, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } _, err = clientFactory.NewItemsClient().DeleteDataPipeline(ctx, "cfafbeb1-8037-4d0c-896e-a46fb27ff229", "5b218778-e7a5-4d73-8187-f10824047715", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } }
Output:
func (*ItemsClient) GetDataPipeline ¶
func (client *ItemsClient) GetDataPipeline(ctx context.Context, workspaceID string, dataPipelineID string, options *ItemsClientGetDataPipelineOptions) (ItemsClientGetDataPipelineResponse, error)
GetDataPipeline - PERMISSIONS The caller must have viewer or higher workspace role. REQUIRED DELEGATED SCOPES DataPipeline.Read.All or DataPipeline.ReadWrite.All or Item.Read.All or Item.ReadWrite.All MICROSOFT ENTRA SUPPORTED IDENTITIES This API supports the Microsoft identities [/rest/api/fabric/articles/identity-support] listed in this section. | Identity | Support | |-|-| | User | Yes | | Service principal [/entra/identity-platform/app-objects-and-service-principals#service-principal-object] and Managed identities [/entra/identity/managed-identities-azure-resources/overview] | No | INTERFACE If the operation fails it returns an *core.ResponseError type.
Generated from API version v1
- workspaceID - The workspace ID.
- dataPipelineID - The data pipeline ID.
- options - ItemsClientGetDataPipelineOptions contains the optional parameters for the ItemsClient.GetDataPipeline method.
Example ¶
Generated from example definition
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/microsoft/fabric-sdk-go/fabric/datapipeline" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := datapipeline.NewClientFactory(cred, nil, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewItemsClient().GetDataPipeline(ctx, "cfafbeb1-8037-4d0c-896e-a46fb27ff229", "5b218778-e7a5-4d73-8187-f10824047715", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.DataPipeline = datapipeline.DataPipeline{ // Type: to.Ptr(datapipeline.ItemTypeDataPipeline), // Description: to.Ptr("A data pipeline description."), // DisplayName: to.Ptr("DataPipeline 1"), // ID: to.Ptr("5b218778-e7a5-4d73-8187-f10824047715"), // WorkspaceID: to.Ptr("cfafbeb1-8037-4d0c-896e-a46fb27ff229"), // } }
Output:
func (*ItemsClient) ListDataPipelines ¶
func (client *ItemsClient) ListDataPipelines(ctx context.Context, workspaceID string, options *ItemsClientListDataPipelinesOptions) ([]DataPipeline, error)
ListDataPipelines - returns array of DataPipeline from all pages. This API supports pagination [/rest/api/fabric/articles/pagination].
PERMISSIONS The caller must have viewer or higher workspace role.
REQUIRED DELEGATED SCOPES Workspace.Read.All or Workspace.ReadWrite.All ¶
MICROSOFT ENTRA SUPPORTED IDENTITIES This API supports the Microsoft identities [/rest/api/fabric/articles/identity-support] listed in this section.
| Identity | Support | |-|-| | User | Yes | | Service principal [/entra/identity-platform/app-objects-and-service-principals#service-principal-object] and Managed identities [/entra/identity/managed-identities-azure-resources/overview] | No |
INTERFACE Generated from API version v1
- workspaceID - The workspace ID.
- options - ItemsClientListDataPipelinesOptions contains the optional parameters for the ItemsClient.NewListDataPipelinesPager method.
func (*ItemsClient) NewListDataPipelinesPager ¶
func (client *ItemsClient) NewListDataPipelinesPager(workspaceID string, options *ItemsClientListDataPipelinesOptions) *runtime.Pager[ItemsClientListDataPipelinesResponse]
NewListDataPipelinesPager - This API supports pagination [/rest/api/fabric/articles/pagination]. PERMISSIONS The caller must have viewer or higher workspace role. REQUIRED DELEGATED SCOPES Workspace.Read.All or Workspace.ReadWrite.All MICROSOFT ENTRA SUPPORTED IDENTITIES This API supports the Microsoft identities [/rest/api/fabric/articles/identity-support] listed in this section. | Identity | Support | |-|-| | User | Yes | | Service principal [/entra/identity-platform/app-objects-and-service-principals#service-principal-object] and Managed identities [/entra/identity/managed-identities-azure-resources/overview] | No | INTERFACE
Generated from API version v1
- workspaceID - The workspace ID.
- options - ItemsClientListDataPipelinesOptions contains the optional parameters for the ItemsClient.NewListDataPipelinesPager method.
Example ¶
Generated from example definition
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/microsoft/fabric-sdk-go/fabric/datapipeline" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := datapipeline.NewClientFactory(cred, nil, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } pager := clientFactory.NewItemsClient().NewListDataPipelinesPager("cfafbeb1-8037-4d0c-896e-a46fb27ff229", &datapipeline.ItemsClientListDataPipelinesOptions{ContinuationToken: nil}) for pager.More() { page, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) } for _, v := range page.Value { // You could use page here. We use blank identifier for just demo purposes. _ = v } // If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // page.DataPipelines = datapipeline.DataPipelines{ // Value: []datapipeline.DataPipeline{ // { // Type: to.Ptr(datapipeline.ItemTypeDataPipeline), // Description: to.Ptr("A data pipeline description."), // DisplayName: to.Ptr("DataPipeline Name 1"), // ID: to.Ptr("3546052c-ae64-4526-b1a8-52af7761426f"), // WorkspaceID: to.Ptr("cfafbeb1-8037-4d0c-896e-a46fb27ff229"), // }}, // } } }
Output:
func (*ItemsClient) UpdateDataPipeline ¶
func (client *ItemsClient) UpdateDataPipeline(ctx context.Context, workspaceID string, dataPipelineID string, updateDataPipelineRequest UpdateDataPipelineRequest, options *ItemsClientUpdateDataPipelineOptions) (ItemsClientUpdateDataPipelineResponse, error)
UpdateDataPipeline - PERMISSIONS The caller must have contributor or higher workspace role. REQUIRED DELEGATED SCOPES DataPipeline.ReadWrite.All or Item.ReadWrite.All MICROSOFT ENTRA SUPPORTED IDENTITIES This API supports the Microsoft identities [/rest/api/fabric/articles/identity-support] listed in this section. | Identity | Support | |-|-| | User | Yes | | Service principal [/entra/identity-platform/app-objects-and-service-principals#service-principal-object] and Managed identities [/entra/identity/managed-identities-azure-resources/overview] | No | INTERFACE If the operation fails it returns an *core.ResponseError type.
Generated from API version v1
- workspaceID - The workspace ID.
- dataPipelineID - The data pipeline ID.
- updateDataPipelineRequest - Update data pipeline request payload.
- options - ItemsClientUpdateDataPipelineOptions contains the optional parameters for the ItemsClient.UpdateDataPipeline method.
Example ¶
Generated from example definition
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/microsoft/fabric-sdk-go/fabric/datapipeline" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) } ctx := context.Background() clientFactory, err := datapipeline.NewClientFactory(cred, nil, nil) if err != nil { log.Fatalf("failed to create client: %v", err) } res, err := clientFactory.NewItemsClient().UpdateDataPipeline(ctx, "cfafbeb1-8037-4d0c-896e-a46fb27ff229", "5b218778-e7a5-4d73-8187-f10824047715", datapipeline.UpdateDataPipelineRequest{ Description: to.Ptr("A new description for the data pipeline."), DisplayName: to.Ptr("A new name for the DataPipeline"), }, nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) } // You could use response here. We use blank identifier for just demo purposes. _ = res // If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes. // res.DataPipeline = datapipeline.DataPipeline{ // Type: to.Ptr(datapipeline.ItemTypeDataPipeline), // Description: to.Ptr("A new description for the data pipeline."), // DisplayName: to.Ptr("A new name for the DataPipeline"), // ID: to.Ptr("5b218778-e7a5-4d73-8187-f10824047715"), // WorkspaceID: to.Ptr("cfafbeb1-8037-4d0c-896e-a46fb27ff229"), // } }
Output:
type ItemsClientBeginCreateDataPipelineOptions ¶
type ItemsClientBeginCreateDataPipelineOptions struct { // Resumes the long-running operation from the provided token. ResumeToken string }
ItemsClientBeginCreateDataPipelineOptions contains the optional parameters for the ItemsClient.BeginCreateDataPipeline method.
type ItemsClientCreateDataPipelineResponse ¶
type ItemsClientCreateDataPipelineResponse struct { // A data pipeline object. DataPipeline }
ItemsClientCreateDataPipelineResponse contains the response from method ItemsClient.BeginCreateDataPipeline.
type ItemsClientDeleteDataPipelineOptions ¶
type ItemsClientDeleteDataPipelineOptions struct { }
ItemsClientDeleteDataPipelineOptions contains the optional parameters for the ItemsClient.DeleteDataPipeline method.
type ItemsClientDeleteDataPipelineResponse ¶
type ItemsClientDeleteDataPipelineResponse struct { }
ItemsClientDeleteDataPipelineResponse contains the response from method ItemsClient.DeleteDataPipeline.
type ItemsClientGetDataPipelineOptions ¶
type ItemsClientGetDataPipelineOptions struct { }
ItemsClientGetDataPipelineOptions contains the optional parameters for the ItemsClient.GetDataPipeline method.
type ItemsClientGetDataPipelineResponse ¶
type ItemsClientGetDataPipelineResponse struct { // A data pipeline object. DataPipeline }
ItemsClientGetDataPipelineResponse contains the response from method ItemsClient.GetDataPipeline.
type ItemsClientListDataPipelinesOptions ¶
type ItemsClientListDataPipelinesOptions struct { // A token for retrieving the next page of results. ContinuationToken *string }
ItemsClientListDataPipelinesOptions contains the optional parameters for the ItemsClient.NewListDataPipelinesPager method.
type ItemsClientListDataPipelinesResponse ¶
type ItemsClientListDataPipelinesResponse struct { // A list of data pipelines. DataPipelines }
ItemsClientListDataPipelinesResponse contains the response from method ItemsClient.NewListDataPipelinesPager.
type ItemsClientUpdateDataPipelineOptions ¶
type ItemsClientUpdateDataPipelineOptions struct { }
ItemsClientUpdateDataPipelineOptions contains the optional parameters for the ItemsClient.UpdateDataPipeline method.
type ItemsClientUpdateDataPipelineResponse ¶
type ItemsClientUpdateDataPipelineResponse struct { // A data pipeline object. DataPipeline }
ItemsClientUpdateDataPipelineResponse contains the response from method ItemsClient.UpdateDataPipeline.
type UpdateDataPipelineRequest ¶
type UpdateDataPipelineRequest struct { // The data pipeline description. Maximum length is 256 characters. Description *string // The data pipeline display name. The display name must follow naming rules according to item type. DisplayName *string }
UpdateDataPipelineRequest - Update data pipeline request.
func (UpdateDataPipelineRequest) MarshalJSON ¶
func (u UpdateDataPipelineRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type UpdateDataPipelineRequest.
func (*UpdateDataPipelineRequest) UnmarshalJSON ¶
func (u *UpdateDataPipelineRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type UpdateDataPipelineRequest.