synchronizationjobschema

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: 9 Imported by: 0

README

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

The synchronizationjobschema 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/synchronizationjobschema"

Client Initialization

client := synchronizationjobschema.NewSynchronizationJobSchemaClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: SynchronizationJobSchemaClient.DeleteSynchronizationJobSchema

ctx := context.TODO()
id := synchronizationjobschema.NewServicePrincipalIdSynchronizationJobID("servicePrincipalId", "synchronizationJobId")

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

Example Usage: SynchronizationJobSchemaClient.GetSynchronizationJobSchema

ctx := context.TODO()
id := synchronizationjobschema.NewServicePrincipalIdSynchronizationJobID("servicePrincipalId", "synchronizationJobId")

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

Example Usage: SynchronizationJobSchemaClient.ParseSynchronizationJobSchemaExpression

ctx := context.TODO()
id := synchronizationjobschema.NewServicePrincipalIdSynchronizationJobID("servicePrincipalId", "synchronizationJobId")

payload := synchronizationjobschema.ParseSynchronizationJobSchemaExpressionRequest{
	// ...
}


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

Example Usage: SynchronizationJobSchemaClient.UpdateSynchronizationJobSchema

ctx := context.TODO()
id := synchronizationjobschema.NewServicePrincipalIdSynchronizationJobID("servicePrincipalId", "synchronizationJobId")

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


read, err := client.UpdateSynchronizationJobSchema(ctx, id, payload, synchronizationjobschema.DefaultUpdateSynchronizationJobSchemaOperationOptions())
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 DeleteSynchronizationJobSchemaOperationOptions

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

func DefaultDeleteSynchronizationJobSchemaOperationOptions

func DefaultDeleteSynchronizationJobSchemaOperationOptions() DeleteSynchronizationJobSchemaOperationOptions

func (DeleteSynchronizationJobSchemaOperationOptions) ToHeaders

func (DeleteSynchronizationJobSchemaOperationOptions) ToOData

func (DeleteSynchronizationJobSchemaOperationOptions) ToQuery

type DeleteSynchronizationJobSchemaOperationResponse

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

type GetSynchronizationJobSchemaOperationOptions

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

func DefaultGetSynchronizationJobSchemaOperationOptions

func DefaultGetSynchronizationJobSchemaOperationOptions() GetSynchronizationJobSchemaOperationOptions

func (GetSynchronizationJobSchemaOperationOptions) ToHeaders

func (GetSynchronizationJobSchemaOperationOptions) ToOData

func (GetSynchronizationJobSchemaOperationOptions) ToQuery

type GetSynchronizationJobSchemaOperationResponse

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

type ParseSynchronizationJobSchemaExpressionOperationOptions

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

func (ParseSynchronizationJobSchemaExpressionOperationOptions) ToHeaders

func (ParseSynchronizationJobSchemaExpressionOperationOptions) ToOData

func (ParseSynchronizationJobSchemaExpressionOperationOptions) ToQuery

type ParseSynchronizationJobSchemaExpressionOperationResponse

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

type ParseSynchronizationJobSchemaExpressionRequest

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

type SynchronizationJobSchemaClient

type SynchronizationJobSchemaClient struct {
	Client *msgraph.Client
}

func NewSynchronizationJobSchemaClientWithBaseURI

func NewSynchronizationJobSchemaClientWithBaseURI(sdkApi sdkEnv.Api) (*SynchronizationJobSchemaClient, error)

func (SynchronizationJobSchemaClient) DeleteSynchronizationJobSchema

DeleteSynchronizationJobSchema - Delete navigation property schema for servicePrincipals

func (SynchronizationJobSchemaClient) GetSynchronizationJobSchema

GetSynchronizationJobSchema - Get synchronizationSchema. Retrieve the schema for a given synchronization job or template.

func (SynchronizationJobSchemaClient) ParseSynchronizationJobSchemaExpression

ParseSynchronizationJobSchemaExpression - 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 (SynchronizationJobSchemaClient) UpdateSynchronizationJobSchema

UpdateSynchronizationJobSchema - Update synchronizationSchema. Update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application.

type UpdateSynchronizationJobSchemaOperationOptions

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

func DefaultUpdateSynchronizationJobSchemaOperationOptions

func DefaultUpdateSynchronizationJobSchemaOperationOptions() UpdateSynchronizationJobSchemaOperationOptions

func (UpdateSynchronizationJobSchemaOperationOptions) ToHeaders

func (UpdateSynchronizationJobSchemaOperationOptions) ToOData

func (UpdateSynchronizationJobSchemaOperationOptions) ToQuery

type UpdateSynchronizationJobSchemaOperationResponse

type UpdateSynchronizationJobSchemaOperationResponse 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