azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/enterpriseknowledgegraphservice/2018-12-03/enterpriseknowledgegraphservice Index | Files | Directories

package enterpriseknowledgegraphservice

import "github.com/Azure/azure-sdk-for-go/services/preview/enterpriseknowledgegraphservice/2018-12-03/enterpriseknowledgegraphservice"

Package enterpriseknowledgegraphservice implements the Azure ARM Enterpriseknowledgegraphservice service API version 2018-12-03.

Azure Enterprise Knowledge Graph Service is a platform for creating knowledge graphs at scale.

Index

Package Files

client.go enterpriseknowledgegraph.go models.go operations.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Enterpriseknowledgegraphservice
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Enterpriseknowledgegraphservice.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type EnterpriseKnowledgeGraph Uses

type EnterpriseKnowledgeGraph struct {
    autorest.Response `json:"-"`
    // Properties - The set of properties specific to EnterpriseKnowledgeGraph resource
    Properties *EnterpriseKnowledgeGraphProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Specifies the resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Specifies the name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Specifies the type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - Specifies the location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - Contains resource tags defined as key/value pairs.
    Tags map[string]*string `json:"tags"`
    // Sku - Gets or sets the SKU of the resource.
    Sku *Sku `json:"sku,omitempty"`
}

EnterpriseKnowledgeGraph enterpriseKnowledgeGraph resource definition

func (EnterpriseKnowledgeGraph) MarshalJSON Uses

func (ekg EnterpriseKnowledgeGraph) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EnterpriseKnowledgeGraph.

type EnterpriseKnowledgeGraphClient Uses

type EnterpriseKnowledgeGraphClient struct {
    BaseClient
}

EnterpriseKnowledgeGraphClient is the azure Enterprise Knowledge Graph Service is a platform for creating knowledge graphs at scale.

func NewEnterpriseKnowledgeGraphClient Uses

func NewEnterpriseKnowledgeGraphClient(subscriptionID string) EnterpriseKnowledgeGraphClient

NewEnterpriseKnowledgeGraphClient creates an instance of the EnterpriseKnowledgeGraphClient client.

func NewEnterpriseKnowledgeGraphClientWithBaseURI Uses

func NewEnterpriseKnowledgeGraphClientWithBaseURI(baseURI string, subscriptionID string) EnterpriseKnowledgeGraphClient

NewEnterpriseKnowledgeGraphClientWithBaseURI creates an instance of the EnterpriseKnowledgeGraphClient client.

func (EnterpriseKnowledgeGraphClient) Create Uses

func (client EnterpriseKnowledgeGraphClient) Create(ctx context.Context, resourceGroupName string, resourceName string, parameters EnterpriseKnowledgeGraph) (result EnterpriseKnowledgeGraph, err error)

Create creates a EnterpriseKnowledgeGraph Service. EnterpriseKnowledgeGraph Service is a resource group wide resource type. Parameters: resourceGroupName - the name of the EnterpriseKnowledgeGraph resource group in the user subscription. resourceName - the name of the EnterpriseKnowledgeGraph resource. parameters - the parameters to provide for the created EnterpriseKnowledgeGraph.

func (EnterpriseKnowledgeGraphClient) CreatePreparer Uses

func (client EnterpriseKnowledgeGraphClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters EnterpriseKnowledgeGraph) (*http.Request, error)

CreatePreparer prepares the Create request.

func (EnterpriseKnowledgeGraphClient) CreateResponder Uses

