Skip to content

Commit fe1e14b

Browse files
authored
Merge pull request #1290 from microsoftgraph/beta/pipelinebuild/213120
Generated beta models and request builders
2 parents 5bf7c38 + f95e425 commit fe1e14b

File tree

604 files changed

+69910
-1005
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

604 files changed

+69910
-1005
lines changed

src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/acquireaccesstoken/AcquireAccessTokenRequestBuilder.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,11 @@ public AcquireAccessTokenRequestBuilder(@jakarta.annotation.Nonnull final String
3838
* Acquire an OAuth Access token to authorize the Microsoft Entra provisioning service to provision users into an application.
3939
* @param body The request body
4040
* @throws ODataError When receiving a 4XX or 5XX status code
41+
* @deprecated
42+
* This action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
4143
* @see <a href="https://learn.microsoft.com/graph/api/synchronization-synchronization-acquireaccesstoken?view=graph-rest-beta">Find more info here</a>
4244
*/
45+
@Deprecated
4346
public void post(@jakarta.annotation.Nonnull final AcquireAccessTokenPostRequestBody body) {
4447
post(body, null);
4548
}
@@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final AcquireAccessTokenPostRequest
4851
* @param body The request body
4952
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5053
* @throws ODataError When receiving a 4XX or 5XX status code
54+
* @deprecated
55+
* This action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
5156
* @see <a href="https://learn.microsoft.com/graph/api/synchronization-synchronization-acquireaccesstoken?view=graph-rest-beta">Find more info here</a>
5257
*/
58+
@Deprecated
5359
public void post(@jakarta.annotation.Nonnull final AcquireAccessTokenPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
5460
Objects.requireNonNull(body);
5561
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final AcquireAccessTokenPostRequest
6167
* Acquire an OAuth Access token to authorize the Microsoft Entra provisioning service to provision users into an application.
6268
* @param body The request body
6369
* @return a {@link RequestInformation}
70+
* @deprecated
71+
* This action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
6472
*/
6573
@jakarta.annotation.Nonnull
74+
@Deprecated
6675
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AcquireAccessTokenPostRequestBody body) {
6776
return toPostRequestInformation(body, null);
6877
}
@@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
7180
* @param body The request body
7281
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7382
* @return a {@link RequestInformation}
83+
* @deprecated
84+
* This action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
7485
*/
7586
@jakarta.annotation.Nonnull
87+
@Deprecated
7688
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AcquireAccessTokenPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
7789
Objects.requireNonNull(body);
7890
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
8597
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
8698
* @param rawUrl The raw URL to use for the request builder.
8799
* @return a {@link AcquireAccessTokenRequestBuilder}
100+
* @deprecated
101+
* This action acquires an access token via Oauth Code Grant Flow. Code Grant will be completely deprecated so this action will be obsolete. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
88102
*/
89103
@jakarta.annotation.Nonnull
104+
@Deprecated
90105
public AcquireAccessTokenRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
91106
Objects.requireNonNull(rawUrl);
92107
return new AcquireAccessTokenRequestBuilder(rawUrl, requestAdapter);

src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/validatecredentials/ValidateCredentialsRequestBuilder.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,11 @@ public ValidateCredentialsRequestBuilder(@jakarta.annotation.Nonnull final Strin
3838
* Validate that the credentials are valid in the tenant.
3939
* @param body The request body
4040
* @throws ODataError When receiving a 4XX or 5XX status code
41+
* @deprecated
42+
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
4143
* @see <a href="https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-validatecredentials?view=graph-rest-beta">Find more info here</a>
4244
*/
45+
@Deprecated
4346
public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostRequestBody body) {
4447
post(body, null);
4548
}
@@ -48,8 +51,11 @@ public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostReques
4851
* @param body The request body
4952
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5053
* @throws ODataError When receiving a 4XX or 5XX status code
54+
* @deprecated
55+
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
5156
* @see <a href="https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-validatecredentials?view=graph-rest-beta">Find more info here</a>
5257
*/
58+
@Deprecated
5359
public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
5460
Objects.requireNonNull(body);
5561
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -61,8 +67,11 @@ public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostReques
6167
* Validate that the credentials are valid in the tenant.
6268
* @param body The request body
6369
* @return a {@link RequestInformation}
70+
* @deprecated
71+
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
6472
*/
6573
@jakarta.annotation.Nonnull
74+
@Deprecated
6675
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ValidateCredentialsPostRequestBody body) {
6776
return toPostRequestInformation(body, null);
6877
}
@@ -71,8 +80,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
7180
* @param body The request body
7281
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7382
* @return a {@link RequestInformation}
83+
* @deprecated
84+
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
7485
*/
7586
@jakarta.annotation.Nonnull
87+
@Deprecated
7688
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ValidateCredentialsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
7789
Objects.requireNonNull(body);
7890
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -85,8 +97,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
8597
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
8698
* @param rawUrl The raw URL to use for the request builder.
8799
* @return a {@link ValidateCredentialsRequestBuilder}
100+
* @deprecated
101+
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
88102
*/
89103
@jakarta.annotation.Nonnull
104+
@Deprecated
90105
public ValidateCredentialsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
91106
Objects.requireNonNull(rawUrl);
92107
return new ValidateCredentialsRequestBuilder(rawUrl, requestAdapter);

