|
18 | 18 | import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterAccessProfileInner; |
19 | 19 | import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner; |
20 | 20 | import com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterUpgradeProfileInner; |
| 21 | +import com.azure.resourcemanager.containerservice.fluent.models.MeshRevisionProfileInner; |
| 22 | +import com.azure.resourcemanager.containerservice.fluent.models.MeshUpgradeProfileInner; |
21 | 23 | import com.azure.resourcemanager.containerservice.fluent.models.OSOptionProfileInner; |
22 | 24 | import com.azure.resourcemanager.containerservice.fluent.models.OutboundEnvironmentEndpointInner; |
23 | 25 | import com.azure.resourcemanager.containerservice.fluent.models.RunCommandResultInner; |
@@ -1962,4 +1964,218 @@ PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesE |
1962 | 1964 | @ServiceMethod(returns = ReturnType.COLLECTION) |
1963 | 1965 | PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesEndpoints( |
1964 | 1966 | String resourceGroupName, String resourceName, Context context); |
| 1967 | + |
| 1968 | + /** |
| 1969 | + * Lists mesh revision profiles for all meshes in the specified location. |
| 1970 | + * |
| 1971 | + * <p>Contains extra metadata on each revision, including supported revisions, cluster compatibility and available |
| 1972 | + * upgrades. |
| 1973 | + * |
| 1974 | + * @param location The name of Azure region. |
| 1975 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 1976 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 1977 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 1978 | + * @return holds an array of MeshRevisionsProfiles as paginated response with {@link PagedFlux}. |
| 1979 | + */ |
| 1980 | + @ServiceMethod(returns = ReturnType.COLLECTION) |
| 1981 | + PagedFlux<MeshRevisionProfileInner> listMeshRevisionProfilesAsync(String location); |
| 1982 | + |
| 1983 | + /** |
| 1984 | + * Lists mesh revision profiles for all meshes in the specified location. |
| 1985 | + * |
| 1986 | + * <p>Contains extra metadata on each revision, including supported revisions, cluster compatibility and available |
| 1987 | + * upgrades. |
| 1988 | + * |
| 1989 | + * @param location The name of Azure region. |
| 1990 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 1991 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 1992 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 1993 | + * @return holds an array of MeshRevisionsProfiles as paginated response with {@link PagedIterable}. |
| 1994 | + */ |
| 1995 | + @ServiceMethod(returns = ReturnType.COLLECTION) |
| 1996 | + PagedIterable<MeshRevisionProfileInner> listMeshRevisionProfiles(String location); |
| 1997 | + |
| 1998 | + /** |
| 1999 | + * Lists mesh revision profiles for all meshes in the specified location. |
| 2000 | + * |
| 2001 | + * <p>Contains extra metadata on each revision, including supported revisions, cluster compatibility and available |
| 2002 | + * upgrades. |
| 2003 | + * |
| 2004 | + * @param location The name of Azure region. |
| 2005 | + * @param context The context to associate with this operation. |
| 2006 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 2007 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 2008 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 2009 | + * @return holds an array of MeshRevisionsProfiles as paginated response with {@link PagedIterable}. |
| 2010 | + */ |
| 2011 | + @ServiceMethod(returns = ReturnType.COLLECTION) |
| 2012 | + PagedIterable<MeshRevisionProfileInner> listMeshRevisionProfiles(String location, Context context); |
| 2013 | + |
| 2014 | + /** |
| 2015 | + * Gets a mesh revision profile for a specified mesh in the specified location. |
| 2016 | + * |
| 2017 | + * <p>Contains extra metadata on the revision, including supported revisions, cluster compatibility and available |
| 2018 | + * upgrades. |
| 2019 | + * |
| 2020 | + * @param location The name of Azure region. |
| 2021 | + * @param mode The mode of the mesh. |
| 2022 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 2023 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 2024 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 2025 | + * @return mesh revision profile for a mesh along with {@link Response} on successful completion of {@link Mono}. |
| 2026 | + */ |
| 2027 | + @ServiceMethod(returns = ReturnType.SINGLE) |
| 2028 | + Mono<Response<MeshRevisionProfileInner>> getMeshRevisionProfileWithResponseAsync(String location, String mode); |
| 2029 | + |
| 2030 | + /** |
| 2031 | + * Gets a mesh revision profile for a specified mesh in the specified location. |
| 2032 | + * |
| 2033 | + * <p>Contains extra metadata on the revision, including supported revisions, cluster compatibility and available |
| 2034 | + * upgrades. |
| 2035 | + * |
| 2036 | + * @param location The name of Azure region. |
| 2037 | + * @param mode The mode of the mesh. |
| 2038 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 2039 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 2040 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 2041 | + * @return mesh revision profile for a mesh on successful completion of {@link Mono}. |
| 2042 | + */ |
| 2043 | + @ServiceMethod(returns = ReturnType.SINGLE) |
| 2044 | + Mono<MeshRevisionProfileInner> getMeshRevisionProfileAsync(String location, String mode); |
| 2045 | + |
| 2046 | + /** |
| 2047 | + * Gets a mesh revision profile for a specified mesh in the specified location. |
| 2048 | + * |
| 2049 | + * <p>Contains extra metadata on the revision, including supported revisions, cluster compatibility and available |
| 2050 | + * upgrades. |
| 2051 | + * |
| 2052 | + * @param location The name of Azure region. |
| 2053 | + * @param mode The mode of the mesh. |
| 2054 | + * @param context The context to associate with this operation. |
| 2055 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 2056 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 2057 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 2058 | + * @return mesh revision profile for a mesh along with {@link Response}. |
| 2059 | + */ |
| 2060 | + @ServiceMethod(returns = ReturnType.SINGLE) |
| 2061 | + Response<MeshRevisionProfileInner> getMeshRevisionProfileWithResponse( |
| 2062 | + String location, String mode, Context context); |
| 2063 | + |
| 2064 | + /** |
| 2065 | + * Gets a mesh revision profile for a specified mesh in the specified location. |
| 2066 | + * |
| 2067 | + * <p>Contains extra metadata on the revision, including supported revisions, cluster compatibility and available |
| 2068 | + * upgrades. |
| 2069 | + * |
| 2070 | + * @param location The name of Azure region. |
| 2071 | + * @param mode The mode of the mesh. |
| 2072 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 2073 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 2074 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 2075 | + * @return mesh revision profile for a mesh. |
| 2076 | + */ |
| 2077 | + @ServiceMethod(returns = ReturnType.SINGLE) |
| 2078 | + MeshRevisionProfileInner getMeshRevisionProfile(String location, String mode); |
| 2079 | + |
| 2080 | + /** |
| 2081 | + * Lists available upgrades for all service meshes in a specific cluster. |
| 2082 | + * |
| 2083 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 2084 | + * @param resourceName The name of the managed cluster resource. |
| 2085 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 2086 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 2087 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 2088 | + * @return holds an array of MeshUpgradeProfiles as paginated response with {@link PagedFlux}. |
| 2089 | + */ |
| 2090 | + @ServiceMethod(returns = ReturnType.COLLECTION) |
| 2091 | + PagedFlux<MeshUpgradeProfileInner> listMeshUpgradeProfilesAsync(String resourceGroupName, String resourceName); |
| 2092 | + |
| 2093 | + /** |
| 2094 | + * Lists available upgrades for all service meshes in a specific cluster. |
| 2095 | + * |
| 2096 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 2097 | + * @param resourceName The name of the managed cluster resource. |
| 2098 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 2099 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 2100 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 2101 | + * @return holds an array of MeshUpgradeProfiles as paginated response with {@link PagedIterable}. |
| 2102 | + */ |
| 2103 | + @ServiceMethod(returns = ReturnType.COLLECTION) |
| 2104 | + PagedIterable<MeshUpgradeProfileInner> listMeshUpgradeProfiles(String resourceGroupName, String resourceName); |
| 2105 | + |
| 2106 | + /** |
| 2107 | + * Lists available upgrades for all service meshes in a specific cluster. |
| 2108 | + * |
| 2109 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 2110 | + * @param resourceName The name of the managed cluster resource. |
| 2111 | + * @param context The context to associate with this operation. |
| 2112 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 2113 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 2114 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 2115 | + * @return holds an array of MeshUpgradeProfiles as paginated response with {@link PagedIterable}. |
| 2116 | + */ |
| 2117 | + @ServiceMethod(returns = ReturnType.COLLECTION) |
| 2118 | + PagedIterable<MeshUpgradeProfileInner> listMeshUpgradeProfiles( |
| 2119 | + String resourceGroupName, String resourceName, Context context); |
| 2120 | + |
| 2121 | + /** |
| 2122 | + * Gets available upgrades for a service mesh in a cluster. |
| 2123 | + * |
| 2124 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 2125 | + * @param resourceName The name of the managed cluster resource. |
| 2126 | + * @param mode The mode of the mesh. |
| 2127 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 2128 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 2129 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 2130 | + * @return available upgrades for a service mesh in a cluster along with {@link Response} on successful completion |
| 2131 | + * of {@link Mono}. |
| 2132 | + */ |
| 2133 | + @ServiceMethod(returns = ReturnType.SINGLE) |
| 2134 | + Mono<Response<MeshUpgradeProfileInner>> getMeshUpgradeProfileWithResponseAsync( |
| 2135 | + String resourceGroupName, String resourceName, String mode); |
| 2136 | + |
| 2137 | + /** |
| 2138 | + * Gets available upgrades for a service mesh in a cluster. |
| 2139 | + * |
| 2140 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 2141 | + * @param resourceName The name of the managed cluster resource. |
| 2142 | + * @param mode The mode of the mesh. |
| 2143 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 2144 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 2145 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 2146 | + * @return available upgrades for a service mesh in a cluster on successful completion of {@link Mono}. |
| 2147 | + */ |
| 2148 | + @ServiceMethod(returns = ReturnType.SINGLE) |
| 2149 | + Mono<MeshUpgradeProfileInner> getMeshUpgradeProfileAsync( |
| 2150 | + String resourceGroupName, String resourceName, String mode); |
| 2151 | + |
| 2152 | + /** |
| 2153 | + * Gets available upgrades for a service mesh in a cluster. |
| 2154 | + * |
| 2155 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 2156 | + * @param resourceName The name of the managed cluster resource. |
| 2157 | + * @param mode The mode of the mesh. |
| 2158 | + * @param context The context to associate with this operation. |
| 2159 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 2160 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 2161 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 2162 | + * @return available upgrades for a service mesh in a cluster along with {@link Response}. |
| 2163 | + */ |
| 2164 | + @ServiceMethod(returns = ReturnType.SINGLE) |
| 2165 | + Response<MeshUpgradeProfileInner> getMeshUpgradeProfileWithResponse( |
| 2166 | + String resourceGroupName, String resourceName, String mode, Context context); |
| 2167 | + |
| 2168 | + /** |
| 2169 | + * Gets available upgrades for a service mesh in a cluster. |
| 2170 | + * |
| 2171 | + * @param resourceGroupName The name of the resource group. The name is case insensitive. |
| 2172 | + * @param resourceName The name of the managed cluster resource. |
| 2173 | + * @param mode The mode of the mesh. |
| 2174 | + * @throws IllegalArgumentException thrown if parameters fail the validation. |
| 2175 | + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. |
| 2176 | + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
| 2177 | + * @return available upgrades for a service mesh in a cluster. |
| 2178 | + */ |
| 2179 | + @ServiceMethod(returns = ReturnType.SINGLE) |
| 2180 | + MeshUpgradeProfileInner getMeshUpgradeProfile(String resourceGroupName, String resourceName, String mode); |
1965 | 2181 | } |
0 commit comments