1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License. See License.txt in the project root for license information.
3
+ // Code generated by Microsoft (R) AutoRest Code Generator.
4
+ // Changes may cause incorrect behavior and will be lost if the code is regenerated.
5
+
6
+ namespace Microsoft . Azure . Management . Marketplace
7
+ {
8
+ using Microsoft . Rest . Azure ;
9
+ using Models ;
10
+
11
+ /// <summary>
12
+ /// PrivateStoreOfferOperations operations.
13
+ /// </summary>
14
+ public partial interface IPrivateStoreOfferOperations
15
+ {
16
+ /// <summary>
17
+ /// Deletes an offer from the given private store.
18
+ /// </summary>
19
+ /// <remarks>
20
+ /// Deletes an offer from the given private store.
21
+ /// </remarks>
22
+ /// <param name='privateStoreId'>
23
+ /// The store ID - must use the tenant ID
24
+ /// </param>
25
+ /// <param name='offerId'>
26
+ /// The offer ID to update or delete
27
+ /// </param>
28
+ /// <param name='customHeaders'>
29
+ /// The headers that will be added to request.
30
+ /// </param>
31
+ /// <param name='cancellationToken'>
32
+ /// The cancellation token.
33
+ /// </param>
34
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
35
+ /// Thrown when the operation returned an invalid status code
36
+ /// </exception>
37
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse > DeleteWithHttpMessagesAsync ( string privateStoreId , string offerId , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
38
+
39
+ /// <summary>
40
+ /// Gets information about a specific offer.
41
+ /// </summary>
42
+ /// <remarks>
43
+ /// Gets information about a specific offer.
44
+ /// </remarks>
45
+ /// <param name='privateStoreId'>
46
+ /// The store ID - must use the tenant ID
47
+ /// </param>
48
+ /// <param name='offerId'>
49
+ /// The offer ID to update or delete
50
+ /// </param>
51
+ /// <param name='customHeaders'>
52
+ /// The headers that will be added to request.
53
+ /// </param>
54
+ /// <param name='cancellationToken'>
55
+ /// The cancellation token.
56
+ /// </param>
57
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
58
+ /// Thrown when the operation returned an invalid status code
59
+ /// </exception>
60
+ /// <exception cref="Microsoft.Rest.SerializationException">
61
+ /// Thrown when unable to deserialize the response
62
+ /// </exception>
63
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < Offer > > GetWithHttpMessagesAsync ( string privateStoreId , string offerId , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
64
+
65
+ /// <summary>
66
+ /// Update or add an offer to the default collection of the private store.
67
+ /// </summary>
68
+ /// <remarks>
69
+ /// Update or add an offer to the default collection of the private store.
70
+ /// </remarks>
71
+ /// <param name='privateStoreId'>
72
+ /// The store ID - must use the tenant ID
73
+ /// </param>
74
+ /// <param name='offerId'>
75
+ /// The offer ID to update or delete
76
+ /// </param>
77
+ /// <param name='eTag'>
78
+ /// Identifier for purposes of race condition
79
+ /// </param>
80
+ /// <param name='specificPlanIdsLimitation'>
81
+ /// Plan ids limitation for this offer
82
+ /// </param>
83
+ /// <param name='customHeaders'>
84
+ /// The headers that will be added to request.
85
+ /// </param>
86
+ /// <param name='cancellationToken'>
87
+ /// The cancellation token.
88
+ /// </param>
89
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
90
+ /// Thrown when the operation returned an invalid status code
91
+ /// </exception>
92
+ /// <exception cref="Microsoft.Rest.SerializationException">
93
+ /// Thrown when unable to deserialize the response
94
+ /// </exception>
95
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < Offer > > CreateOrUpdateWithHttpMessagesAsync ( string privateStoreId , string offerId , string eTag = default ( string ) , System . Collections . Generic . IList < string > specificPlanIdsLimitation = default ( System . Collections . Generic . IList < string > ) , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
96
+
97
+ }
98
+ }
0 commit comments