Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit to endpoint feature #814

Merged
merged 10 commits into from
Sep 19, 2019
Merged

Limit to endpoint feature #814

merged 10 commits into from
Sep 19, 2019

Conversation

ealsur
Copy link
Member

@ealsur ealsur commented Sep 17, 2019

Pull Request Template

Description

With CosmosClientOptions.LimitToEndpoint, the CosmosClient will limit all operations to the endpoint specified on the CosmosClient constructor. If that endpoint is a regional endpoint, it means that the account behaves as a single region account for the purposes of availability.

CosmosClientBuilder.WithLimitToEndpoint(bool) has the same effect as part of the CosmosClientBuilder.

This feature is not compatible with ApplicationRegion, if one is set, the other can't be used and it will be validated through an ArgumentException.

Type of change

  • New feature (non-breaking change which adds functionality)

@ealsur ealsur added the feature-request New feature or request label Sep 17, 2019
@ealsur ealsur self-assigned this Sep 17, 2019
ausfeldt
ausfeldt previously approved these changes Sep 18, 2019
@ealsur ealsur requested a review from j82w September 18, 2019 14:29
@kirankumarkolli kirankumarkolli merged commit 952541a into master Sep 19, 2019
@kirankumarkolli kirankumarkolli deleted the users/ealsur/customsync branch September 19, 2019 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants