Setting Guaranteed IP Addresses of the Management Plane Domain Name
setGlobalGuaranteedIpAddresses
API Description
This API is used to set the guaranteed IP addresses of the management plane domain name.
Precautions
This API is optional. If it is not called, the default IP address is used.
Method Definition
1
|
- (HWMSDKERR)setGlobalGuaranteedIpAddresses:(NSArray<HWMSDKGuaranteedIpAddressModel *> *)param; |
Parameter Description
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
param |
Yes |
NSArray<HWMSDKGuaranteedIpAddressModel *> * |
Guaranteed IP addresses. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
domain |
Yes |
NSString * |
Domain name. |
guaranteedIps |
Yes |
NSString * |
Guaranteed IP addresses. Enter up to four IP addresses and separate them by semicolons (;). |
Return Values
Whether the API is successfully called.
Sample Code
1 2 3 4 5 6 7 8 |
// Set guaranteed IP addresses of the management plane domain name. HWMSDKERR result = [[HWMBizSdk getBizOpenApi] setGlobalGuaranteedIpAddresses:param]; NSString *tip = @"Set"; if (result != HWMSDKSdkerrSuccess) { // Display a message if the setting fails. tip = [NSString stringWithFormat:@"Set failed[%ld]",result]; } [HWMConsoleManager shareInstance].console = tip; |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot