subscriptions

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ItemReauthorizeRequestBuilder added in v0.49.0

ItemReauthorizeRequestBuilder provides operations to call the reauthorize method.

func NewItemReauthorizeRequestBuilder added in v0.49.0

NewItemReauthorizeRequestBuilder instantiates a new ReauthorizeRequestBuilder and sets the default values.

func NewItemReauthorizeRequestBuilderInternal added in v0.49.0

func NewItemReauthorizeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReauthorizeRequestBuilder

NewItemReauthorizeRequestBuilderInternal instantiates a new ReauthorizeRequestBuilder and sets the default values.

func (*ItemReauthorizeRequestBuilder) Post added in v0.49.0

Post reauthorize a subscription when you receive a reauthorizationRequired challenge. Find more info here

func (*ItemReauthorizeRequestBuilder) ToPostRequestInformation added in v0.51.0

ToPostRequestInformation reauthorize a subscription when you receive a reauthorizationRequired challenge.

type ItemReauthorizeRequestBuilderPostRequestConfiguration added in v0.49.0

type ItemReauthorizeRequestBuilderPostRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

ItemReauthorizeRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

type SubscriptionItemRequestBuilder added in v0.49.0

SubscriptionItemRequestBuilder provides operations to manage the collection of subscription entities.

func NewSubscriptionItemRequestBuilder added in v0.49.0

NewSubscriptionItemRequestBuilder instantiates a new SubscriptionItemRequestBuilder and sets the default values.

func NewSubscriptionItemRequestBuilderInternal added in v0.49.0

func NewSubscriptionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SubscriptionItemRequestBuilder

NewSubscriptionItemRequestBuilderInternal instantiates a new SubscriptionItemRequestBuilder and sets the default values.

func (*SubscriptionItemRequestBuilder) Delete added in v0.49.0

Delete delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section. Find more info here

func (*SubscriptionItemRequestBuilder) Get added in v0.49.0

Get retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications. Find more info here

func (*SubscriptionItemRequestBuilder) Patch added in v0.49.0

Patch renew a subscription by extending its expiry time. The table in the Permissions section lists the resources that support subscribing to change notifications. Subscriptions expire after a length of time that varies by resource type. In order to avoid missing change notifications, an app should renew its subscriptions well in advance of their expiry date. See subscription for maximum length of a subscription for each resource type. Find more info here

func (*SubscriptionItemRequestBuilder) Reauthorize added in v0.49.0

Reauthorize provides operations to call the reauthorize method.

func (*SubscriptionItemRequestBuilder) ToDeleteRequestInformation added in v0.51.0

ToDeleteRequestInformation delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section.

func (*SubscriptionItemRequestBuilder) ToGetRequestInformation added in v0.51.0

ToGetRequestInformation retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications.

func (*SubscriptionItemRequestBuilder) ToPatchRequestInformation added in v0.51.0

ToPatchRequestInformation renew a subscription by extending its expiry time. The table in the Permissions section lists the resources that support subscribing to change notifications. Subscriptions expire after a length of time that varies by resource type. In order to avoid missing change notifications, an app should renew its subscriptions well in advance of their expiry date. See subscription for maximum length of a subscription for each resource type.

type SubscriptionItemRequestBuilderDeleteRequestConfiguration added in v0.49.0

type SubscriptionItemRequestBuilderDeleteRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

SubscriptionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

type SubscriptionItemRequestBuilderGetQueryParameters added in v0.49.0

type SubscriptionItemRequestBuilderGetQueryParameters struct {
	// Select properties to be returned
	Select []string `uriparametername:"%24select"`
}

SubscriptionItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications.

type SubscriptionItemRequestBuilderGetRequestConfiguration added in v0.49.0

type SubscriptionItemRequestBuilderGetRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
	// Request query parameters
	QueryParameters *SubscriptionItemRequestBuilderGetQueryParameters
}

SubscriptionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

type SubscriptionItemRequestBuilderPatchRequestConfiguration added in v0.49.0

type SubscriptionItemRequestBuilderPatchRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

SubscriptionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

type SubscriptionsRequestBuilder

SubscriptionsRequestBuilder provides operations to manage the collection of subscription entities.

func NewSubscriptionsRequestBuilder

NewSubscriptionsRequestBuilder instantiates a new SubscriptionsRequestBuilder and sets the default values.

func NewSubscriptionsRequestBuilderInternal

func NewSubscriptionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SubscriptionsRequestBuilder

NewSubscriptionsRequestBuilderInternal instantiates a new SubscriptionsRequestBuilder and sets the default values.

func (*SubscriptionsRequestBuilder) BySubscriptionIdString added in v1.17.0

func (m *SubscriptionsRequestBuilder) BySubscriptionIdString(subscriptionId string) *SubscriptionItemRequestBuilder

BySubscriptionIdString provides operations to manage the collection of subscription entities.

func (*SubscriptionsRequestBuilder) Get

Get retrieve the properties and relationships of webhook subscriptions, based on the app ID, the user, and the user's role with a tenant. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section. Find more info here

func (*SubscriptionsRequestBuilder) Post

Post subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources. Find more info here

func (*SubscriptionsRequestBuilder) ToGetRequestInformation added in v0.51.0

ToGetRequestInformation retrieve the properties and relationships of webhook subscriptions, based on the app ID, the user, and the user's role with a tenant. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section.

func (*SubscriptionsRequestBuilder) ToPostRequestInformation added in v0.51.0

ToPostRequestInformation subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources.

type SubscriptionsRequestBuilderGetQueryParameters

type SubscriptionsRequestBuilderGetQueryParameters struct {
	// Search items by search phrases
	Search *string `uriparametername:"%24search"`
	// Select properties to be returned
	Select []string `uriparametername:"%24select"`
}

SubscriptionsRequestBuilderGetQueryParameters retrieve the properties and relationships of webhook subscriptions, based on the app ID, the user, and the user's role with a tenant. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section.

type SubscriptionsRequestBuilderGetRequestConfiguration added in v0.22.0

type SubscriptionsRequestBuilderGetRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
	// Request query parameters
	QueryParameters *SubscriptionsRequestBuilderGetQueryParameters
}

SubscriptionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

type SubscriptionsRequestBuilderPostRequestConfiguration added in v0.22.0

type SubscriptionsRequestBuilderPostRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

SubscriptionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

Jump to

Keyboard shortcuts

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