integrationruntimeobjectmetadata

package
v0.20241126.1110949 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: MPL-2.0 Imports: 12 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/datafactory/2018-06-01/integrationruntimeobjectmetadata Documentation

The integrationruntimeobjectmetadata SDK allows for interaction with Azure Resource Manager datafactory (API Version 2018-06-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/datafactory/2018-06-01/integrationruntimeobjectmetadata"

Client Initialization

client := integrationruntimeobjectmetadata.NewIntegrationRuntimeObjectMetadataClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: IntegrationRuntimeObjectMetadataClient.Get

ctx := context.TODO()
id := integrationruntimeobjectmetadata.NewIntegrationRuntimeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "factoryName", "integrationRuntimeName")

payload := integrationruntimeobjectmetadata.GetSsisObjectMetadataRequest{
	// ...
}


// alternatively `client.Get(ctx, id, payload)` can be used to do batched pagination
items, err := client.GetComplete(ctx, id, payload)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: IntegrationRuntimeObjectMetadataClient.Refresh

ctx := context.TODO()
id := integrationruntimeobjectmetadata.NewIntegrationRuntimeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "factoryName", "integrationRuntimeName")

if err := client.RefreshThenPoll(ctx, id); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForSsisObjectMetadataType

func PossibleValuesForSsisObjectMetadataType() []string

func ValidateIntegrationRuntimeID

func ValidateIntegrationRuntimeID(input interface{}, key string) (warnings []string, errors []error)

ValidateIntegrationRuntimeID checks that 'input' can be parsed as a Integration Runtime ID

Types

type BaseSsisObjectMetadataImpl added in v0.20241009.1142232

type BaseSsisObjectMetadataImpl struct {
	Description *string                `json:"description,omitempty"`
	Id          *int64                 `json:"id,omitempty"`
	Name        *string                `json:"name,omitempty"`
	Type        SsisObjectMetadataType `json:"type"`
}

func (BaseSsisObjectMetadataImpl) SsisObjectMetadata added in v0.20241009.1142232

type GetCompleteResult added in v0.20240227.1172434

type GetCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []SsisObjectMetadata
}

type GetCustomPager added in v0.20240628.1153531

type GetCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *GetCustomPager) NextPageLink() *odata.Link

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]SsisObjectMetadata
}

type GetSsisObjectMetadataRequest

type GetSsisObjectMetadataRequest struct {
	MetadataPath *string `json:"metadataPath,omitempty"`
}

type IntegrationRuntimeId

type IntegrationRuntimeId struct {
	SubscriptionId         string
	ResourceGroupName      string
	FactoryName            string
	IntegrationRuntimeName string
}

IntegrationRuntimeId is a struct representing the Resource ID for a Integration Runtime

func NewIntegrationRuntimeID

func NewIntegrationRuntimeID(subscriptionId string, resourceGroupName string, factoryName string, integrationRuntimeName string) IntegrationRuntimeId

NewIntegrationRuntimeID returns a new IntegrationRuntimeId struct

func ParseIntegrationRuntimeID

func ParseIntegrationRuntimeID(input string) (*IntegrationRuntimeId, error)

ParseIntegrationRuntimeID parses 'input' into a IntegrationRuntimeId

func ParseIntegrationRuntimeIDInsensitively

func ParseIntegrationRuntimeIDInsensitively(input string) (*IntegrationRuntimeId, error)

ParseIntegrationRuntimeIDInsensitively parses 'input' case-insensitively into a IntegrationRuntimeId note: this method should only be used for API response data and not user input

func (*IntegrationRuntimeId) FromParseResult

func (id *IntegrationRuntimeId) FromParseResult(input resourceids.ParseResult) error

func (IntegrationRuntimeId) ID

func (id IntegrationRuntimeId) ID() string

ID returns the formatted Integration Runtime ID

func (IntegrationRuntimeId) Segments