src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/validatecredentials/ValidateCredentialsRequestBuilder.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ public ValidateCredentialsRequestBuilder(@jakarta.annotation.Nonnull final Strin
3838
* Invoke action validateCredentials
3939
* @param body The request body
4040
* @throws ODataError When receiving a 4XX or 5XX status code
41+
* @deprecated
42+
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
4143
*/
44+
@Deprecated
4245
public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostRequestBody body) {
4346
post(body, null);
4447
}
@@ -47,7 +50,10 @@ public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostReques
4750
* @param body The request body
4851
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
4952
* @throws ODataError When receiving a 4XX or 5XX status code
53+
* @deprecated
54+
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
5055
*/
56+
@Deprecated
5157
public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
5258
Objects.requireNonNull(body);
5359
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -59,8 +65,11 @@ public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostReques
5965
* Invoke action validateCredentials
6066
* @param body The request body
6167
* @return a {@link RequestInformation}
68+
* @deprecated
69+
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
6270
*/
6371
@jakarta.annotation.Nonnull
72+
@Deprecated
6473
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ValidateCredentialsPostRequestBody body) {
6574
return toPostRequestInformation(body, null);
6675
}
@@ -69,8 +78,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
6978
* @param body The request body
7079
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7180
* @return a {@link RequestInformation}
81+
* @deprecated
82+
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
7283
*/
7384
@jakarta.annotation.Nonnull
85+
@Deprecated
7486
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ValidateCredentialsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
7587
Objects.requireNonNull(body);
7688
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -83,8 +95,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
8395
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
8496
* @param rawUrl The raw URL to use for the request builder.
8597
* @return a {@link ValidateCredentialsRequestBuilder}
98+
* @deprecated
99+
* Use validateConnectivity instead. This action will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
86100
*/
87101
@jakarta.annotation.Nonnull
102+
@Deprecated
88103
public ValidateCredentialsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
89104
Objects.requireNonNull(rawUrl);
90105
return new ValidateCredentialsRequestBuilder(rawUrl, requestAdapter);

src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/secrets/SecretsRequestBuilder.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ public class SecretsRequestBuilder extends BaseRequestBuilder {
2222
/**
2323
* Provides operations to count the resources in the collection.
2424
* @return a {@link CountRequestBuilder}
25+
* @deprecated
26+
* Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
2527
*/
28+
@Deprecated
2629
@jakarta.annotation.Nonnull
2730
public CountRequestBuilder count() {
2831
return new CountRequestBuilder(pathParameters, requestAdapter);
@@ -48,8 +51,11 @@ public SecretsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
4851
* @param body The request body
4952
* @return a {@link SecretsPutResponse}
5053
* @throws ODataError When receiving a 4XX or 5XX status code
54+
* @deprecated
55+
* Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
5156
*/
5257
@jakarta.annotation.Nullable
58+
@Deprecated
5359
public SecretsPutResponse put(@jakarta.annotation.Nonnull final SecretsPutRequestBody body) {
5460
return put(body, null);
5561
}
@@ -59,8 +65,11 @@ public SecretsPutResponse put(@jakarta.annotation.Nonnull final SecretsPutReques
5965
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
6066
* @return a {@link SecretsPutResponse}
6167
* @throws ODataError When receiving a 4XX or 5XX status code
68+
* @deprecated
69+
* Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
6270
*/
6371
@jakarta.annotation.Nullable
72+
@Deprecated
6473
public SecretsPutResponse put(@jakarta.annotation.Nonnull final SecretsPutRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PutRequestConfiguration> requestConfiguration) {
6574
Objects.requireNonNull(body);
6675
final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration);
@@ -72,8 +81,11 @@ public SecretsPutResponse put(@jakarta.annotation.Nonnull final SecretsPutReques
7281
* Update property secrets value.
7382
* @param body The request body
7483
* @return a {@link RequestInformation}
84+
* @deprecated
85+
* Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
7586
*/
7687
@jakarta.annotation.Nonnull
88+
@Deprecated
7789
public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final SecretsPutRequestBody body) {
7890
return toPutRequestInformation(body, null);
7991
}
@@ -82,8 +94,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi
8294
* @param body The request body
8395
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8496
* @return a {@link RequestInformation}
97+
* @deprecated
98+
* Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
8599
*/
86100
@jakarta.annotation.Nonnull
101+
@Deprecated
87102
public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final SecretsPutRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PutRequestConfiguration> requestConfiguration) {
88103
Objects.requireNonNull(body);
89104
final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters);
@@ -96,8 +111,11 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi
96111
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
97112
* @param rawUrl The raw URL to use for the request builder.
98113
* @return a {@link SecretsRequestBuilder}
114+
* @deprecated
115+
* Use connectivityParameters for oauth flows and scim endpoint connectivity. Use SynchronizationJobSettings for job-specific settings This property will be removed. as of 2026-02/SynchronizationSecret_Deprecation on 2026-02-06 and will be removed 2027-07-06
99116
*/
100117
@jakarta.annotation.Nonnull
118+
@Deprecated
101119
public SecretsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
102120
Objects.requireNonNull(rawUrl);
103121
return new SecretsRequestBuilder(rawUrl, requestAdapter);

0 commit comments

Comments
 (0)