func (client EnterpriseKnowledgeGraphClient) CreateResponder(resp *http.Response) (result EnterpriseKnowledgeGraph, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (EnterpriseKnowledgeGraphClient) CreateSender Uses

func (client EnterpriseKnowledgeGraphClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (EnterpriseKnowledgeGraphClient) Delete Uses

func (client EnterpriseKnowledgeGraphClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error)

Delete deletes a EnterpriseKnowledgeGraph Service from the resource group. Parameters: resourceGroupName - the name of the EnterpriseKnowledgeGraph resource group in the user subscription. resourceName - the name of the EnterpriseKnowledgeGraph resource.

func (EnterpriseKnowledgeGraphClient) DeletePreparer Uses

func (client EnterpriseKnowledgeGraphClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (EnterpriseKnowledgeGraphClient) DeleteResponder Uses

func (client EnterpriseKnowledgeGraphClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (EnterpriseKnowledgeGraphClient) DeleteSender Uses

func (client EnterpriseKnowledgeGraphClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (EnterpriseKnowledgeGraphClient) Get Uses

func (client EnterpriseKnowledgeGraphClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result EnterpriseKnowledgeGraph, err error)

Get returns a EnterpriseKnowledgeGraph service specified by the parameters. Parameters: resourceGroupName - the name of the EnterpriseKnowledgeGraph resource group in the user subscription. resourceName - the name of the EnterpriseKnowledgeGraph resource.

func (EnterpriseKnowledgeGraphClient) GetPreparer Uses

func (client EnterpriseKnowledgeGraphClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (EnterpriseKnowledgeGraphClient) GetResponder Uses

func (client EnterpriseKnowledgeGraphClient) GetResponder(resp *http.Response) (result EnterpriseKnowledgeGraph, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (EnterpriseKnowledgeGraphClient) GetSender Uses

func (client EnterpriseKnowledgeGraphClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (EnterpriseKnowledgeGraphClient) List Uses

func (client EnterpriseKnowledgeGraphClient) List(ctx context.Context) (result EnterpriseKnowledgeGraphResponseListPage, err error)

List returns all the resources of a particular type belonging to a subscription.

func (EnterpriseKnowledgeGraphClient) ListByResourceGroup Uses

func (client EnterpriseKnowledgeGraphClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result EnterpriseKnowledgeGraphResponseListPage, err error)

ListByResourceGroup returns all the resources of a particular type belonging to a resource group Parameters: resourceGroupName - the name of the EnterpriseKnowledgeGraph resource group in the user subscription.

func (EnterpriseKnowledgeGraphClient) ListByResourceGroupComplete Uses

func (client EnterpriseKnowledgeGraphClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result EnterpriseKnowledgeGraphResponseListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (EnterpriseKnowledgeGraphClient) ListByResourceGroupPreparer Uses

func (client EnterpriseKnowledgeGraphClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (EnterpriseKnowledgeGraphClient) ListByResourceGroupResponder Uses

func (client EnterpriseKnowledgeGraphClient) ListByResourceGroupResponder(resp *http.Response) (result EnterpriseKnowledgeGraphResponseList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (EnterpriseKnowledgeGraphClient) ListByResourceGroupSender Uses

func (client EnterpriseKnowledgeGraphClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (EnterpriseKnowledgeGraphClient) ListComplete Uses

func (client EnterpriseKnowledgeGraphClient) ListComplete(ctx context.Context) (result EnterpriseKnowledgeGraphResponseListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (EnterpriseKnowledgeGraphClient) ListPreparer Uses

func (client EnterpriseKnowledgeGraphClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (EnterpriseKnowledgeGraphClient) ListResponder Uses

func (client EnterpriseKnowledgeGraphClient) ListResponder(resp *http.Response) (result EnterpriseKnowledgeGraphResponseList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (EnterpriseKnowledgeGraphClient) ListSender Uses

func (client EnterpriseKnowledgeGraphClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (EnterpriseKnowledgeGraphClient) Update Uses

func (client EnterpriseKnowledgeGraphClient) Update(ctx context.Context, resourceGroupName string, resourceName string, parameters EnterpriseKnowledgeGraph) (result EnterpriseKnowledgeGraph, err error)

Update updates a EnterpriseKnowledgeGraph Service Parameters: resourceGroupName - the name of the EnterpriseKnowledgeGraph resource group in the user subscription. resourceName - the name of the EnterpriseKnowledgeGraph resource. parameters - the parameters to provide for the created EnterpriseKnowledgeGraph.

func (EnterpriseKnowledgeGraphClient) UpdatePreparer Uses

func (client EnterpriseKnowledgeGraphClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters EnterpriseKnowledgeGraph) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (EnterpriseKnowledgeGraphClient) UpdateResponder Uses

func (client EnterpriseKnowledgeGraphClient) UpdateResponder(resp *http.Response) (result EnterpriseKnowledgeGraph, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (EnterpriseKnowledgeGraphClient) UpdateSender Uses

func (client EnterpriseKnowledgeGraphClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type EnterpriseKnowledgeGraphProperties Uses

type EnterpriseKnowledgeGraphProperties struct {
    // Description - The description of the EnterpriseKnowledgeGraph
    Description *string `json:"description,omitempty"`
    // Metadata - Specifies the metadata  of the resource.
    Metadata interface{} `json:"metadata,omitempty"`
    // ProvisioningState - The state of EnterpriseKnowledgeGraph provisioning. Possible values include: 'Creating', 'Deleting', 'Failed', 'Succeeded'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

EnterpriseKnowledgeGraphProperties the parameters to provide for the EnterpriseKnowledgeGraph.

type EnterpriseKnowledgeGraphResponseList Uses

type EnterpriseKnowledgeGraphResponseList struct {
    autorest.Response `json:"-"`
    // NextLink - The link used to get the next page of EnterpriseKnowledgeGraph service resources.
    NextLink *string `json:"nextLink,omitempty"`
    // Value - READ-ONLY; Gets the list of EnterpriseKnowledgeGraph service results and their properties.
    Value *[]EnterpriseKnowledgeGraph `json:"value,omitempty"`
}

EnterpriseKnowledgeGraphResponseList the list of EnterpriseKnowledgeGraph service operation response.

func (EnterpriseKnowledgeGraphResponseList) IsEmpty Uses

func (ekgrl EnterpriseKnowledgeGraphResponseList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EnterpriseKnowledgeGraphResponseListIterator Uses

type EnterpriseKnowledgeGraphResponseListIterator struct {
    // contains filtered or unexported fields
}

EnterpriseKnowledgeGraphResponseListIterator provides access to a complete listing of EnterpriseKnowledgeGraph values.

func NewEnterpriseKnowledgeGraphResponseListIterator Uses

func NewEnterpriseKnowledgeGraphResponseListIterator(page EnterpriseKnowledgeGraphResponseListPage) EnterpriseKnowledgeGraphResponseListIterator

Creates a new instance of the EnterpriseKnowledgeGraphResponseListIterator type.

func (*EnterpriseKnowledgeGraphResponseListIterator) Next Uses

func (iter *EnterpriseKnowledgeGraphResponseListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EnterpriseKnowledgeGraphResponseListIterator) NextWithContext Uses

func (iter *EnterpriseKnowledgeGraphResponseListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (EnterpriseKnowledgeGraphResponseListIterator) NotDone Uses

func (iter EnterpriseKnowledgeGraphResponseListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (EnterpriseKnowledgeGraphResponseListIterator) Response Uses

func (iter EnterpriseKnowledgeGraphResponseListIterator) Response() EnterpriseKnowledgeGraphResponseList

Response returns the raw server response from the last page request.

func (EnterpriseKnowledgeGraphResponseListIterator) Value Uses

func (iter EnterpriseKnowledgeGraphResponseListIterator) Value() EnterpriseKnowledgeGraph

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type EnterpriseKnowledgeGraphResponseListPage Uses

type EnterpriseKnowledgeGraphResponseListPage struct {
    // contains filtered or unexported fields
}

EnterpriseKnowledgeGraphResponseListPage contains a page of EnterpriseKnowledgeGraph values.

func NewEnterpriseKnowledgeGraphResponseListPage Uses

func NewEnterpriseKnowledgeGraphResponseListPage(getNextPage func(context.Context, EnterpriseKnowledgeGraphResponseList) (EnterpriseKnowledgeGraphResponseList, error)) EnterpriseKnowledgeGraphResponseListPage

Creates a new instance of the EnterpriseKnowledgeGraphResponseListPage type.

func (*EnterpriseKnowledgeGraphResponseListPage) Next Uses

func (page *EnterpriseKnowledgeGraphResponseListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EnterpriseKnowledgeGraphResponseListPage) NextWithContext Uses

func (page *EnterpriseKnowledgeGraphResponseListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (EnterpriseKnowledgeGraphResponseListPage) NotDone Uses

func (page EnterpriseKnowledgeGraphResponseListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (EnterpriseKnowledgeGraphResponseListPage) Response Uses

func (page EnterpriseKnowledgeGraphResponseListPage) Response() EnterpriseKnowledgeGraphResponseList

Response returns the raw server response from the last page request.

func (EnterpriseKnowledgeGraphResponseListPage) Values Uses

func (page EnterpriseKnowledgeGraphResponseListPage) Values() []EnterpriseKnowledgeGraph

Values returns the slice of values for the current page or nil if there are no values.

type Error Uses

type Error struct {
    // Error - The error body.
    Error *ErrorBody `json:"error,omitempty"`
}

Error enterpriseKnowledgeGraph Service error object.

type ErrorBody Uses

type ErrorBody struct {
    // Code - error code
    Code *string `json:"code,omitempty"`
    // Message - error message
    Message *string `json:"message,omitempty"`
}

ErrorBody enterpriseKnowledgeGraph Service error body.

type OperationDisplayInfo Uses

type OperationDisplayInfo struct {
    // Description - The description of the operation.
    Description *string `json:"description,omitempty"`
    // Operation - The action that users can perform, based on their permission level.
    Operation *string `json:"operation,omitempty"`
    // Provider - Service provider: Microsoft EnterpriseKnowledgeGraph Service.
    Provider *string `json:"provider,omitempty"`
    // Resource - Resource on which the operation is performed.
    Resource *string `json:"resource,omitempty"`
}

OperationDisplayInfo the operation supported by EnterpriseKnowledgeGraph Service Management.

type OperationEntity Uses

type OperationEntity struct {
    // Name - Operation name: {provider}/{resource}/{operation}.
    Name *string `json:"name,omitempty"`
    // Display - The operation supported by EnterpriseKnowledgeGraph Service Management.
    Display *OperationDisplayInfo `json:"display,omitempty"`
    // Origin - The origin of the operation.
    Origin *string `json:"origin,omitempty"`
    // Properties - Additional properties.
    Properties interface{} `json:"properties,omitempty"`
}

OperationEntity the operations supported by EnterpriseKnowledgeGraph Service Management.

type OperationEntityListResult Uses

type OperationEntityListResult struct {
    autorest.Response `json:"-"`
    // NextLink - The link used to get the next page of operations.
    NextLink *string `json:"nextLink,omitempty"`
    // Value - The list of operations.
    Value *[]OperationEntity `json:"value,omitempty"`
}

OperationEntityListResult the list of EnterpriseKnowledgeGraph service operation response.

func (OperationEntityListResult) IsEmpty Uses

func (oelr OperationEntityListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationEntityListResultIterator Uses

type OperationEntityListResultIterator struct {
    // contains filtered or unexported fields
}

OperationEntityListResultIterator provides access to a complete listing of OperationEntity values.

func NewOperationEntityListResultIterator Uses

func NewOperationEntityListResultIterator(page OperationEntityListResultPage) OperationEntityListResultIterator

Creates a new instance of the OperationEntityListResultIterator type.

func (*OperationEntityListResultIterator) Next Uses

func (iter *OperationEntityListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationEntityListResultIterator) NextWithContext Uses

func (iter *OperationEntityListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationEntityListResultIterator) NotDone Uses

func (iter OperationEntityListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationEntityListResultIterator) Response Uses

func (iter OperationEntityListResultIterator) Response() OperationEntityListResult

Response returns the raw server response from the last page request.

func (OperationEntityListResultIterator) Value Uses

func (iter OperationEntityListResultIterator) Value() OperationEntity

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationEntityListResultPage Uses

type OperationEntityListResultPage struct {
    // contains filtered or unexported fields
}

OperationEntityListResultPage contains a page of OperationEntity values.

func NewOperationEntityListResultPage Uses

func NewOperationEntityListResultPage(getNextPage func(context.Context, OperationEntityListResult) (OperationEntityListResult, error)) OperationEntityListResultPage

Creates a new instance of the OperationEntityListResultPage type.

func (*OperationEntityListResultPage) Next Uses

func (page *OperationEntityListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationEntityListResultPage) NextWithContext Uses

func (page *OperationEntityListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationEntityListResultPage) NotDone Uses

func (page OperationEntityListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationEntityListResultPage) Response Uses

func (page OperationEntityListResultPage) Response() OperationEntityListResult

Response returns the raw server response from the last page request.

func (OperationEntityListResultPage) Values Uses

func (page OperationEntityListResultPage) Values() []OperationEntity

Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the azure Enterprise Knowledge Graph Service is a platform for creating knowledge graphs at scale.

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result OperationEntityListResultPage, err error)

List lists all the available EnterpriseKnowledgeGraph services operations.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationEntityListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationEntityListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender Uses

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ProvisioningState Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // Creating ...
    Creating ProvisioningState = "Creating"
    // Deleting ...
    Deleting ProvisioningState = "Deleting"
    // Failed ...
    Failed ProvisioningState = "Failed"
    // Succeeded ...
    Succeeded ProvisioningState = "Succeeded"
)

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type Resource Uses

type Resource struct {
    // ID - READ-ONLY; Specifies the resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Specifies the name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Specifies the type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - Specifies the location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - Contains resource tags defined as key/value pairs.
    Tags map[string]*string `json:"tags"`
    // Sku - Gets or sets the SKU of the resource.
    Sku *Sku `json:"sku,omitempty"`
}

Resource azure resource

func (Resource) MarshalJSON Uses

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type Sku Uses

type Sku struct {
    // Name - The sku name. Possible values include: 'F0', 'S1'
    Name SkuName `json:"name,omitempty"`
}

Sku the SKU of the EnterpriseKnowledgeGraph service account.

type SkuName Uses

type SkuName string

SkuName enumerates the values for sku name.

const (
    // F0 ...
    F0  SkuName = "F0"
    // S1 ...
    S1  SkuName = "S1"
)

func PossibleSkuNameValues Uses

func PossibleSkuNameValues() []SkuName

PossibleSkuNameValues returns an array of possible values for the SkuName const type.

Directories

PathSynopsis
enterpriseknowledgegraphserviceapi

Package enterpriseknowledgegraphservice imports 9 packages (graph) and is imported by 3 packages. Updated 2019-08-01. Refresh now. Tools for package owners.