223 строки
14 KiB
YAML
223 строки
14 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext"
|
|
name: "SdkContext"
|
|
nameWithType: "SdkContext"
|
|
summary: "The class to contain the common factory methods required for SDK framework."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public class **SdkContext**"
|
|
constructors:
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.SdkContext()"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.SdkContext()"
|
|
name: "SdkContext()"
|
|
nameWithType: "SdkContext.SdkContext()"
|
|
syntax: "public SdkContext()"
|
|
methods:
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.<T>delayedEmitAsync(T,int)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.delayedEmitAsync(T event, int milliseconds)"
|
|
name: "delayedEmitAsync(T event, int milliseconds)"
|
|
nameWithType: "SdkContext.delayedEmitAsync(T event, int milliseconds)"
|
|
summary: "Wrapper delayed emission, based on delay<wbr>Provider."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the event to emit"
|
|
name: "event"
|
|
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the delay in milliseconds"
|
|
name: "milliseconds"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static Observable<T> <T>delayedEmitAsync(T event, int milliseconds)"
|
|
desc: "Wrapper delayed emission, based on delayProvider."
|
|
returns:
|
|
description: "delayed observable"
|
|
type: "<xref href=\"rx.Observable?alt=rx.Observable&text=Observable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.dateTimeNow()"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.dateTimeNow()"
|
|
name: "dateTimeNow()"
|
|
nameWithType: "SdkContext.dateTimeNow()"
|
|
modifiers:
|
|
- "static"
|
|
syntax: "public static DateTime dateTimeNow()"
|
|
returns:
|
|
description: "the current date time."
|
|
type: "<xref href=\"org.joda.time.DateTime?alt=org.joda.time.DateTime&text=DateTime\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.getResourceNamerFactory()"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.getResourceNamerFactory()"
|
|
name: "getResourceNamerFactory()"
|
|
nameWithType: "SdkContext.getResourceNamerFactory()"
|
|
summary: "Gets the current factory for Resource<wbr>Namer."
|
|
modifiers:
|
|
- "static"
|
|
syntax: "public static ResourceNamerFactory getResourceNamerFactory()"
|
|
desc: "Gets the current factory for ResourceNamer."
|
|
returns:
|
|
description: "resourceNamer factory."
|
|
type: "<xref href=\"com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamerFactory?alt=com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamerFactory&text=ResourceNamerFactory\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.getRxScheduler()"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.getRxScheduler()"
|
|
name: "getRxScheduler()"
|
|
nameWithType: "SdkContext.getRxScheduler()"
|
|
summary: "Gets the current Rx Scheduler for the SDK framework."
|
|
modifiers:
|
|
- "static"
|
|
syntax: "public static Scheduler getRxScheduler()"
|
|
desc: "Gets the current Rx Scheduler for the SDK framework."
|
|
returns:
|
|
description: "current rx scheduler."
|
|
type: "<xref href=\"rx.Scheduler?alt=rx.Scheduler&text=Scheduler\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.prepareFileLocation(java.io.File...)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.prepareFileLocation(File[] files)"
|
|
name: "prepareFileLocation(File[] files)"
|
|
nameWithType: "SdkContext.prepareFileLocation(File[] files)"
|
|
summary: "Prepares the location for file to be created."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the files to be created."
|
|
name: "files"
|
|
type: "<xref href=\"java.io.File?alt=java.io.File&text=File\" data-throw-if-not-resolved=\"False\" />[]"
|
|
syntax: "public static void prepareFileLocation(File[] files)"
|
|
exceptions:
|
|
- description: "thrown when failed on IO."
|
|
type: "<xref href=\"java.io.IOException?alt=java.io.IOException&text=IOException\" data-throw-if-not-resolved=\"False\" />"
|
|
desc: "Prepares the location for file to be created."
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.randomResourceName(java.lang.String,int)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.randomResourceName(String prefix, int maxLen)"
|
|
name: "randomResourceName(String prefix, int maxLen)"
|
|
nameWithType: "SdkContext.randomResourceName(String prefix, int maxLen)"
|
|
summary: "Gets a random name."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the prefix to be used if possible"
|
|
name: "prefix"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the maximum length for the random generated name"
|
|
name: "maxLen"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static String randomResourceName(String prefix, int maxLen)"
|
|
desc: "Gets a random name."
|
|
returns:
|
|
description: "the random name"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.randomResourceNames(java.lang.String,int,int)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.randomResourceNames(String prefix, int maxLen, int count)"
|
|
name: "randomResourceNames(String prefix, int maxLen, int count)"
|
|
nameWithType: "SdkContext.randomResourceNames(String prefix, int maxLen, int count)"
|
|
summary: "Generates the specified number of random resource names with the same prefix."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the prefix to be used if possible"
|
|
name: "prefix"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the maximum length for the random generated name"
|
|
name: "maxLen"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the number of names to generate"
|
|
name: "count"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static String[] randomResourceNames(String prefix, int maxLen, int count)"
|
|
desc: "Generates the specified number of random resource names with the same prefix."
|
|
returns:
|
|
description: "random names"
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />[]"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.randomUuid()"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.randomUuid()"
|
|
name: "randomUuid()"
|
|
nameWithType: "SdkContext.randomUuid()"
|
|
summary: "Gets a random UUID."
|
|
modifiers:
|
|
- "static"
|
|
syntax: "public static String randomUuid()"
|
|
desc: "Gets a random UUID."
|
|
returns:
|
|
description: "the random UUID."
|
|
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.setDelayProvider(com.microsoft.azure.management.resources.fluentcore.utils.DelayProvider)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.setDelayProvider(DelayProvider delayProvider)"
|
|
name: "setDelayProvider(DelayProvider delayProvider)"
|
|
nameWithType: "SdkContext.setDelayProvider(DelayProvider delayProvider)"
|
|
summary: "Function to override the Delay<wbr>Provider."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "delayProvider to override."
|
|
name: "delayProvider"
|
|
type: "<xref href=\"com.microsoft.azure.management.resources.fluentcore.utils.DelayProvider?alt=com.microsoft.azure.management.resources.fluentcore.utils.DelayProvider&text=DelayProvider\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static void setDelayProvider(DelayProvider delayProvider)"
|
|
desc: "Function to override the DelayProvider."
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.setFileProvider(com.microsoft.azure.management.resources.fluentcore.utils.FileProvider)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.setFileProvider(FileProvider fileProvider)"
|
|
name: "setFileProvider(FileProvider fileProvider)"
|
|
nameWithType: "SdkContext.setFileProvider(FileProvider fileProvider)"
|
|
summary: "Sets the File<wbr>Provider for SDK framework, by default it does nothing."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the FileProvider to override."
|
|
name: "fileProvider"
|
|
type: "<xref href=\"com.microsoft.azure.management.resources.fluentcore.utils.FileProvider?alt=com.microsoft.azure.management.resources.fluentcore.utils.FileProvider&text=FileProvider\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static void setFileProvider(FileProvider fileProvider)"
|
|
desc: "Sets the FileProvider for SDK framework, by default it does nothing."
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.setResourceNamerFactory(com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamerFactory)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.setResourceNamerFactory(ResourceNamerFactory resourceNamerFactory)"
|
|
name: "setResourceNamerFactory(ResourceNamerFactory resourceNamerFactory)"
|
|
nameWithType: "SdkContext.setResourceNamerFactory(ResourceNamerFactory resourceNamerFactory)"
|
|
summary: "Function to override the Resource<wbr>Namer<wbr>Factory."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "factory to override."
|
|
name: "resourceNamerFactory"
|
|
type: "<xref href=\"com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamerFactory?alt=com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamerFactory&text=ResourceNamerFactory\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static void setResourceNamerFactory(ResourceNamerFactory resourceNamerFactory)"
|
|
desc: "Function to override the ResourceNamerFactory."
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.setRxScheduler(rx.Scheduler)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.setRxScheduler(Scheduler rxScheduler)"
|
|
name: "setRxScheduler(Scheduler rxScheduler)"
|
|
nameWithType: "SdkContext.setRxScheduler(Scheduler rxScheduler)"
|
|
summary: "Sets the Rx Scheduler for SDK framework, by default is Scheduler.<wbr>io()."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "current Rx Scheduler to be used in SDK framework."
|
|
name: "rxScheduler"
|
|
type: "<xref href=\"rx.Scheduler?alt=rx.Scheduler&text=Scheduler\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static void setRxScheduler(Scheduler rxScheduler)"
|
|
desc: "Sets the Rx Scheduler for SDK framework, by default is Scheduler.io()."
|
|
- uid: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.sleep(int)"
|
|
fullName: "com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.sleep(int milliseconds)"
|
|
name: "sleep(int milliseconds)"
|
|
nameWithType: "SdkContext.sleep(int milliseconds)"
|
|
summary: "Wrapper for sleep, based on delay<wbr>Provider."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "number of millisecond for which thread should put on sleep."
|
|
name: "milliseconds"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static void sleep(int milliseconds)"
|
|
desc: "Wrapper for sleep, based on delayProvider."
|
|
type: "class"
|
|
desc: "The class to contain the common factory methods required for SDK framework."
|
|
metadata: {}
|
|
package: "com.microsoft.azure.management.resources.fluentcore.utils"
|
|
artifact: com.microsoft.azure:azure-mgmt-resources:1.41.4
|