dataproductscatalogs

package
v0.20241126.2320 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: 11 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/networkanalytics/2023-11-15/dataproductscatalogs Documentation

The dataproductscatalogs SDK allows for interaction with Azure Resource Manager networkanalytics (API Version 2023-11-15).

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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/networkanalytics/2023-11-15/dataproductscatalogs"

Client Initialization

client := dataproductscatalogs.NewDataProductsCatalogsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: DataProductsCatalogsClient.Get

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DataProductsCatalogsClient.ListByResourceGroup

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

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

Example Usage: DataProductsCatalogsClient.ListBySubscription

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

Types

type DataProductInformation

type DataProductInformation struct {
	DataProductName     string               `json:"dataProductName"`
	DataProductVersions []DataProductVersion `json:"dataProductVersions"`
	Description         string               `json:"description"`
}

type DataProductVersion

type DataProductVersion struct {
	Version string `json:"version"`
}

type DataProductsCatalog

type DataProductsCatalog struct {
	Id         *string                        `json:"id,omitempty"`
	Name       *string                        `json:"name,omitempty"`
	Properties *DataProductsCatalogProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData         `json:"systemData,omitempty"`
	Type       *string                        `json:"type,omitempty"`
}

type DataProductsCatalogOperationPredicate

type DataProductsCatalogOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (DataProductsCatalogOperationPredicate) Matches

type DataProductsCatalogProperties

type DataProductsCatalogProperties struct {
	ProvisioningState *ProvisioningState     `json:"provisioningState,omitempty"`
	Publishers        []PublisherInformation `json:"publishers"`
}

type DataProductsCatalogsClient

type DataProductsCatalogsClient struct {
	Client *resourcemanager.Client
}

func NewDataProductsCatalogsClientWithBaseURI

func NewDataProductsCatalogsClientWithBaseURI(sdkApi sdkEnv.Api) (*DataProductsCatalogsClient, error)

func (DataProductsCatalogsClient) Get

Get ...

func (DataProductsCatalogsClient) ListByResourceGroup

ListByResourceGroup ...

func (DataProductsCatalogsClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (DataProductsCatalogsClient) ListByResourceGroupCompleteMatchingPredicate

func (c DataProductsCatalogsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate DataProductsCatalogOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DataProductsCatalogsClient) ListBySubscription

ListBySubscription ...

func (DataProductsCatalogsClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all the results into a single object

func (DataProductsCatalogsClient) ListBySubscriptionCompleteMatchingPredicate

func (c DataProductsCatalogsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DataProductsCatalogOperationPredicate) (result ListBySubscriptionCompleteResult, err error)

ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DataProductsCatalog
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DataProductsCatalog
}

type ListByResourceGroupCustomPager

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

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DataProductsCatalog
}

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DataProductsCatalog
}

type ListBySubscriptionCustomPager

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

type ListBySubscriptionOperationResponse

type ListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DataProductsCatalog
}

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateAccepted     ProvisioningState = "Accepted"
	ProvisioningStateCanceled     ProvisioningState = "Canceled"
	ProvisioningStateDeleting     ProvisioningState = "Deleting"
	ProvisioningStateFailed       ProvisioningState = "Failed"
	ProvisioningStateProvisioning ProvisioningState = "Provisioning"
	ProvisioningStateSucceeded    ProvisioningState = "Succeeded"
	ProvisioningStateUpdating     ProvisioningState = "Updating"
)

func (*ProvisioningState) UnmarshalJSON

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

type PublisherInformation

type PublisherInformation struct {
	DataProducts  []DataProductInformation `json:"dataProducts"`
	PublisherName string                   `json:"publisherName"`
}

Jump to

Keyboard shortcuts

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