com.azure.resourcemanager.search.implementation.AdminKeysImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-search Show documentation
Show all versions of azure-resourcemanager-search Show documentation
This package contains Microsoft Azure Cognitive Search Management SDK. For documentation on how to use this package, please see https://aka.ms/azure-sdk-java-mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.search.implementation;
import com.azure.resourcemanager.resources.fluentcore.model.implementation.WrapperImpl;
import com.azure.resourcemanager.search.fluent.models.AdminKeyResultInner;
import com.azure.resourcemanager.search.models.AdminKeys;
/**
* Response containing the primary and secondary admin API keys for a given Azure Search service.
*/
class AdminKeysImpl extends WrapperImpl implements AdminKeys {
AdminKeysImpl(AdminKeyResultInner inner) {
super(inner);
}
@Override
public String primaryKey() {
return this.innerModel().primaryKey();
}
@Override
public String secondaryKey() {
return this.innerModel().secondaryKey();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy