private static GetResourceTypeOrName ( string resourceId, bool getResourceName, bool includeProviderNamespace = true, bool useLastSegment = false ) : string | ||
resourceId | string | The resource Id. |
getResourceName | bool | When set to true returns a resource name, otherwise a resource type. |
includeProviderNamespace | bool | Indicates if the provider namespace should be included in the resource name. |
useLastSegment | bool | Seek the last segment instead of the first match. |
return | string |