func (id IntegrationRuntimeId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Integration Runtime ID

func (IntegrationRuntimeId) String

func (id IntegrationRuntimeId) String() string

String returns a human-readable description of this Integration Runtime ID

type IntegrationRuntimeObjectMetadataClient

type IntegrationRuntimeObjectMetadataClient struct {
	Client *resourcemanager.Client
}

func NewIntegrationRuntimeObjectMetadataClientWithBaseURI

func NewIntegrationRuntimeObjectMetadataClientWithBaseURI(sdkApi sdkEnv.Api) (*IntegrationRuntimeObjectMetadataClient, error)

func (IntegrationRuntimeObjectMetadataClient) Get

Get ...

func (IntegrationRuntimeObjectMetadataClient) GetComplete added in v0.20240227.1172434

GetComplete retrieves all the results into a single object

func (IntegrationRuntimeObjectMetadataClient) GetCompleteMatchingPredicate added in v0.20240227.1172434

GetCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (IntegrationRuntimeObjectMetadataClient) Refresh

Refresh ...

func (IntegrationRuntimeObjectMetadataClient) RefreshThenPoll

RefreshThenPoll performs Refresh then polls until it's completed

type RawSsisObjectMetadataImpl added in v0.20241009.1142232

type RawSsisObjectMetadataImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawSsisObjectMetadataImpl 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).

func (RawSsisObjectMetadataImpl) SsisObjectMetadata added in v0.20241009.1142232

type RefreshOperationResponse

type RefreshOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SsisObjectMetadataStatusResponse
}

type SsisEnvironment added in v0.20241009.1142232

type SsisEnvironment struct {
	FolderId  *int64          `json:"folderId,omitempty"`
	Variables *[]SsisVariable `json:"variables,omitempty"`

	Description *string                `json:"description,omitempty"`
	Id          *int64                 `json:"id,omitempty"`
	Name        *string                `json:"name,omitempty"`
	Type        SsisObjectMetadataType `json:"type"`
}

func (SsisEnvironment) MarshalJSON added in v0.20241009.1142232

func (s SsisEnvironment) MarshalJSON() ([]byte, error)

func (SsisEnvironment) SsisObjectMetadata added in v0.20241009.1142232

func (s SsisEnvironment) SsisObjectMetadata() BaseSsisObjectMetadataImpl

type SsisEnvironmentReference added in v0.20241009.1142232

type SsisEnvironmentReference struct {
	EnvironmentFolderName *string `json:"environmentFolderName,omitempty"`
	EnvironmentName       *string `json:"environmentName,omitempty"`
	Id                    *int64  `json:"id,omitempty"`
	ReferenceType         *string `json:"referenceType,omitempty"`
}

type SsisFolder added in v0.20241009.1142232

type SsisFolder struct {
	Description *string                `json:"description,omitempty"`
	Id          *int64                 `json:"id,omitempty"`
	Name        *string                `json:"name,omitempty"`
	Type        SsisObjectMetadataType `json:"type"`
}

func (SsisFolder) MarshalJSON added in v0.20241009.1142232

func (s SsisFolder) MarshalJSON() ([]byte, error)

func (SsisFolder) SsisObjectMetadata added in v0.20241009.1142232

func (s SsisFolder) SsisObjectMetadata() BaseSsisObjectMetadataImpl

type SsisObjectMetadata

type SsisObjectMetadata interface {
	SsisObjectMetadata() BaseSsisObjectMetadataImpl
}

func UnmarshalSsisObjectMetadataImplementation added in v0.20241009.1142232

func UnmarshalSsisObjectMetadataImplementation(input []byte) (SsisObjectMetadata, error)

type SsisObjectMetadataOperationPredicate added in v0.20240227.1172434

type SsisObjectMetadataOperationPredicate struct {
}

func (SsisObjectMetadataOperationPredicate) Matches added in v0.20240227.1172434

type SsisObjectMetadataStatusResponse

