synchronizationtemplateschema

package
v0.20241017.1093842 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MPL-2.0 Imports: 9 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/serviceprincipals/beta/synchronizationtemplateschema Documentation

The synchronizationtemplateschema SDK allows for interaction with Microsoft Graph serviceprincipals (API Version beta).

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/microsoft-graph/serviceprincipals/beta/synchronizationtemplateschema"

Client Initialization

client := synchronizationtemplateschema.NewSynchronizationTemplateSchemaClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: SynchronizationTemplateSchemaClient.DeleteSynchronizationTemplateSchema

ctx := context.TODO()
id := synchronizationtemplateschema.NewServicePrincipalIdSynchronizationTemplateID("servicePrincipalId", "synchronizationTemplateId")

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

Example Usage: SynchronizationTemplateSchemaClient.GetSynchronizationTemplateSchema

ctx := context.TODO()
id := synchronizationtemplateschema.NewServicePrincipalIdSynchronizationTemplateID("servicePrincipalId", "synchronizationTemplateId")

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

Example Usage: SynchronizationTemplateSchemaClient.ParseSynchronizationTemplateSchemaExpression

ctx := context.TODO()
id := synchronizationtemplateschema.NewServicePrincipalIdSynchronizationTemplateID("servicePrincipalId", "synchronizationTemplateId")

payload := synchronizationtemplateschema.ParseSynchronizationTemplateSchemaExpressionRequest{
	// ...
}


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

Example Usage: SynchronizationTemplateSchemaClient.UpdateSynchronizationTemplateSchema

ctx := context.TODO()
id := synchronizationtemplateschema.NewServicePrincipalIdSynchronizationTemplateID("servicePrincipalId", "synchronizationTemplateId")

payload := synchronizationtemplateschema.SynchronizationSchema{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteSynchronizationTemplateSchemaOperationOptions

type DeleteSynchronizationTemplateSchemaOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultDeleteSynchronizationTemplateSchemaOperationOptions

func DefaultDeleteSynchronizationTemplateSchemaOperationOptions() DeleteSynchronizationTemplateSchemaOperationOptions

func (DeleteSynchronizationTemplateSchemaOperationOptions) ToHeaders

func (DeleteSynchronizationTemplateSchemaOperationOptions) ToOData

func (DeleteSynchronizationTemplateSchemaOperationOptions) ToQuery

type DeleteSynchronizationTemplateSchemaOperationResponse

type DeleteSynchronizationTemplateSchemaOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetSynchronizationTemplateSchemaOperationOptions

type GetSynchronizationTemplateSchemaOperationOptions struct {
	Expand    *odata.Expand
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Select    *[]string
}

func DefaultGetSynchronizationTemplateSchemaOperationOptions

func DefaultGetSynchronizationTemplateSchemaOperationOptions() GetSynchronizationTemplateSchemaOperationOptions

func (GetSynchronizationTemplateSchemaOperationOptions) ToHeaders

func (GetSynchronizationTemplateSchemaOperationOptions) ToOData

func (GetSynchronizationTemplateSchemaOperationOptions) ToQuery

type GetSynchronizationTemplateSchemaOperationResponse

type GetSynchronizationTemplateSchemaOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.SynchronizationSchema
}

type ParseSynchronizationTemplateSchemaExpressionOperationOptions

type ParseSynchronizationTemplateSchemaExpressionOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (ParseSynchronizationTemplateSchemaExpressionOperationOptions) ToHeaders

func (ParseSynchronizationTemplateSchemaExpressionOperationOptions) ToOData

func (ParseSynchronizationTemplateSchemaExpressionOperationOptions) ToQuery

type ParseSynchronizationTemplateSchemaExpressionOperationResponse

type ParseSynchronizationTemplateSchemaExpressionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.ParseExpressionResponse
}

type ParseSynchronizationTemplateSchemaExpressionRequest

type ParseSynchronizationTemplateSchemaExpressionRequest struct {
	Expression                nullable.Type[string]       `json:"expression,omitempty"`
	TargetAttributeDefinition *beta.AttributeDefinition   `json:"targetAttributeDefinition,omitempty"`
	TestInputObject           *beta.ExpressionInputObject `json:"testInputObject,omitempty"`
}

type SynchronizationTemplateSchemaClient

type SynchronizationTemplateSchemaClient struct {
	Client *msgraph.Client
}

func NewSynchronizationTemplateSchemaClientWithBaseURI

func NewSynchronizationTemplateSchemaClientWithBaseURI(sdkApi sdkEnv.Api) (*SynchronizationTemplateSchemaClient, error)

func (SynchronizationTemplateSchemaClient) DeleteSynchronizationTemplateSchema

DeleteSynchronizationTemplateSchema - Delete navigation property schema for servicePrincipals

func (SynchronizationTemplateSchemaClient) GetSynchronizationTemplateSchema

GetSynchronizationTemplateSchema - Get schema from servicePrincipals. Default synchronization schema for the jobs based on this template.

func (SynchronizationTemplateSchemaClient) ParseSynchronizationTemplateSchemaExpression

ParseSynchronizationTemplateSchemaExpression - Invoke action parseExpression. Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.

func (SynchronizationTemplateSchemaClient) UpdateSynchronizationTemplateSchema

UpdateSynchronizationTemplateSchema - Update the navigation property schema in servicePrincipals

type UpdateSynchronizationTemplateSchemaOperationOptions

type UpdateSynchronizationTemplateSchemaOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultUpdateSynchronizationTemplateSchemaOperationOptions

func DefaultUpdateSynchronizationTemplateSchemaOperationOptions() UpdateSynchronizationTemplateSchemaOperationOptions

func (UpdateSynchronizationTemplateSchemaOperationOptions) ToHeaders

func (UpdateSynchronizationTemplateSchemaOperationOptions) ToOData

func (UpdateSynchronizationTemplateSchemaOperationOptions) ToQuery

type UpdateSynchronizationTemplateSchemaOperationResponse

type UpdateSynchronizationTemplateSchemaOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

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