type SsisObjectMetadataStatusResponse struct {
	Error      *string `json:"error,omitempty"`
	Name       *string `json:"name,omitempty"`
	Properties *string `json:"properties,omitempty"`
	Status     *string `json:"status,omitempty"`
}

type SsisObjectMetadataType

type SsisObjectMetadataType string
const (
	SsisObjectMetadataTypeEnvironment SsisObjectMetadataType = "Environment"
	SsisObjectMetadataTypeFolder      SsisObjectMetadataType = "Folder"
	SsisObjectMetadataTypePackage     SsisObjectMetadataType = "Package"
	SsisObjectMetadataTypeProject     SsisObjectMetadataType = "Project"
)

func (*SsisObjectMetadataType) UnmarshalJSON

func (s *SsisObjectMetadataType) UnmarshalJSON(bytes []byte) error

type SsisPackage added in v0.20241009.1142232

type SsisPackage struct {
	FolderId       *int64           `json:"folderId,omitempty"`
	Parameters     *[]SsisParameter `json:"parameters,omitempty"`
	ProjectId      *int64           `json:"projectId,omitempty"`
	ProjectVersion *int64           `json:"projectVersion,omitempty"`

	Description *string                `json:"description,omitempty"`
	Id          *int64                 `json:"id,omitempty"`
	Name        *string                `json:"name,omitempty"`
	Type        SsisObjectMetadataType `json:"type"`
}

func (SsisPackage) MarshalJSON added in v0.20241009.1142232

func (s SsisPackage) MarshalJSON() ([]byte, error)

func (SsisPackage) SsisObjectMetadata added in v0.20241009.1142232

func (s SsisPackage) SsisObjectMetadata() BaseSsisObjectMetadataImpl

type SsisParameter added in v0.20241009.1142232

type SsisParameter struct {
	DataType              *string `json:"dataType,omitempty"`
	DefaultValue          *string `json:"defaultValue,omitempty"`
	Description           *string `json:"description,omitempty"`
	DesignDefaultValue    *string `json:"designDefaultValue,omitempty"`
	Id                    *int64  `json:"id,omitempty"`
	Name                  *string `json:"name,omitempty"`
	Required              *bool   `json:"required,omitempty"`
	Sensitive             *bool   `json:"sensitive,omitempty"`
	SensitiveDefaultValue *string `json:"sensitiveDefaultValue,omitempty"`
	ValueSet              *bool   `json:"valueSet,omitempty"`
	ValueType             *string `json:"valueType,omitempty"`
	Variable              *string `json:"variable,omitempty"`
}

type SsisProject added in v0.20241009.1142232

type SsisProject struct {
	EnvironmentRefs *[]SsisEnvironmentReference `json:"environmentRefs,omitempty"`
	FolderId        *int64                      `json:"folderId,omitempty"`
	Parameters      *[]SsisParameter            `json:"parameters,omitempty"`
	Version         *int64                      `json:"version,omitempty"`

	Description *string                `json:"description,omitempty"`
	Id          *int64                 `json:"id,omitempty"`
	Name        *string                `json:"name,omitempty"`
	Type        SsisObjectMetadataType `json:"type"`
}

func (SsisProject) MarshalJSON added in v0.20241009.1142232

func (s SsisProject) MarshalJSON() ([]byte, error)

func (SsisProject) SsisObjectMetadata added in v0.20241009.1142232

func (s SsisProject) SsisObjectMetadata() BaseSsisObjectMetadataImpl

type SsisVariable added in v0.20241009.1142232

type SsisVariable struct {
	DataType       *string `json:"dataType,omitempty"`
	Description    *string `json:"description,omitempty"`
	Id             *int64  `json:"id,omitempty"`
	Name           *string `json:"name,omitempty"`
	Sensitive      *bool   `json:"sensitive,omitempty"`
	SensitiveValue *string `json:"sensitiveValue,omitempty"`
	Value          *string `json:"value,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL